XQueryBestCursor returns 0,0 (Tegra K1 and others)
Submitted by Christoph Haag
Assigned to Xorg Project Team
This is a similar bug report to https://bugs.launchpad.net/unity-mir/+bug/1250613
That one was for xmir, but I am using X with modesetting + hacked in glamor/nouveau support and I am experiencing the very same problem.
I first thought it was a problem with this setup and reported it there: https://github.com/Gnurou/xserver/issues/1 For the used hacks, just look at the latest 4 commits in this repository.
As I described over there, I looked a little bit at the modesetting initialization and it calls xf86_cursors_init and sets the cursor size to 64x64. But these values get lost somewhere in X or Xlib and XQueryBestCursor returns 0x0 for the cursor size. As a workaround I am currently using a workaround library that sets these values to 32x32, code is in that bug report too.
As further argument that this is an issue somewhere: Matrox graphics with KMS: https://forums.opensuse.org/showthread.php/489277-java-problems-with-opensuse-12-3