Dual graphic card

Issues Related to Hardware (Sound, Video, Printers, Scanners, Webcams, Touchpads, Keyboards, Sensors, Drives, GRUB, etc.)

Moderator: Moderators

Dual graphic card

Postby ace-cro » Wed Mar 09, 2011 12:59

Hi all

I have a problem with drivers for my graphic card (laptop). I have a dual graphic card nvidia GeForce GT 335M/some integrated card. Now when I download nVidia's driver and install it I get a blank screen and that's about it. I don't have a hardware solution for disabling any of the cards. If you guys have any solutions I would be very grateful. Thx

P.S. For now I am working with nouveau driver and i can't use desktop effects without the risk of freezing GUI.
ace-cro
Young Hen
 
Posts: 24
Joined: Fri Mar 04, 2011 10:39

Re: Dual graphic card

Postby micia » Wed Mar 09, 2011 13:15

I download nVidia's driver and install it

Hi, where did you download your driver from?

Manual installations are discouraged and unsupported.
micia
Sagely Hen
 
Posts: 2718
Joined: Wed Nov 26, 2008 16:41

Re: Dual graphic card

Postby ace-cro » Wed Mar 09, 2011 13:45

Nvidia site. Found the exact driver for my graphic card (nvidia). Killed GUI, installed it and cannot start GUI again (after a reboot).
ace-cro
Young Hen
 
Posts: 24
Joined: Fri Mar 04, 2011 10:39

Re: Dual graphic card

Postby micia » Wed Mar 09, 2011 14:01

Getting drivers that way is bad, dangerous and nasty...

Remove the drivers you installed manually from the nvidia site and use equo/sulfur:
Code: Select all
equo search nvidia-drivers

will show you all the available versions, since your card is a recent one, a simple:
(as root)
Code: Select all
equo install nvidia-drivers

should provide you the right drivers.

After you removed the nvidia site's drivers, and installed the ones from entropy, run:
(as root)
Code: Select all
eselect opengl set nvidia


Now ensure that your xorg.conf has the nvidia drivers in the Device section.

Using entropy/portage is required for this kind of packages, since they will take care for you of setting up proper symlinks, checking dependencies,they will update configuration files, provide you with tools to manage those drivers, update the drivers when needed and such.
Without them, it is up to you to do all this (and the package manager will never know the version of the driver that is now installed, even worse, it could install another one, or assume that another version is there).

Support for multiple video cards in Linux is, for now, young. Work is in progress for a proper support of those configurations, check out:
http://en.gentoo-wiki.com/wiki/Vga_switcheroo
for more informations.
micia
Sagely Hen
 
Posts: 2718
Joined: Wed Nov 26, 2008 16:41

Re: Dual graphic card

Postby ace-cro » Wed Mar 09, 2011 14:20

...in xorg.conf I have 2 Device sections:
Code: Select all
Section "Device"

    Identifier  "SabayonVga0"
    Driver      "intel"
    BusID    "PCI:00:02"
    #Option "RenderAccel" "on"
    #Option "XAANoOffscreenPixmaps"
    #Option "BusType" "PCI"
    #Option "ColorTiling" "on"
    #Option "EnablePageFlip" "on"
    Option "UseEvents" "True"
    Option "LogoPath" "/usr/share/backgrounds/sabayonlinux-nvidia.png"

EndSection
   


Section "Device"

    Identifier  "SabayonVga1"
    Driver      "nv"
    BusID    "PCI:01:00"
    #Option "RenderAccel" "on"
    #Option "XAANoOffscreenPixmaps"
    #Option "BusType" "PCI"
    #Option "ColorTiling" "on"
    #Option "EnablePageFlip" "on"
    Option "UseEvents" "True"
    Option "LogoPath" "/usr/share/backgrounds/sabayonlinux-nvidia.png"

EndSection
   

Do I change anything?
ace-cro
Young Hen
 
Posts: 24
Joined: Fri Mar 04, 2011 10:39

Re: Dual graphic card

Postby micia » Wed Mar 09, 2011 16:03

I think this is due to the fact that you have 2 video cards.

The Nvidia Device should be the second one, but I don't see the nouveau driver associated with it, rather the NV driver.
You should change "nv" to "nvidia", like this:
Code: Select all
Section "Device"

    Identifier  "SabayonVga1"
    Driver      "nvidia"
    BusID    "PCI:01:00"
    #Option "RenderAccel" "on"
    #Option "XAANoOffscreenPixmaps"
    #Option "BusType" "PCI"
    #Option "ColorTiling" "on"
    #Option "EnablePageFlip" "on"
    Option "UseEvents" "True"
    Option "LogoPath" "/usr/share/backgrounds/sabayonlinux-nvidia.png"

EndSection
micia
Sagely Hen
 
Posts: 2718
Joined: Wed Nov 26, 2008 16:41

Re: Dual graphic card

Postby ace-cro » Wed Mar 09, 2011 16:27

Unfortunately nothing has changed. :( I still have a blank screen. I followed your instructions to the letter.
ace-cro
Young Hen
 
Posts: 24
Joined: Fri Mar 04, 2011 10:39

Re: Dual graphic card

Postby micia » Wed Mar 09, 2011 16:33

That's strange, can you please provide some detail?
For example, by blank screen you mean a text prompt, or the screen is effectively blanked and you need a manual reset?
When this happens, you can't even switch tty by using ctrl+Alt+F<number>? (like: ctrl+alt+F1, ctrl+alt+F2...)
If you get a text prompt, can you check the output of /var/log/Xorg.0.log?
You can also get the log of the old session using /var/log/Xorg.0.log.old.
It could be useful to check the /var/log/messages (as root) in order to have some clue.
micia
Sagely Hen
 
Posts: 2718
Joined: Wed Nov 26, 2008 16:41

Re: Dual graphic card

Postby ace-cro » Wed Mar 09, 2011 16:47

The screen is blank and I have to manually reset. I've tried switching but nothing happens. The screen has a fixed cursor in the upper left portion of the screen (by fixed I mean not blinking).
ace-cro
Young Hen
 
Posts: 24
Joined: Fri Mar 04, 2011 10:39

Re: Dual graphic card

Postby micia » Wed Mar 09, 2011 16:53

this indicates a kernel rather than a X Server problem, either the drivers are being loaded in a bad way, or they cause problems with your kernel.
You could find informations in the /var/log/messages, check the timestamps around the time of the freeze and see if there are some useful messages.
Have you tried to deactivate the integrated GPU from the bios? (usually this is possible)
micia
Sagely Hen
 
Posts: 2718
Joined: Wed Nov 26, 2008 16:41

Next

Return to Hardware

Who is online

Users browsing this forum: No registered users and 1 guest