You are not logged in.

#1 2014-08-18 08:19:18

adrusi
Member
Registered: 2014-08-18
Posts: 4

[Solved] Nvidia-libgl and mesa-libgl conflict

I have a laptop with an nvidia graphics card that I've had disabled on arch because I didn't need it, but now I'd like to install the proprietary nvidia drivers. The wiki says that the nvidia driver has built in support for Optimus which is important to me for reasons of battery life, and I'm not sure if I need the intel driver still installed for that, but as I understand I should at least be able to have them installed concurrently (the wiki page for Bumblebee seems to assume both drivers are installed).

I can't install the nvidia driver without removing the intel driver because of a dependancy conflict between nvidia-libgl and mesa-libgl:

# pacman -S nvidia
resolving dependencies...
looking for inter-conflicts...
:: nvidia-libgl and mesa-libgl are in conflict (libgl). Remove mesa-libgl? [y/N] y
error: failed to prepare transaction (could not satisfy dependencies)
:: ati-dri: requires mesa-libgl
:: intel-dri: requires mesa-libgl
:: nouveau-dri: requires mesa-libgl

Last edited by adrusi (2014-08-18 10:04:36)

Offline

#2 2014-08-18 09:31:39

jdbrown
Member
Registered: 2014-01-03
Posts: 73

Re: [Solved] Nvidia-libgl and mesa-libgl conflict

Try pacman -S bumblebee nvidia

bumblebee provides nvidia-libgl and doesn't conflict with mesa-libgl

Offline

#3 2014-08-18 10:04:17

adrusi
Member
Registered: 2014-08-18
Posts: 4

Re: [Solved] Nvidia-libgl and mesa-libgl conflict

Unfortunately I can't install bumblebee because of a memory corruption bug with my particular machine. But if the reason bumblebee works with both drivers installed is just a different package structure, then I guess I'll just have to remove the other drivers.

Offline

#4 2014-08-18 11:34:21

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [Solved] Nvidia-libgl and mesa-libgl conflict

adrusi, why do you have all these drivers installed? Are you sure you need ati-dri? How exactly did you install them?
Remove them and keep only the drivers for your hardware.

Offline

#5 2014-08-18 17:31:11

adrusi
Member
Registered: 2014-08-18
Posts: 4

Re: [Solved] Nvidia-libgl and mesa-libgl conflict

I don't remember ever actually installing them, I probably configured the installation of mesa-libgl incorrectly. I certainly never explicitly installed ati or nouveau. It's actually fairly concerning, I hadn't paid it much heed until your reply...

Offline

#6 2014-08-18 20:03:29

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [Solved] Nvidia-libgl and mesa-libgl conflict

You can check pacman's log to see how did you install them.

Offline

#7 2014-08-18 21:48:40

abennett
Member
Registered: 2014-08-18
Posts: 7

Re: [Solved] Nvidia-libgl and mesa-libgl conflict

I ran into the same problem. Somehow the drivers were just there on a fresh install. Strange.

Anywho... all I had to do was pacman -Rs the other drivers.

Offline

#8 2014-08-18 22:06:34

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [Solved] Nvidia-libgl and mesa-libgl conflict

abennett, are you using Arch or some other distro?

Offline

#9 2014-08-19 22:59:34

abennett
Member
Registered: 2014-08-18
Posts: 7

Re: [Solved] Nvidia-libgl and mesa-libgl conflict

There are other distros? big_smile

Offline

Board footer

Powered by FluxBB