[Intel-gfx] Graphics issue after upgrade from Fedora 28 to 29 - multiple mouse cursor icons

Ville Syrjälä ville.syrjala at linux.intel.com
Mon Jul 1 13:32:10 UTC 2019


On Sun, Jun 30, 2019 at 04:23:47PM +0200, Przemysław Hołubowski wrote:
> Hello,
> 
> immediately after I have upgraded my system from Fedora 28 x64 to 29 
> graphics' issue started. Mouse leaves a trail composed of multiple 
> blinking cursors and sometimes rectangular not-refreshed parts. The more 
> loaded the system is the more pronounced the issue - the longer the 
> trail. It's enough just to start moving mouse when system is idle and no 
> app was started by the user yet, to trigger the issue.
> My system is based on Intel Celeron J3160 with integrated graphics 
> (8086:22b1). Before upgrade to Fedora 29 the issue did not occur. 
> Recently I’ve upgraded to Fedora 30 x64. The issue remains. I use XFCE 
> as a desktop.

You need a fresh intel ddx (commit 6afed33b2d67 ("sna: Switch
back to hwcursor on the next cursor update") in particular). That
should make the problem less pronounced at least, due to switching
back to the hw cursor from the sw cursor a bit more greedily.

The alternative is to never move the mouse cursor to the left edge
of the screen (that's when we have to switch to the sw cursor). Or
if your machine has other HDMI ports use those. Sadly most devices
have chosen to wire up the HDMI port which has the borked hw cursor
even though there may be other ports available on the chip :(

Ideally someone would fix the trail bug in the sw cursor code as
well, but so far no one has found the will to dive in that deep.

> 
> What I have tried so far:
> 
> 1. Changing Option “AccelMethod” “sna” used so far to “uxa” in 
> /etc/X11/xorg.conf.d/20-intel.conf.
> The issue was replaced with another - no mouse cursor on primary 
> display. The cursor was only visible on secondary display.
> 
> 2. Changing Option “TearFree” “true” used so far with “false”. No effect.
> 
> 3. Remove "AccelMethod" and "TearFree" from the 20-intel.conf. It didn't 
> help.
> 
> 4. Remove 20-intel.conf file. The issue was replaced with tearing.
> 
> 5. Check if xorg-x11-drv-intel is installed. It wasn't.
> 
> 6. Gathered inxi output (with removed 20-intel.conf file):
> $ inxi -Gxx
> Graphics:  Device-1: Intel Atom/Celeron/Pentium Processor 
> x5-E8000/J3xxx/N3xxx Integrated Graphics vendor: Gigabyte
>             driver: i915 v: kernel bus ID: 00:02.0 chip ID: 8086:22b1
>             Display: x11 server: Fedora Project X.org 1.20.4 driver: 
> modesetting unloaded: fbdev,vesa resolution: 1024x768~60Hz, 1920x1200~60Hz
>             OpenGL: renderer: Mesa DRI Intel HD Graphics 400 (Braswell) 
> v: 4.5 Mesa 19.0.5 compat-v: 3.0 direct render: Yes
> 
> 7. Changed configuration in the 20-intel.conf to the initial and 
> gathered inxi output:
> $ inxi -Gxx
> Graphics:  Device-1: Intel Atom/Celeron/Pentium Processor 
> x5-E8000/J3xxx/N3xxx Integrated Graphics vendor: Gigabyte
>             driver: i915 v: kernel bus ID: 00:02.0 chip ID: 8086:22b1
>             Display: x11 server: Fedora Project X.org 1.20.4 driver: 
> intel resolution: 1024x768~60Hz, 1920x1200~60Hz
>             OpenGL: renderer: Mesa DRI Intel HD Graphics 400 (Braswell) 
> v: 4.5 Mesa 19.0.5 compat-v: 3.0 direct render: Yes
> 
> 8. Start Live F30 x64. The problem was not present, but video playback 
> was a nightmare. I could give spf instead of fps when playing 1080p 
> movies ;-)
> [liveuser at localhost ~]$ inxi -Gxx
> Graphics:
>    Device-1: Intel Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx 
> Integrated Graphics vendor: Gigabyte
>    driver: i915 v: kernel bus ID: 00:02.0 chip ID: 8086:22b1
>    Display: wayland server: Fedora Project X.org 1.20.4 driver: i915 
> compositor: gnome-shell resolution: 1920x1200~60Hz, 1024x768~60Hz
>    OpenGL: renderer: Mesa DRI Intel HD Graphics 400 (Braswell) v: 4.5 
> Mesa 19.0.2 compat-v: 3.0 direct render: Yes
> 
> 9. I have installed LXDE for tests on non-Wayland, non-Gnome sessions.
> The problem with mouse cursor is gone. Tearing is present with varying 
> extent.
> In Modesetting DDX (i.e. without 20-intel.conf file) tearing is visible 
> during web browsing on images while scrolling with mouse. It is also 
> visible during movie playback especially in scenes with lots of panoraming.
> In Intel mode (20-intel.conf without any Options neither AccelMethod) 
> video playback suffers the same. Web browsing is better. Tearing is not 
> in the middle of a line, but rather whole lines are torn. As if scroll 
> speed was not equal among y-axis.
> In Intel mode adding TearFree Option does what it says. No tearing is 
> visible.
> 
> I'd like to solve the issue on XFCE, which I prefer.
> 
> How can I fix this? I will be thankful for your help.
> 
> At first I have started a topic for the issue at LQ:
> https://www.linuxquestions.org/questions/fedora-35/graphics-issue-after-upgrade-from-fedora-28-to-29-multiple-mouse-cursor-icons-4175656433/
> 
> -- 
> regards
> przemhb
> 
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/intel-gfx

-- 
Ville Syrjälä
Intel


More information about the Intel-gfx mailing list