You are not logged in.

#1 2008-10-30 14:35:01

PeteMo
Member
From: H'Burg, VA
Registered: 2006-01-26
Posts: 191
Website

[Solved] Xinerama setup help

I'm trying to set up Xinerama for use with Xmonad, but I need some help with my xorg.conf.  I have a thinkpad T40p, with an ati mobility radeon R250 FireGL video card.  I want to use the laptop screen as the default screen, and an external monitor connected to the laptop's VGA port as the second screen. 

Here is my xorg.conf

grep -A 5 "WW\|EE" /var/log/Xorg.0.log reports:

(WW) RADEON(0): Direct Rendering Disabled -- Dual-head configuration is not working with DRI at present.
Please use the radeon MergedFB option if you want Dual-head with DRI.
(II) RADEON(0): Detected total video RAM=65536K, accessible=65536K (PCI BAR=131072K)
(--) RADEON(0): Mapped VideoRAM: 65536 kByte (128 bit DDR SDRAM)
(II) RADEON(0): Using 32768k of videoram for primary head
(II) RADEON(0): Color tiling disabled
--
(WW) RADEON(0): LVDS Info:
XRes: 1400, YRes: 1050, DotClock: 84960
HBlank: 200, HOverPlus: 72, HSyncWidth: 40
VBlank: 12, VOverPlus: 2, VSyncWidth: 1
(II) RADEON(0): Output S-video has no monitor section
(II) RADEON(0): Default TV standard: NTSC
--
(WW) RADEON(1): Direct Rendering Disabled -- Dual-head configuration is not working with DRI at present.
Please use the radeon MergedFB option if you want Dual-head with DRI.
(II) RADEON(1): Detected total video RAM=65536K, accessible=65536K (PCI BAR=131072K)
(--) RADEON(1): Mapped VideoRAM: 65536 kByte (128 bit DDR SDRAM)
(II) RADEON(1): Using 32768k of videoram for secondary head
(II) RADEON(1): Color tiling disabled
--
(WW) RADEON(1): LVDS Info:
XRes: 1400, YRes: 1050, DotClock: 84960
HBlank: 200, HOverPlus: 72, HSyncWidth: 40
VBlank: 12, VOverPlus: 2, VSyncWidth: 1
(II) RADEON(1): Output S-video has no monitor section
(II) RADEON(1): Default TV standard: NTSC
--
(WW) RADEON(0): Direct rendering disabled
(II) RADEON(0): Render acceleration enabled
(II) RADEON(0): Using XFree86 Acceleration Architecture (XAA)
    Screen to screen bit blits
    Solid filled rectangles
    8x8 mono pattern filled rectangles

Full log file available here.  Thanks for any help!

Last edited by PeteMo (2008-10-31 10:55:09)

Offline

#2 2008-10-30 16:38:50

byte
Member
From: Düsseldorf (DE)
Registered: 2006-05-01
Posts: 2,046

Re: [Solved] Xinerama setup help

Show your xrandr output. I think you don't have to configure anything special in xorg.conf, especially no second device (?!?).

EDIT: just try starting into X without any xorg.conf at all (rename it) and post the log again.

Last edited by byte (2008-10-30 16:41:39)


1000

Offline

#3 2008-10-30 16:54:01

PeteMo
Member
From: H'Burg, VA
Registered: 2006-01-26
Posts: 191
Website

Re: [Solved] Xinerama setup help

Below is xrander's output with the external monitor connected:

$ xrandr 
Screen 0: minimum 320 x 200, current 1400 x 1050, maximum 1400 x 1200
VGA-0 connected 1280x1024+0+0 (normal left inverted right x axis y axis) 376mm x 301mm
   1280x1024      74.9*    75.0     59.9     60.0  
   1024x768       74.9     75.1     70.1     60.0     59.9  
   832x624        74.6  
   800x600        72.2     75.0     74.9     60.3     59.9     56.2  
   640x480        75.0     72.8     74.8     66.7     60.0     59.4  
DVI-0 disconnected (normal left inverted right x axis y axis)
LVDS connected 1400x1050+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
   1400x1050      50.0*+
   1280x800       60.0  
   1280x768       60.0  
   1024x768       60.0  
   800x600        60.3  
   640x480        59.9  
S-video disconnected (normal left inverted right x axis y axis)

And here is the xorg log without an xorg.conf in place

I do get output on the second monitor with no xorg conf in place, and with my old xorg.conf, from before I tried setting up for a second monitor.  However, the second monitor is simply a clone of the first, while I want an extended desktop...basically one workspace on each screen in xmonad.  I based my xorg.conf on this link, mainly, which is where the second device, screen, etc sections came from.

Offline

#4 2008-10-30 17:29:25

byte
Member
From: Düsseldorf (DE)
Registered: 2006-05-01
Posts: 2,046

Re: [Solved] Xinerama setup help

Okay, I've never used dual-screen setups before, so now I know that this one-device-per-screen is a valid approach.
First I'd try to use xrandr with no xorg.conf: xrandr --output VGA-0 --right-of LVDS (or left-of; see man xrandr)

If that works okay (keep an eye on Xorg.0.log), you should start with a fresh xorg.conf (X -configure) and modify the Monitor section (see man xorg.conf, search for RightOf).

Disclaimer: I'm running testing where Xorg and the -ati driver differ considerably from the versions you have. For you, the best approach might be to use MergedFB (man radeon).

Last edited by byte (2008-10-30 17:31:16)


1000

Offline

#5 2008-10-31 10:54:48

PeteMo
Member
From: H'Burg, VA
Registered: 2006-01-26
Posts: 191
Website

Re: [Solved] Xinerama setup help

Thanks for your help.  I got it working with xrandr...I had to add a Virtual directive to Device section of xorg.conf to get it to work.  Let me know if there is any reason to investigate MergedFB at this point.  For now, I'm marking the thread [solved].

Offline

#6 2009-06-09 20:50:47

friedrich
Member
Registered: 2009-05-07
Posts: 26

Re: [Solved] Xinerama setup help

Could you explain more about what you did?  What did you add to your xorg.conf, I mean, what is a virtual directive?  I get the following error message form xrandr

~ $ xrandr
Screen 0: minimum 320 x 200, current 1440 x 1024, maximum 1440 x 1440
VGA1 connected 1280x1024+0+0 376mm x 301mm
   1280x1024      60.0*+   75.0     60.0*
   1152x864       75.0 
   1024x768       75.0     60.0 
   800x600        75.0     60.3 
   640x480        75.0     59.9 
   720x400        70.1 
DVI1 disconnected
LVDS connected 1440x900+0+0 304mm x 190mm
   1440x900       60.1*+   50.1 
~ $
~ $ xrandr --output VGA1 --left-of LVDS
xrandr: screen cannot be larger than 1440x1440 (desired size 2720x1024)
~ $

Offline

Board footer

Powered by FluxBB