LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 01-26-2008, 01:50 PM   #1
adrian_vg@yahoo.com
LQ Newbie
 
Registered: Jul 2006
Location: Uppsala, Sweden
Distribution: CentOS, Fedora, RHEL, Windows
Posts: 21

Rep: Reputation: 15
Two video cards in system, one broken


Hi all,

I'd like some hints and/or advice on how to fix this.

Situation: Mother's SFF-machine (Comapq Deskpro EN) running CentOS 5.1 has a "slightly broken" integrated video-card, an older Nvidia Riva TNT/TNT2. I solved the problem by adding a second video card, a Nvidia Geforce4 MX 4000. This works well with the supplied "nv"-driver in CentOS. I however want to use the accelerated Nvidia driver (NVIDIA-Linux-x86-96.43.01-pkg1) with the Geforce-card, so I installed it.

All went well, except for the fact that the driver install script saw the older broken TNT-card and complained that "this GPU will be ignored" with this driver. The install ends kinda' favourably though, and I reboot the machine and then X went wild. I managed to fix this by using the nv-driver instead of the accelerated nvidia one. Whenever I change the Driver-line in xorg.conf to use the proprietary driver, the screen looks like crap no matter what I do.

I have a feeling linux sees the TNT-card first and tries to use it - with the wrong driver, thus making the screen look bad.

Is there any way to force X to only see and use the Geforce-card instead of the broken TNT-card?

In bios the TNT-card is automatically disabled when it sees a second card, so there's not much I can do about it there or at that point. Kudzu does not at boot intercept and ask me to remove or re-configure anything.

Below's the info from hwconf regarding the two cards.

Thank you in advance.

-
class: VIDEO
bus: PCI
detached: 0
driver: nvidia
desc: "nVidia Corporation NV18 [GeForce4 MX 4000]"
video.xdriver: nv
vendorId: 10de
deviceId: 0185
subVendorId: 0000
subDeviceId: 0000
pciType: 1
pcidom: 0
pcibus: 2
pcidev: 4
pcifn: 0
-
class: VIDEO
bus: PCI
detached: 0
driver: nvidia
desc: "nVidia Corporation NV5 [RIVA TNT2/TNT2 Pro]"
video.xdriver: nv
vendorId: 10de
deviceId: 0028
subVendorId: 0e11
subDeviceId: 001f
pciType: 1
pcidom: 0
pcibus: 1
pcidev: 0
pcifn: 0
-
 
Old 01-26-2008, 02:21 PM   #2
elliott678
Member
 
Registered: Mar 2005
Location: North Carolina
Distribution: Arch
Posts: 977

Rep: Reputation: 74
Is it possible to disable the onboard video card in the BIOS?

EDIT: I should've read better....

Last edited by elliott678; 01-26-2008 at 04:09 PM.
 
Old 01-26-2008, 03:11 PM   #3
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,466

Rep: Reputation: Disabled
Your monitor will only use the card that its plugged into. If the screen is bad then its likely a problem in xorg.conf for the new card. Maybe horizontal/vertical refresh or wrong resolutions. I suspect though that the busid is pointing at the wrong card.
Try

cat /proc/driver/nvidia/cards/0 and /1

then setup xorg.conf from that

Best post your xorg.conf

Last edited by dive; 01-26-2008 at 03:21 PM.
 
Old 01-27-2008, 08:20 AM   #4
adrian_vg@yahoo.com
LQ Newbie
 
Registered: Jul 2006
Location: Uppsala, Sweden
Distribution: CentOS, Fedora, RHEL, Windows
Posts: 21

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by dive View Post
Your monitor will only use the card that its plugged into. If the screen is bad then its likely a problem in xorg.conf for the new card. Maybe horizontal/vertical refresh or wrong resolutions. I suspect though that the busid is pointing at the wrong card.
Try

cat /proc/driver/nvidia/cards/0 and /1

then setup xorg.conf from that

Best post your xorg.conf
Yeah, I've tried both video cards outlet. Bios does the default action to disable the primary (integrated) card whenever it sees another card, which in this case is/was the Geforce4.

The monitor is as far as I know good, it's a Compaq V75, which is occasionally recognised by the OS.

I gave the beloved mother a different computer (the old one was rather slow anyway...) with a Geforce2 MX/400, ie one graphics card only. Installing the proper driver from Nvidia (Legacy) still gives the same problem with the screen picture looking bad (max 640x480 available only) with the nvidia driver. Using nv looks good and I can choose up to 1024x768, but of course no acceleration is available for the gfx-card.

Any help, hints and/or advice are really welcome!

TIA.

cat /proc/driver/nvidia/cards/0:
Model: GeForce2 MX/MX 400
IRQ: 201
Video BIOS: ??.??.??.??.??
Card Type: AGP
DMA Size: 32 bits
DMA Mask: 0xffffffff

xorg.conf:
# Xorg configuration created by system-config-display

Section "ServerLayout"
Identifier "single head configuration"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "pc105"
Option "XkbLayout" "se"
EndSection

Section "Monitor"
Identifier "Monitor0"
EndSection

Section "Device"
Identifier "Videocard0"
# Driver "nvidia"
Driver "nv"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection
 
Old 01-27-2008, 01:08 PM   #5
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,466

Rep: Reputation: Disabled
According to the driver search page http://www.nvidia.com/Download/index.aspx?lang=en-us you should be using the normal drivers for GeforceMX4xx, not legacy. Have you tried those?
 
Old 01-28-2008, 06:02 AM   #6
adrian_vg@yahoo.com
LQ Newbie
 
Registered: Jul 2006
Location: Uppsala, Sweden
Distribution: CentOS, Fedora, RHEL, Windows
Posts: 21

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by dive View Post
According to the driver search page http://www.nvidia.com/Download/index.aspx?lang=en-us you should be using the normal drivers for GeforceMX4xx, not legacy. Have you tried those?
My mistake; what I meant was that I used the legacy drivers for the TNT-card while I tried to get that card working properly with the Nvidia-drivers. For the GF4-card I used the non-legacy drivers.

Sorry for the "misinformation"!

In any case, the two-gfx-card computer is no more. I scrounged up another computer for mother, with a (one) Geforce2 MX/400-card instead. However the problem with the proprietary nvidia driver is still there as described above.

Any advice on this?

TIA.

Last edited by adrian_vg@yahoo.com; 01-28-2008 at 06:05 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
All video players broken except mplayer Posterboy Fedora 5 03-16-2007 08:28 AM
broken boot parameter video= slinky2004 Linux - General 1 10-16-2005 10:38 AM
2 PCI Video Cards on Same System jonfa Linux - General 1 03-27-2002 08:46 PM
Zero video cards Slacker_ca Linux - General 1 12-18-2001 03:30 AM
Video Cards ashleyfrazer Linux - Newbie 4 02-27-2001 01:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 10:05 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration