← Back to team overview

sony-vaio-z-series team mailing list archive

Re: Intel AND Nvidia on Fedora 12

 

Well,

sorry to have put you in such troubles.
Actually, I succeeded. I reinstalled all graphical libs, then I installed norbert's version of sony-laptop. I'm still using my xorg-switch script which is fine... but I had to erase all symbolic links of nvidia which were taken first.
There were 3 of it (one which I didn't delete before, which is the last of) :
/usr/lib/libGL.so (don't really care since it'll be overwritten anyway by the switch script) /usr/lib/xorg/modules/extensions/nvidia/libglx.so (otherwise, it'll be taken instead of the ../libglx.so one)
/usr/lib/nvidia/libGL.so.1 (this one, I didn't erase it before)

Of course, I have to make the switch point on the good nvidia one when I'm using the nvidia card...

... but now, it's working and it's GREAT !

Thanks a lot for your patience.
Alexandre Kaspar

Hoping there'll be a hot-switching correct capability soon.

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