LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   slackware x86 -current + radeon: temporary screen corruption with kde4 applications (https://www.linuxquestions.org/questions/slackware-14/slackware-x86-current-radeon-temporary-screen-corruption-with-kde4-applications-750639/)

melmothX 08-27-2009 09:15 AM

slackware x86 -current + radeon: temporary screen corruption with kde4 applications
 
Hi all.

I'm running the latest slackware-current rc2 x86

I'm experiencing random screen corruptions when opening kde4 applications (akregator, konqueror, dolphin, the control panel, etc.). The screen becomes almost black and red, but the windows are visible (corrupted, but visible, like a "negative") and alive. X doesn't die or lock and when I close or minimize the application that triggered the corruption, the screen come back to its original "sanity". I can't figure out if it's a driver problem or a qt/kde4 problem. The gtk applications don't have this problem. I don't know how to reproduce the problem.

I'm using stock packages from -current, driver radeon (shipped with slackware). The DRI works. The corruption happens both using XAA and EXA, with and without composite, with kd4 and xfce. Nor /var/log/Xorg.log nor dmesg show anything useful.

Even if all the screen is corrupted, running a "import -screen" shows only the kde4 application in "negative".

I can't figure out if it's a X problem, a driver problem, a kde4 problem or a qt problem.

Code:

00:00.0 Host bridge: Intel Corporation 82945G/GZ/P/PL Memory Controller Hub (rev 02)
00:01.0 PCI bridge: Intel Corporation 82945G/GZ/P/PL PCI Express Root Port (rev 02)
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 01)
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 01)
00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 01)
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 (rev 01)
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 (rev 01)
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 (rev 01)
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4 (rev 01)
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 01)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev e1)
00:1f.0 ISA bridge: Intel Corporation 82801GB/GR (ICH7 Family) LPC Interface Bridge (rev 01)
00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 01)
00:1f.2 IDE interface: Intel Corporation 82801GB/GR/GH (ICH7 Family) SATA IDE Controller (rev 01)
00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 01)
01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller (rev 01)
03:00.0 VGA compatible controller: ATI Technologies Inc RV516 [Radeon X1300/X1550 Series]
03:00.1 Display controller: ATI Technologies Inc RV516 [Radeon X1300/X1550 Series] (Secondary)
04:02.0 Communication controller: Conexant Systems, Inc. SoftV92 SpeakerPhone SoftRing Modem with SmartSP (rev 01)

Code:



X.Org X Server 1.6.3
Release Date: 2009-7-31
X Protocol Version 11, Revision 0
Build Operating System: Slackware 13.0 Slackware Linux Project
Current Operating System: Linux universe 2.6.29.6-smp #2 SMP Mon Aug 17 00:52:54 CDT 2009 i686
Build Date: 03 August 2009  06:51:50PM
 
        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: Thu Aug 27 15:32:59 2009
(==) Using config file: "/etc/X11/xorg.conf"
(==) ServerLayout "X.org Configured"
(**) |-->Screen "Screen0" (0)
(**) |  |-->Monitor "Monitor0"
(**) |  |-->Device "Card0"
(**) |-->Input Device "Mouse0"
(**) |-->Input Device "Keyboard0"
(==) Automatically adding devices
(==) Automatically enabling devices


(**) ModulePath set to "/usr/lib/xorg/modules"
(WW) AllowEmptyInput is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
(WW) Disabling Mouse0
(WW) Disabling Keyboard0
(II) Loader magic: 0x1de0
(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:3:0:0) 1002:7187:174b:3000 rev 0, Mem @ 0xd0000000/268435456, 0xfeae0000/65536, I/O @ 0x0000d000/256, BIOS @ 0x????????/131072
(--) PCI: (0:3:0:1) 1002:71a7:174b:3001 rev 0, Mem @ 0xfeaf0000/65536
(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        0x0000ffff - 0x0000ffff (0x1) IX[B]
        [5] -1        0        0x00000000 - 0x00000000 (0x1) IX[B]
(II) "extmod" will be loaded. This was enabled by default and also specified in the config file.
(II) "dbe" will be loaded. This was enabled by default and also specified in the config file.
(II) "glx" will be loaded. This was enabled by default and also specified in the config file.
(II) "dri" will be loaded. This was enabled by default and also specified in the config file.
(II) "dri2" will be loaded. This was enabled by default and also specified in the config file.
(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: "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: "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: "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
(II) LoadModule: "radeon"
(II) Loading /usr/lib/xorg/modules/drivers//radeon_drv.so
(II) Module radeon: vendor="X.Org Foundation"
        compiled for 1.6.2, module version = 6.12.2
        Module class: X.Org Video Driver
        ABI class: X.Org Video Driver, version 5.0
(II) RADEON: Driver for ATI Radeon chipsets:

[ omissis: driver informations for chipsets ]

(II) Primary Device is: PCI 03@00:00:0
(II) resource ranges after xf86ClaimFixedResources() call:
        [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        0x0000ffff - 0x0000ffff (0x1) IX[B]
        [5] -1        0        0x00000000 - 0x00000000 (0x1) IX[B]
(II) resource ranges after probing:
        [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] 0        0        0x000a0000 - 0x000affff (0x10000) MS[B]
        [5] 0        0        0x000b0000 - 0x000b7fff (0x8000) MS[B]
        [6] 0        0        0x000b8000 - 0x000bffff (0x8000) MS[B]
        [7] -1        0        0x0000ffff - 0x0000ffff (0x1) IX[B]
        [8] -1        0        0x00000000 - 0x00000000 (0x1) IX[B]
        [9] 0        0        0x000003b0 - 0x000003bb (0xc) IS[B]
        [10] 0        0        0x000003c0 - 0x000003df (0x20) IS[B]
(II) Setting vga for screen 0.
(II) RADEON(0): TOTO SAYS 00000000feae0000
(II) RADEON(0): MMIO registers at 0x00000000feae0000: size 64KB
(II) RADEON(0): PCI bus 3 card 0 func 0
(**) 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
(**) RADEON(0): Option "AccelMethod" "XAA"
(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 X1300/X1550" (ChipID = 0x7187)
(WW) RADEON(0): R500 support is under development. Please report any issues to xorg-driver-ati@lists.x.org
(--) RADEON(0): Linear framebuffer at 0x00000000d0000000
(II) RADEON(0): PCIE 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): ATOM BIOS detected
(II) RADEON(0): ATOM BIOS Rom:
        SubsystemVendorID: 0x174b SubsystemID: 0x3000
        IOBaseAddress: 0xd000
        Filename: JC8425SA.001
        BIOS Bootup Message:
X1550 256MB 128Bit Hynix DDR2 16mx16 550e/400m                     
     
(II) RADEON(0): Framebuffer space used by Firmware (kb): 20
(II) RADEON(0): Start of VRAM area used by Firmware: 0xfffb000
(II) RADEON(0): AtomBIOS requests 20kB of VRAM scratch space
(II) RADEON(0): AtomBIOS VRAM scratch base: 0xfffb000
(II) RADEON(0): Cannot get VRAM scratch space. Allocating in main memory instead
(II) RADEON(0): Default Engine Clock: 550000
(II) RADEON(0): Default Memory Clock: 400000
(II) RADEON(0): Maximum Pixel ClockPLL Frequency Output: 1100000
(II) RADEON(0): Minimum Pixel ClockPLL Frequency Output: 0
(II) RADEON(0): Maximum Pixel ClockPLL Frequency Input: 13500
(II) RADEON(0): Minimum Pixel ClockPLL Frequency Input: 1000
(II) RADEON(0): Maximum Pixel Clock: 400000
(II) RADEON(0): Reference Clock: 27000
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 10, (OK)
drmOpenByBusid: Searching for BusID pci:0000:03:00.0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 10, (OK)
drmOpenByBusid: drmOpenMinor returns 10
drmOpenByBusid: drmGetBusid reports pci:0000:03:00.0
(II) RADEON(0): [dri] Found DRI library version 1.3.0 and kernel module version 1.29.0
(==) RADEON(0): Page Flipping disabled on r5xx and newer chips.

(II) RADEON(0): Will try to use DMA for Xv image transfers
(II) RADEON(0): Generation 2 PCI interface, using max accessible memory
(II) RADEON(0): Detected total video RAM=262144K, accessible=262144K (PCI BAR=262144K)
(--) RADEON(0): Mapped VideoRAM: 262144 kByte (128 bit DDR SDRAM)
(II) RADEON(0): Color tiling enabled by default
(II) RADEON(0): Max desktop size set to 2560x1600
(II) RADEON(0): For a larger or smaller max desktop size, add a Virtual line to your xorg.conf
(II) RADEON(0): If you are having trouble with 3D, reduce the desktop size by adjusting the Virtual line to your xorg.conf
(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: 2700, min_out_pll: 64800, max_out_pll: 110000, min_in_pll: 100, max_in_pll: 1350, xclk: 40000, sclk: 550.000000, mclk: 400.000000
(II) RADEON(0): PLL parameters: rf=2700 rd=13 min=64800 max=110000; xclk=40000
(II) RADEON(0): Skipping TV-Out
(II) RADEON(0): Skipping Component Video
encoder: 0x15
encoder: 0x16
encoder: 0xf
(II) RADEON(0): Output VGA-0 using monitor section Monitor0
(II) RADEON(0): I2C bus "VGA-0" initialized.
(II) RADEON(0): Output DVI-0 has no monitor section
(II) RADEON(0): I2C bus "DVI-0" initialized.
(II) RADEON(0): Port0:
  XRANDR name: VGA-0
  Connector: VGA
  CRT1: INTERNAL_KLDSCP_DAC1
  DDC reg: 0x7e40
(II) RADEON(0): Port1:
  XRANDR name: DVI-0
  Connector: DVI-I
  CRT2: INTERNAL_KLDSCP_DAC2
  DFP3: INTERNAL_LVTM1
  DDC reg: 0x7e50
(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): EDID vendor "BNQ", prod id 30981
(II) RADEON(0): Using EDID range info for horizontal sync
(II) RADEON(0): Using EDID range info for vertical refresh
(II) RADEON(0): Printing DDC gathered Modelines:
(II) RADEON(0): Modeline "1440x900"x0.0  106.50  1440 1520 1672 1904  900 903 909 932 -hsync +vsync (55.9 kHz)
(II) RADEON(0): Modeline "800x600"x0.0  40.00  800 840 968 1056  600 601 605 628 +hsync +vsync (37.9 kHz)
(II) RADEON(0): Modeline "640x480"x0.0  31.50  640 656 720 840  480 481 484 500 -hsync -vsync (37.5 kHz)
(II) RADEON(0): Modeline "640x480"x0.0  25.18  640 656 752 800  480 490 492 525 -hsync -vsync (31.5 kHz)
(II) RADEON(0): Modeline "720x400"x0.0  28.32  720 738 846 900  400 412 414 449 -hsync +vsync (31.5 kHz)
(II) RADEON(0): Modeline "1280x1024"x0.0  135.00  1280 1296 1440 1688  1024 1025 1028 1066 +hsync +vsync (80.0 kHz)
(II) RADEON(0): Modeline "1024x768"x0.0  78.75  1024 1040 1136 1312  768 769 772 800 +hsync +vsync (60.0 kHz)
(II) RADEON(0): Modeline "1024x768"x0.0  65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz)
(II) RADEON(0): Modeline "832x624"x0.0  57.28  832 864 928 1152  624 625 628 667 -hsync -vsync (49.7 kHz)
(II) RADEON(0): Modeline "800x600"x0.0  49.50  800 816 896 1056  600 601 604 625 +hsync +vsync (46.9 kHz)
(II) RADEON(0): Modeline "1152x864"x0.0  108.00  1152 1216 1344 1600  864 865 868 900 +hsync +vsync (67.5 kHz)
(II) RADEON(0): Modeline "1152x720"x60.0  67.32  1152 1208 1328 1504  720 721 724 746 -hsync +vsync (44.8 kHz)
(II) RADEON(0): Modeline "1280x800"x0.0  83.50  1280 1352 1480 1680  800 803 809 831 -hsync +vsync (49.7 kHz)
(II) RADEON(0): Modeline "1440x900"x0.0  106.50  1440 1520 1672 1904  900 903 909 934 -hsync +vsync (55.9 kHz)
(II) RADEON(0): Modeline "1440x900"x0.0  136.75  1440 1536 1688 1936  900 903 909 942 -hsync +vsync (70.6 kHz)
(II) RADEON(0): Modeline "1280x1024"x0.0  108.00  1280 1328 1440 1688  1024 1025 1028 1066 +hsync +vsync (64.0 kHz)
(II) RADEON(0): Modeline "1280x960"x0.0  108.00  1280 1376 1488 1800  960 961 964 1000 +hsync +vsync (60.0 kHz)
(II) RADEON(0): Output: VGA-0, Detected Monitor Type: 1
(II) RADEON(0): EDID data from the display on output: VGA-0 ----------------------
(II) RADEON(0): Manufacturer: BNQ  Model: 7905  Serial#: 21573
(II) RADEON(0): Year: 2007  Week: 42
(II) RADEON(0): EDID Version: 1.3
(II) RADEON(0): Analog Display Input,  Input Voltage Level: 0.700/0.300 V
(II) RADEON(0): Sync:  Separate  Composite  SyncOnGreen
(II) RADEON(0): Max Image Size [cm]: horiz.: 41  vert.: 26
(II) RADEON(0): Gamma: 2.20
(II) RADEON(0): DPMS capabilities: Off; RGB/Color Display
(II) RADEON(0): Default color space is primary color space
(II) RADEON(0): First detailed timing is preferred mode
(II) RADEON(0): redX: 0.640 redY: 0.334  greenX: 0.286 greenY: 0.599
(II) RADEON(0): blueX: 0.154 blueY: 0.077  whiteX: 0.313 whiteY: 0.329
(II) RADEON(0): Supported established timings:
(II) RADEON(0): 720x400@70Hz
(II) RADEON(0): 640x480@60Hz
(II) RADEON(0): 640x480@75Hz
(II) RADEON(0): 800x600@60Hz
(II) RADEON(0): 800x600@75Hz
(II) RADEON(0): 832x624@75Hz
(II) RADEON(0): 1024x768@60Hz
(II) RADEON(0): 1024x768@75Hz
(II) RADEON(0): 1280x1024@75Hz
(II) RADEON(0): 1152x870@75Hz
(II) RADEON(0): Manufacturer's mask: 0
(II) RADEON(0): Supported standard timings:
(II) RADEON(0): #0: hsize: 1152  vsize 720  refresh: 60  vid: 113
(II) RADEON(0): #1: hsize: 1280  vsize 800  refresh: 60  vid: 129
(II) RADEON(0): #2: hsize: 1440  vsize 900  refresh: 60  vid: 149
(II) RADEON(0): #3: hsize: 1440  vsize 900  refresh: 75  vid: 3989
(II) RADEON(0): #4: hsize: 1280  vsize 1024  refresh: 60  vid: 32897
(II) RADEON(0): #5: hsize: 1280  vsize 960  refresh: 60  vid: 16513
(II) RADEON(0): Supported detailed timing:
(II) RADEON(0): clock: 106.5 MHz  Image Size:  410 x 256 mm
(II) RADEON(0): h_active: 1440  h_sync: 1520  h_sync_end 1672 h_blank_end 1904 h_border: 0
(II) RADEON(0): v_active: 900  v_sync: 903  v_sync_end 909 v_blanking: 932 v_border: 0
(II) RADEON(0): Serial No: LA701681026
(II) RADEON(0): Ranges: V min: 55 V max: 76 Hz, H min: 31 H max: 83 kHz, PixClock max 150 MHz
(II) RADEON(0): Monitor name: BenQ E900W
(II) RADEON(0): EDID (in hex):
(II) RADEON(0):        00ffffffffffff0009d1057945540000
(II) RADEON(0):        2a1101030e291a782ee5b5a355499927
(II) RADEON(0):        135054a56b80710081009500950f8180
(II) RADEON(0):        8140010101019a29a0d0518420305098
(II) RADEON(0):        36009a001100001c000000ff004c4137
(II) RADEON(0):        30313638313032360a20000000fd0037
(II) RADEON(0):        4c1f530f000a202020202020000000fc
(II) RADEON(0):        0042656e512045393030570a2020007e
finished output detect: 0
(II) RADEON(0): I2C device "DVI-0:E-EDID segment register" registered at address 0x60.
(II) RADEON(0): I2C device "DVI-0:ddc2" registered at address 0xA0.
(II) RADEON(0): Output: DVI-0, Detected Monitor Type: 0
Dac detection success
Unhandled monitor type 0
finished output detect: 1
finished all detect

[omissis]

Thanks.

--
Marco

Do7AN 08-27-2009 11:08 AM

Marco,
What is the identifier set to under Section "Device" in your xorg.conf? I have experienced the same problem with my ATI Radeon Mobility X2300.

melmothX 08-27-2009 12:06 PM

Thanks for your reply

Code:


Section "ServerLayout"
        Identifier    "X.org Configured"
        Screen      0  "Screen0" 0 0
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

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

Section "Module"
        Load  "glx"
        Load  "dbe"
        Load  "extmod"
        Load  "dri"
        Load  "dri2"
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"
        Option      "XkbModel"  "pc104"
        Option      "XkbLayout"  "it,hr"
        Option      "XkbOptions"  "numpad:pc,grp:rwin_toggle"
EndSection

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option            "Protocol" "auto"
        Option            "Device" "/dev/input/mice"
        Option            "ZAxisMapping" "4 5 6 7"
        Option      "Emulate3Buttons"      "true"
EndSection

Section "Monitor"
        Identifier  "Monitor0"
        VendorName  "Monitor Vendor"
        ModelName    "Monitor Model"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option    "NoAccel"                    # [<bool>]
        Option    "AccelMethod"      "XAA"        # [<str>]
        #Option    "offscreensize"              # [<str>]
        #Option    "SWcursor"                  # [<bool>]
        #Option    "ignoreconnector"            # [<str>]
        #Option    "forcereduced"              # [<bool>]
        #Option    "forcedpi"                  # <i>
        #Option    "useconfiguredmonitor"        # [<bool>]
        #Option    "HPD"                        # <str>
        #Option    "NoRandr"                    # [<bool>]
        #Option    "RROutputOrder"              # [<str>]
        #Option    "DRI"                        # [<bool>]
        #Option    "TVMode"                    # [<str>]
        #Option    "ScaleType"                  # [<str>]
        #Option    "UseAtomBIOS"                # [<bool>]
        #Option    "AtomBIOS"                  # [<str>]
        #Option    "UnverifiedFeatures"        # [<bool>]
        #Option    "Audio"                      # [<bool>]
        #Option    "HDMI"                      # [<str>]
        #Option    "COHERENT"                  # [<str>]
        Option      "XAANoOffscreenPixmaps"  "true"
        Identifier  "Card0"
        Driver      "radeon"
        VendorName  "Unknown Vendor"
        BoardName  "Unknown Board"
        BusID      "PCI:3:0:0"
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
        EndSubSection
        SubSection "Display"
                Viewport  0 0
                Depth    24
        EndSubSection
EndSection

--
Marco

Do7AN 08-28-2009 10:56 AM

Based on your lspci output you can see the Identifier that you need to use. It is just before the brackets RV516.
03:00.0 VGA compatible controller: ATI Technologies Inc RV516 [Radeon X1300/X1550 Series]

In this section of xorg.conf change the Identifier from "Card0" to "RV516". If you look at man radeon or man radeonhd you will see how I got this.

Code:

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option    "NoAccel"                    # [<bool>]
        Option    "AccelMethod"      "XAA"        # [<str>]
        #Option    "offscreensize"              # [<str>]
        #Option    "SWcursor"                  # [<bool>]
        #Option    "ignoreconnector"            # [<str>]
        #Option    "forcereduced"              # [<bool>]
        #Option    "forcedpi"                  # <i>
        #Option    "useconfiguredmonitor"        # [<bool>]
        #Option    "HPD"                        # <str>
        #Option    "NoRandr"                    # [<bool>]
        #Option    "RROutputOrder"              # [<str>]
        #Option    "DRI"                        # [<bool>]
        #Option    "TVMode"                    # [<str>]
        #Option    "ScaleType"                  # [<str>]
        #Option    "UseAtomBIOS"                # [<bool>]
        #Option    "AtomBIOS"                  # [<str>]
        #Option    "UnverifiedFeatures"        # [<bool>]
        #Option    "Audio"                      # [<bool>]
        #Option    "HDMI"                      # [<str>]
        #Option    "COHERENT"                  # [<str>]
        Option      "XAANoOffscreenPixmaps"  "true"
        Identifier  "Card0"
        Driver      "radeon"
        VendorName  "Unknown Vendor"
        BoardName  "Unknown Board"
        BusID      "PCI:3:0:0"
EndSection


melmothX 08-29-2009 12:38 AM

Thanks for your reply. Before you post, I completely removed the xorg.conf and I've not experienced screen corruption yet (after say 20 hours of uptime) . But it's too early too say. Over the next days I'll test your try too.

Anyway, I didn't see why naming the Identifier should fix the problem. In the man I didn't find anything and with the previous X a similar configuration has always worked without problem.Is this a kind of X black magic? Could you please point me to the documentation?

Thanks

Do7AN 08-31-2009 07:37 AM

My apologize, I looked at it a litle closer and the identifier shouldn't really have any effect on the video card's performance. But I would suggested trying a Driver "radeonhd" as it will support your video card.

melmothX 09-01-2009 12:52 AM

Thanks for your reply. I suspect that Virtualbox 3.0.4 (and its kernel module) was involved, but I can be wrong (probably I am). For sure, Virtualbox prevented udev to create the proper device for a mp3 reader, and I suspect things are related. I had to clean the sistem to get my usb-storage working again (and so far, no more screen corruption). Strange, I know, and perhaps I'm wrong.

The radeonhd driver doesn't work well as the radeon here, but if I'll experience corruption again, I'll try to pull it from the git (both radeon and radeonhd).

larryhaja 09-01-2009 09:38 AM

Quote:

Originally Posted by melmothX (Post 3659532)
I'm experiencing random screen corruptions when opening kde4 applications (akregator, konqueror, dolphin, the control panel, etc.). The screen becomes almost black and red, but the windows are visible (corrupted, but visible, like a "negative") and alive. X doesn't die or lock and when I close or minimize the application that triggered the corruption, the screen come back to its original "sanity". I can't figure out if it's a driver problem or a qt/kde4 problem. The gtk applications don't have this problem. I don't know how to reproduce the problem.

I'm using stock packages from -current, driver radeon (shipped with slackware). The DRI works. The corruption happens both using XAA and EXA, with and without composite, with kd4 and xfce. Nor /var/log/Xorg.log nor dmesg show anything useful.

I've experienced the same thing. It has happened to me 2 or 3 times. As you stated it happens on certain KDE4/Qt applications. It also happens on xfce and KDE4. GTK applications don't seem to be affected and not all Qt applications seem to be affected.

I run Slackware 13.0 x86 with an ATI x1400 and open source drivers. The last time I ran into this problem Konqueror had just crashed and that is when the Black and Red screen corruption happened. When Konqueror crashed I also had Konsole and Firefox open and they were unaffected.

I don't have any solutions but just to say this has happened to me as well.

AlvaroG 09-08-2009 10:14 AM

Sorry to bring this thread up again, but I'm having the same issues with Slackware 13, on my Dell laptop. Video card is an ATI Radeon Xpress 200, using the radeon driver. This has not happened to me in XFCE as of now, but it sure happens in KDE randomly (but permanently for each and every Qt app opened after the first one gets corrupted)

Sadly I have nothing to add to the thread, but of course I'm willing to try anything suggested :-)


Regards.

adamk75 09-08-2009 10:39 AM

I've seen something similar with one or two KDE/QT apps. Someone suggested setting XLIB_SKIP_ARGB_VISUALS to 1 before launching those applications, and when I did that the problem stopped.

If you have a specific application that consistently causes this problem, you could try setting that variable from a terminal and then launching the application from that terminal to see if the problem happens then.

Adam

larryhaja 09-08-2009 11:20 AM

Quote:

Originally Posted by adamk75 (Post 3674411)
I've seen something similar with one or two KDE/QT apps. Someone suggested setting XLIB_SKIP_ARGB_VISUALS to 1 before launching those applications, and when I did that the problem stopped.

I saw somebody mention that on ##slackware but it didn't work for me after the problem showed up again.

If I can kill this problem then I have no other gripes with KDE4.

Erik_FL 09-08-2009 11:38 AM

Quote:

Originally Posted by melmothX (Post 3664895)
Thanks for your reply. I suspect that Virtualbox 3.0.4 (and its kernel module) was involved, but I can be wrong (probably I am). For sure, Virtualbox prevented udev to create the proper device for a mp3 reader, and I suspect things are related. I had to clean the sistem to get my usb-storage working again (and so far, no more screen corruption). Strange, I know, and perhaps I'm wrong.

The radeonhd driver doesn't work well as the radeon here, but if I'll experience corruption again, I'll try to pull it from the git (both radeon and radeonhd).

I can confirm that the negative screen behavior is due to VirtualBox. I noticed the same problem only when running VirtualBox. I also found that moving or resizing VirtualBox windows causes the windows or the display to become a sort of transparent rectangle.

The strange thing is if I set VirtualBox to use "seamless" mode I only have a problem when first starting a virtual machine or displaying some KDE applications such as System Monitor. If I click anywhere on the KDE desktop then the screen displays correctly and "seamless" mode works fine.

The work around is to disable the desktop effects in KDE. Then VirtualBox doesn't cause problems. VirtualBox also works with XFCE even with the window fading effect.

AlvaroG 09-08-2009 11:54 AM

I have a couple of virtual machines, and lately I've been playing a lot with them (for MSN videoconference and the OVI Suite, mainly), so VirtualBox has surely been there all the time.
I'll try today to run KDE without starting VirtualBox and see what happens. Do you think removing the module from the kernel is also required?

larryhaja 09-08-2009 11:58 AM

Quote:

Originally Posted by Erik_FL (Post 3674516)
I can confirm that the negative screen behavior is due to VirtualBox. I noticed the same problem only when running VirtualBox.

Yeah, I just started up VirtualBox twice and both times caused Konsole to exhibit the same behavior. Only workaround for me was to restart X.

Quote:

The strange thing is if I set VirtualBox to use "seamless" mode I only have a problem when first starting a virtual machine or displaying some KDE applications such as System Monitor.
Not sure what you mean by "seamless" mode.

Quote:

The work around is to disable the desktop effects in KDE. Then VirtualBox doesn't cause problems.
Desktop effects are turned off on my system and I still see this problem. When I turned desktop effects on I was unable to view video in vlc and smplayer. So, that doesn't seem to be a solution for me.

Erik_FL 09-08-2009 01:22 PM

Quote:

Originally Posted by AlvaroG (Post 3674545)
I have a couple of virtual machines, and lately I've been playing a lot with them (for MSN videoconference and the OVI Suite, mainly), so VirtualBox has surely been there all the time.
I'll try today to run KDE without starting VirtualBox and see what happens. Do you think removing the module from the kernel is also required?

So far just not starting any virtual machines has avoided the problem of the negative-looking screen display. After the problem occurs I have to log out and back in again or restart X (ctrl alt backspace) to correct the problem.

I like VirtualBox but it has always had quirky screen display issues, especially with Linux. VirtualBox worked better with Linux before Innotek was bought by Sun, however Windows was not as solid. Now Windows support is much better but Linux seems to be a problem. I would be happier if Sun made less frequent releases that had less bugs, or at least did a well tested "stable" release once in a while.

Lest I sound like a "whiner" there have been a lot of great features added to VirtualBox and I still prefer it even with a few bugs to Microsoft Virtual PC.


All times are GMT -5. The time now is 04:20 AM.