Announcement

Collapse
No announcement yet.

Display corruption when changine resolutions

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Display corruption when changine resolutions

    I wanted to post here first before filing a bug report, since I don't know if I could explain the bug correctly anyway.
    The OS drivers have always behaved this way for me, even the latest GIT (as of a week ago).
    Hardware is:
    Inspiron 1501 w/ Radeon Xpress 1150
    From what I understand it's an R300 core. Phoronix-test-suite system-info says:
    Code:
    Dell Inspiron 1501, Chipset: ATI RS480 + SB600, System Memory: 2386MB, Disk: 60GB TOSHIBA MK6037GS,
     Graphics: ATI RS482 [Radeon Xpress 200M] 128MB
    Well basically, 75% of the time the screen corrupts when switching resolutions (such as starting a game), I get a screen that looks like this:



    If I switch to a terminal by Ctrl+Alt+F1, then back to the previous screen with Ctrl+Alt+F7, the screen displays correctly. It seems that sometimes it doesn't "take" to the new resolution, and switching back and forth solves it. I'm wondering what steps I should take to find out exactly whats causing the problem? TIA.

  • #2
    Fun. I don't know much about output configs and such, but for a bug report you should at least also provide?
    - Are you using KMS or not?
    - dmesg and Xorg.?.log

    Comment


    • #3
      The corruption looks awesome. I wonder how hard it would be to make a screensaver that looks like that, then maybe rotate around randomly.

      Comment


      • #4
        Thanks for the replies. Cool looking or not, it would be nicer to see the game i'm trying to play . I just remembered that one of the olllld versions of FGLRX would cause a screen like this during GDM loading, since it was trying to set a mode the LCD didn't support. The thing is that now, the modes ARE supported. They just don't... catch on the first try always.

        I just did a clean install of Karmic 9.10, but prior to this I was running the xorg-edgers ppa. I've experienced this behavior with all versions of the open source drivers. As far as I know KMS is enabled by default in the current Karmic kernel, but i'm not positive. I'll check into that.


        My xorg logs are almost half a megabyte in size... I trimmed it a bit, so hopefully it's still useful:

        Code:
        X.Org X Server 1.6.3
        Release Date: 2009-7-31
        X Protocol Version 11, Revision 0
        Build Operating System: Linux 2.6.24-23-server x86_64 Ubuntu
        Current Operating System: Linux dellubuntu 2.6.31-7-generic #27-Ubuntu SMP Mon Aug 24 19:18:31 UTC 2009 x86_64
        Kernel command line: root=UUID=467856d5-70c1-4578-9284-84a6838864c7 ro quiet splash 
        Build Date: 27 August 2009  04:29:11PM
        xorg-server 2:1.6.3-1ubuntu4 ([email protected]) 
        	Before reporting problems, check http://wiki.x.org
        	to make sure that you have the latest version.
        Markers: (--) probed, (**) from config file, (==) default setting,
        	(++) from command line, (!!) notice, (II) informational,
        	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
        (==) Log file: "/var/log/Xorg.0.log", Time: Fri Aug 28 17:23:23 2009
        (==) Using config file: "/etc/X11/xorg.conf"
        (==) No Layout section.  Using the first Screen section.
        (**) |-->Screen "Default Screen" (0)
        (**) |   |-->Monitor "Configured Monitor"
        (**) |   |-->Device "Configured Video Device"
        (==) Automatically adding devices
        (==) Automatically enabling devices
        (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
        	Entry deleted from font path.
        (==) FontPath set to:
        	/usr/share/fonts/X11/misc,
        	/usr/share/fonts/X11/100dpi/:unscaled,
        	/usr/share/fonts/X11/75dpi/:unscaled,
        	/usr/share/fonts/X11/Type1,
        	/usr/share/fonts/X11/100dpi,
        	/usr/share/fonts/X11/75dpi,
        	/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType,
        	built-ins
        (==) ModulePath set to "/usr/lib/xorg/modules"
        (II) Cannot locate a core pointer device.
        (II) Cannot locate a core keyboard device.
        (II) The server relies on HAL to provide the list of input devices.
        	If no devices become available, reconfigure HAL or disable AllowEmptyInput.
        (II) Loader magic: 0xb40
        (II) Module ABI versions:
        	X.Org ANSI C Emulation: 0.4
        	X.Org Video Driver: 5.0
        	X.Org XInput driver : 4.0
        	X.Org Server Extension : 2.0
        (II) Loader running on linux
        (--) using VT number 7
        
        (--) PCI:*(0:1:5:0) 1002:5975:1028:01f5 ATI Technologies Inc RS482 [Radeon Xpress 200M] rev 0, Mem @ 0xc8000000/134217728, 0xc0100000/65536, I/O @ 0x00009000/256, BIOS @ 0x????????/131072
        (II) Open ACPI successful (/var/run/acpid.socket)
        (II) System resource ranges:
        	[0] -1	0	0xffffffff - 0xffffffff (0x1) MX[B]
        	[1] -1	0	0x000f0000 - 0x000fffff (0x10000) MX[B]
        	[2] -1	0	0x000c0000 - 0x000effff (0x30000) MX[B]
        	[3] -1	0	0x00000000 - 0x0009ffff (0xa0000) MX[B]
        	[4] -1	0	0xffffffff - 0xffffffff (0x1) MX[B]
        	[5] -1	0	0x000f0000 - 0x000fffff (0x10000) MX[B]
        	[6] -1	0	0x000c0000 - 0x000effff (0x30000) MX[B]
        	[7] -1	0	0x00000000 - 0x0009ffff (0xa0000) MX[B]
        	[8] -1	0	0xffffffff - 0xffffffff (0x1) MX[B]
        	[9] -1	0	0x000f0000 - 0x000fffff (0x10000) MX[B]
        	[10] -1	0	0x000c0000 - 0x000effff (0x30000) MX[B]
        	[11] -1	0	0x00000000 - 0x0009ffff (0xa0000) MX[B]
        	[12] -1	0	0xffffffff - 0xffffffff (0x1) MX[B]
        	[13] -1	0	0x000f0000 - 0x000fffff (0x10000) MX[B]
        	[14] -1	0	0x000c0000 - 0x000effff (0x30000) MX[B]
        	[15] -1	0	0x00000000 - 0x0009ffff (0xa0000) MX[B]
        	[16] -1	0	0xffffffff - 0xffffffff (0x1) MX[B]
        	[17] -1	0	0x000f0000 - 0x000fffff (0x10000) MX[B]
        	[18] -1	0	0x000c0000 - 0x000effff (0x30000) MX[B]
        	[19] -1	0	0x00000000 - 0x0009ffff (0xa0000) MX[B]
        	[20] -1	0	0x0000ffff - 0x0000ffff (0x1) IX[B]
        	[21] -1	0	0x00000000 - 0x00000000 (0x1) IX[B]
        	[22] -1	0	0x0000ffff - 0x0000ffff (0x1) IX[B]
        	[23] -1	0	0x00000000 - 0x00000000 (0x1) IX[B]
        	[24] -1	0	0x0000ffff - 0x0000ffff (0x1) IX[B]
        	[25] -1	0	0x00000000 - 0x00000000 (0x1) IX[B]
        	[26] -1	0	0x0000ffff - 0x0000ffff (0x1) IX[B]
        	[27] -1	0	0x00000000 - 0x00000000 (0x1) IX[B]
        	[28] -1	0	0x0000ffff - 0x0000ffff (0x1) IX[B]
        	[29] -1	0	0x00000000 - 0x00000000 (0x1) IX[B]
        (II) LoadModule: "extmod"
        (II) Loading /usr/lib/xorg/modules/extensions//libextmod.so
        (II) Module extmod: vendor="X.Org Foundation"
        	compiled for 1.6.3, module version = 1.0.0
        	Module class: X.Org Server Extension
        	ABI class: X.Org Server Extension, version 2.0
        (II) Loading extension MIT-SCREEN-SAVER
        (II) Loading extension XFree86-VidModeExtension
        (II) Loading extension XFree86-DGA
        (II) Loading extension DPMS
        (II) Loading extension XVideo
        (II) Loading extension XVideo-MotionCompensation
        (II) Loading extension X-Resource
        (II) LoadModule: "dbe"
        (II) Loading /usr/lib/xorg/modules/extensions//libdbe.so
        (II) Module dbe: vendor="X.Org Foundation"
        	compiled for 1.6.3, module version = 1.0.0
        	Module class: X.Org Server Extension
        	ABI class: X.Org Server Extension, version 2.0
        (II) Loading extension DOUBLE-BUFFER
        (II) LoadModule: "glx"
        (II) Loading /usr/lib/xorg/modules/extensions//libglx.so
        (II) Module glx: vendor="X.Org Foundation"
        	compiled for 1.6.3, module version = 1.0.0
        	ABI class: X.Org Server Extension, version 2.0
        (==) AIGLX enabled
        (II) Loading extension GLX
        (II) LoadModule: "record"
        (II) Loading /usr/lib/xorg/modules/extensions//librecord.so
        (II) Module record: vendor="X.Org Foundation"
        	compiled for 1.6.3, module version = 1.13.0
        	Module class: X.Org Server Extension
        	ABI class: X.Org Server Extension, version 2.0
        (II) Loading extension RECORD
        (II) LoadModule: "dri"
        (II) Loading /usr/lib/xorg/modules/extensions//libdri.so
        (II) Module dri: vendor="X.Org Foundation"
        	compiled for 1.6.3, module version = 1.0.0
        	ABI class: X.Org Server Extension, version 2.0
        (II) Loading extension XFree86-DRI
        (II) LoadModule: "dri2"
        (II) Loading /usr/lib/xorg/modules/extensions//libdri2.so
        (II) Module dri2: vendor="X.Org Foundation"
        	compiled for 1.6.3, module version = 1.1.0
        	ABI class: X.Org Server Extension, version 2.0
        (II) Loading extension DRI2
        (==) Matched ati for the autoconfigured driver
        (==) Assigned the driver to the xf86ConfigLayout
        (II) LoadModule: "ati"
        (II) Loading /usr/lib/xorg/modules/drivers//ati_drv.so
        (II) Module ati: vendor="X.Org Foundation"
        	compiled for 1.6.3, module version = 6.12.99
        	Module class: X.Org Video Driver
        	ABI class: X.Org Video Driver, version 5.0
        (II) LoadModule: "radeon"
        (II) Loading /usr/lib/xorg/modules/drivers//radeon_drv.so
        (II) Module radeon: vendor="X.Org Foundation"
        	compiled for 1.6.3, module version = 6.12.99
        	Module class: X.Org Video Driver
        	ABI class: X.Org Video Driver, version 5.0

        Comment


        • #5
          Second half of xorg log:
          Code:
          (II) Setting vga for screen 0.
          (II) RADEON(0): Built from git commit f39cafc5c4a93a16ac93756473ebb1f33c7881db
          (II) RADEON(0): TOTO SAYS 00000000c0100000
          (II) RADEON(0): MMIO registers at 0x00000000c0100000: size 64KB
          (II) RADEON(0): PCI bus 1 card 5 func 0
          (II) RADEON(0): Creating default Display subsection in Screen section
          	"Default Screen" for depth/fbbpp 24/32
          (==) RADEON(0): Depth 24, (--) framebuffer bpp 32
          (II) RADEON(0): Pixel depth = 24 bits stored in 4 bytes (32 bpp pixmaps)
          (==) RADEON(0): Default visual is TrueColor
          (II) Loading sub module "vgahw"
          (II) LoadModule: "vgahw"
          (II) Loading /usr/lib/xorg/modules//libvgahw.so
          (II) Module vgahw: vendor="X.Org Foundation"
          	compiled for 1.6.3, module version = 0.1.0
          	ABI class: X.Org Video Driver, version 5.0
          (II) RADEON(0): vgaHWGetIOBase: hwp->IOBase is 0x03d0, hwp->PIOOffset is 0x0000
          (==) RADEON(0): RGB weight 888
          (II) RADEON(0): Using 8 bits per RGB (8 bit DAC)
          (--) RADEON(0): Chipset: "ATI Radeon XPRESS 200M 5975 (PCIE)" (ChipID = 0x5975)
          (--) RADEON(0): Linear framebuffer at 0x00000000c8000000
          (II) RADEON(0): PCI card detected
          (II) Loading sub module "int10"
          (II) LoadModule: "int10"
          (II) Loading /usr/lib/xorg/modules//libint10.so
          (II) Module int10: vendor="X.Org Foundation"
          	compiled for 1.6.3, module version = 1.0.0
          	ABI class: X.Org Video Driver, version 5.0
          (II) RADEON(0): initializing int10
          (II) RADEON(0): Primary V_BIOS segment is: 0xc000
          (II) RADEON(0): Legacy BIOS detected
          drmOpenDevice: node name is /dev/dri/card0
          drmOpenDevice: open result is 10, (OK)
          drmOpenByBusid: Searching for BusID pci:0000:01:05.0
          drmOpenDevice: node name is /dev/dri/card0
          drmOpenDevice: open result is 10, (OK)
          drmOpenByBusid: drmOpenMinor returns 10
          drmOpenByBusid: drmGetBusid reports pci:0000:01:05.0
          (II) RADEON(0): [dri] Found DRI library version 1.3.0 and kernel module version 1.31.0
          (II) RADEON(0): Direct rendering experimental on RS400/Xpress 200 enabled
          (==) RADEON(0): Page Flipping disabled
          (II) RADEON(0): Will try to use DMA for Xv image transfers
          (II) RADEON(0): Detected total video RAM=131072K, accessible=131072K (PCI BAR=131072K)
          (--) RADEON(0): Mapped VideoRAM: 131072 kByte (128 bit DDR SDRAM)
          (II) RADEON(0): Color tiling enabled by default
          (II) Loading sub module "ddc"
          (II) LoadModule: "ddc"
          (II) Module "ddc" already built-in
          (II) Loading sub module "i2c"
          (II) LoadModule: "i2c"
          (II) Module "i2c" already built-in
          (II) RADEON(0): ref_freq: 1432, min_out_pll: 20000, max_out_pll: 40000, min_in_pll: 100, max_in_pll: 1350, xclk: 20000, sclk: 400.000000, mclk: 200.000000
          (II) RADEON(0): PLL parameters: rf=1432 rd=6 min=20000 max=40000; xclk=20000
          (II) RADEON(0): Panel ID string: AUO                     
          (II) RADEON(0): Panel Size from BIOS: 1280x800
          (II) RADEON(0): BIOS provided dividers will be used.
          (WW) RADEON(0): LVDS Info:
          XRes: 1280, YRes: 800, DotClock: 71110
          HBlank: 160, HOverPlus: 16, HSyncWidth: 32
          VBlank: 23, VOverPlus: 4, VSyncWidth: 4
          (WW) RADEON(0): LCD DDC Info Table found!
          (II) RADEON(0): Output VGA-0 using monitor section Configured Monitor
          (II) RADEON(0): I2C bus "VGA-0" initialized.
          (II) RADEON(0): Output LVDS has no monitor section
          (II) RADEON(0): I2C bus "LVDS" initialized.
          (II) RADEON(0): Port0:
            XRANDR name: VGA-0
            Connector: VGA
            CRT1: INTERNAL_DAC2
            DDC reg: 0x68
          (II) RADEON(0): Port1:
            XRANDR name: LVDS
            Connector: LVDS
            LCD1: INTERNAL_LVDS
            DDC reg: 0x1a0
          (II) RADEON(0): I2C device "VGA-0:E-EDID segment register" registered at address 0x60.
          (II) RADEON(0): I2C device "VGA-0:ddc2" registered at address 0xA0.
          (II) RADEON(0): Output: VGA-0, Detected Monitor Type: 0
          finished output detect: 0
          (II) RADEON(0): I2C device "LVDS:E-EDID segment register" registered at address 0x60.
          (II) RADEON(0): I2C device "LVDS:ddc2" registered at address 0xA0.
          (II) RADEON(0): Output: LVDS, Detected Monitor Type: 2
          (II) RADEON(0): EDID data from the display on output: LVDS ----------------------
          (II) RADEON(0): Manufacturer: AUO  Model: 1474  Serial#: 0
          (II) RADEON(0): Year: 2005  Week: 1
          (II) RADEON(0): EDID Version: 1.3
          (II) RADEON(0): Digital Display Input
          (II) RADEON(0): Max Image Size [cm]: horiz.: 33  vert.: 21
          (II) RADEON(0): Gamma: 2.20
          (II) RADEON(0): No DPMS capabilities specified
          (II) RADEON(0): Supported color encodings: RGB 4:4:4 YCrCb 4:4:4 
          (II) RADEON(0): First detailed timing is preferred mode
          (II) RADEON(0): redX: 0.600 redY: 0.350   greenX: 0.310 greenY: 0.550
          (II) RADEON(0): blueX: 0.155 blueY: 0.115   whiteX: 0.313 whiteY: 0.329
          (II) RADEON(0): Manufacturer's mask: 0
          (II) RADEON(0): Supported detailed timing:
          (II) RADEON(0): clock: 71.1 MHz   Image Size:  331 x 207 mm
          (II) RADEON(0): h_active: 1280  h_sync: 1301  h_sync_end 1333 h_blank_end 1440 h_border: 0
          (II) RADEON(0): v_active: 800  v_sync: 804  v_sync_end 808 v_blanking: 823 v_border: 0
          (II) RADEON(0): Supported detailed timing:
          (II) RADEON(0): clock: 59.3 MHz   Image Size:  331 x 207 mm
          (II) RADEON(0): h_active: 1280  h_sync: 1301  h_sync_end 1333 h_blank_end 1440 h_border: 0
          (II) RADEON(0): v_active: 800  v_sync: 804  v_sync_end 808 v_blanking: 823 v_border: 0
          (II) RADEON(0):  CD514
          (II) RADEON(0):  0AMWx???
          (II) RADEON(0): EDID (in hex):
          (II) RADEON(0): 	00ffffffffffff0006af741400000000
          (II) RADEON(0): 	010f0103802115780aa7e599594f8c27
          (II) RADEON(0): 	1d505400000001010101010101010101
          (II) RADEON(0): 	010101010101c71b00a0502017301520
          (II) RADEON(0): 	44004bcf10000018261700a050201730
          (II) RADEON(0): 	152044004bcf10000000000000fe0043
          (II) RADEON(0): 	443531340042313534455731000000fe
          (II) RADEON(0): 	0030414d5778a4ccf801010a202000fa
          finished output detect: 1
          finished all detect
          before xf86InitialConfiguration
          (II) RADEON(0): Output: VGA-0, Detected Monitor Type: 0
          (II) RADEON(0): EDID for output VGA-0
          (II) RADEON(0): EDID for output LVDS
          (II) RADEON(0): Manufacturer: AUO  Model: 1474  Serial#: 0
          (II) RADEON(0): Year: 2005  Week: 1
          (II) RADEON(0): EDID Version: 1.3
          (II) RADEON(0): Digital Display Input
          (II) RADEON(0): Max Image Size [cm]: horiz.: 33  vert.: 21
          (II) RADEON(0): Gamma: 2.20
          (II) RADEON(0): No DPMS capabilities specified
          (II) RADEON(0): Supported color encodings: RGB 4:4:4 YCrCb 4:4:4 
          (II) RADEON(0): First detailed timing is preferred mode
          (II) RADEON(0): redX: 0.600 redY: 0.350   greenX: 0.310 greenY: 0.550
          (II) RADEON(0): blueX: 0.155 blueY: 0.115   whiteX: 0.313 whiteY: 0.329
          (II) RADEON(0): Manufacturer's mask: 0
          (II) RADEON(0): Supported detailed timing:
          (II) RADEON(0): clock: 71.1 MHz   Image Size:  331 x 207 mm
          (II) RADEON(0): h_active: 1280  h_sync: 1301  h_sync_end 1333 h_blank_end 1440 h_border: 0
          (II) RADEON(0): v_active: 800  v_sync: 804  v_sync_end 808 v_blanking: 823 v_border: 0
          (II) RADEON(0): Supported detailed timing:
          (II) RADEON(0): clock: 59.3 MHz   Image Size:  331 x 207 mm
          (II) RADEON(0): h_active: 1280  h_sync: 1301  h_sync_end 1333 h_blank_end 1440 h_border: 0
          (II) RADEON(0): v_active: 800  v_sync: 804  v_sync_end 808 v_blanking: 823 v_border: 0
          (II) RADEON(0):  CD514
          (II) RADEON(0):  0AMWx???

          Comment


          • #6
            The problem is generally that the xvidmode extension doesn't always work well with xrandr 1.2. xvidmode always assumes one crtc/output per screen, while with randr 1.2 you can have multiple crtcs and outputs per screen. So for backwards compat xvidmode uses the compat crtc and output which may not correspond to the actual current output topology. For example the compat crtc and output may be crtc 0 and VGA-0 while you may be using crtc 0 and LVDS. So when xvidmode is used, it screws up the output state. I think there are some fixes in xserver master.

            Comment


            • #7
              I spent a good deal of time reading the Radeon man-pages and trying out some options, but to no avail. AGPFastWrite and EnablePageFlip both cause X not to start for me, and nothing else I tried had any effect.

              I did some searching, but couldn't find any info on xvidmode. Are there any options to force modes that can be changed by an end user?

              Comment


              • #8
                There's an xrandr utility for querying and changing display modes. I don't feel confident saying that xrandr has replaced xvidmode but it seems that way to me.
                Test signature

                Comment


                • #9
                  Sorry to necropost, but i'm still experiencing this problem. I've tried using Xrandr to switch resolutions, but the results are identical.

                  On a depressing note, both Fedora 12 or Ubuntu Lucid alpha exhibit this same problem, except immediately after boot. I guess KMS triggers the corruption when it sets the resolution initially.

                  Anyone have any new ideas? I'm currently running Ubuntu Karmic. I could honestly make due with only the default panel resolution, but with most distros going to KMS, it looks like i'll soon be out of luck.TIA!

                  Comment


                  • #10
                    It's been a few more months, and no change for the better. I get the same result as my last post with the Lucid RC and Fedora 13.

                    I've been using Karmic for the last few months and just never changing the resolution, but now the display goes corrupt on bootup with lucid. It's definitely something to do with the laptop display panel not accepting the resolution or refresh rate it's being fed.
                    I can start up my computer now If I plug in an old CRT monitor i've got laying around, and then switch the laptop LCD on and off a few times. Then it'll eventually pop up with a good picture.

                    As said, i've always had this problem with the open source drivers. I think it's not necessarily related to the drivers themselves, but rather to randr. I honestly don't know, and i'm at the end of my rope as far as this laptop goes. Anyone have any suggestions?

                    Comment

                    Working...
                    X