HW vs SW cursor confusion

Corbin Simpson mostawesomedude at gmail.com
Wed Oct 21 18:57:38 PDT 2009

On 10/21/2009 06:07 PM, McDonald, Michael-p7438c wrote:
>   We have our own driver based upon the fb/dummy drivers. Everything
> works as expected as long as we use the SW cursor. If we choose the HW
> cursor, it works fine (it's invisible because none of our HW cursor
> routines actually do anything! (except UseHWCursor which returns True))
> until the first time any app sets it's own cursor, xterm for example.
> Once that app runs, the cursor reverts to using the SW cursor routines
> and the cursor becomes visible. We've also compared our driver to the
> intel/i810_[cursor|driver].c code and we can't find anything obvious.
>   Why is the server reverting to using the SW cursor? ie what did we
> screw up?

Well, if you don't have a HW cursor, just use SW.

It sounds like you're trying to hide the cursor as part of a custom
embedded setup. Why not leverage HideCursor/ShowCursor from Xfixes? You
can just hide the cursor for the root window and it shouldn't show up
anywhere else.

~ C.

More information about the xorg mailing list