Click to See Complete Forum and Search --> : Two Videocards. Two monitors. One doesn't work.
templest
07-03-2005, 12:02 AM
Okay, well. Here's the problem. I have one PCI-Radeon 7000 that I use as a dedicated card to outputting video to the TV when I want to watch videos straight from my box. This is handy because I like using the onboard DVD-Player instead of getting a standard one, with the advantage that I can watch anything that'll play on a computer to it. And an AGP-Radeon 9200 that I used for my standard monitor. Right after I installed Ubuntu my monitor wasn't working, and in a brief shot of insight, I unplugged my monitor and stuck it on the 7000, voila! It works.
I'd like to be able to have it, first of all, recognize my AGP card; and then out-put to the TV using the Radeon 7000. I'd like to be able to only use one card, but the RCA-Out on my 9200 is broken, so I have to have the 7000 to out-put to the TV. :( Any help would be really appreciated.
Thanks,
templest.
nevin180
07-03-2005, 10:01 PM
Did you change your X config form the default so you can use both cards? Post your X config, and the pertinent parts of your dmesg output.
Gogeta_44
07-04-2005, 12:54 AM
This shouldn't be too hard:
Run "lspci" and find the Radeon 9200's location (eg. 02:00.0). If it's not listed there, then ubuntu isn't detecting the card on the bus at all.
And change the Radeon 9200's device section in xorg.conf:
Section "Device"
Identifier "Radeon 9200"
Driver "ati"
...
BusID "PCI:02:00:00"
...
EndSection
That will, however, only change it for X. You might want to take a look in the BIOS to make sure it's set to the default video device before you try the above.
It's also possible to setup another Device section for your other card and give it its own screen and monitor. Make sure you don't have Xinerama running, and you should be able to export apps (eg. media players) to the other screen.
dragon840fire
09-27-2005, 07:45 PM
ok, so im new to linux, i am running Fedora Core 3.
i have a geforce mx4000 (PCI) with a Compaq V1100 [not in the monitor list in linux] and a gefore fx 5200 (AGP, primary default) with a NEC accusync 120. V1100 is on the lft side of the NEC-AC120. And i am trying to do spanning desktop.
Thank You for any and all help,
Caleb
here is my lspci:
[root@localhost ~]# lspci
00:00.0 Host bridge: VIA Technologies, Inc. VT8385 [K8T800 AGP] Host Bridge (rev 01)
00:01.0 PCI bridge: VIA Technologies, Inc. VT8237 PCI bridge [K8T800 South]
00:07.0 VGA compatible controller: nVidia Corporation NV18 [GeForce4 MX 4000 AGP 8x] (rev c1)
00:0b.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8169 Gigabit Ethernet (rev 10)
00:0f.0 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06)
00:10.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
00:10.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
00:10.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
00:10.3 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
00:10.4 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 86)
00:11.0 ISA bridge: VIA Technologies, Inc. VT8237 ISA bridge [KT600/K8T800 South]
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
01:00.0 VGA compatible controller: nVidia Corporation NV34 [GeForce FX 5200] (rev a1)
[root@localhost ~]#
and i was told to find them (in red) and use the left side numbers in my xconf, but when i did that linux would not load???
and here is my xconf:
# XFree86 4 configuration created by pyxf86config
Section "ServerLayout"
Identifier "Default Layout"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "Files"
.....
.....
Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "AccuSync 120"
DisplaySize 400 300
HorizSync 31.0 - 96.0
VertRefresh 55.0 - 160.0
Option "dpms"
EndSection
Section "Device"
Identifier "Videocard0"
Driver "nvidia"
VendorName "Videocard vendor"
BoardName "NVIDIA GeForce FX (generic)"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 16
Modes "800x600" "640x480"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1600x1200" "1400x1050" "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
EndSection
Section "DRI"
Group 0
Mode 0666
EndSection
again thank you for any help.
Caleb
Headfuzz
09-28-2005, 03:30 AM
dragon840fire you are running the generic nVidia drivers which do not not support Twinview (dualscreen). You need to download and install the latest drivers from www.nvidia.com and edit your xorg.conf to look something like this:
Section "Files"
# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Mandrake 6.0 and later now use a font server independent of
# the X server to render fonts.
RgbPath "/usr/X11R6/lib/X11/rgb
FontPath "unix/:-1"
EndSection
Section "ServerFlags"
#DontZap # disable <Crtl><Alt><BS> (server abort)
#DontZoom # disable <Crtl><Alt><KP_+>/<KP_-> (resolution switching)
AllowMouseOpenFail # allows the server to start up even if the mouse does not work
EndSection
Section "Module"
Load "dbe" # Double-Buffering Extension
Load "v4l" # Video for Linux
Load "extmod"
Load "fbdevhw"
Load "record"
Load "type1"
Load "freetype"
Load "dri"
Load "glx" # 3D layer
EndSection
Section "InputDevice"
Identifier "Keyboard1"
Driver "keyboard"
Option "XkbModel" "pc105"
Option "XkbLayout" "gb"
Option "XkbOptions" "compose:rwin"
EndSection
Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "ExplorerPS/2"
Option "Device" "/dev/mouse"
Option "ZAxisMapping" "6 7"
EndSection
Section "Monitor"
Identifier "monitor0"
VendorName "Plug'n Play"
ModelName "DELL P793"
HorizSync 30-96
VertRefresh 50-160
# TV fullscreen mode or DVD fullscreen output.
# 768x576 @ 79 Hz, 50 kHz hsync
ModeLine "768x576" 50.00 768 832 846 1000 576 590 595 630
# 768x576 @ 100 Hz, 61.6 kHz hsync
ModeLine "768x576" 63.07 768 800 960 1024 576 578 590 616
EndSection
Section "Monitor"
Identifier "monitor1"
VendorName "Dell"
ModelName "P790"
HorizSync 31 - 92
VertRefresh 50 - 150
EndSection
# Section "Device"
# Identifier "device0"
# VendorName "nVidia"
# BoardName "GeForce FX 5200)"
# Driver "nv"
# Option "DPMS"
# BusID "PCI:1:0:0"
# EndSection
Section "Device"
Identifier "NV AGP TwinView"
VendorName "nvidia"
Driver "nvidia"
# update this with the PCI id of your card. Consult the output
# of the 'lspci' command. The BusID is usually optional when
# only using one graphics card.
#BusID "PCI:01:00:0"
# sample twinview setup
Option "TwinView"
# be sure to replace the HorizSync and VertRefresh with correct values
# for your monitor!
Option "SecondMonitorHorizSync" "31-92"
Option "SecondMonitorVertRefresh" "50-150"
Option "TwinViewOrientation" "RightOf"
Option "MetaModes" "1600x1200,1600x1200; 1280x1024,1280x1024"
Option "ConnectedMonitor" "crt,crt"
EndSection
Section "Screen"
Identifier "screen0"
Device "NV AGP TwinView"
Monitor "monitor0"
DefaultColorDepth 24
Subsection "Display"
Depth 8
Virtual 1024 768
EndSubsection
Subsection "Display"
Depth 15
Virtual 1024 768
EndSubsection
Subsection "Display"
Depth 16
Modes "2048x1536" "1600x1200" "1280x1024" "1024x768" "800x600" "640x400"
EndSubsection
Subsection "Display"
Depth 24
Modes "2048x1536" "1600x1200" "1280x1024" "1024x768" "800x600" "640x400"
EndSubsection
EndSection
Section "Screen"
Identifier "screen1"
Device "NV AGP TwinView"
Monitor "monitor1"
DefaultColorDepth 24
Subsection "Display"
Depth 8
Virtual 1024 768
EndSubsection
Subsection "Display"
Depth 15
Virtual 1024 768
EndSubsection
Subsection "Display"
Depth 16
Modes "1600x1200" "1280x1024" "1024x768" "800x600" "640x400"
EndSubsection
Subsection "Display"
Depth 24
Modes "1600x1200" "1280x1024" "1024x768" "800x600" "640x400"
EndSubsection
EndSection
Section "ServerLayout"
Identifier "layout1"
Screen 0 "Screen0" 0 0
Screen 1 "Screen1" RightOf "Screen0"
InputDevice "Keyboard1" "CoreKeyboard"
InputDevice "Mouse1" "CorePointer"
EndSection
Section "DRI"
Group 0
Mode 0666
EndSection
Edit: This is for my Mandriva 2006 box so will differ slightly, particularly as I have specified the monitors I'm using, so don't just copy and paste as it's highly unlikely to work straight off, but it should highligh where you're going wrong :)
N.B. make sure you have the kernel source installed as well, else the nVidia drivers won't install. Let me know if you need help with this.
Templest - post your /etc/X11/xorg.conf and it'll be a lot easier for us to help you! ;)
retsaw
09-28-2005, 12:24 PM
He is using the nVidia drivers, the generic ones are "nv" and he is also using two cards so I don't think Twinview will work (this might be documented in the nVidia readme, so you might want to check it in case), you'll have to use Xinerama instead.
Try adding these sections to your xorg.conf
Section "Monitor"
Identifier "Monitor1"
VendorName "Monitor Vendor"
ModelName "Compaq V1100"
DisplaySize #
HorizSync # Fill these in yourself to match the properties of your second monitor
VertRefresh #
Option "dpms"
EndSection
Section "Device"
Identifier "Videocard1"
Driver "nvidia"
VendorName "Videocard vendor"
BoardName "NVIDIA GeForce 4 MX4000"
BusID "PCI:0:07:0"
EndSection
#You can change this if you want different screen modes on your second screen
Section "Screen"
Identifier "Screen1"
Device "Videocard1"
Monitor "Monitor1"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 16
Modes "800x600" "640x480"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1600x1200" "1400x1050" "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
EndSection
Then edit the server layout section to look like thisSection "ServerLayout"
Identifier "Default Layout"
Screen 0 "Screen0"
Screen 1 "Screen1" RightOf "Screen0" #You can change this to "LeftOf" if it is on the left
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
Option "Xinerama" "On"
EndSection
dragon840fire
09-28-2005, 01:16 PM
okay here is xconf with the stuff you said to add:
# XFree86 4 configuration created by pyxf86config
Section "ServerLayout"
Identifier "Default Layout"
Screen 0 "Screen0"
Screen 1 "Screen1" LeftOf "Screen0"
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
Option "Xinerama" "On"
EndSection
Section "Files"
# RgbPath is the location of the RGB database. Note, this is the name of the
# file minus the extension (like ".txt" or ".db"). There is normally
# no need to change the default.
# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Red Hat 6.0 and later now use a font server independent of
# the X server to render fonts.
RgbPath "/usr/X11R6/lib/X11/rgb"
FontPath "unix/:7100"
EndSection
Section "Module"
Load "dbe"
Load "extmod"
Load "fbdevhw"
Load "glx"
Load "record"
Load "freetype"
Load "type1"
EndSection
Section "InputDevice"
# Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
# Option "Xleds" "1 2 3"
# To disable the XKEYBOARD extension, uncomment XkbDisable.
# Option "XkbDisable"
# To customise the XKB settings to suit your keyboard, modify the
# lines below (which are the defaults). For example, for a non-U.S.
# keyboard, you will probably want to use:
# Option "XkbModel" "pc102"
# If you have a US Microsoft Natural keyboard, you can use:
# Option "XkbModel" "microsoft"
#
# Then to change the language, change the Layout setting.
# For example, a german layout can be obtained with:
# Option "XkbLayout" "de"
# or:
# Option "XkbLayout" "de"
# Option "XkbVariant" "nodeadkeys"
#
# If you'd like to switch the positions of your capslock and
# control keys, use:
# Option "XkbOptions" "ctrl:swapcaps"
# Or if you just want both to be control, use:
# Option "XkbOptions" "ctrl:nocaps"
#
Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "yes"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "AccuSync 120"
DisplaySize 400 300
HorizSync 31.0 - 96.0
VertRefresh 55.0 - 160.0
Option "dpms"
EndSection
Section "Monitor"
Identifier "Monitor1"
VendorName "Monitor Vendor"
ModelName "Compaq V1100"
DisplaySize #
HorizSync # I get this info from the actual monitor right? in IT's menu?
VertRefresh #
Option "dpms"
EndSection
Section "Device"
Identifier "Videocard0"
Driver "nvidia"
VendorName "Videocard vendor"
BoardName "NVIDIA GeForce FX (generic)"
EndSection
Section "Device"
Identifier "Videocard1"
Driver "nvidia"
VendorName "Videocard vendor"
BoardName "NVIDIA GeForce 4 MX4000"
BusID "PCI:0:07:0"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 16
Modes "800x600" "640x480"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1600x1200" "1400x1050" "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
EndSection
#You can change this if you want different screen modes on your second screen
Section "Screen"
Identifier "Screen1"
Device "Videocard1"
Monitor "Monitor1"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 16
Modes "800x600" "640x480"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1600x1200" "1400x1050" "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
EndSection
Section "DRI"
Group 0
Mode 0666
EndSection
and Xinerama, is this something i need to install seperately? i did a full fedora install.
And if this doesnt work, will linux still boot far enough that i can get back into at least a terminal so i can put my original xconf back in? (i just made a xconf.conf.dual, and i will go in and switch names)
Thank You guys for your help!
Caleb
retsaw
09-28-2005, 03:46 PM
Xinerama is part of the X server, so no you don't need to install anything extra.
You'll still be able to use the console if X doesn't work.
Before you start, don't forget to fill in the info for the second monitor so it looks simliar to the config for the first monitor, it should be in it's manual, but if you get it wrong the worst that will happen is the it will either go into standby or will display a "Sync out of range" message.
It is probably best if you switch to a console first login as root, switch to runlevel 3 (to shutdown X) make the change, test, then if it works switch back to runlevel 5 (to restart X).
Step-by-step
1. Switch to the console, use Ctrl-Alt-F1 (you can switch back with Alt-F7)
2. Login as root
3. Switch to runlevel 3 (use the command "init 3")
4. Make the change
5. Test (use "startx")
6. If successful kill X using Ctrl-Alt-Backspace, otherwise copy the log file from /var/log/Xorg.0.log to somewhere safe so you can post it here and also change your xorg.conf back.
7. Switch back to runlevel 5 (use "init 5")
crow2icedearth
09-28-2005, 05:43 PM
yeahi have tripple moniters setup and im using xnermama ext. i have a radeon 7000 and an old vodoo3500 card . my quesiotn is how do u make appz only maximize to each screen and not all three screens ?
retsaw
09-28-2005, 06:37 PM
That question is off-topic for this thread, however a similar question was asked here (http://www.justlinux.com/forum/showthread.php?t=142575)
dragon840fire
09-29-2005, 02:08 AM
Thank You all for your help, it really means alot to me!
Everything is up and going, AND it looks great! I am posting my final xconf, just in case anything does happen, or anyone else would like to have a look at it.
again, Thank You all so very very much!
Caleb
# XFree86 4 configuration created by pyxf86config
Section "ServerLayout"
Identifier "Default Layout"
Screen 0 "Screen0"
Screen 1 "Screen1" LeftOf "Screen0" #You can change this to "LeftOf" if it is on the left
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
Option "Xinerama" "On"
EndSection
Section "Files"
# RgbPath is the location of the RGB database. Note, this is the name of the
# file minus the extension (like ".txt" or ".db"). There is normally
# no need to change the default.
# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Red Hat 6.0 and later now use a font server independent of
# the X server to render fonts.
RgbPath "/usr/X11R6/lib/X11/rgb"
FontPath "unix/:7100"
EndSection
Section "Module"
Load "dbe"
Load "extmod"
Load "fbdevhw"
Load "glx"
Load "record"
Load "freetype"
Load "type1"
EndSection
Section "InputDevice"
# Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
# Option "Xleds" "1 2 3"
# To disable the XKEYBOARD extension, uncomment XkbDisable.
# Option "XkbDisable"
# To customise the XKB settings to suit your keyboard, modify the
# lines below (which are the defaults). For example, for a non-U.S.
# keyboard, you will probably want to use:
# Option "XkbModel" "pc102"
# If you have a US Microsoft Natural keyboard, you can use:
# Option "XkbModel" "microsoft"
#
# Then to change the language, change the Layout setting.
# For example, a german layout can be obtained with:
# Option "XkbLayout" "de"
# or:
# Option "XkbLayout" "de"
# Option "XkbVariant" "nodeadkeys"
#
# If you'd like to switch the positions of your capslock and
# control keys, use:
# Option "XkbOptions" "ctrl:swapcaps"
# Or if you just want both to be control, use:
# Option "XkbOptions" "ctrl:nocaps"
#
Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "yes"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "AccuSync 120"
DisplaySize 400 300
HorizSync 31.0 - 96.0
VertRefresh 55.0 - 160.0
Option "dpms"
EndSection
Section "Monitor"
Identifier "Monitor1"
VendorName "Monitor Vendor"
ModelName "Compaq V1100"
DisplaySize 400 300
HorizSync 31.0 - 96.0
VertRefresh 55.0 - 160.0
Option "dpms"
EndSection
Section "Device"
Identifier "Videocard0"
Driver "nvidia"
VendorName "Videocard vendor"
BoardName "NVIDIA GeForce FX (generic)"
EndSection
Section "Device"
Identifier "Videocard1"
Driver "nvidia"
VendorName "Videocard vendor"
BoardName "NVIDIA GeForce 4 MX4000"
BusID "PCI:0:07:0"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 16
Modes "800x600" "640x480"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1600x1200" "1400x1050" "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
EndSection
#You can change this if you want different screen modes on your second screen
Section "Screen"
Identifier "Screen1"
Device "Videocard1"
Monitor "Monitor1"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 16
Modes "800x600" "640x480"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1600x1200" "1400x1050" "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
EndSection
Section "DRI"
Group 0
Mode 0666
EndSection