You are not logged in.

#1 2009-03-29 12:06:01

fl
Member
Registered: 2009-03-29
Posts: 2

Having both xf86-video-intel and proprietary Nvidia driver installed

Hello,

I installed arch on a usb hard disk, and I use it on 2 laptops.
The first one has an intel video chipset
The second one has an nvidia card.

The issue is that I can't install both drivers at the same time because I have a conflict on libgl.

pacman -S xf86-video-intel
resolving dependencies...
looking for inter-conflicts...
:: libgl conflicts with nvidia-utils. Remove nvidia-utils? [Y/n]

So I can easily install either, but not both at the same time.
I know other distributions have a mechanism to allow both libgl to be installed simultaneously (opengl-update on gentoo or update-alternatives on debian for ex)

How can I do this with Archlinux?

Thank you

Offline

#2 2009-03-29 13:50:35

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,092

Re: Having both xf86-video-intel and proprietary Nvidia driver installed

write an implimention of opengl-update for arch?

Last edited by Mr.Elendig (2009-03-29 13:51:21)


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

#3 2009-03-29 20:21:20

Dheart
Member
From: Sofia, Bulgaria
Registered: 2006-10-26
Posts: 956

Re: Having both xf86-video-intel and proprietary Nvidia driver installed

Or simply hold both packages in /var/cache/pacman/pkg/ and whenever you boot install the desired package and restart X server.


My victim you are meant to be
No, you cannot hide nor flee
You know what I'm looking for
Pleasure your torture, I will endure...

Offline

#4 2009-03-29 22:04:37

kyouens
Member
Registered: 2009-03-20
Posts: 19
Website

Re: Having both xf86-video-intel and proprietary Nvidia driver installed

This is an interesting question.  My laptop actually has 2 video cards that I can switch on and off in BIOS.  On Windows, one can switch cards "on the fly".  It would be nice if I could reboot using the high-powered card whenever I wanted to play some OpenArena or something.  Unfortnuately, I can think of no better solution than the one Dheart has proposed.

Offline

#5 2009-03-29 23:29:03

ao
Member
From: 青
Registered: 2008-02-02
Posts: 16

Re: Having both xf86-video-intel and proprietary Nvidia driver installed

My laptop's about the same, I've been working with this and modifying it as necessary -- http://forum.notebookreview.com/showthread.php?t=315810
Especially fun is breaking open the Arch packages as they are updated and ensuring the symlinks aren't overwritten (in the filesystem and the filelist), then copying out the relevant libGL.so and libglx.so

More fun still is getting this kind of thing to work in an NFS boot environment with mixed nVidia and ATI cards all booting from the same image.  For THAT I use symlinks to a specific folder and then mount --bind the correct folder containing the .so files after doing some hardware checks as each machine boots

ln -s /opt/video-switch/libGL.so /usr/lib/libGL.so (etc)
and then
mount --bind /opt/nvidia /opt/video-switch
OR
mount --bind /opt/libgl /opt/video-switch

There may be a more elegant solution.  In addition, I'm wondering what will happen if I have to support a machine with BOTH video cards simultaneously. yikes

Offline

Board footer

Powered by FluxBB