-----Original Message-----
[SNIP]
From: Marc Schwartz [mailto:MSchwartz@MedAnalytics.com] Don't forget to remove the Mesa-LibGL rpm before doing that.
Use:
rpm -e --nodeps XFree86-Mesa-libGL
You will need to do that before running both of the NVidia install processes and will need to repeat that when there are XFree86 and
kernel
updates.
Also, I have found that removing the Mesa-libGL will cause some dependency issues when using up2date. So be aware that you may need to uninstall it again after some updates.
If I may ask, why do I have to remove this? I've always used the NVIDIA driver, before fedora, and never had a problem.
Thanks
Ossama
On October 25, 2003 03:11 am, Ossama Khayaat , <Ossama Khayaat ossamak@nht.com.kw> wrote:
Also, I have found that removing the Mesa-libGL will cause some dependency issues when using up2date. So be aware that you may need to uninstall it again after some updates.
If I may ask, why do I have to remove this? I've always used the NVIDIA driver, before fedora, and never had a problem.
If you don't remove the Mesa-libGL, you wont' be able to run the GL screensavers. Look over past discussions regarding XFree, Nvidia, and these in the list.
Elton ;-)
On Sat, 2003-10-25 at 05:42, Elton Woo wrote:
On October 25, 2003 03:11 am, Ossama Khayaat , <Ossama Khayaat ossamak@nht.com.kw> wrote:
Also, I have found that removing the Mesa-libGL will cause some dependency issues when using up2date. So be aware that you may need to uninstall it again after some updates.
If I may ask, why do I have to remove this? I've always used the NVIDIA driver, before fedora, and never had a problem.
If you don't remove the Mesa-libGL, you wont' be able to run the GL screensavers. Look over past discussions regarding XFree, Nvidia, and these in the list.
Interesting - I was always under the impression that the latest NVidia installers updated the MesaGL libraries so that they did work with the GL screen savers.
The only error I have ever seen, even with the RSSS packages, was that some complained that DRI was not loaded. Since the NVidia drivers don't like DRI, I assumed this was normal.
Cheers,
Chris
-- ==================================== "If you get to thinkin' you're a person of some influence, try orderin' someone else's dog around." --Cowboy Wisdom
On Sat, 2003-10-25 at 16:11, Christopher A. Williams wrote:
The only error I have ever seen, even with the RSSS packages, was that some complained that DRI was not loaded. Since the NVidia drivers don't like DRI, I assumed this was normal.
Nope, not normal. Nvidia's drivers don't use DRI -- any opengl program that thinks it needs to try DRI is not using nvidia's opengl drivers. This -- that some programs "find" the Mesa opengl library before the nvidia one you've installed -- is the problem. Removing the Mesa libGL.so files manually or via rpm -e --nodeps <mesa> gets rid of the message.
On Sat, 25 Oct 2003, Christopher A. Williams wrote:
If I may ask, why do I have to remove this? I've always used the NVIDIA driver, before fedora, and never had a problem.
If you don't remove the Mesa-libGL, you wont' be able to run the GL screensavers. Look over past discussions regarding XFree, Nvidia, and these in the list.
Interesting - I was always under the impression that the latest NVidia installers updated the MesaGL libraries so that they did work with the GL screen savers.
They've never done that ever. They delete Mesa with "rm" rather than removing the rpm package. Then they plop their own proprietary libGL in it's place. That's not what I'd call an update. It's a complete replacement, done in a very hackish and non-rpm friendly manner.
The current XFree86-Mesa-libGL packages however provide multiple libGL's and Nvidia's hack doesn't hit them all, so you get Mesa still.
The only error I have ever seen, even with the RSSS packages, was that some complained that DRI was not loaded. Since the NVidia drivers don't like DRI, I assumed this was normal.
This is because the Nvidia ugly hack to delete libGL only gets part of it. The i686 TLS libGL is left, and if your system autodetects as being i686 compatible and compatible with TLS, that library will override anything installed in the general location (where Nvidia puts theirs). As such, you end up using Mesa software libGL, and it tells you no DRI driver is available, which is correct.
On October 28, 2003 01:15 pm, Mike A. Harris , <"Mike A. Harris" mharris@redhat.com> wrote:
This is because the Nvidia ugly hack to delete libGL only gets part of it. The i686 TLS libGL is left, and if your system autodetects as being i686 compatible and compatible with TLS, that library will override anything installed in the general location (where Nvidia puts theirs). As such, you end up using Mesa software libGL, and it tells you no DRI driver is available, which is correct.
Newbie (and perhaps stupid) question: is there a way to remove the nVidia GL, so that one can keep the Mesa ones? ... Or am I obliged to continually remove the latter? As it stands, there two steps necessary whenever I get rawhide updates: 1) re-run the nVidia installer whenever the kernel is updated 2) remove using --nodeps whenever XFree is updated (since I can't update without including the Mesa-libGL package...
... or am I asking the impossible / unreasonable?
Elton ;-)
On Tue, 28 Oct 2003, Elton Woo wrote:
This is because the Nvidia ugly hack to delete libGL only gets part of it. The i686 TLS libGL is left, and if your system autodetects as being i686 compatible and compatible with TLS, that library will override anything installed in the general location (where Nvidia puts theirs). As such, you end up using Mesa software libGL, and it tells you no DRI driver is available, which is correct.
Newbie (and perhaps stupid) question: is there a way to remove the nVidia GL, so that one can keep the Mesa ones? ... Or am I obliged to continually remove the latter? As it stands, there two steps necessary whenever I get rawhide updates:
That depends on wether or not the Nvidia stuff was installed with rpm or not. If it was, then uninstall the Nvidia rpms. If it wasn't, then perhaps they have an uninstall script to run. If not, go one directory at a time through your hard disk looking for files Nvidia installed outside of RPM's scope, and delete them by hand with rm. By definition, package managment involves using packages and package management software - rpm.
- re-run the nVidia installer whenever the kernel is updated
- remove using --nodeps whenever XFree is updated (since I can't
update without including the Mesa-libGL package...
... or am I asking the impossible / unreasonable?
No, but you're asking the wrong people. Unless Nvidia's drivers are installed via rpm, and their rpm package provides libGL properly, then anything depending on libGL will have dependancy problems. That's something that needs fixing in Nvidia's rpm packages. Only I'm being told they don't have rpm packages anymore, so it's more difficult.
We are not going to make ugly hacks for software installed outside of rpm context. It defeats the entire purpose of rpm in the first place, and opens the door for 10000 other software companies out there to request and expect special treatment and hacks for their software too.
I'm happy to develop useful and generic solutions that do use rpm packaging in order to solve problems for 3rd parties however, and that is why XFree86-Mesa-libGL is a separate package to begin with.
On October 28, 2003 03:49 pm, Mike A. Harris , <"Mike A. Harris" mharris@redhat.com> wrote:
We are not going to make ugly hacks for software installed outside of rpm context. It defeats the entire purpose of rpm in the first place, and opens the door for 10000 other software companies out there to request and expect special treatment and hacks for their software too.
I see your point, and I agree with you totally. FYI, the nVidia drivers are no longer installed via rpm, but an "all-platform" *.run script. ... I guess I'll have to live with it until nVidia update their drivers to work with the newer kenels. No major heartbreak, but an annoyance nonetheless, to have to do those two steps, each time ...
Elton ;-)
Elton Woo wrote:
On October 28, 2003 03:49 pm, Mike A. Harris , <"Mike A. Harris" mharris@redhat.com> wrote:
We are not going to make ugly hacks for software installed outside of rpm context. It defeats the entire purpose of rpm in the first place, and opens the door for 10000 other software companies out there to request and expect special treatment and hacks for their software too.
I see your point, and I agree with you totally. FYI, the nVidia drivers are no longer installed via rpm, but an "all-platform" *.run script. ... I guess I'll have to live with it until nVidia update their drivers to work with the newer kenels. No major heartbreak, but an annoyance nonetheless, to have to do those two steps, each time ...
Huh? what do you mean "work with newer kernels"?
Joe - happily running 3D accelerated nvidia on fedora!
Joe
On Tue, Oct 28, 2003 at 02:45:22PM -0500, Elton Woo wrote:
Newbie (and perhaps stupid) question: is there a way to remove the nVidia GL, so that one can keep the Mesa ones? ... Or am I obliged to continually remove the latter? As it stands, there two steps necessary whenever I get rawhide updates:
- re-run the nVidia installer whenever the kernel is updated
- remove using --nodeps whenever XFree is updated (since I can't
update without including the Mesa-libGL package...
3) get nvidia-glx as a rpm, remove Mesa-libGL, recompile/install the kernel driver if you update the kernel.
see https://bugzilla.fedora.us/show_bug.cgi?id=402 for a src.rpm
I only use the glx rpm, the kernel part of the rpm is a bit too much hassle when using 2.6 (looks like the latest spec file removed it completely). For 2.4 it should work fine.
Elton Woo wrote:
Newbie (and perhaps stupid) question: is there a way to remove the nVidia GL, so that one can keep the Mesa ones? ... Or am I obliged to continually remove the latter? As it stands, there two steps necessary whenever I get rawhide updates:
- re-run the nVidia installer whenever the kernel is updated
- remove using --nodeps whenever XFree is updated (since I can't
update without including the Mesa-libGL package...
... or am I asking the impossible / unreasonable?
Sure, if you'd rather do software rendering with mesa, just uninstall the nvidia drivers and reinstall mesa-gl.
I dunno though, let's see, mesa-gl = 0.1 fps for q3a, nvidia = 100 fps for q3a...
I think I'll go with the nvidia gl, and that is my final answer!
Joe
On Mon, Jan 12, 2004 at 08:34:22PM -0800, joe wrote:
Elton Woo wrote:
Newbie (and perhaps stupid) question: is there a way to remove the nVidia GL, so that one can keep the Mesa ones? ... Or am I obliged to continually remove the latter? As it stands, there two steps necessary whenever I get rawhide updates:
- re-run the nVidia installer whenever the kernel is updated
- remove using --nodeps whenever XFree is updated (since I can't
update without including the Mesa-libGL package...
... or am I asking the impossible / unreasonable?
Sure, if you'd rather do software rendering with mesa, just uninstall the nvidia drivers and reinstall mesa-gl.
The other option is to create an RPM package from the nVidia GL package, and have it provide the proper dependencies. Axel Thimm does this on his site, and you can use his RPMs or adapt them to your use. Note that he also rebuilds new RPMs for each Fedora kernel release.
http://atrpms.physik.fu-berlin.de/dist/fc1/nvidia-graphics/
John Thacker
John Alexander Thacker wrote:
Axel Thimm does this on his site, and you can use his RPMs or adapt them to your use. Note that he also rebuilds new RPMs for each Fedora kernel release.
Thanks for the info, that's a new bookmark for me!
Joe
On Sat, 25 Oct 2003, Ossama Khayaat wrote:
From: Marc Schwartz [mailto:MSchwartz@MedAnalytics.com] Don't forget to remove the Mesa-LibGL rpm before doing that.
Use:
rpm -e --nodeps XFree86-Mesa-libGL
You will need to do that before running both of the NVidia install processes and will need to repeat that when there are XFree86 and
kernel
updates.
Also, I have found that removing the Mesa-libGL will cause some dependency issues when using up2date. So be aware that you may need to uninstall it again after some updates.
If I may ask, why do I have to remove this? I've always used the NVIDIA driver, before fedora, and never had a problem.
Because Nvidia's driver installation just blows away the installed libGL libraries from XFree86-Mesa-libGL, and that just happened to work randomly before. That was NEVER the proper way to handle it.
Now, we provide multiple libGL libraries, and Nvidia's installer doesn't know about them, so it doesn't delete them all. As such, when you run OpenGL applications, the dynamic linker will use the first libGL found, and that is the TLS i686 libGL, not Nvidias.
I've contacted Nvidia privately in order to try to come up with a long term solution with them that is beneficial for everyone, and isn't an ugly hack or deleting random OS provided files. They've responded and are interested in working to find a solution.
So, at some point in the future, these problems will hopefully be moot.
On Tue, 2003-10-28 at 11:11, Mike A. Harris wrote:
Because Nvidia's driver installation just blows away the installed libGL libraries from XFree86-Mesa-libGL, and that just happened to work randomly before. That was NEVER the proper way to handle it.
Now, we provide multiple libGL libraries, and Nvidia's installer doesn't know about them, so it doesn't delete them all. As such, when you run OpenGL applications, the dynamic linker will use the first libGL found, and that is the TLS i686 libGL, not Nvidias.
I've contacted Nvidia privately in order to try to come up with a long term solution with them that is beneficial for everyone, and isn't an ugly hack or deleting random OS provided files. They've responded and are interested in working to find a solution.
So, at some point in the future, these problems will hopefully be moot.
This is excellent news! Getting NVidia to have their drivers "play nice" with the rest of Fedora would be a wonderful thing indeed.
Tell them I said to hurry up and get on with it...! <grin>
Cheers,
Chris
-- ==================================== "If you get to thinkin' you're a person of some influence, try orderin' someone else's dog around." --Cowboy Wisdom