Fwd: Re: kwin display issue on librem5
Bhushan Shah
bhush94 at gmail.com
Mon Mar 5 06:38:12 UTC 2018
Hello,
On Fri, Mar 02, 2018 at 10:43:28AM -0700, Heather Ellsworth wrote:
> > So my questions for you are:
> > * Do you have any idea what could be missing or causing the
> > display_issue.jpg that could be fixed by exporting KWIN_COMPOSE?
This issue is due to kwin_wayland not using the zwp_linux_dmabuf
interface yet.
See the following task: https://phabricator.kde.org/T8067 and the diffs
attached with it.
In my opinion you should have a local kwin and kwayland packaging fork
with patches attached to this tasks or wait for Plasma 5.13 release
> > * Do you know how to make the mouse cursor show up?
There is two bugs, and workaround:
- https://bugs.kde.org/show_bug.cgi?id=391412 : due to this, if hardware
doesn't provide the cursor plane it never fallbacks to software
cursor.
- However, this is more interesting
- KWin calls : output->initCursor(m_cursorSize)
- initCursor calls DrmBuffer::map
- But somehow map function is failing internally, but returns true
anyway.
- Through gdb session if we break on DrmOutput::initCursor() and
make it return false early, it initalizes the software cursor
correctly.
- Which makes me believe either there is something wrong in
DrmBuffer::map and/or the DRM driver.
The solution is to ofcourse fix a bug.. but other then that, as a
workaround you can enable track mouse effect and press Ctrl+Meta to make
it show a "circle" around mouse cursor position.
https://files.kde.org/plasma/kwin/effect-videos/track_mouse.mp4
You can add following line under [Plugins] section in ~/.config/kwinrc
trackmouseEnabled=true
Thanks!
> > Also if there's a better place to ask this (like a kwin irc or mailing
> > list), I'm happy to redirect my questions. Once again, thanks for your
> > time on this project.
> >
> > Cheers,
> > Heather
> >
--
Bhushan Shah
http://blog.bshah.in
IRC Nick : bshah on Freenode
GPG key fingerprint : 0AAC 775B B643 7A8D 9AF7 A3AC FE07 8411 7FBC E11D
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20180305/7e3f4b03/attachment.sig>
More information about the Plasma-devel
mailing list