You are not logged in.

#1 2014-01-25 13:30:45

Ploppz
Member
Registered: 2013-09-14
Posts: 311

[SOLVED I think] Slow graphical programs

I have a pretty powerful PC and Firefox is really laggy, especially when scolling. Audacity is insanely slow. Other graphical programs as well. Additionally, resizing graphical program windows is really slow. My window manager is bspwm, no DE.
Wondering if it has with hardware acceleration to do. I notice that the X process uses a lot of cpu when resizing.

How do I go about finding what could be the problem? Anyone think they know the problem?

Last edited by Ploppz (2014-01-26 14:05:36)

Offline

#2 2014-01-25 13:31:54

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,447
Website

Re: [SOLVED I think] Slow graphical programs

What's the hardware?  Which video drivers are you using?


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#3 2014-01-25 14:11:17

Ploppz
Member
Registered: 2013-09-14
Posts: 311

Re: [SOLVED I think] Slow graphical programs

I might aswell post the full verbose of the gpu:

01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Pitcairn PRO [Radeon HD 7850] (prog-if 00 [VGA controller])
        Subsystem: Hightech Information System Ltd. Device 2320
        Flags: bus master, fast devsel, latency 0, IRQ 43
        Memory at d0000000 (64-bit, prefetchable) [size=256M]
        Memory at fde80000 (64-bit, non-prefetchable) [size=256K]
        I/O ports at ae00 [size=256]
        [virtual] Expansion ROM at fde00000 [disabled] [size=128K]
        Capabilities: <access denied>
        Kernel driver in use: radeon
        Kernel modules: radeon

Drivers (I included all packages I think are relevant):
xf86-video-ati, ati-dri, mesa (several packages)

My processor is AMD FX(tm)-8120 Eight-Core Processor (64-bit).

Offline

#4 2014-01-25 15:16:15

rebootl
Member
Registered: 2012-01-10
Posts: 431
Website

Re: [SOLVED I think] Slow graphical programs

You might as well check/post the output of glxinfo. Especially looking for "direct" and "OpenGL".

Also the wiki of course: https://wiki.archlinux.org/index.php/ATI

Edit: And you could check your Xorg.0.log for errors.

Last edited by rebootl (2014-01-25 15:27:14)


Personal website: reboot.li
GitHub: github.com/rebootl

Offline

#5 2014-01-25 23:10:37

Ploppz
Member
Registered: 2013-09-14
Posts: 311

Re: [SOLVED I think] Slow graphical programs

Offline

#6 2014-01-26 00:44:11

rebootl
Member
Registered: 2012-01-10
Posts: 431
Website

Re: [SOLVED I think] Slow graphical programs

Hm, probably this: https://wiki.archlinux.org/index.php/ATI#Glamor

The warning says glamor will be extremely slow w/ radeonsi due to a bug.

You might want to temporarly enable EXA instead.
Didn't read it entirely but there's a hint in the bug report on how to do this: https://bugs.freedesktop.org/show_bug.cgi?id=68524#c14

Basically the option:

Option "AccelMethod" "EXA"

should do it.
Don't know how far the other opts described in the link are needed.


Personal website: reboot.li
GitHub: github.com/rebootl

Offline

#7 2014-01-26 13:44:06

Ploppz
Member
Registered: 2013-09-14
Posts: 311

Re: [SOLVED I think] Slow graphical programs

I made a new file /etc/X11/xorg.conf.d/20-radeon.conf and copied that content in comment #14, and rebooted; still not any better hmm

Edit: Actually, Audacity works fine now and firefox too.. so I guess it helped! Only thing is that resizing windows is really slow but that has to be my window manager, I'll investigate that. Thank you very much for your help! smile

Last edited by Ploppz (2014-01-26 14:05:09)

Offline

#8 2014-01-26 14:27:59

rebootl
Member
Registered: 2012-01-10
Posts: 431
Website

Re: [SOLVED I think] Slow graphical programs

Glad you made some progress. You may want to switch back once the bug is resolved.

Still a bit strange for the resizing. I don't use bspwm myself, but it seems some people have experienced a similar problem: https://bbs.archlinux.org/viewtopic.php?pid=1342495

Regards


Personal website: reboot.li
GitHub: github.com/rebootl

Offline

Board footer

Powered by FluxBB