[Bug 237642] x11-drivers/xf86-video-ati: Upgrade from 18.1.0 to 19.0.0 results in invisible mouse pointer

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Apr 14 09:49:55 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=237642

--- Comment #26 from Niclas Zeising <zeising at FreeBSD.org> ---
(In reply to Alexey Dokuchaev from comment #25)

So, something we do wrt. return values from the ioctl() is different from what
linux does.  Is there any way to check the return value and print/log it
somewhere?  I think you can use xf86DrvMsg for this.  You'll find how they work
starting here:
https://gitlab.freedesktop.org/xorg/xserver/-/blob/master/hw/xfree86/common/xf86Helper.c#L999

Something like xf86DrvMsg(pScrn->scrnIndex, X_INFO, ...) could work, I guess. 
The rest of the call is a regular printf() format string I think.

I'm wondering if the call DRM_IOCTL_MODE_CURSOR2 is failing, but before your
patch the code path that sets use_set_cursor2 to false isn't taken.  With your
patch we instead fall back to use DRM_IOCTL_MODE_CURSOR, and that ioctl works

Thanks for helping out!

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-x11 mailing list