← Back to team overview

sony-vaio-z-series team mailing list archive

Re: Intel AND Nvidia on Fedora 12

 

Thanks for your answer.

Sadly, it doesn't really help me because I already did this. The problem is that I don't want to reinstall the nvidia driver for every new kernel I install. So I want to use the kmod-nvidia which does that for me... Then, I don't really know what does the kmod-nvidia package, but it looks like the lib structure isn't the same.

Anyway, I already have a script for switching at run-levels (I put it at any run level, since I wasn't sure about which one to put it at...).
The switch script works (it's been a long time).

But the libGL which is loaded by my x server isn't the good one when I have the nvidia driver installed. It always tries to load the nvidia one and that breaks the intel opengl acceleration.

I wondered if there was someone on Fedora 12 who had both cards working with acceleration (at the same time). Because I don't know how he did to make sure the nvidia driver isn't chosen when the intel card is the only one running. That is for now my problem. ;-)

Just naming libGl.so with some specific extension relative to the card (.intel or .nvidia) doesn't seem to work (it doesn't for me anyway).

Thanks for your help
Alexandre Kaspar

Philipp Blanke <philipp.blanke@xxxxxxxxxxxxxx> a écrit :

Hello Alexandre,

I'll answer your question, so that not always the same people on the
list have to do this :)

The answer to your question is: yes, there are happy people who can use
both cards with 3D acceleration. For Ubuntu and Debian, there is the
marvelous janitor script by Raphael Gradenwitz, which solves all
problems (see http://global-social.net/sony-VGN-Zseries ).

The problem you run into, is that you have to keep the GL libraries for
both cards on your system and put the right ones (depending on the
active card) in place when you boot. This can be done by a script
in /etc/rc*.d. Moreover, you may like to have a separate xorg.conf for
each card, which also has to be put in the right place, before the start
of the X server.

I wrote a step by step guide to set this up on Ubuntu. This will work
for Fedora, too, you just have to twiddle some paths. Find it at
http://www.welfenlab.de/fileadmin/download/Installation-sony-vaio.pdf

Much better would be to adapt Raphael's script to Fedora, but you have
to have a good grasp of shell programming to do that.

Hope that helps.
Philipp


On Thu, 2010-02-11 at 17:10 +0100, Alexandre Kaspar wrote:
Hello everyone.

I'm using both cards for their specific "raison d'être". I am on Fedora 12.
However, I have troubles to use both transparently.

I only use acpi_osi=... so that I can cold reboot and switch from one
card to the other.
That works fine. My problem concerns the libGL.so files which seem to
have some troubles.
I heard someone on Fedora too, which was able to use both cards well.
Does it really mean he can use both cards at their whole value ?

Of course, I can use both easily. My problem is to use both in their
best way which I cannot by now.

uname -a give :
Linux localhost.localdomain 2.6.31.12-174.2.3.fc12.i686.PAE #1 SMP Mon
Jan 18 20:06:44 UTC 2010 i686 i686 i386 GNU/Linux

The kernel has a support for the intel card out of the box. That's fine.
It has no out-of-the-box support for the nvidia card though.
And there is the problem... because if I install the nvidia kmod, then
I can use the nvidia card well.
But then, I cannot use the intel card with the 3d acceleration.

You may argue : why do I need to use the intel card with 3d
acceleration ? And my reason is simply that I love gnome-shell. I use
it by now and cannot come back to the normal gnome (or I would'nt like
to, I would be sad ... :( ).

And as you may know, gnome-shell needs opengl rendering support which
I have not when I have nvidia installed because there seems to be a
library conflict between the intel and the nvidia libGL whatever what
I do.

Is there anyone who has both cards working with 3d acceleration (would
be easier if he was on Fedora too, but otherwise, it still useful to
me) ?

Thanks for the help
Alexandre Kaspar



--
Philipp Blanke <philipp.blanke@xxxxxxxxxxxxxx>

Alte Dorfstr. 19
29690 Schwarmstedt

Fon: +49 (0) 5071 - 800 700
Mob: +49 (0) 151 - 581 007 50
ICQ: 275577053



_______________________________________________
Mailing list: https://launchpad.net/~sony-vaio-z-series
Post to     : sony-vaio-z-series@xxxxxxxxxxxxxxxxxxx
Unsubscribe : https://launchpad.net/~sony-vaio-z-series
More help   : https://help.launchpad.net/ListHelp




--
http://www.wox-xion.ch/



References