Solved Lag with HD6870

Hi,

I'm running 11-CURRENT with a AMD HD6870 (i7 2600k and 8GB RAM) with x11-wm/i3 as WM. Syscons and and X works quite nice except for some issues:

Video playing (full HD) lags a bit and so does quick scrolling in Chromium and Firefox. Not always but depending on the website.

It's the same lag as with the video player ( vlc or smplayer) and it is noticeable because you see the lines get redrawn too slow (not sure how this effect is called).

It gets much worse in Gnome3. The whole UI more sluggish.

Quick reboot to Fedora live USB to check and there I can't reproduce the stutter/lag when scrolling through a web page.

I am at work now and can't post the xorg.conf but are there some pointers for additional acceleration?

Or would switching to nVidia fix the UI sluggishness because of the better driver nVidia provides?
 
Last edited by a moderator:
Please note that 11-CURRENT has a lot of debugging enabled.

From /usr/src/UPDATING:
Code:
NOTE TO PEOPLE WHO THINK THAT FreeBSD 11.x IS SLOW:
        FreeBSD 11.x has many debugging features turned on, in both the kernel
        and userland.  These features attempt to detect incorrect use of
        system primitives, and encourage loud failure through extra sanity
        checking and fail stop semantics.  They also substantially impact
        system performance.  If you want to do performance measurement,
        benchmarking, and optimization, you'll want to turn them off.  This
        includes various WITNESS- related kernel options, INVARIANTS, malloc
        debugging flags in userland, and various verbose features in the
        kernel.  Many developers choose to disable these features on build
        machines to maximize performance.  (To completely disable malloc
        debugging, define MALLOC_PRODUCTION in /etc/make.conf, or to merely
        disable the most expensive debugging functionality run
        "ln -s 'abort:false,junk:false' /etc/malloc.conf".)

Thread /topics-about-unsupported-freebsd-versions.40469/
 
Sorry I forgot to mention that I have recompiled without debugging as showed in UPDATING
 
Please also post your /var/log/Xorg.0.log if you get the chance. Are your sure that you're not using the VESA driver? You can also try running Xorg without an xorg.conf. If that doesn't work please post the /var/log/Xorg.0.log after that too.

Or would switching to nVidia fix the UI sluggishness because of the better driver nVidia provides?
The NVIDIA driver works pretty well but I would not consider this a "fix" ;)
 
Kinda fixed it:

Now using compton with GLX backend.
Invited my user to group Video so that I can access the /dev/dri/card0

smplayer backend also switched to GL.

After this everything is alot smoother
 
Last edited by a moderator:
Back
Top