Bug 5447 - bad display on second head with Xinerama configuration
Summary: bad display on second head with Xinerama configuration
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/Radeon (show other bugs)
Version: 7.0.0
Hardware: x86 (IA32) Linux (All)
: high normal
Assignee: Xorg Project Team
QA Contact:
URL:
Whiteboard:
Keywords:
: 6586 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-12-29 11:02 UTC by Jason
Modified: 2007-02-22 14:28 UTC (History)
4 users (show)

See Also:
i915 platform:
i915 features:


Attachments
Pic of both heads. (3.19 MB, image/png)
2006-02-09 05:19 UTC, Pete Graner
no flags Details
Left head with desktop (3.19 MB, image/png)
2006-02-09 05:20 UTC, Pete Graner
no flags Details
Right head with desktop (3.36 MB, image/png)
2006-02-09 05:22 UTC, Pete Graner
no flags Details
Working dual-head configuration with separate desktop (4.31 KB, text/plain)
2006-04-14 05:18 UTC, nix
no flags Details

Description Jason 2005-12-29 11:02:50 UTC
The second head of my Radeon 7000 that is configured as Xinerama shows very
bad display. It seems like the image on the second head is the same one
on the first head, but it is very crappy.  Same configuration was
working properly with X11R6.8.2, so I think it's not the hardware problem.

Here is the xorg.conf:

Section "Files"
        FontPath        "unix/:7100"
EndSection

Section "Module"
        Load  "dbe"
        Load  "extmod"
        Load  "fbdevhw"
        Load  "glx"
        Load  "record"
        Load  "freetype"
        Load  "type1"
EndSection

###########
# keyboard
###########
Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"
        Option "XkbLayout" "us"
        Option "XkbModel" "pc105"
EndSection

########
# mouse
########
Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option      "Device" "/dev/input/mice"
        Option      "Protocol" "ImPS/2"
        Option      "Emulate3Buttons" "off"
        Option      "ZAxisMapping" "4 5"
EndSection

##########
# Monitor
##########
Section "Monitor"
        Identifier "Monitor"
        VendorName "Monitor Vendor"
        ModelName "Monitor Model"
        HorizSync 28-78
        VertRefresh 43-75
EndSection

#########
# Device
#########
Section "Device"
        Identifier "Videocard0"
        Driver "radeon"
        VendorName ""
        BoardName "ATI Radeon 7000"
        BusID "PCI:0:8:0"
        Screen 0
        Option "MonitorLayout" "CRT, CRT"
        Option "DisplayPriority" "AUTO"        
EndSection
Section "Device"
        Identifier "Videocard1"
        Driver "radeon"
        VendorName ""
        BoardName "ATI Radeon 7000"
        BusID "PCI:0:8:0"
        Screen 1
        Option "MonitorLayout" "CRT, CRT"
        Option "DisplayPriority" "AUTO"        
EndSection

#################
# Screen section
#################
Section "Screen"
        Identifier "Screen0"
        Device "Videocard0"
        Monitor "Monitor"
        DefaultDepth 16
        SubSection "Display"
                Depth 8
                Modes "640x480"
        EndSubSection
        SubSection "Display"
                Depth 15
                Modes "640x480"
        EndSubSection
        SubSection "Display"
                Depth 16
                Modes "640x480"
        EndSubSection
        SubSection "Display"
                Depth 24
                Modes "640x480"
        EndSubSection
EndSection
Section "Screen"
        Identifier "Screen1"
        Device "Videocard1"
        Monitor "Monitor"
        DefaultDepth 16
        SubSection "Display"
                Depth 8
                Modes "640x480"
        EndSubSection
        SubSection "Display"
                Depth 15
                Modes "640x480"
        EndSubSection
        SubSection "Display"
                Depth 16
                Modes "640x480"
        EndSubSection
        SubSection "Display"
                Depth 24
                Modes "640x480"
        EndSubSection
EndSection

#######################
# Server Layout section
#######################
Section "ServerLayout"
        Identifier     "xorg.conf"
        Screen "Screen0"
        Screen "Screen1" RightOf "Screen0"
        InputDevice     "Keyboard0"     "CoreKeyboard"
        InputDevice     "Mouse0"        "CorePointer"
        Option "Xinerama" "on"
EndSection
Comment 1 Adam Jackson 2006-01-04 10:39:46 UTC
you'll have to define what you mean by crappy, i'm afraid.
Comment 2 Pete Graner 2006-02-05 07:40:03 UTC
I have the same problem here or so it sounds. Here is my description of the problem.

I can't get it to work with the radeon or ati drivers. lspci shows me having
(which I do) ATI Technologies Inc Radeon RV100 QY [Radeon 7000/VE]

My left head works great however on the right one all you can see is the
background image but the panels (top and bottom) and skewed with lines running
thru them. Cursor looks great tho. I've tried getting screen shots but all I get
is a solid black image off of any tool I try, with the screen shot the left head
looks good, the right is a black square. I guess I could take a pic with a
digital camera if it would help.

Let me know what you need xconfigs, logs
Comment 3 Sebastian Kemper 2006-02-07 10:36:43 UTC
I can't use Xinerama with modular Xorg at all. The left screen is ok, the 
second stays blank. Using the same xorg.conf that worked with 6.8.2 (except my 
rgb.txt location has changed). 
 
Section "Module" 
    Load          "dbe" 
    SubSection    "extmod" 
      Option        "omit xfree86-dga" 
    EndSubSection 
    Load          "freetype" 
    Load          "extmod" 
EndSection 
 
Section "Files" 
    RgbPath       "/usr/lib/X11/rgb" 
    FontPath      "/usr/share/fonts/win_fonts" 
    FontPath      "/usr/share/fonts/misc" 
EndSection 
 
Section "ServerFlags" 
    Option        "AllowMouseOpenFail" "true" 
    Option        "OffTime" "5" 
    Option        "DefaultServerLayout" "Default layout" 
EndSection 
 
Section "InputDevice" 
    Identifier    "Keyboard1" 
    Driver        "kbd" 
    Option        "XkbModel" "pc105" 
    Option        "XkbLayout" "de" 
EndSection 
 
Section "InputDevice" 
    Identifier    "Mouse1" 
    Driver        "mouse" 
    Option        "Protocol" "IMPS/2" 
    Option        "Device" "/dev/input/mice" 
    Option        "ZAxisMapping" "4 5" 
EndSection 
 
Section "Monitor" 
    Identifier    "Belinea TFT" 
    HorizSync     30 - 81 
    VertRefresh   50 - 76 
    DisplaySize   338 270 
    Option        "DPMS" 
EndSection 
 
Section "Monitor" 
    Identifier    "Panasonic TV" 
    HorizSync     15 - 16 
    VertRefresh   49.9 - 50.1 
    DisplaySize   718 404 
    Option        "DPMS" 
    Modeline      "1024x576" 19.750 1024 1056 1152 1264 576 581 586 625 
composite interlace +hsync +vsync 
EndSection 
 
Section "Device" 
    Identifier    "Connect3D Radeon 9250 auf TFT" 
    Driver        "radeon" 
    Option        "DynamicClocks" "true" 
    Option        "MergedFB" "false" 
    Option        "VGAAccess" "false" 
    BusID         "2:0:0" 
    Screen        0 
EndSection 
 
Section "Device" 
    Identifier    "Connect3D Radeon 9250 auf TV" 
    Driver        "radeon" 
    Option        "DynamicClocks" "false" 
    Option        "MergedFB" "false" 
    Option        "ForceMinDotClock" "19MHz" 
    Option        "VGAAccess" "false" 
    BusID         "2:0:0" 
    Screen        1 
EndSection 
 
Section "Screen" 
    Identifier    "Default screen" 
    Device        "Connect3D Radeon 9250 auf TFT" 
    Monitor       "Belinea TFT" 
    DefaultDepth  24 
EndSection 
 
Section "Screen" 
    Identifier    "TV screen" 
    Device        "Connect3D Radeon 9250 auf TV" 
    Monitor       "Panasonic TV" 
    DefaultDepth  24 
    SubSection "Display" 
      Depth       24 
      Modes       "1024x576" 
    EndSubSection 
EndSection 
 
Section "ServerLayout" 
    Identifier    "Default layout" 
    InputDevice   "Mouse1" "CorePointer" 
    InputDevice   "Keyboard1" "CoreKeyboard" 
    Option        "Xinerama" "on" 
    Screen        0 "Default screen" 0 0 
    Screen        1 "TV screen" RightOf "Default screen" 
EndSection 
Comment 4 Sebastian Kemper 2006-02-07 10:38:19 UTC
I'm using xf86-video-ati-6.5.7.3.tar.bz2 btw. 
Comment 5 Pete Graner 2006-02-09 05:19:11 UTC
Created attachment 4583 [details]
Pic of both heads.
Comment 6 Pete Graner 2006-02-09 05:20:27 UTC
Created attachment 4584 [details]
Left head with desktop
Comment 7 Pete Graner 2006-02-09 05:22:02 UTC
Created attachment 4585 [details]
Right head with desktop

Pics of problem for completeness.
Comment 8 Michel Dänzer 2006-02-09 20:31:25 UTC
The second head being blank or showing corruption might be two separate
issues... in both cases, it would be useful if somebody tried to isolate the CVS
change that caused the regression.

Does Option "ColorTiling" "off" make a difference for anyone? (Shot in the dark,
in the absence of log files)
Comment 9 Pete Graner 2006-02-10 00:07:41 UTC
Option "ColorTiling" "off"  worked for me. However I can't get spanning desktops
:( It will only give me individual desktops. I'll post my xorg.conf file and log
in a few after I tinker with it a bit more.
Comment 10 Karsten Fischer 2006-02-10 20:04:10 UTC
(In reply to comment #9)
> Option "ColorTiling" "off"  worked for me. However I can't get spanning desktops
> :( It will only give me individual desktops. I'll post my xorg.conf file and log
> in a few after I tinker with it a bit more.

I tried several ways to enable this, the only one which worked for so far is
using the MergedFB-Option, like here:

 Section "Device"
        Identifier  "Videocard0"
        Driver      "ati"
        VendorName  "Videocard vendor"
        BoardName   "ATI Technologies Inc RV280 [Radeon 9200 PRO] (Secondary)"
        Option      "MergedFB"  "on"
        Option      "MonitorLayout" "CRT,CRT"
        Option      "CRT2HSync" "30.0-64.0"
        Option      "CRT2VRefresh" "50.0-100.0"
        Option      "CRT2Position" "RightOf"
        Option      "MetaModes" "1600x1200-1024x768"
        Option      "AGPMode"   "4"
        Option      "AGPFastWrite"      "on"
        Option      "MergedNonRectangular"      "TRUE"
#        Option      "XAANoOffscreenPixmaps"
EndSection

See 'man 4 radeon' for details of the above entered options.
Comment 11 Michel Dänzer 2006-04-13 17:54:55 UTC
*** Bug 6586 has been marked as a duplicate of this bug. ***
Comment 12 Michel Dänzer 2006-04-13 17:57:04 UTC
Some people have reported that current xf86-video-ati CVS (HEAD or
ati-1-0-branch) fixes dual head for them. Please verify.
Comment 13 nix 2006-04-14 05:18:08 UTC
Created attachment 5301 [details]
Working dual-head configuration with separate desktop

I imagine that the latest CVS causes the "radeon" driver to properly make use
of the "MonitorLayout" option, because, with previous versions, specifying
"MonitorLayout" made no difference whatsoever.

This xorg.conf works for me. If I turn on "MergedFB" and uncomment the "Plain"
ServerLayout section, I get Xinerama-like merged desktops after an X server
restart.
Comment 14 nix 2006-04-14 05:26:16 UTC
> If I turn on "MergedFB" and uncomment the "Plain"
> ServerLayout section, I get Xinerama-like merged desktops after an X server
> restart.

Correction:
If I turn on "MergedFB", comment out "MonitorLayout", and uncomment the "Plain"
ServerLayout section, I get Xinerama-like merged desktops aftern an X server
restart.
Comment 15 Andreas Pakulat 2006-04-15 03:11:15 UTC
Hi,

I just tried CVS Head together with Xorg 7.0 in Debian unstable. I still have 
no working 2nd head (is blank) in Xinerama mode. I'm using a laptop here with 
an VGA connector for the external monitor. 

There is a "successful" message in Debians BTS for this bug 
(http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=332548), which implies that 
Xinerama dual-head works with 2 VGA connectors. But doesn't with VGA+DVI or 
with a laptop.

Andreas

PS: Can't use MergedFB, because the external monitor is smaller and somehow I 
can't get the "Virtual"-Desktop-Thing for it with MergedFB.
Comment 16 Andreas Pakulat 2006-05-06 01:42:28 UTC
Hi,

the latest debian package from release 5.8.0 fixes this issue for me.

Andreas
Comment 17 Michel Dänzer 2006-05-09 02:31:16 UTC
Jason, can you try the xf86-video-ati 6.5.8 release or CVS HEAD or ati-1-0-branch?
Comment 18 Samuel Stringham 2006-05-27 01:31:44 UTC
I was having the exact same problem.  The second display looked like a fuzzy,
repeating mirror of the first display.  I can confirm that upgrading the ATI
drivers to version 6.5.8 resolved the problem for me.

However, I am using the radeon 7500 with a DVI-VGA adapter, and the secondary
VGA output.  The Debian bug posted by Andreas above seems to indicate that the
problem remains if you use the DVI output without the VGA adapter.

--
Samuel
Comment 19 Timo Jyrinki 2007-02-22 14:28:39 UTC
Marking broken (status null/blank) bugs in xorg with no activity in a long time as fixed. Please reopen if you think it's necessary, but first do a search if a similar bug report is already filed and in a NEW/ASSIGNED state. These bugs do not currently show in most search results as they do not have any status.

Sorry for this janitorial spam, you know where to send hate mails to when your inbox gets full of bugs you're subscribed to.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.