You are not logged in.

#1 2013-11-13 19:59:05

kodiak
Member
Registered: 2012-04-26
Posts: 64

[SOLVED]Bad performance on AMD A4-4355M / Radeon 7400G

I am not very happy with the performance of my sapphire vs4. I can hardly narrow down the cause for that, so probably the best is to describe the behaviour and show my settings.

DE is XFCE. When I set a desktop wallpaper rather than solid color, the bluetooth mouse and the keyboard react very slowly, sometimes I have to switch them off an on again to be able to work with again. On solid color controls work fine. It works already better when having a window on top of the wallpaper, the bigger the better.
Most youtube videos do not work. Other flash videos do work, but after a while they become jerky.  The same happens with playing DVDs e.g. on vlc. Bluetooth sound disconnects when videos go really jerky.
XBMC shows the same behaviour, life streams usually hang up XBMC.

Sometimes but really rarely, all seems to work nice - but that´s the exceptional case. top CPU usage shows 10-20% while watching flash. Sometimes the whole thing shows latency on inputs when accessing hard disk.

$ lspci | grep VGA   
00:01.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Trinity [Radeon HD 7400G]
$ cat /etc/X11/xorg.conf.d/20-radeon.conf
Section "Device"
        Identifier  "My Graphics Card"
        Driver  "radeon"
        Option  "MigrationHeuristic"  "greedy"
	Option "ColorTiling" "on"
	Option "AccelMethod" "EXA"
	Option "EnablePageFlip" "on"
	Option	"EXAPixmaps" "on"
	Option	"AccelDFS" "on"
EndSection
$ yaourt -Ss  xf86-video-ati
extra/xf86-video-ati 1:7.2.0-1 (xorg-drivers xorg) [installed]
$ cat /sys/kernel/debug/dri/0/radeon_pm_info
uvd    vclk: 0 dclk: 0
power level 0    sclk: 20000 vddc: 862
$ grep radeon /etc/default/grub
GRUB_CMDLINE_LINUX_DEFAULT="radeon.dpm=1"
$ dmesg | grep drm
[    8.001258] [drm] Initialized drm 1.1.0 20060810
[    8.207851] [drm] radeon kernel modesetting enabled.
[    8.207902] fb: conflicting fb hw usage radeondrmfb vs VESA VGA - removing generic driver
[    8.208684] [drm] initializing kernel modesetting (ARUBA 0x1002:0x9994 0x1002:0x9994).
[    8.208736] [drm] register mmio base: 0xFEB00000
[    8.208739] [drm] register mmio size: 262144
[    8.208928] [drm] Detected VRAM RAM=512M, BAR=256M
[    8.208930] [drm] RAM width 64bits DDR
[    8.209024] [drm] radeon: 512M of VRAM memory ready
[    8.209026] [drm] radeon: 512M of GTT memory ready.
[    8.332800] [drm] GART: num cpu pages 131072, num gpu pages 131072
[    8.347100] [drm] Loading ARUBA Microcode
[    8.713322] [drm] PCIE GART of 512M enabled (table at 0x0000000000276000).
[    8.714356] [drm] Supports vblank timestamp caching Rev 1 (10.10.2010).
[    8.714359] [drm] Driver supports precise vblank timestamp query.
[    8.714828] [drm] radeon: irq initialized.
[    8.734601] [drm] ring test on 0 succeeded in 2 usecs
[    8.734667] [drm] ring test on 3 succeeded in 2 usecs
[    8.734676] [drm] ring test on 4 succeeded in 1 usecs
[    8.791772] [drm] ring test on 5 succeeded in 1 usecs
[    8.791780] [drm] UVD initialized successfully.
[    8.814370] [drm] ib test on ring 0 succeeded in 0 usecs
[    8.814903] [drm] ib test on ring 3 succeeded in 0 usecs
[    8.815429] [drm] ib test on ring 4 succeeded in 1 usecs
[    8.836450] [drm] ib test on ring 5 succeeded
[    8.857155] [drm] Radeon Display Connectors
[    8.857160] [drm] Connector 0:
[    8.857163] [drm]   DP-1
[    8.857165] [drm]   HPD1
[    8.857168] [drm]   DDC: 0x6530 0x6530 0x6534 0x6534 0x6538 0x6538 0x653c 0x653c
[    8.857169] [drm]   Encoders:
[    8.857171] [drm]     DFP1: INTERNAL_UNIPHY2
[    8.857173] [drm] Connector 1:
[    8.857175] [drm]   HDMI-A-1
[    8.857177] [drm]   HPD2
[    8.857179] [drm]   DDC: 0x6540 0x6540 0x6544 0x6544 0x6548 0x6548 0x654c 0x654c
[    8.857181] [drm]   Encoders:
[    8.857182] [drm]     DFP2: INTERNAL_UNIPHY2
[    8.857527] [drm] Internal thermal controller without fan control
[    8.858685] [drm] radeon: dpm initialized
[    8.929413] [drm] fb mappable at 0xC1388000
[    8.929420] [drm] vram apper at 0xC0000000
[    8.929422] [drm] size 8294400
[    8.929424] [drm] fb depth is 24
[    8.929426] [drm]    pitch is 7680
[    8.929541] fbcon: radeondrmfb (fb0) is primary device
[    8.943921] radeon 0000:00:01.0: fb0: radeondrmfb frame buffer device
[    8.944380] [drm:radeon_acpi_init] *ERROR* Cannot find a backlight controller
[    8.944562] [drm] Initialized radeon 2.34.0 20080528 for 0000:00:01.0 on minor 0
$ cat /proc/cpuinfo 
processor	: 0
vendor_id	: AuthenticAMD
cpu family	: 21
model		: 16
model name	: AMD A4-4355M APU with Radeon(tm) HD Graphics
stepping	: 1
microcode	: 0x6001119
cpu MHz		: 1300.000
cache size	: 1024 KB
physical id	: 0
siblings	: 2
core id		: 0
cpu cores	: 1
apicid		: 16
initial apicid	: 0
fpu		: yes
fpu_exception	: yes
cpuid level	: 13
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc extd_apicid aperfmperf pni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 popcnt aes xsave avx f16c lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs xop skinit wdt lwp fma4 tce nodeid_msr tbm topoext perfctr_core perfctr_nb arat cpb hw_pstate npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold bmi1
bogomips	: 3794.00
TLB size	: 1536 4K pages
clflush size	: 64
cache_alignment	: 64
address sizes	: 48 bits physical, 48 bits virtual
power management: ts ttp tm 100mhzsteps hwpstate cpb eff_freq_ro

processor	: 1
vendor_id	: AuthenticAMD
cpu family	: 21
model		: 16
model name	: AMD A4-4355M APU with Radeon(tm) HD Graphics   
stepping	: 1
microcode	: 0x6001119
cpu MHz		: 1300.000
cache size	: 1024 KB
physical id	: 0
siblings	: 2
core id		: 1
cpu cores	: 1
apicid		: 17
initial apicid	: 1
fpu		: yes
fpu_exception	: yes
cpuid level	: 13
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc extd_apicid aperfmperf pni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 popcnt aes xsave avx f16c lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs xop skinit wdt lwp fma4 tce nodeid_msr tbm topoext perfctr_core perfctr_nb arat cpb hw_pstate npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold bmi1
bogomips	: 3794.00
TLB size	: 1536 4K pages
clflush size	: 64
cache_alignment	: 64
address sizes	: 48 bits physical, 48 bits virtual
power management: ts ttp tm 100mhzsteps hwpstate cpb eff_freq_ro

Anybody else with a Trinity APU running Arch?

Last edited by kodiak (2014-08-03 22:19:14)

Offline

#2 2013-11-13 22:03:11

clfarron4
Member
From: London, UK
Registered: 2013-06-28
Posts: 2,163
Website

Re: [SOLVED]Bad performance on AMD A4-4355M / Radeon 7400G

I'm running a Llano APU on Arch, and I've gotten better performance with AMD Catalyst than I have xf86-intel-ati consistently on Ubuntu. I never tried the Open Source driver on Arch, as AMD Catalyst pretty much gives me the performance I need.


Claire is fine.
Problems? I have dysgraphia, so clear and concise please.
My public GPG key for package signing
My x86_64 package repository

Offline

#3 2013-11-14 14:31:10

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,868

Re: [SOLVED]Bad performance on AMD A4-4355M / Radeon 7400G

Kodiak, in your 20-radeon.conf file you set EXA as accelleration method.

for southern islands and later chipsets glamor is preferred over EXA, and i'm 90% certain Aruba chipset is one of those.
I suggest you try running with glamor, see the arch ati wiki page for details about how to set that up.

Last edited by Lone_Wolf (2013-11-14 14:39:52)


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


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#4 2013-11-14 18:47:10

Radioactiveman
Member
From: Germany
Registered: 2010-05-13
Posts: 388

Re: [SOLVED]Bad performance on AMD A4-4355M / Radeon 7400G

According to notebookcheck.com the HD 7400G is based on Northern Islands so EXA should be fine.
Have you tried using no xorg.conf at all?

Offline

#5 2013-11-15 07:47:29

kodiak
Member
Registered: 2012-04-26
Posts: 64

Re: [SOLVED]Bad performance on AMD A4-4355M / Radeon 7400G

Radioactiveman wrote:

Have you tried using no xorg.conf at all?

I removed /etc/X11/xorg.conf.d/20-radeon.conf without any change.

Lone_Wolf wrote:

glamor is preferred over EXA

The wiki says:  xf86-video-ati driver-1:7.2.0-1, glamor is automaticaly enabled with radeonsi drivers (Southern Island and superior GFX cards); I have not tried it, since the wiki says EXA is the default and works on "newer" cards, but I will give it a try.

clfarron4 wrote:

AMD Catalyst

Seems to be very messy, I was not able to install it quickly yesterday. Have you downgraded X-server?

$ cat /sys/kernel/debug/dri/0/radeon_pm_info # without GRUB_CMDLINE_LINUX_DEFAULT="radeon.dpm=1"
default engine clock: 200000 kHz
current engine clock: 200000 kHz
default memory clock: 667000 kHz

I was not able to set the power profile described on the ATI wiki page. I always get the output above. http://www.gpuzoo.com/GPU-AMD/Radeon_HD_7400G_IGP.html says the system clock should be faster. Something wrong maybe here?

Offline

#6 2013-12-01 19:36:24

kodiak
Member
Registered: 2012-04-26
Posts: 64

Re: [SOLVED]Bad performance on AMD A4-4355M / Radeon 7400G

Some news here:
Hard disk is WD3200BPVT:  http://www.newegg.com/Product/Product.a … llFullInfo ==> https://wiki.archlinux.org/index.php/Ad … Green_HDDs

Hardware-acceleration: https://bugs.archlinux.org/task/37888?p … om=-1+week ==> when turning it off, videos do run but what I guess is, that the CPU is under heavy load so it can not serve the bluetooth as necessary.

Offline

#7 2013-12-01 19:46:26

clfarron4
Member
From: London, UK
Registered: 2013-06-28
Posts: 2,163
Website

Re: [SOLVED]Bad performance on AMD A4-4355M / Radeon 7400G

kodiak wrote:
clfarron4 wrote:

AMD Catalyst

Seems to be very messy, I was not able to install it quickly yesterday. Have you downgraded X-server?

No, because I use the latest beta provided by Vi0L0, not the "stable" version.


Claire is fine.
Problems? I have dysgraphia, so clear and concise please.
My public GPG key for package signing
My x86_64 package repository

Offline

#8 2014-08-03 20:27:59

kodiak
Member
Registered: 2012-04-26
Posts: 64

Re: [SOLVED]Bad performance on AMD A4-4355M / Radeon 7400G

Quick update: I replaced the HDD with a hybrid from Seagate and with software from today this thing runs almost smooth! Mark it as solved.

Last edited by kodiak (2014-08-03 22:18:43)

Offline

#9 2014-08-03 20:44:09

headkase
Member
Registered: 2011-12-06
Posts: 1,975

Re: [SOLVED]Bad performance on AMD A4-4355M / Radeon 7400G

kodiak wrote:

Mark it as solved.

Edit your first post in this thread and pre-pend "[Solved]" to the title.

Online

Board footer

Powered by FluxBB