Moblin on Acer Revo (pt2) – Nvidia Graphics
For fully working revo on moblin 2.1 go here
So you just bought a Acer revo and put moblin and it's so slow that it makes you cringe? Well here is how to fix it.
So first we need to install Nvidia's proprietary "nvidia" module. In order to do this we have to recompile xorg-x11-server to have xinerama support. Then we need to install it and after that install the nvidia modules. Below are some dumb proof instructions. Feel free to mail in or comment some changed.
1. yum install make gcc binutils glproto libX11-devel mesa-libGL-devel mesa-libGL xf86driproto randrproto renderproto fixesproto damageproto xcmiscproto xextproto bigreqsproto resourceproto fontsproto inputproto videoproto compositeproto scrnsaverproto resourceproto xineramaproto openssl xorg-x11-xtrans-devel openssl-devel libfontenc-devel libfontenc pixman-devel pixman libXau-devel libXau libxkbfile-devel libxkbfile libXfont libXfont-devel libXinerama libXinerama-devel xorg-x11-xtrans-devel libpciaccess-devel libdrm-devel rpm-build flex byaccxorg-x11-util-macros dbus-1 hal xv xvfixes raw7 xpm xi xrender xmuu dmx xt xdmcp xext xres xf86vidmodeproto xf86dgaproto evieproto dri2proto hal-devel libtool-ltdl-devel libXv libXv-devel libXres-devel libXext-devel libXt-devel libXdmcp-devel libdmx-devel libXmu-devel libXrender-devel libXpm-devel libXfixes-devel xorg-x11-proto-evieext libXaw-devel libXi-devel byacc
2. Download the nvidia drivers (I used 185.18.14)
3. download moblin xorg-x11-server source rpm. (I used 1.6.1-6.2)
4. install the src.rpm package with "rpm -i"
5. Go to /root/rpmbuild/SPECS/ and open the file xorg-x11-server.spec, find the line that says --disable-xinerama and change to --xinerama-enable
6. in the same dir, execute rpmbuild --target=i586 -bb xorg-x11-server.spec
7. reboot and add a lone 3 at the end of the grub line by pressing e and then e again.
DJA metions that "vga=0 3" instead of "vga=current" might be needed in newer versions
8. log in as root and execute yum remove xorg-x11-server. Go to /etc/yum/yum.conf and tell yum not to bothere with GPG checks by setting gpg_checks to 0
9. go to /root/rpmbuild/RPMS/i586/ and install all packages in there with yum install xorg*. If you cant get your network up in command mode then download the missing packages by hand and install them at the same time with yum.
10. Install the Nvidia driver by executing it. Dont bother going on their ftp site. Let the installer make you an xorg.conf
11. reboot normally. Remove the quiet and vga=current lines could help.
credit goes to people in this thread who helped : http://lists.moblin.org/pipermail/dev/2009-June/005210.html
July 9th, 2009 at 23:18
Is there some voodoo in getting moblin to boot to a console? Adding either 3 or single to the end of the grub line simple causes Moblin to hang on the usplash screen with the Moblin text in the middle of the screen.
July 10th, 2009 at 00:08
Nevermind! figured it out... needed to do replace "vga=current" with "vga=0 3" to boot in 80x25 text mode.
November 6th, 2009 at 15:20
With Moblin preview 2.1 it can become trickier because the graphic GUI does show so you must use DJA trick to boot in text mode. Then you will have boot but will have no Ethernet interface.
As configuring the WIFI key in text mode can be tricky if your router uses WPA (WEP is simple via the command iwconfig) you may need a temporay ethernet interface to download your package.
Several USB dongle are preconfigured with the beta 2.1 (test done with Oct09 version) and for example the Apple Macair dongle works.
Note that with the Beta 2.1 an error in a YUM repository will fail Brendan Yum command. You need to replace "preview" by 2.1-preview" in the file /etc/yum.repos.d/moblin-preview.repo
Enjoy
Dominig
November 12th, 2009 at 14:00
To be able to recompile x11-server on Moblin 2.1 final, I had to copy the file /usr/include/GL/gl.h from my Desktop to my Moblin. The gl.h provided by Moblin 2.1 final wil not let you recompile x11-server (I have raised a bug in Moblin Bugzila).
Once that is done, I could get x11-server to work but more work is neede to get Clutter to work.
To be followed.
Dominig
November 13th, 2009 at 10:07
I copy a mail from David Park at LG on the dev@moblin mailing list which helped me to get Moblin 2.1 going. It's not a full solution as it is slow but it does display the GUI what allows to move a step further.
Dominig
Dear Dominig,
It seems that NVIDIA's proprietary libraries for acceleration such as
/usr/lib/libGL.so.190.42
/usr/lib/xorg/modules/extensions/libglx.so.190.42
make troubles with clutter-glx implementation.
Please replace these libraries with alternatives from moblin 2.1 (attached)
# unzip libGL+glx.zip
# cp libGL.so.1.2 /usr/lib/
# ln -sf /usr/lib/libGL.so.1.2 /usr/lib/libGL.so.1
# cp -f libglx.so /usr/lib/xorg/modules/extensions/
where,
libGL.so.12 is from mesa-libGL-7.6-6.1.moblin2
libglx.so is from xorg-x11-server-Xorg-1.6.4.901-7.8.moblin2
Then, you can launch apps(moblin-panel-myzone etc.) with clutter-glx,
but the gfx acceleration might be too slow than expected.
In summary,
NVIDIA's gfx kernel module + Open Source's glx libraries will works.
Please give it a try!
Best Regards,
David C. Park
February 6th, 2010 at 09:36
Hello. This is kind of an "unconventional" question , but have other visitors asked you how get the menu bar to look like you've got it? I also have a blog and am really looking to alter around the theme, however am scared to death to mess with it for fear of the search engines punishing me. I am very new to all of this ...so i am just not positive exactly how to try to to it all yet. I'll just keep working on it one day at a time Thanks for any help you can offer here.
February 6th, 2010 at 12:26
Hello, I have changed the css of wordpress to be wider by default. The picture is mine, and I just compressed it and added it as the background through the admin gui. Does that answer your question?