https://bugs.kde.org/show_bug.cgi?id=364740

--- Comment #5 from Fabian Vogt <fab...@ritter-vogt.de> ---
(In reply to Martin Gräßlin from comment #4)
> thanks for checking my theory in the debugger.
> 
> Now I'm wondering why did the map fail and what's the best thing to handle
> the fail. We could just not update the cursor, but that's not really a
> solution. Or we could terminate, because we can expect that it won't work.

Some more information: drmModeAddFB fails because the DRM ioctl returns -1 with
errno set to 22 (EINVAL). A guess: Maybe 32 bpp or 24 bit depth aren't
supported?

if ((ret = DRM_IOCTL(fd, DRM_IOCTL_MODE_ADDFB, &f)))
(gdb) print f
$9 = {fb_id = 0, width = 64, height = 64, pitch = 256, bpp = 32, depth = 24,
handle = 2}

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to