Como instalo o Mir?

2

Como instalo o Mir no Ubuntu 12.10?
Posso usá-lo lado a lado com o X?

Though this question is for Ubuntu 12.10.You are still encouraged to give generic answers for all supported versions and distro's if they are few and same.

    
por Registered User 14.02.2014 / 12:49

1 resposta

4

Se você está executando o saucy (13.10)

   sudo apt-get update
   sudo apt-get install mir-demos unity-system-compositor

Fonte :

  • Mir: Instalando pacotes pré-criados em um PC

PPA

Aviso

Please use with care - this PPA contains new and experimental releases of the Ubuntu 13.10 and 14.04 graphics stack. It currently contains a key feature, multimonitor meant for testing. Please see https://wiki.ubuntu.com/Mir/MultiMonitorTesting for more information on testing.

Known major issues: - Input from another VT will be entered into a running XMir session - BE CAREFUL NOT TO SWITCH TO A VT AND ENTER YOUR PASSWORD WHILE HAVING AN APPLICATION CONNECTED TO THE INTERNET OPEN.

https://bugs.launchpad.net/xmir/+bug/1192843
https://bugs.launchpad.net/mir/+bug/1102757
  • this PPA will not work on Radeon or Nouveau drivers https://bugs.launchpad.net/xmir/+bug/1217005 https://bugs.launchpad.net/xmir/+bug/1217009

  • all multimonitor bugs can be found here https://bugs.launchpad.net/xmir/+bugs?field.tag=multimonitor

  • no proprietary driver support (dependent on 3rd parties)

  • no bypass composition support at the system compositor level https://bugs.launchpad.net/mir/+bug/1109963

  • no power management enabled https://bugs.launchpad.net/xmir/+bug/1193222

  • no VESA support https://bugs.launchpad.net/mir/+bug/1118903

sudo add-apt-repository ppa:mir-team/system-compositor-testing
sudo apt-get update
sudo apt-get dist-upgrade

Depois disso, reinicie o Ubuntu ou:

sudo restart lightdm

link

Compilando

Fazendo o download do código mir da barra de ativação e instalando suas dependências

Download

bzr branch lp:mir

Dependências

sudo apt-get install devscripts equivs cmake gcovr lcov pdebuild astyle

sudo apt-get build-dep mir

Compilando

 mkdir build
 cd build
 cmake .. 

Saída atual de cmake ..

-- doxygen 1.8.4 (>= 1.8.0) available - enabling make target doc

-- pdebuild NOT found, pre-push is going to FAIL

-- Env. variable MIR_ANDROID_NDK_DIR not set, pre-push is going to FAIL

-- Env. variable MIR_ANDROID_SDK_DIR not set, pre-push is going to FAIL

You have called ADD_LIBRARY for library 3rd_party without any source files. This typically indicates a problem with your CMakeLists.txt file

-- Defining targets: check_discover_tests_in_mir_acceptance_tests and discover_tests_in_mir_acceptance_tests

-- Defining targets: check_discover_tests_in_mir_integration_tests and discover_tests_in_mir_integration_tests

-- Defining targets: check_discover_tests_in_mir_unit_tests and discover_tests_in_mir_unit_tests CMake Warning at tools/vera++/CMakeLists.txt:16 (message): vera++ not available - disabling make target style_check

Criação e teste

 make -j8
 ctest

Instalando mir

make install

For GL accelerated clients to use Mir they need to use a patched version of Mesa that supports Mir. The patch is hosted on GitHub:

git clone https://github.com/RAOF/mesa.git

Compile de acordo com as instruções normais e passe –with-egl-platforms="mir, drm" para as opções de configuração. Você precisará do libmirclient instalado como mostrado acima.     Construindo o X.Org

To run an X server inside Mir you need to build a patched version of the X.Org X server. The patch is hosted on GitHub:

git clone https://github.com/RAOF/xserver.git

To run an X server inside Mir you also need a patched version of your X.Org video driver.

The three drivers - Intel, Radeon, and Nouveau - are available on Launchpad:

 bzr branch lp:~mir-team/mir/xf86-video-intel-vladmir
 bzr branch lp:~mir-team/mir/xf86-video-ati-vladmir
 bzr branch lp:~mir-team/mir/xf86-video-nouveau

Compile de acordo com as instruções normais. Estes precisam ser construídos após o servidor X, já que eles dependem de novas interfaces. Compositor de sistema de unidade de construção

Se você quiser executar um sistema completo usando o XMir, será necessário usar um compositor de sistema. Para o Ubuntu, temos um projeto do compositor de sistemas no Launchpad . Compile com o seguinte:

 bzr branch lp:unity-system-compositor
 cd unity-system-compositor
 mkdir build
 cd build
 cmake ..

Fonte:

  • Mir: Criando a fonte para um PC

Isenção de responsabilidade: Acabei de ler a documentação, não testei isso!

    
por blade19899 14.02.2014 / 13:07