Bug 35035

Summary: Screen gets swizzled when starting xterm (or any X base app)
Product: xorg Reporter: Médéric Boquien <mboquien>
Component: Driver/RadeonAssignee: xf86-video-ati maintainers <xorg-driver-ati>
Status: RESOLVED DUPLICATE QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
xorg log none

Description Médéric Boquien 2011-03-05 08:49:05 UTC
Created attachment 44150 [details]
xorg log

Hello,

I have a radeon HD 4850 using X.Org X Server 1.9.4 and radeon 6.14.0. Whenever i start a X app such as xterm the screen gets swizzled. Taking a screenshot the image looks unaffected though it is impossible to see what is on the screen. Taking a pic of it, here is the situation before launching xterm http://medericboquien.eu/IMG_9892.JPG and here is the situation after http://medericboquien.eu/IMG_9893.JPG
Comment 1 Médéric Boquien 2011-03-05 08:57:50 UTC
(it looks like for some reason it filed the bug prematurely as i attached the xorg log file)

I have a 2 screen setup with xinerama. The xorg.conf file is the following.

Section "DRI"
       Group "video"
       Mode 0666
EndSection

Section "Files"
        ModulePath   "/usr/lib/xorg/modules"
        FontPath     "/usr/share/fonts/misc"
        FontPath     "/usr/share/fonts/100dpi:unscaled"
        FontPath     "/usr/share/fonts/75dpi:unscaled"
        FontPath     "/usr/share/fonts/TTF"
        FontPath     "/usr/share/fonts/Type1"
EndSection

Section "Module"
        Load  "dbe"
        Load  "glx"
        Load  "record"
        Load  "dri2"
        Load  "dri"
        Load  "extmod"
        Load  "drm"
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 6 7"
EndSection

Section "Device"
        Identifier  "Card0"
        Driver      "radeon"
        VendorName  "ATI Technologies Inc"
        BoardName   "RV770 [Radeon HD 4850]"
        BusID       "PCI:1:0:0"
        Option      "DRI" "on"
        Option      "ColorTiling" "on"
        Option      "AccelMethod" "EXA"       
EndSection

Section "Monitor"
        Identifier "DVI-0"
EndSection

Section "Monitor"
        Identifier "DVI-1"
        Option "LeftOf" "DVI-0"
EndSection

I am using the standard Arch linux packages.

After testing i get a similar bug both under KDE 4.6.1 and under a TWM session in which just displaying the menu is enough to trigger the bug. Neither Qt, GTK nor Java apps seem to trigger the bug.

Thank you very much!
Comment 2 Médéric Boquien 2011-03-05 10:12:45 UTC
Following Fredrik Höglund's suggestion in IRC to turn colortiling to off in xorg.conf, it solves the problem. I hope it helps narrowing down the bug.

Thanks!
Comment 3 Michel Dänzer 2011-03-07 02:27:19 UTC

*** This bug has been marked as a duplicate of bug 33929 ***

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.