Dieter Ries <[EMAIL PROTECTED]> posted [EMAIL PROTECTED], excerpted below, on Sun, 27 Aug 2006 16:46:42 +0200:
> Am Samstag 26 August 2006 13:54 schrieb Duncan: >> Dieter Ries <[EMAIL PROTECTED]> posted ... >> >> > there is only xorg-x11 in the list, >> >> That's interesting, as you say you are using the Nvidia slaveryware >> video drivers, which should give you NVidia's OpenGL drivers as well. > > yes and they work > > i had not one of [the gentoo nvidia video packages], i installed the > driver-package from nvidia.com by hand now i tried emerging > nvidia-drivers, which works, but then i can not play any 32bit games, > not even TETRIS via Dosbox. OK, installing directly from nvidia would explain why you didn't have the eselect entry for it, since that's Gentoo specific so would be setup by the ebuild but not by the Nvidia stuff directly. The Dosbox thing is entirely different, since dosbox is a 64-bit app so would presumably use the 64-bit drivers. Note that you can configure dosbox to use different output methods -- looks like it's using opengl as it's configured now and that's not working at all for you ATM, apparently not even 64-bit mode. >> At this point, I'd try to straighten out the eselect opengl first. That still applies, only now it's apparently working, but nvidia's opengl isn't. Hopefully the problem is this: The deal is that for compilation of some things, you'll need the xorg/mesa opengl (as the ebuild errors indicated), but for actually using opengl, if you are using the NVidia slaveryware drivers, you'll have to use their OpenGL. They change some things so I don't think it's possible to use the xorg/mesa OpenGL with NVidia closed drivers. Even if it is, that defeats the purpose of running the closed drivers in the first place and you might as well be running the open nv drivers. Thus, to actually use OpenGL, set NVidia using eselect. If you've been testing with it set, try exiting X (if it's running), then toggling it back and forth a few times, leaving it set to Nvidia when you are done. If we are lucky, when you restart X, you'll have OpenGL working for both dosbox (so 64-bit) and your 32-bit games. Note that (according to my quick peek), the Gentoo Nvidia ebuilds determine whether to enable the 32-bit stuff automatically, based on your profile (multilib or 64-bit only). Thus, you shouldn't have to worry about that. It should "just work" once you get opengl working in 64-bit mode. Again, hopefully, the reason it's not working right now is only that eselect opengl is set to xorg/mesa instead of nvidia, and it'll work when set to nvidia. > i emerged this nvidia-drivers package and remerged eselect-opengl, but > the error was still the same. now both gl's are listed by eselect, but > xdriinfo still doesnt compile It's possible it's still not compiling as your settings are still screwed up a bit. Once we get opengl working again, /then/ if you still have a problem, it's time to worry about the next step, but right now, one thing at a time. >> Thus: >> emerge nvidia video drivers with 32-bit emerge eselect-opengl Take a >> look and see if you have an nvidia entry under eselect opengl list > > how can i emerge nvidia drivers with 32bit emulation? there is no > useflag for it. As I said, I don't actually run them so wasn't familiar with them. Based on what you said and assuming you were running the Gentoo ebuild, I assumed it then must have a USE flag controlling that. Once I realized you had installed directly rather than using the ebuild, it was immediately apparent why the eselect switch wasn't working for you (you'd bypassed eselect by installing directly), and this says my assumption about the USE flag was wrong as well. As I said above, a quick look at the actual ebuild confirmed my new assumption then, that Gentoo automatically enables it based on profile. Thus, you should have 32-bit now, you just have to get opengl working in general. Again, hopefully, that's just a matter of eselecting the nvidia version and you will be set -- if we are lucky! =8^) > i removed that emul-linx-x86 xlibs and again did that emerge -avD world, > which gives me > # emerge -avD world > > These are the packages that would be merged, in order: > > Calculating world dependencies... done! > [ebuild N ] app-emulation/emul-linux-x86-xlibs-7.0-r2 USE="opengl" > VIDEO_CARDS="-i810 -mach64 -mga -r128 -radeon -s3virge -savage -sis > -tdfx -trident -via" 0 kB > [ebuild N ] x11-apps/xdriinfo-1.0.1 USE="-debug" 0 kB > > this now. and here is something i wonder about: the VIDEO_CARDS dont > match my make.conf, and nvidia is not in the list. this is my make.conf: > [snip] > VIDEO_CARDS="nvidia" [snip] > > could this be the problem? It shouldn't be. That package simply doesn't have nvidia as one of the options, so it doesn't list it. Note that as an emul-linux-* package, it's precompiled binaries (as I've said previously), so what's there is what's there, and it simply doesn't include anything for nvidia. However, that shouldn't be a problem because the nvidia-drivers package should supply the nvidia stuff, as I said automatically, based on your profile. -- Duncan - List replies preferred. No HTML msgs. "Every nonfree program has a lord, a master -- and if you use the program, he is your master." Richard Stallman -- [email protected] mailing list
