You are not logged in.

#1 2006-01-27 20:40:39

Bitmap
Member
Registered: 2006-01-27
Posts: 8

Nvidia and libgl-dri conflict

Hi,

I have a problem with pacman, where whenever I try to install the nvidia driver (pacman -Sy nvidia), it says the following:

:: nvidia conflicts with libgl-dri. Remove libgl-dri? [Y/n]

Remove: libgl-dri

Targets: nvidia-1.0.8178-11

Total Package Size: 5.9 MB

Proceed with upgrade? [Y/n]

checking package integrity... done.
error: this will break the following dependencies:
libgl-dri: is required by mesa

I did a google search and came up with a bug report on the problem. It's revealed this is a problem with pacman and that it was fixed in CVS. The temporary fix listed at the bottom lets me install the nvidia package, but it gives me another problem. Whenever I try to run a program that requires libgl, it spits out the following error:

[insert app name here]: error while loading shared libraries: libGLU.so.1: cannot open shared object file: No such file or directory

I'm desperate to get this working, so is there a way I get can the latest pacman from cvs? Or is there a way to let programs know that I'm using nvidia drivers for libgl?

BTW, I'm using testing packages e.g. xorg 7. This is the only problem I've had so far.

Offline

#2 2006-01-27 21:13:24

mpie
Member
From: 404 Not found
Registered: 2005-03-06
Posts: 649

Re: Nvidia and libgl-dri conflict

pacman -Rd libgl-dri


the Rd option ignores dependancies....

Offline

#3 2006-01-27 21:28:24

Bitmap
Member
Registered: 2006-01-27
Posts: 8

Re: Nvidia and libgl-dri conflict

That was the temorary fix posted in the bug report I mentioned.

The temporary fix listed at the bottom lets me install the nvidia package, but it gives me another problem. Whenever I try to run a program that requires libgl, it spits out the following error:

[insert app name here]: error while loading shared libraries: libGLU.so.1: cannot open shared object file: No such file or directory

I'm desperate to get this working, so is there a way I get can the latest pacman from cvs? Or is there a way to let programs know that I'm using nvidia drivers for libgl?

Offline

#4 2006-01-27 21:36:01

mpie
Member
From: 404 Not found
Registered: 2005-03-06
Posts: 649

Re: Nvidia and libgl-dri conflict

Yep remove mesa aswell...
only gl libs left will be nvidia's I do not have mesa installed and all the gl apps work for me

Offline

#5 2006-01-27 21:49:28

Bitmap
Member
Registered: 2006-01-27
Posts: 8

Re: Nvidia and libgl-dri conflict

OK, I removed mesa and nothing happened...then I reinstalled it and everything worked. Which makes just about no sense.

Thanks for the help.  smile

Offline

#6 2006-01-27 22:55:41

Cerebral
Forum Fellow
From: Waterloo, ON, CA
Registered: 2005-04-08
Posts: 3,108
Website

Re: Nvidia and libgl-dri conflict

mpie, you should NOT uninstall mesa when running Xorg 7.  It's different from the outdated mesa package currently in extra and required by a few of the xorg7 packages.
The GL libraries (which were the problem before with proprietary drivers) have been seperated out from the mesa xorg7 package and are provided by other packages.

Bitmap: Glad to hear that reinstalling mesa fixed the problem for you.

Offline

#7 2006-01-28 02:08:07

Bitmap
Member
Registered: 2006-01-27
Posts: 8

Re: Nvidia and libgl-dri conflict

Ugh...I made another partition on my drive for testing arch, and it's absolutley impossible to bypass this problem. The thing I did before doesn't work anymore. Now, when I try to do pacman -S nvidia, it'll install but it spits out the following:

/sbin/ldconfig: File /usr/lib/libGL.so is empty, not checked.
/sbin/ldconfig: File /usr/lib/libnvidia-cfg.so.1 is empty, not checked.
/sbin/ldconfig: File /usr/lib/libnvidia-cfg.so is empty, not checked.
/sbin/ldconfig: File /usr/lib/libXvMCNVIDIA-dynamic.so.1 is empty, not checked.
/sbin/ldconfig: File /usr/lib/libnvidia-tls.so.1 is empty, not checked.
/sbin/ldconfig: File /usr/lib/libGL.so.1 is empty, not checked.
/sbin/ldconfig: File /usr/lib/libXvMCNVIDIA.so.1.0.8178 is empty, not checked.
/sbin/ldconfig: File /usr/lib/libGL.so.1.0.8178 is empty, not checked.
/sbin/ldconfig: File /usr/lib/libnvidia-tls.so.1.0.8178 is empty, not checked.
/sbin/ldconfig: File /usr/lib/libnvidia-cfg.so.1.0.8178 is empty, not checked.
/sbin/ldconfig: File /usr/lib/libGLcore.so.1 is empty, not checked.
/sbin/ldconfig: File /usr/lib/libGLcore.so.1.0.8178 is empty, not checked.

And as before, when I try to run a GL app

[insert app name here]: error while loading shared libraries: libGLU.so.1: cannot open shared object file: No such file or directory

The bug report on this says it's fixed in cvs...so can someone tell me how to get pacman from cvs?

Offline

#8 2006-01-28 16:29:43

Moo-Crumpus
Member
From: Hessen / Germany
Registered: 2003-12-01
Posts: 1,487

Re: Nvidia and libgl-dri conflict

I use xorg 7 modular, removed mesa and libgli with force, and reinstalled nvidia then. This is the only way it works here.


Frumpus addict
[mu'.krum.pus], [frum.pus]

Offline

#9 2006-03-08 17:51:37

nbcjr
Member
From: BRAZIL!
Registered: 2004-12-04
Posts: 79

Re: Nvidia and libgl-dri conflict

Moo-Crumpus wrote:

I use xorg 7 modular, removed mesa and libgli with force, and reinstalled nvidia then. This is the only way it works here.

please help me! i can't install nvidia, and pacman outputs this things "empty not checked" as quoted on every time it runs, EVERY update or removal...
something is clearly wrong, please help me.

xorg7 borked my machine sad

Offline

#10 2006-03-08 21:34:01

Cotton
Member
From: Cornwall, UK
Registered: 2004-09-17
Posts: 568

Re: Nvidia and libgl-dri conflict

I've had the same problem on one PC whilst another was fine.  I'm surprised it hasn't been experienced more widely.

Although I can't remember the precise method of eliminating the dreaded "xxx is empty, not checked" errors, it basically consisted of ensuring  nvidia-legacy, xorg, xorg-server, xorg-clients, mesa & libgl-dri were uninstalled using: 

pacman -Rd pkgnames

(May have installed and re-uninstalled libgl-dri along the way as well).

Then reinstalled xorg, xorg-server, xorg-clients & mesa.

The key was then reinstalling nvidia-legacy-16 using

pacman -U /var/cache/pacman/pkg/nvidia-legacy-1.0.7174-16.pkg.tar.gz

then nvidia-legacy-18 with pacman -Syu

and rebooting.  Since then the "empty not checked error" has disappeared.  Thankfully. 

HTH.  Good luck.

Offline

#11 2006-03-08 22:47:11

Ethilien
Member
From: Parker, CO
Registered: 2005-09-21
Posts: 36
Website

Re: Nvidia and libgl-dri conflict

Have you tried updating mesa independently?

pacman -Sy mesa

I'm running xor7 with the nvidia-legacy drivers, and everything works. Its worth noting that the current version of mesa does not depend on libgl-dri.

Also make sure that dri is disabled in your xorg.conf smile


-Connor McKay

"He is no fool who gives what he cannot keep to gain what he cannot lose" - Jim Elliot

Offline

#12 2006-03-10 08:51:30

Moo-Crumpus
Member
From: Hessen / Germany
Registered: 2003-12-01
Posts: 1,487

Re: Nvidia and libgl-dri conflict

nbcjr, as far as I am concerned, it's all been said. As long as you don't report if you tried it the way we suggested, and what happened, how could we help?
Yelling for help might be helpfull for a drowning person, but not for solving a computer issue. smile


Frumpus addict
[mu'.krum.pus], [frum.pus]

Offline

Board footer

Powered by FluxBB