Meego Wiki
From MeeGo wiki
Jump to: navigation, search

Contents

Meego with NVIDIA hardware

Nvidia graphics card (such as GeForce, Quadro, and ION) are not supported out of the box by MeeGo. However, it is possible to run MeeGo on such hardware : Meegoonnvidia.png

Using Meego Image Creator

sudo mic-image-creator --config=nvidia-meego2.ks --format=livecd

Note : you must not use nvidia driver on your host system when building the image ; otherwise it may break unpacking of userspace components. It is advised to use the "vesa" driver in your xorg session when building a Meego image for nvidia.

Manual Way

Nvidia proprietary drivers requires xinerama support on Xorg (although it will almost never use any xinerama extension). However, xinerama is disabled by default, in order to improve boot speed.

The procedure below will explain how to enable xinerama support. It will assume that you have a working internet connexion, which is very unlikely to be the case as configuring wifi is done by GUI interface... The workaround used by the author is to chroot meego partition from another linux, but it goes beyond the purpose of this tutorial (at the moment).

  • Add this repository in yum

http://download.obs.maemo.org/home:/vljn/MeeGo_1.0_Core/

Eventually, you can download all file from http://download.obs.maemo.org/home:/vljn/MeeGo_1.0_Core/i586 by hand.

  • Install the following package from the repo mentionned above :

xorg-x11-server-1.8.0 xorg-x11-server-Xorg-1.8.0 xorg-x11-server-Xorg-setuid-1.8.0 xorg-x11-server-common-1.8.0 xorg-x11-server-debuginfo-1.8.0 xorg-x11-server-devel-1.8.0

  • Install kernel-netbook-devel, gcc, make :

yum install kernel-netbook-devel gcc make

  • Download NVIDIA drivers, using wget. For instance at the time of writing, the command is :

wget http://us.download.nvidia.com/XFree86/Linux-x86/256.44/NVIDIA-Linux-x86-256.44.run

  • Install the drivers :

sh NVIDIA-Linux-x86-256.44.run

When it asks to install a default xorg.conf in /etc/X11/xorg.conf, say no.

  • Copy/paste the following sample xorg.conf in /etc/X11/xorg.conf :


Section "InputClass"

       Identifier "evdev pointer catchall"
       MatchIsPointer "on"
       MatchDevicePath "/dev/input/event*"
       Driver "evdev"

EndSection

Section "InputClass"

       Identifier "evdev keyboard catchall"
       MatchIsKeyboard "on"
       MatchDevicePath "/dev/input/event*"
       Driver "evdev"
       
       # Keyboard layouts
       Option "XkbLayout" "us, bg"
       Option "XkbVariant" ", phonetic"
       Option "XkbOptions" "grp:alt_shift_toggle, grp_led:scroll, terminate:ctrl_alt_bksp"

EndSection


Section "Device"

   Identifier     "Device0"
   Driver         "nvidia"
   VendorName     "NVIDIA Corporation"

EndSection

  • Restart Meego, it should work.

FAQ

  • Why not using xorg.conf from nvidia-installer ?

Because Xorg may not recognise your mouse device properly (remember, Meego is aimed at netbook with touchpad input, and at fast booting, some default device are not included to allow this)

  • Can I update Xorg package with the official Meego one ?

No, as they will disable xinerama support. You may use the update on my repo, as I try to keep it sync with Meego release.

Personal tools