You are not logged in.

#1 2014-04-23 12:36:06

mah0
Member
Registered: 2011-04-21
Posts: 47

Radeon HD 7730 graphical artifacts (open source driver)

Hi,
I'm not very familiar with AMD video cards, so I hope there's someone with more knowledge on this topic, who can help me with this issue.
With no xorg configuration I get this artifacts after X starts (same in KDM):
LnXBFYgs.jpg
With custom 20-radeon.conf (provided down below) I'm able to get rid of the artifacts but OpenGL compositing in KDE doesn't work:
5NLCgJcs.jpg
Same issue in wayland:
QYdWyFWs.jpg
Here's some info and logs:
20-radeon.conf

Section "Device"
    Identifier  "Radeon HD 7730/8730"
    Driver  "radeon"
    Option  "AccelMethod"           "EXA"
EndSection

# pacman -Q:

linux 3.14.1-1
xorg-server 1.15.1-1
xf86-video-ati 1:7.3.0-1
glamor-egl 0.6.0-1
mesa 10.1.1-1

# lspci -vvv:

01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Cape Verde LE [Radeon HD 7730/8730] (prog-if 00 [VGA controller])
        Subsystem: XFX Pine Group Inc. Device 32b0
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 0, Cache Line Size: 64 bytes
        Interrupt: pin A routed to IRQ 46
        Region 0: Memory at e0000000 (64-bit, prefetchable) [size=256M]
        Region 2: Memory at f7e00000 (64-bit, non-prefetchable) [size=256K]
        Region 4: I/O ports at e000 [size=256]
        Expansion ROM at f7e40000 [disabled] [size=128K]
        Capabilities: [48] Vendor Specific Information: Len=08 <?>
        Capabilities: [50] Power Management version 3
                Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1+,D2+,D3hot+,D3cold-)
                Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
        Capabilities: [58] Express (v2) Legacy Endpoint, MSI 00
                DevCap: MaxPayload 256 bytes, PhantFunc 0, Latency L0s <4us, L1 unlimited
                        ExtTag+ AttnBtn- AttnInd- PwrInd- RBE+ FLReset-
                DevCtl: Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
                        RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop+
                        MaxPayload 256 bytes, MaxReadReq 512 bytes
                DevSta: CorrErr+ UncorrErr- FatalErr- UnsuppReq+ AuxPwr- TransPend-
                LnkCap: Port #0, Speed 8GT/s, Width x16, ASPM L0s L1, Exit Latency L0s <64ns, L1 <1us
                        ClockPM- Surprise- LLActRep- BwNot-
                LnkCtl: ASPM Disabled; RCB 64 bytes Disabled- CommClk+
                        ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
                LnkSta: Speed 5GT/s, Width x16, TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
                DevCap2: Completion Timeout: Not Supported, TimeoutDis-, LTR-, OBFF Not Supported
                DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis-, LTR-, OBFF Disabled
                LnkCtl2: Target Link Speed: 8GT/s, EnterCompliance- SpeedDis-
                         Transmit Margin: Normal Operating Range, EnterModifiedCompliance- ComplianceSOS-
                         Compliance De-emphasis: -6dB
                LnkSta2: Current De-emphasis Level: -3.5dB, EqualizationComplete-, EqualizationPhase1-
                         EqualizationPhase2-, EqualizationPhase3-, LinkEqualizationRequest-
        Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+
                Address: 00000000fee0f00c  Data: 4142
        Capabilities: [100 v1] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
        Capabilities: [150 v2] Advanced Error Reporting
                UESta:  DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
                UEMsk:  DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
                UESvrt: DLP+ SDES+ TLP- FCP+ CmpltTO- CmpltAbrt- UnxCmplt- RxOF+ MalfTLP+ ECRC- UnsupReq- ACSViol-
                CESta:  RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr+
                CEMsk:  RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr+
                AERCap: First Error Pointer: 00, GenCap+ CGenEn- ChkCap+ ChkEn-
        Capabilities: [270 v1] #19
        Kernel driver in use: radeon
        Kernel modules: radeon

# lsmod | grep radeon:

radeon               1312880  2 
ttm                    64361  1 radeon
drm_kms_helper         35540  1 radeon
drm                   237667  4 ttm,drm_kms_helper,radeon
hwmon                   3057  2 coretemp,radeon
i2c_algo_bit            5391  1 radeon
i2c_core               24824  5 drm,i2c_i801,drm_kms_helper,i2c_algo_bit,radeon

# glxinfo | grep direct:

direct rendering: Yes

# cat /var/log/Xorg.0.log:
http://ix.io/bSF

# journalctl -k:
http://ix.io/bSG

KInfoCenter:
8TqRRTvs.png

Last edited by mah0 (2014-04-23 12:42:23)

Offline

#2 2014-04-23 14:22:08

Rexilion
Member
Registered: 2013-12-23
Posts: 784

Re: Radeon HD 7730 graphical artifacts (open source driver)

Check out the manpage, there are more options you can play with. Does that help?


fs/super.c : "Self-destruct in 5 seconds.  Have a nice day...\n",

Offline

#3 2014-04-24 05:42:42

mah0
Member
Registered: 2011-04-21
Posts: 47

Re: Radeon HD 7730 graphical artifacts (open source driver)

Rexilion,
The only usable config is this (with disabled hardware acceleration). None of the other options helped:

Section "Module"
    Load "dri2"
    Load "glamoregl" 
EndSection


Section "Device"
    Identifier "Radeon HD 7730/8730"
    Driver "radeon"
                                          # default value:
    Option "AccelMethod"       "glamor"   # glamor or EXA
    Option "SWcursor"          "off"      # off
    Option "NoAccel"           "on"       # off
#    Option "ZaphodHeads"       "DVI-0"    # "LVDS,VGA-0"
    Option "ColorTiling"       "on"       # on
    Option "ColorTiling2D"     "on"       # on
    Option "EnablePageFlip"    "on"       # on
#    Option "AccelDFS"          "off"      # wiki fix for artifacts upon logging in (desn't work)
# EXA specific:
#    Option "EXAVSync"          "on"       # off
#    Option "EXAPixmaps"        "on"       # on with > 32MB VRAM
#    Option "SwapbuffersWait"   "on"       # on
EndSection

Any other ideas?

Offline

#4 2014-04-24 06:21:45

Rexilion
Member
Registered: 2013-12-23
Posts: 784

Re: Radeon HD 7730 graphical artifacts (open source driver)

Question: You have 3d accel disabled, why? You mentioned it's enough to flip the accelmethod to prevent the artifacts.


fs/super.c : "Self-destruct in 5 seconds.  Have a nice day...\n",

Offline

#5 2014-04-24 08:12:52

mah0
Member
Registered: 2011-04-21
Posts: 47

Re: Radeon HD 7730 graphical artifacts (open source driver)

Rexilion,
I switched to this config, but it still looks the same as glamor with no accel:

#Section "Module"
#    Load "dri2"
#    Load "glamoregl" 
#EndSection


Section "Device"
    Identifier "Radeon HD 7730/8730"
    Driver "radeon"
                                          # default value:
    Option "AccelMethod"       "EXA"      # glamor or EXA
    Option "SWcursor"          "off"      # off
    Option "NoAccel"           "off"      # off
#    Option "ZaphodHeads"       "DVI-0"    # "LVDS,VGA-0"
    Option "ColorTiling"       "on"       # on
    Option "ColorTiling2D"     "on"       # on
    Option "EnablePageFlip"    "on"       # on
#    Option "AccelDFS"          "off"      # wiki fix for artifacts upon logging in (desn't work)
# EXA specific:
    Option "EXAVSync"          "on"       # off
    Option "EXAPixmaps"        "on"       # on with > 32MB VRAM
    Option "SwapbuffersWait"   "on"       # on
EndSection

1: glamor with  Option "NoAccel" "off" - artifacts
2: glamor with  Option "NoAccel" "on" - no artifacts
3: EXA with  Option "NoAccel" "on/off" - no artifacts
But with 2 and 3 OpenGL compositing in KDE doesn't work (resets itself to XRender), and graphics in supertuxkart looks like this.

Last edited by mah0 (2014-04-24 08:18:16)

Offline

#6 2014-04-24 12:28:06

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 12,926

Re: Radeon HD 7730 graphical artifacts (open source driver)

Mah0,
have you tried running with radeon.dpm=1 added to your kernel boot line ?
(While it's default on for most cards, it's disabled for some)

Also development of the radeonsi driver for your card goes fast, have you tried running a mesa git version to see if that improves the artifacts ?


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#7 2014-04-24 13:38:54

mah0
Member
Registered: 2011-04-21
Posts: 47

Re: Radeon HD 7730 graphical artifacts (open source driver)

Lone_Wolf,
Unfortunately, no luck with radeon.dpm=1.
I'll try to build mesa-git later.
Thanks.

Offline

#8 2014-04-24 20:02:55

Rexilion
Member
Registered: 2013-12-23
Posts: 784

Re: Radeon HD 7730 graphical artifacts (open source driver)

Shouldn't it be

radeon.dpm=0

to disable the troubled dpm?


fs/super.c : "Self-destruct in 5 seconds.  Have a nice day...\n",

Offline

#9 2014-04-25 05:06:41

mah0
Member
Registered: 2011-04-21
Posts: 47

Re: Radeon HD 7730 graphical artifacts (open source driver)

Lone_Wolf,
Updating to mesa-git, mesa-libgl-git, ati-dri-git and glamor-egl-git didn't do anything.
Rexilion,
neither of them helped.

I guess I should try my luck with catalyst.
Thanks for all your help guys!

EDIT:
Catalyst works quite well so far

Last edited by mah0 (2014-04-25 05:29:52)

Offline

#10 2014-05-25 21:10:38

MadCat_X
Member
Registered: 2009-10-08
Posts: 189

Re: Radeon HD 7730 graphical artifacts (open source driver)

I'm sorry to bump this but I've filed a bug on FreeDesktop (https://bugs.freedesktop.org/show_bug.cgi?id=79231). I'm suffering from this on my Fedora box too... Should you have any extra info about this, feel free to add it to the bug report.

Offline

#11 2014-08-15 10:38:50

MadCat_X
Member
Registered: 2009-10-08
Posts: 189

Re: Radeon HD 7730 graphical artifacts (open source driver)

There seems to be a fix available now. This patch requires a slight modification which works perfectly for me. Everything is available in a bug report.

Offline

Board footer

Powered by FluxBB