Discussion:
drm-next-kmod regression
(too old to reply)
Manuel Stühn
2018-03-02 16:40:45 UTC
Permalink
Hi,
the last drm-next-kmod worked fine on my Lenovo T420 with i5-2520M and a
HD Graphics 3000. After the update to the actual version (4.11) from
ports, I'm seeing regression in form of a very slow xfce4-desktop. The
slowness starts after some short time. Slow means for example that I can
type faster than the terminal prints the chars or when i move windows
they lag extremely behind the mouse's motion.

One entry in Xorg.0.log caught my attention:
[ 128.266] (EE) intel(0): Failed to submit rendering commands (Bad
address), disabling acceleration.

Disabling the xfce4-compositor improves the situation significantly, but
not entirely.

Switching back to the systems i915 driver resolves the issue.

Any ideas?
Hans Petter Selasky
2018-03-02 19:52:14 UTC
Permalink
Post by Manuel Stühn
Hi,
the last drm-next-kmod worked fine on my Lenovo T420 with i5-2520M and a
HD Graphics 3000. After the update to the actual version (4.11) from
ports, I'm seeing regression in form of a very slow xfce4-desktop. The
slowness starts after some short time. Slow means for example that I can
type faster than the terminal prints the chars or when i move windows
they lag extremely behind the mouse's motion.
[   128.266] (EE) intel(0): Failed to submit rendering commands (Bad
address), disabling acceleration.
Disabling the xfce4-compositor improves the situation significantly, but
not entirely.
Switching back to the systems i915 driver resolves the issue.
Any ideas?
Which version of FreeBSD is this. Are you using the latest kernel
sources? Did you build drm-next-kmod from source?

--HPS
Manuel Stühn
2018-03-02 19:03:08 UTC
Permalink
Post by Hans Petter Selasky
Post by Manuel Stühn
Hi,
the last drm-next-kmod worked fine on my Lenovo T420 with i5-2520M and a
HD Graphics 3000. After the update to the actual version (4.11) from
ports, I'm seeing regression in form of a very slow xfce4-desktop. The
slowness starts after some short time. Slow means for example that I can
type faster than the terminal prints the chars or when i move windows
they lag extremely behind the mouse's motion.
[   128.266] (EE) intel(0): Failed to submit rendering commands (Bad
address), disabling acceleration.
Disabling the xfce4-compositor improves the situation significantly, but
not entirely.
Switching back to the systems i915 driver resolves the issue.
Any ideas?
Which version of FreeBSD is this. Are you using the latest kernel
sources?
uname -a
FreeBSD freebsd-t420 12.0-CURRENT FreeBSD 12.0-CURRENT #11 r330283: Fri
Mar 2 17:35:08 CET 2018
Post by Hans Petter Selasky
Did you build drm-next-kmod from source?
Yes, ports from today built against the revision mentioned above.
Jan Beich
2018-03-03 05:24:55 UTC
Permalink
Post by Manuel Stühn
Hi,
the last drm-next-kmod worked fine on my Lenovo T420 with i5-2520M and
a HD Graphics 3000. After the update to the actual version (4.11) from
ports, I'm seeing regression in form of a very slow xfce4-desktop. The
slowness starts after some short time. Slow means for example that I
can type faster than the terminal prints the chars or when i move
windows they lag extremely behind the mouse's motion.
[ 128.266] (EE) intel(0): Failed to submit rendering commands (Bad
address), disabling acceleration.
Did you build xf86-video-intel with SNA option enabled or have
Option "AccelMethod" "SNA" in xorg.conf? If so see also

https://github.com/FreeBSDDesktop/kms-drm/issues/32
Manuel Stühn
2018-03-03 06:18:07 UTC
Permalink
Post by Jan Beich
Post by Manuel Stühn
Hi,
the last drm-next-kmod worked fine on my Lenovo T420 with i5-2520M and
a HD Graphics 3000. After the update to the actual version (4.11) from
ports, I'm seeing regression in form of a very slow xfce4-desktop. The
slowness starts after some short time. Slow means for example that I
can type faster than the terminal prints the chars or when i move
windows they lag extremely behind the mouse's motion.
[ 128.266] (EE) intel(0): Failed to submit rendering commands (Bad
address), disabling acceleration.
Did you build xf86-video-intel with SNA option enabled or have
Option "AccelMethod" "SNA" in xorg.conf? If so see also
# pkg info xf86-video-intel-2.99.917.20180214 | grep -A2 Options
Options :
SNA : off
UXA : on

# cat /usr/local/etc/X11/xorg.conf.d/driver-intel-mode.conf
Section "Device"
Identifier "Intel Graphics"
Driver "intel"
Option "AccelMethod" "sna"
Option "TearFree" "true"
EndSection

Loading...