View previous topic :: View next topic |
Author |
Message |
Danuvius Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 18 Sep 2004 Posts: 375 Location: Toronto
|
Posted: Mon Aug 21, 2006 2:40 am Post subject: XGL dual head |
|
|
I presently have a dual head setup that works as follows:
Screen 1: KDE
Screen 2: nothing. I use it to watch tv and videos through DISPLAY=":0.1" mplayer ...
My /etc/X11/xorg.conf is as follows:
Code: | Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0"
Screen 1 "Screen1" RightOf "Screen0"
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "Extensions"
# Option "Composite" "true"
EndSection
Section "Files"
RgbPath "/usr/lib/X11/rgb"
FontPath "/usr/share/fonts/misc"
FontPath "/usr/share/fonts/TTF"
FontPath "/usr/share/fonts/Type1"
FontPath "/usr/share/fonts/75dpi"
FontPath "/usr/share/fonts/100dpi"
FontPath "/usr/local/share/fonts"
EndSection
Section "Module"
Load "record"
Load "extmod"
Load "dbe"
Load "dri"
Load "glx"
Load "xtrap"
Load "freetype"
Load "type1"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "VSC"
ModelName "3-2"
HorizSync 30.0 - 70.0
VertRefresh 50.0 - 180.0
Option "DPMS"
EndSection
Section "Monitor"
Identifier "Monitor1"
Option "DPMS"
HorizSync 31.0 - 70.0
VertRefresh 55.0 - 120.0
VendorName "NEC"
ModelName "FE700"
EndSection
Section "Monitor"
Identifier "TV"
EndSection
Section "Device"
Identifier "Card0"
Driver "nvidia"
Screen 0
VendorName "nVidia Corporation"
BoardName "NV34 [GeForce FX 5200]"
BusID "PCI:1:0:0"
Option "RenderAccel" "true"
# Option "backingstore" "true"
# Option "AllowGLXWithComposite" "true"
EndSection
Section "Device"
Identifier "Card1"
Driver "nvidia"
VendorName "nVidia Corporation"
BoardName "NV32 [GeForce FX 5200]"
BusID "PCI:1:0:0"
Screen 1
Option "RenderAccel" "true"
# Option "backingstore" "true"
# Option "AllowGLXWithComposite" "true"
# Option "ConnectedMonitor" "TV"
EndSection
Section "Device"
Identifier "Card2"
Driver "nvidia"
VendorName "nVidia Corporation"
BoardName "NV32 [GeForce FX 5200]"
BusID "PCI:1:0:0"
Screen 1
Option "ConnectedMonitor" "TV"
Option "RenderAccel" "true"
# Option "backingstore" "true"
# Option "AllowGLXWithComposite" "true"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 1
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 4
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 8
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 15
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
# Modes "1280x1024"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection
Section "Screen"
Identifier "Screen1"
Device "Card1"
Monitor "Monitor1"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 1
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 4
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 8
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 15
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
Modes "800x600"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection
Section "Screen"
Identifier "Screen2"
Device "Card2"
Monitor "TV"
DefaultDepth 16
SubSection "Display"
Viewport 0 0
Depth 1
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 4
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 8
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 15
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
Modes "800x600"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection |
My problem: after installing XGL, compiz, et al... the second screen is now not usable. Applications instructed to DISPLAY=":0.1" complain that ":0.1" does not exist.
The instructions for multi-head display XGL on gentoo-wiki seem to do something very different... some bit of trickery with xinerama style screen-stretching.
I just want to separate screens with, I belive, two separate and separately addressable X sessions... the second of which has nothing in it unless explicitly placed there by someone through clicking/typing into screen 1.
Any help would be appreciated. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
ianegg Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/974059310444f968a29633.jpg)
Joined: 26 Oct 2005 Posts: 279 Location: Breakfast.
|
Posted: Mon Aug 21, 2006 2:37 pm Post subject: |
|
|
Does DISPLAY=:93.1 work? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Danuvius Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 18 Sep 2004 Posts: 375 Location: Toronto
|
Posted: Mon Aug 21, 2006 4:15 pm Post subject: |
|
|
ianegg wrote: | Does DISPLAY=:93.1 work? |
No. It gives the same error messages as trying to show it on :0.1
Code: | Xlib: connection to ":93.1" refused by server
Xlib: No protocol specified
vo: couldn't open the X11 display (:93.1)!
Xlib: connection to ":93.1" refused by server
Xlib: No protocol specified
vo: couldn't open the X11 display (:93.1)!
VO XOverlay need a subdriver
[gl] using extended formats. Use -vo gl:nomanyfmts if playback fails.
Xlib: connection to ":93.1" refused by server
Xlib: No protocol specified
vo: couldn't open the X11 display (:93.1)!
Xlib: connection to ":93.1" refused by server
Xlib: No protocol specified
vo: couldn't open the X11 display (:93.1)!
Xlib: connection to ":93.1" refused by server
Xlib: No protocol specified
[VO_SDL] SDL initialization failed: No available video device.
No vidix driver name provided, probing available ones (-v option for details)!
Xlib: connection to ":93.1" refused by server
Xlib: No protocol specified
vo: couldn't open the X11 display (:93.1)! |
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Danuvius Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 18 Sep 2004 Posts: 375 Location: Toronto
|
Posted: Mon Aug 21, 2006 7:01 pm Post subject: |
|
|
I believe Xgl is started by my kdmrc script.
Specifically by the contents of this variable:
Code: | ServerCmd=/usr/bin/Xgl -br -ac -accel glx:pbuffer -accel xv |
Is there anything here that might be the culprit?
------------------------------
WAIT!
I'm an idiot!
I can move the cursor over to the second screen...
... it vaguely seems as though my problem seems to lie in addressing it. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Danuvius Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 18 Sep 2004 Posts: 375 Location: Toronto
|
Posted: Mon Aug 21, 2006 7:32 pm Post subject: |
|
|
I was thinking may the issue is that my second screen literally only has an Xgl server running... perhaps not even the bare minimum for creating an mplayer window.
So I tried the following... the slight difference in output between ":0.1" and ":93.1" is significant I think. It vaguely seems to be as though ":0.1" might exist... but is not accessable:
Code: | danuvius@gentoo ~/work/xgl $ LD_LIBRARY_PATH=/usr/lib/opengl/xorg-x11/lib/ DISPLAY=:0.1 compiz gconf
compiz: Couldn't open display :0.1
danuvius@gentoo ~/work/xgl $ LD_LIBRARY_PATH=/usr/lib/opengl/xorg-x11/lib/ DISPLAY=:93.1 compiz gconf
Xlib: connection to ":93.1" refused by server
Xlib: No protocol specified
compiz: Couldn't open display :93.1
danuvius@gentoo ~/work/xgl $ |
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|