# TITLE How to compile Nvidia proprietary drivers on Moblin 2.1 final
   # Note this will give you a working x11 with accelerated drivers
   # IMPORTANT : At the current time, version of Clutter and NVIDIA glx
   implementation are incompatible*
   #                          Any Clutter based application will NOT work
   :-(
   #
   # Todo : understand an fix the issue in Clutter to get it to work with
   Nvidia drivers (as it use to with Moblin 2.0)
   #
   # Thanks to Li Peng [1]<[email protected]> for it's help on recompiling
   x11-server in a clean way
   #              Brendan [2]<http://www.madeo.co.uk> for it's initial
   work on getting Nvidia (Ion) working with Moblin 2.0
   # Install Moblin
   # it should work from the USB stick (on Acer Revo F12 during Bios test
   will let you slect to boot on the USB stick)
   # Boot in Text
   # enter Esc during Grub initialisation  (easier is to enter Esc every
   second during boot) to access Grub Menu
   # press e to go to Edit mode
   # press arrow down to get to the second line
   # press e to go in Line Edit mode
   # replace "quiet vga=current" by the digit 3
   # press b to boot
   # log with the user and password you enter during installation
   # Become root (note type "su -" the space and the "-" are important)
   sudo su -
   # run you script from a remote desktop where you can cut and past my
   instruction
   # Enable sshd
   yum install openssh-server
   # activate sshd
   service sshd start
   # check your ip address
   ifconfig
   # Now you can ssh from a remote desktop to progress the rest of the
   work
   # This is not mandatory but ease the job and reduce risk of error as
   you can cut and past from the email instruction
   # Become root (note type "su -" the space and the "-" are important)
   sudo su -
   # enter your user password
   cd /root
   # Install packages required to build x11-server.
   #Note next line is very very LONG because escaping with "\" seems to
   create trouble with yum.
yum install "pkgconfig(scrnsaverproto)" "pkgconfig(xtrans)" "pkgconfig(libdrm)"
"pkgconfig(randrproto)" "pkgconfig(renderproto)" "pkgconfig(kbproto)" "pkgconfig
(glproto)" "pkgconfig(fixesproto)" "pkgconfig(dri2proto)" "pkgconfig(damageproto
)" "pkgconfig(xf86driproto)" "pkgconfig(xcmiscproto)" "pkgconfig(bigreqsproto)"
"pkgconfig(resourceproto)" "pkgconfig(compositeproto)" "pkgconfig(resourceproto)
" "pkgconfig(evieproto)" "pkgconfig(xf86dgaproto)" "pkgconfig(xf86vidmodeproto)"
 "pkgconfig(xkbfile)" "pkgconfig(xres)" "pkgconfig(xau)" "pkgconfig(xext)" "pkgc
onfig(xfont)" "pkgconfig(fontenc)" "pkgconfig(xdmcp)" "pkgconfig(xt)" "pkgconfig
(dmx)" "pkgconfig(xmuu)" "pkgconfig(xrender)" "pkgconfig(xi)" "pkgconfig(xpm)" "
pkgconfig(xaw7)" "pkgconfig(xfixes)" "pkgconfig(xv)" "pkgconfig(pixman-1)" "pkgc
onfig(gl)" "pkgconfig(x11)" "pkgconfig(openssl)" "pkgconfig(pciaccess)" "pkgconf
ig(hal)" "pkgconfig(dbus-1)" byacc flex autoconf automake gcc gcc-c++ rpm-build
make xineramaproto ke
rnel-netbook-devel

   # you will need to enter y for Yes twice (??)
   # Download the source code of x11-server and install it
   curl -o xorg-x11-server-1.6.4.901-7.8.moblin2.src.rpm
   [3]http://repo.moblin.org/moblin/releases/2.1/source/xorg-x11-server-1.
   6.4.901-7.8.moblin2.src.rpm
   rpm -i xorg-x11-server-1.6.4.901-7.8.moblin2.src.rpm
   # edit the spec file  /root/rpmbuild/SPECS/xorg-x11-server.spec
   # and replace
   #    --disable-xinerama by --enable-xinerama
   # build the target
   rpmbuild --target=i586 -bb /root/rpmbuild/SPECS/xorg-x11-server.spec
   # install the newly built x11-server (-i uses only one hyphen and
   --force two)
   rpm -iv --force rpmbuild/RPMS/i586/xorg-x11-server-*
   # download the nvidia drivers
   curl -o NVIDIA-Linux-x86-190.42-pkg1.run
   [4]http://uk.download.nvidia.com/XFree86/Linux-x86/190.42/NVIDIA-Linux-
   x86-190.42-pkg1.run
   # make the script executable
   chmod +x ./NVIDIA-Linux-x86-190.42-pkg1.run
   # Run the Nvidia script
   ./NVIDIA-Linux-x86-190.42-pkg1.run
   # accept Nvidia license
   # it will compile kernel module and install what is needed
   # ask Nvidia installation script to create a new xorg.conf file
   # reboot
   reboot
   # after a few extra second of boot you will see the Nvidia logo
   # Any clutter application will fail to start (including Mutter)
   # after a few restart of X you will get the Moblin 2.1 top bar.
   # Hope someone will find a fix for Clutter.
   Enjoy your day.
   Dominig

References

   1. mailto:[email protected]
   2. http://www.madeo.co.uk/
   3. 
http://repo.moblin.org/moblin/releases/2.1/source/xorg-x11-server-1.6.4.901-7.8.moblin2.src.rpm
   4. 
http://uk.download.nvidia.com/XFree86/Linux-x86/190.42/NVIDIA-Linux-x86-190.42-pkg1.run
_______________________________________________
Moblin dev Mailing List
[email protected]

To manage or unsubscribe from this mailing list visit:
http://lists.moblin.org/listinfo/dev or your user account on http://moblin.org 
once logged in.

For more information on the Moblin Developer Mailing lists visit:
http://moblin.org/community/mailing-lists

Reply via email to