Hello, I have two suggestions for you: 1. About building xserver - I never did 'make; make install' - i used the rpmbuild tool after changing the spec file. So, briefly, my procedure was: a) use yumdownloader to download xserver srpm b) install that srpm with rpm tool c) edit the spec file (do a search for --disable-xinerama) d) use rpmbuild on the new specfile to build rpms e) install that rpms with yum -U. f) if I remember correctly I had to forcefully remove the default xserver package with yum before installing the modified one.
2. I believe that it's best not to have X running while installing nvidia drivers and even removing/installing xserver, just to be sure. You should be able to boot to 3rd runlevel (console, no X) by adding '3' (without the quotes) to the kernel parameters in grub (press 'e', then find the kernel line, 'e' again and add 3. you can also remove the quiet and such to see what's happening while you're there). it should then boot to a normal, multiuser console (with no X running). If '3' doesn't help, try 'single', but then be aware that many services will not be running. If you haven't compiled the right options or didn't install the modified xserver, or the old xserver is still trying to run, then you should expect a blank screen when trying to load nvidia drivers, just as you are seeing. Few more thoughts come to my mind: 1. remove quiet and such options in grub from the kernel line to see boot messages - they might help you find you where you're stuck 2. boot to 3rd runlevel (as described above), log in and do 'startx' and then see what happens. if X hangs, switch to the console again and view /var/log/Xorg.0.log - see if the nvidia driver fails and what does it say if so. 3. double check you are loading 'nvidia' in /etc/X11/xorg.conf, not some 'vesa' or 'nv' or 'nouveau' :) and one more thing: it would be much easier to debug such X graphical failures if the developers did somehow impair the switching to text console. I'm not sure what is the deal there but it's much harder to get to a text terminal than in normal linux (ctrl-alt-f1, f2, f3...). Wonder what it is and how to change it back to the 'usual' behavior... Piotr On Mon, 22 Jun 2009 12:07:00 +0100 brendan <[email protected]> wrote: > I am trying to get an Acer Revo working on moblin. From your insight I > downloaded the src.rpm for xorg-server, installed it and after lots > of yum install commands i was able to configure --enable-xinerama > > then make and make install. I hope thats the right way of doing it. > > Here's the list of packages i ended up having to install > yum install make gcc binutils glproto libX11-devel mesa-libGL-devel > mesa-libGL xf86driproto > yum install randrproto renderproto fixesproto damageproto xcmiscproto > xextproto bigreqsproto resourceproto fontsproto inputproto videoproto > compositeproto scrnsaverproto resourceproto xineramaproto openssl > > yum install 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 > > I then Installed the latest nvidia drivers with the options > --no-x-check because everytime i try to kill X or gdm.static it simply > refuses and restarts in a second or so. Is there a way to run in init > 3 mode? On the live USB version it is possible to add init 3 at the > end and get a command prompt. Is there a way of doing this with the > installed version? > > Now the box doesnt boot. It just hangs and says moblin right after > grub. Where did i go wrong? > > Also the ethernet does not work on my acer revo. I'll have a look at > that later. > > Thanks > Brendan > > > >* On 9 Jun 2009, at 17:19, Piotr Kempa <piotr.kempa at sigarden.com > ><https://lists.moblin.org/mailman/listinfo/dev>> wrote: > *>* > *>* Okay, here's an update after a few hours of a good battle (of > good vs *>>* evil). > *>>* > *>>* Turns out the xserver *is* built with --disable-xinerama flag > and that *>>* prevents the proprietary nvidia driver from working. > So, as far as I *>>* know, clutter in moblin bases on OpenGL > acceleration and in order to get *>>* moblin working on nvidia, 3d > acceleration is required. Open source *>>* drivers (nv and nouveau) > do not provide proper 3d acceleration yet (but *>>* I wish they will > some day so we can ditch the whole proprietary driver *>>* business > altogether). In short words: you need the proprietary driver. *>>* > *>>* So, I downloaded the source RPM for xorg-x11-xserver, changed > the spec *>>* file and recompiled it with --enable-xinerama (I think > --enable is the *>>* default for xinerama but not being sure I just > wanted to be on the safe *>>* side). > *>>* > *>>* So everything ended well and the proprietary driver is working > great *>>* and moblin runs smooth and very fast on ION, even in > 1600x1200 *>>* resolution. Probably it would run on other nvidia > cards as well but I *>>* haven't checked. > *>>* > *>>* If anybody wants to get their hands a bit dirty and recompile > xserver, *>>* I can help. > *>>* > *>>* And on a different note: wouldn't it be fair to the world to just > *>>* provide the default xserver in Moblin that can work with nvidia > (i.e. *>>* with --enable-xinerama)? Change the default build flags > for the future? *>>* I understand that can maybe cause problems in > different areas of *>>* course... But that would certainly make life > easier for some nvidia *>>* card users and have that whole > 'anti-monopolistic' spirit going on ;) *>>* > *>>* I also understand that Moblin was created by Intel and is > supposed to *>>* run on Intel hardware, not on ION. And as far as I > could check, Intel *>>* is not entirely happy about Nvidia doing a > chipset for the Atom *>>* platform. So it is reasonable that they > prefer Moblin not working with *>>* ION, or any other chipset than > Intel's (actually, even less because *>>* we still haven't seen Intel > Poulsbo aka US15W supported...). *>>* > *>>* But now that Moblin has been handed of to the Linux Foundation, > maybe *>>* it's time to make it more friendly to the whole world and > not locked *>>* into a monopoly? > *>>* > *>>* Sorry, that was a bit of a rant. All in all, it can be made to > work and *>>* I'll be more than happy to help anybody with doing it! > *>>* > *>>* Cheers, > *>>* Piotr > *>>* > *>>* On Tue, 9 Jun 2009 15:26:12 +0200 > *>>* Piotr Kempa <piotr.kempa at sigarden.com > <https://lists.moblin.org/mailman/listinfo/dev>> wrote: > *>>* > *>>* Anybody managed to run the proprietary nvidia driver on Moblin? > *>>>* I managed to compile and install the kernel and Xorg modules, > but upon *>>>* load the X module 'nvidia_drv' complains about a > missing symbol *>>>* XRC_DRAWABLE, which in some strange (google) way > points to xorg-xsever *>>>* being compiled without libxinerama > support... Which I guess is *>>>* possible. > *>>>* > *>>>* Is there anybody that has experience with that driver on > Moblin? Is *>>>* compiling a new xserver the only way to go here? > *>>>* > *>>>* Thanks, > *>>>* Piotr Kempa > * > _______________________________________________ > Moblin dev Mailing List > [email protected] > > To manage or unsubscribe from this mailing list visit: > https://lists.moblin.org/mailman/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 _______________________________________________ Moblin dev Mailing List [email protected] To manage or unsubscribe from this mailing list visit: https://lists.moblin.org/mailman/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
