Need help: Two monitors under linux.
Do anybody knows how to quickly setup linux to display itselft using two monitors connected to their corresponding video cards?
Thank you in advance.
[size="2"]I like the Walrus best.
I think I've found something at a first googleing
http://ghj.sunsite.dk/index.php?1=articles/1/dual_head.html&article=1
im so lazy... any other advice would be appreciated anyways.
EDIT: I couldn't make it work with that
[edited by - xaxa on July 9, 2003 11:18:28 PM]
http://ghj.sunsite.dk/index.php?1=articles/1/dual_head.html&article=1
im so lazy... any other advice would be appreciated anyways.
EDIT: I couldn't make it work with that
[edited by - xaxa on July 9, 2003 11:18:28 PM]
[size="2"]I like the Walrus best.
ok, maybe somebody can help me to configure the 2 video devices in XF86Config. To be able to use two video devices XFree needs to know the BusID of each one.
I've ran ./scanpci and I got this this info about my video devices:
In XF86Config I need to specify the BusID in this format:
# BusID "PCI:0:10:0"
How do I figure out this numbers from the info I get from scanpci?
Thanks!
[edited by - xaxa on July 9, 2003 12:10:59 AM]
I've ran ./scanpci and I got this this info about my video devices:
pci bus 0x0000 cardnum 0x12 function 0x00: vendor 0x3d3d device 0x0009 3DLabs Permedia II 2D+3Dpci bus 0x0001 cardnum 0x00 function 0x00: vendor 0x10de device 0x002d nVidia Corporation NV5M64 [RIVA TNT2 Model 64/Model 64 Pro]
In XF86Config I need to specify the BusID in this format:
# BusID "PCI:0:10:0"
How do I figure out this numbers from the info I get from scanpci?
Thanks!
[edited by - xaxa on July 9, 2003 12:10:59 AM]
[size="2"]I like the Walrus best.
I took a look at man XF86Config-4 and found that BusID is in the format "PCI:bus:device:function" (so "PCI:0:12:0" and "PCI:1:0:0" for your scanpci output, respectively).
I''ve never setup multiple monitors on one machine (simply because I don''t have enough money for even one good monitor, must less two ), so I can''t give any specific advice. Multiple monitors is fairly routine in the X world though (just throw two monitors, devices, and screens in XF86Config-4, as you''ve probably guessed), so it shouldn''t be too hard and your desktop environment will probably handle it nicely. Good luck .
I''ve never setup multiple monitors on one machine (simply because I don''t have enough money for even one good monitor, must less two ), so I can''t give any specific advice. Multiple monitors is fairly routine in the X world though (just throw two monitors, devices, and screens in XF86Config-4, as you''ve probably guessed), so it shouldn''t be too hard and your desktop environment will probably handle it nicely. Good luck .
Oh, thank you so much for replying
Ok, I''ve this so far, maybe you can point me out what I''m doing wrong. The two monitors works very well in MSWindows. This is the XF86Config file I wrote so far:
Thanks!!!
Ok, I''ve this so far, maybe you can point me out what I''m doing wrong. The two monitors works very well in MSWindows. This is the XF86Config file I wrote so far:
Section "Monitor" Identifier "My Monitor" HorizSync 31.5 - 64.3 VertRefresh 50-100EndSectionSection "Monitor" Identifier "Philips" HorizSync 31.5 - 48.5 VertRefresh 50-70EndSectionSection "Device" Identifier "Standard VGA" VendorName "Unknown" BoardName "Unknown" Driver "vga"EndSection# Device configured by xf86config:Section "Device" Identifier "RIVA TNT2" Driver "nvidia" BusID "PCI:1:00:0" VideoRam 32768 # Insert Clocks lines here if appropriate Option "NvAGP" "1" Option "NoLogo" "true" Option "RenderAccel" "true" Option "TwinView" "true" Option "TwinViewOrientation" "RightOf" EndSectionSection "Device" Identifier "Permedia2" Driver "glint" BusID "PCI:0:12:0" VideoRam 4096#Option "no_accel" # Insert Clocks lines here if appropriateEndSectionSection "Screen" Identifier "Screen 1" Device "RIVA TNT2" Monitor "My Monitor" DefaultDepth 24 Subsection "Display" Depth 8 Modes "1280x1024" "1024x768" "800x600" "640x480" ViewPort 0 0 EndSubsection Subsection "Display" Depth 16 Modes "1280x1024" "1024x768" "800x600" "640x480" ViewPort 0 0 EndSubsection Subsection "Display" Depth 24 Modes "1280x1024" "1024x768" "800x600" "640x480" ViewPort 0 0 EndSubsectionEndSectionSection "Screen" Identifier "Screen 2" Device "Permedia2" Monitor "Philips" DefaultDepth 16 Subsection "Display" Depth 8 Modes "1024x768" "800x600" "640x480" ViewPort 0 0 EndSubsection Subsection "Display" Depth 16 Modes "1024x768" "800x600" "640x480" ViewPort 0 0 EndSubsection Subsection "Display" Depth 24 Modes "1024x768" "800x600" "640x480" ViewPort 0 0 EndSubsectionEndSectionSection "ServerLayout" Identifier "Simple Layout" Screen "Screen 1" InputDevice "Mouse1" "CorePointer" InputDevice "Keyboard1" "CoreKeyboard"EndSectionSection "ServerLayout" Identifier "Simple Layout2" Screen "Screen 2" InputDevice "Mouse1" "CorePointer" InputDevice "Keyboard1" "CoreKeyboard"EndSection
Thanks!!!
[size="2"]I like the Walrus best.
that all seems ok, apart from the server layout section. you just need one like this:
or you can change leftof to rightof to depending on which way round the monitors are.
edit: also, depending on your window manager, you may have to use xinerama, which will treat both of your screens as just one big screen rather than separately. to enable it you'll need to add:
[edited by - necromancer_df on July 10, 2003 12:46:08 PM]
Section "ServerLayout" Identifier "Simple Layout" Screen "Screen 1" Screen "Screen 2" LeftOf "Screen 1" InputDevice "Mouse1" "CorePointer" InputDevice "Keyboard1" "CoreKeyboard"EndSection
or you can change leftof to rightof to depending on which way round the monitors are.
edit: also, depending on your window manager, you may have to use xinerama, which will treat both of your screens as just one big screen rather than separately. to enable it you'll need to add:
Option "Xinerama" "on"
to the serverlayout [edited by - necromancer_df on July 10, 2003 12:46:08 PM]
Thank you necromancer, I did what you suggested but it still doesn''t work. There is so little info about this on the web, and I''m so tired... damn. I wish I had more time to do what I like!
[size="2"]I like the Walrus best.
i see what problem is, the card number from scanpci is in hexadecimal (the whole 0x.... gives it away), and XF86COnfig wants it in decimal. so you need to change it BusID "PCI:0:18:0" for the permedia card.
[edited by - necromancer_df on July 13, 2003 4:49:03 PM]
[edited by - necromancer_df on July 13, 2003 4:49:03 PM]
Holy **** what ever happened to plug+play?
In Windows you just plug the card in, turn on the comp, install the drivers, reboot, open display properties and you're done. (unless your PCI card is non P&P in which case you also have to switch one option in the BIOS).
Now wasn't that simple?
[edited by - Nypyren on July 13, 2003 6:17:10 PM]
In Windows you just plug the card in, turn on the comp, install the drivers, reboot, open display properties and you're done. (unless your PCI card is non P&P in which case you also have to switch one option in the BIOS).
Now wasn't that simple?
[edited by - Nypyren on July 13, 2003 6:17:10 PM]
quote: Original post by necromancer_df
i see what problem is, the card number from scanpci is in hexadecimal (the whole 0x.... gives it away), and XF86COnfig wants it in decimal. so you need to change it BusID "PCI:0:18:0" for the permedia card.
YES!
¡¡¡YOU ARE THE MAN!!!
THANK YOU SO MUCH!!!!
YOU'RE THE BEST!!
Seriously, thank you!
[edited by - xaxa on July 13, 2003 7:08:17 PM]
[size="2"]I like the Walrus best.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement