You are not logged in.

#1 2021-03-24 15:07:36

piperfw
Member
Registered: 2021-01-08
Posts: 30

X11 Cursor display problem after upgrade from 5.10.16 to 5.11

After upgrading the kernel from 5.10.16 to 5.11.x my cursor in X does not render correctly (see image 1 below).  Oddly, if I take a screenshot with the tool maim the cursor is seen as normal in the screenshot (image 2).

I believe I am using the xf86-video-intel drivers. Downgrading the kernel to 5.10.16 restores the cursor.

Has anyone else encountered a similar issue, or perhaps has troubleshooting suggestions? I have not submitted a bug report as of yet.

Image 1: Cursor Issue

Image 2: Normal Cursor

Offline

#2 2021-03-24 15:29:41

Ropid
Member
Registered: 2015-03-09
Posts: 1,069

Re: X11 Cursor display problem after upgrade from 5.10.16 to 5.11

This bug you are seeing is caused by xf86-video-intel. You can remove it, your graphics will also work without xf86-video-intel installed.

Offline

#3 2021-03-24 16:56:39

piperfw
Member
Registered: 2021-01-08
Posts: 30

Re: X11 Cursor display problem after upgrade from 5.10.16 to 5.11

Is this a known issue with xf86-video-intel then? Or how else can you be sure on this. I can't see any active bug reports for the package. Does the package not convey some benefit to my graphics e.g. hardware acceleration?

Offline

#4 2021-03-24 17:17:11

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,230

Re: X11 Cursor display problem after upgrade from 5.10.16 to 5.11

It doesn't really and it's in a maintenance limbo since ~8 years or so. Many distributions have switched to  using the xorg built-in modesetting driver for newer CPU chipsets.

It does have better 2D xorg perf in theory and doesn't need a dedicated compositor to avoid screen tearing but it often has a variety of weird display quirks in a lot of cases.

Last edited by V1del (2021-03-24 17:19:15)

Offline

#5 2021-03-24 18:12:44

piperfw
Member
Registered: 2021-01-08
Posts: 30

Re: X11 Cursor display problem after upgrade from 5.10.16 to 5.11

That's useful to know V1del, thank you. I don't find the Wiki page on Xorg too clear on this.

I have uninstalled xf86-video-intel and upgraded to the latest kernel, 5.11.8. The cursor is still broken, so it seems like it was not this package causing the issue.

Offline

#6 2021-03-24 21:32:45

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,009

Re: X11 Cursor display problem after upgrade from 5.10.16 to 5.11

Can you please post your xorg log?
Cause "I believe I am using the xf86-video-intel drivers" isn't really convincing and there're multiple records of this pattern that are caused by the nouveau driver (nvidia chip), not intel.

Offline

#7 2021-03-25 13:32:34

piperfw
Member
Registered: 2021-01-08
Posts: 30

Re: X11 Cursor display problem after upgrade from 5.10.16 to 5.11

This is my current Xorg log on 5.10.16 - I can update the kernel (to reintroduce the cursor issue) and paste the log then if that might be helpful.
https://gist.github.com/piperfw/c3d2afe … eb834bf191

seth wrote:

Cause "I believe I am using the xf86-video-intel drivers" isn't really convincing and there're multiple records of this pattern that are caused by the nouveau driver (nvidia chip), not intel.

Yes, I was deliberately vague as do not understand exactly what drivers are being used - apologies. I do have a Nvidia card:

$ lspci -v | grep -A1 -e VGA -e 3D
01:00.0 VGA compatible controller: NVIDIA Corporation GK104 [GeForce GTX 670] (rev a1) (prog-if 00 [VGA controller])
	Subsystem: CardExpert Technology Device 1189

as well as the mesa package, but not any of the Nvidia drivers (proprietary or nouveau).

Offline

#8 2021-03-25 13:36:00

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,009

Re: X11 Cursor display problem after upgrade from 5.10.16 to 5.11

You're currently running on the VESA driver on the (only, I assume) nvidia VGA, which is about the worst situation to be in.
Install the nvidia blob, the bug is caused by the nouveau kernel module.

Offline

#9 2021-03-25 14:12:27

piperfw
Member
Registered: 2021-01-08
Posts: 30

Re: X11 Cursor display problem after upgrade from 5.10.16 to 5.11

Thank you for looking at the log file.

Apart from this one artefact, I have not encountered any issues.

Please may you specify what you mean by the nvidia blob?

Offline

#10 2021-03-25 14:31:50

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,009

Offline

#11 2021-03-25 14:33:38

Ropid
Member
Registered: 2015-03-09
Posts: 1,069

Re: X11 Cursor display problem after upgrade from 5.10.16 to 5.11

He means you should install the Nvidia driver. Check out the "Nvidia" article in the ArchWiki.

The "blob" word means "Binary Large OBject". The word here was supposed to mean that the important part of the Nvidia driver package is one large binary file where Nvidia keeps the source secret.

Offline

#12 2021-03-25 14:38:51

piperfw
Member
Registered: 2021-01-08
Posts: 30

Re: X11 Cursor display problem after upgrade from 5.10.16 to 5.11

Thanks for the link. For my card that page prescribes the nvidia package.

Is the suggestion that I won't be able to remove the bug while sticking with the nouveau drivers (I have mesa but not xf86-video-nouveau installed; see Nouveau)?.

I would prefer to stick to the open-source drivers if possible.

Offline

#13 2021-03-25 14:44:04

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,009

Re: X11 Cursor display problem after upgrade from 5.10.16 to 5.11

Use the lts kernel until the bug is fixed in the current kernel, there're no known workarounds.

Offline

#14 2021-03-25 15:53:42

piperfw
Member
Registered: 2021-01-08
Posts: 30

Re: X11 Cursor display problem after upgrade from 5.10.16 to 5.11

Ok, is the correct procedure to install linux-lts, then uninstall linux? I was surprised pacman doesn't say the two conflict.

Offline

#15 2021-03-25 15:57:27

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,230

Re: X11 Cursor display problem after upgrade from 5.10.16 to 5.11

That's because they do not conflict, you can have both of them installed and switch between them, the only thing you have to do is change your bootloader config to give you an entry. You'll have to refer to vmlinuz-lts and initramfs-linux-lts, check your /boot

Last edited by V1del (2021-03-25 15:58:59)

Offline

Board footer

Powered by FluxBB