LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   XFree86: radeon does only CLONING but never DUAL HEAD?? (https://www.linuxquestions.org/questions/linux-hardware-18/xfree86-radeon-does-only-cloning-but-never-dual-head-169978/)

fjalvingh 04-14-2004 07:24 AM

XFree86: radeon does only CLONING but never DUAL HEAD??
 
Hello,

I have a portable (Sony GRX316MP) which contains a Radeon 7500 mobility which
has dual-head capability. I know this chip CAN handle non-cloning dual head
because the X server from Xig does it (and Windows of course). But the Xig
server has some problems and it seems to only support two heads in Xinerama
mode; I want to have separate X displays on both heads.

But whatever configuration I try in XFree86 I at the most get a cloned screen,
i.e. the secondary monitor shows (part of) the primary screen.
The primary screen is the laptop's LCD at 1600x1200@75Hz, the secondary
monitor is an LCD 1280x1024@75Hz.

To get the secondary screen to work at all I had to specify
Option "CloneMode" "1280x1024"
in the device section for the primary head, else it used the mode for the
primary head regardless of the information in the Screen section and the
information returned by DDC from the 2nd screen.

Parts of my XF86Config:

Section "ServerLayout"
Identifier "XFree86 Dual-Head"
Screen 0 "Screen0" 0 0
Screen 1 "Screen1" RightOf "Screen0"
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
Option "Clone" "off"
EndSection

Section "Device"
Identifier "Card0"
Driver "radeon"
VendorName "ATI Technologies Inc"
BoardName "Radeon VE"
BusID "PCI:1:0:0"
Option "CloneMode" "1280x1024"
Option "CloneVRefresh" "75-75"
Screen 0
EndSection

Section "Device"
Identifier "Card1"
Driver "radeon"
VendorName "ATI Technologies Inc"
BoardName "Radeon VE"
BusID "PCI:1:0:0"
Screen 1
EndSection

I also have Screen, Monitor and Modes sections for each separate monitor.

Whatever I do I either have no display on the secondary monitor at all, or the
server dies with a SEGV, or I have a cloned display instead of a dual head
(separate X desktops). I tried the Xinerama stuff also but this has no effect
whatshowever which seems logical since i do not HAVE two heads to Xinerama
on ;-)
I tried this on the SUSE 9.0 stock XFree which seems to be a patched
prerelease of XFree 4.3 (it has the warnings and reports a 4.2.99 version
number). But I also compiled XFree 4.4-with-patches from source and it
doesn't work either.

Can ANYONE help me? Please? I'm currently looking at the radeon_driver source
but before I know what's going on there will take a while >-(

Thans,

Frits Jalvingh

lazyuser 05-05-2004 01:34 PM

Hello,

I have a Radeon Ve, and have a running xinerama config. I have two monitors that are the same, two HP 15inch monitors. Here is my XF86Config:

# XF86Config-4 (XFree86 X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the XF86Config-4 manual page.
# (Type "man XF86Config-4" at the shell prompt.)
#
# This file is automatically updated on xserver-xfree86 package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xfree86
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following commands as root:
#
# cp /etc/X11/XF86Config-4 /etc/X11/XF86Config-4.custom
# md5sum /etc/X11/XF86Config-4 > /var/lib/xfree86/XF86Config-4.md5sum
# dpkg-reconfigure xserver-xfree86

Section "Files"
FontPath "unix/:7100" # local font server
# if the local font server has problems, we can fall back on these
FontPath "/usr/lib/X11/fonts/misc"
FontPath "/usr/lib/X11/fonts/cyrillic"
FontPath "/usr/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/Type1"
FontPath "/usr/lib/X11/fonts/CID"
FontPath "/usr/lib/X11/fonts/Speedo"
FontPath "/usr/lib/X11/fonts/100dpi"
FontPath "/usr/lib/X11/fonts/75dpi"
EndSection

Section "Module"
Load "GLcore"
Load "bitmap"
Load "dbe"
Load "ddc"
Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "record"
Load "speedo"
Load "type1"
Load "vbe"
EndSection

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "keyboard"
Option "CoreKeyboard"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc104"
Option "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "ZAxisMapping" "4 5"
EndSection

Section "Device"
Identifier "Radeon Ve"
Driver "ati"
BusID "PCI:1:0:0"
Screen 1
EndSection

Section "Device"
Identifier "Radeon Ve1"
Driver "ati"
BusID "PCI:1:0:0"
Screen 0
EndSection


Section "Monitor"
Identifier "Test0"
HorizSync 28-49
VertRefresh 43-72
Option "DPMS"
EndSection

Section "Monitor"
Identifier "Test1"
HorizSync 28-49
VertRefresh 43-72
Option "DPMS"
EndSection

Section "Screen"
Identifier "Screen1"
Device "Radeon Ve"
Monitor "Test0"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480"
EndSubSection
EndSection

Section "Screen"
Identifier "Screen0"
Device "Radeon Ve1"
Monitor "Test1"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480"
EndSubSection
EndSection

Section "ServerLayout"
Identifier "Simple Layout"
Screen "Screen0"
Screen "Screen1" RightOf "Screen0"
InputDevice "Configured Mouse" "CorePointer"
InputDevice "Generic Keyboard" "CoreKeyboard"
EndSection


Section "DRI"
Mode 0666
EndSection

The only thing I am missing is when I startx, I have to start it like this:
startx -- +xinerama (I can add to XF86config, but I like to start it this way.)

Linux debian 2.4.25-1-386
XFree86 Version 4.3.0.1
Hope this helps some.
lazyuser

fjalvingh 05-05-2004 02:34 PM

Thanks for your reply but I have found a solution. I had to recompile X and use the DRI version of the driver which has options that actually work ;-)


All times are GMT -5. The time now is 10:40 PM.