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

[email protected]
Newsgroups gmane.os.freebsd.devel.x11
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=237642

--- Comment #26 from Niclas Zeising <[email protected]> ---
(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.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-x11
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.