Problem : 2 Graphic Cards !!!!
Hello,
I've just installed Ubuntu Feisty (amd64) on my vaio SZ4, and of course I want to make both graphic cards work (INTEL GMA 950 an Geforce 7400 Go) I've found some explanation on how to make a "xorg-switcher" 1) I've installed Feisty with intel GMA 950 all is working great (3D, beryl ....) 2) Then I wanted to install NVIDIA 7400, everything is great with nvidia drivers, my xorg.conf is edited and all is working (3D, beryl ...) 3)I'm preparing the xorg-switcher having a xorg.conf.stamina (for intel GMA) and xorg.conf.speed (for nvidia). I'm creating a xorg switcher Quote:
BUT ! when I switch to the intel GMA and check for "direct rendering" I have Quote:
can someone help me with that ? I've lost 3D acc on intel GMA and can't use beryl I'm a big newb on ubuntu I've just starded.... Recently I've just found this:here and after making a : libglx.so.stamina, and libglx.so.1.stamina (when intel GMA was working in phase 1)) libglx.so.speed, and libglx.so.1.speed (when Geforce 7400 was working in phase 2)) I edited my xorg-switcher Quote:
Thanks a lot Veskit if you find an answer plz email me : takayanagi_masataka@hotmail.com :( |
I don't know about Ubuntu, but when the nVidia drivers are installed on a Fedora system from the nVidia driver script, the X11 rendering library is replaced by a "better" one from nVidia. Unfortunately, this "better" library is not compatible with other manufacturer's X11 library usage.
If this is the cause of your problem, you'll need to have your "switcher" also switch the library, and prevent pre-linking X.org. |
Quote:
/usr/lib/libGL.so and /usr/lib/xorg/modules/extensions/libglx.so are not enough ? Thanks, Veskit |
Sorry, no. Being lazy, I just use the RPMs from livna built for Fedora systems. You might find the information you want in the "sticky" note at the top of the Fedora forum where the problem is described, with links to some discussions.
Perhaps you can identify which (if any) xorg libraries were modified by looking for "unexpected" creation or modification dates on the library files. Remember, though, that I don't even know if what I described actually applies to your system. Too get the "original" libraries, it might be simplest to boot to level 3, uninstall the Xorg stuff, and reinstall it (being careful to not uninstall dependencies (like, for example, all you graphic application)). If Ubuntu has tools like apt or smart for managing software, perhaps a simple "repair" operation might set things right. (Note: Foregoing is speculation, and not recommendation for action until you have verified that it will solve your problem. Also, a good, complete, backup of your system before messing around might be a good thing® to have available.) |
Like PTrenholme mentioned, your pc will use nvidia opengl library even thought currently use intel(Easy to say that, they conflict!). So, the way I recommend use another kind of method to install/reinstall display driver before startx.
probably you can use a script in /etc/init.d/rc.local to perform this job:- Quote:
*Please reply us how you do this. Regards, Ks |
Quote:
I can't post the script atm because I'm at work but basically it's even more simple than "desinstall/reinstall", all you have to do is : if nvidia then replace xorg.conf by xorg.conf.nvidia remove GLX intel similink of GLX nvidia (2 files to replace) else replace xorg.conf by xorg.conf.intel remove GLX nvidia similink of GLX intel (2 files to replace) the point that I missed is that the 2 GLX libs are not at the same place if it's nvidia or intel intel libglx.so is in /usr/lib/xorg/extension/modules and nvidia one is in /usr/lib/xorg/extension so you musn't mess with the path (which I did :p) Everything is ok now ! Thanks a lot for your support and fast replies Veskit |
<edit>
I was thinking about what you'd written above, and it struck we that just redefining the syslinks might be (slightly) more efficient. Here's some (untested) code that might do that for xorg.conf, and (if it does), the library symlink changes could easily be added. Please note the "untested" comment. Code:
#!/bin/bash Not a question you asked, but the livna solution (of linking nVidia to it's own library set with "non-standard" names) lets you actually use an nVidia card and another vendor's card at the same time. (On different monitors, of course.) So, if you want the "real linux experience", you can set up a media wall with several monitors and drive them all off of one box, using different cards. Most "modern" cards support two different monitors, so, with five boards you could run a 3 x 3 screen array. Just a thought . . . (And, no, I've never tried it. You need more money than I have to play in that league.) |
Quote:
:cry: |
:) PTrenholme I've tried to read 3 time your script but I guess i'm too nwb yet to test the "real Linux experience" :)
But since kstan have the same problem i'm gonna write a little "howto" (excuse my bad english and my newbiness) First of all, you have to be in stamina mode with 3D rendering ok (reinstall Intel driver is the fastest way if it's not working) Backup the xorg.conf and the libs GLX, something like : Quote:
Quote:
Quote:
if it's ok, backup the nvidia xorg and GLX libs (I'm at work I don't remember exactly the name of the libglx.so) Quote:
Quote:
Veskit |
All times are GMT -5. The time now is 07:32 PM. |