Bug 97105 - XQueryBestCursor returns 0,0 (Tegra K1 and others)
Summary: XQueryBestCursor returns 0,0 (Tegra K1 and others)
Status: RESOLVED MOVED
Alias: None
Product: xorg
Classification: Unclassified
Component: Server/General (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Xorg Project Team
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-07-28 11:02 UTC by Christoph Haag
Modified: 2018-12-13 22:35 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Christoph Haag 2016-07-28 11:02:58 UTC
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
Comment 1 Michel Dänzer 2016-07-29 02:32:18 UTC
Alexandre, any ideas?
Comment 2 GitLab Migration User 2018-12-13 22:35:58 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/xorg/xserver/issues/503.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.