[Development] Patches for QPA KMS

Pier Luigi pierluigi.fiorini at gmail.com
Wed Jul 25 08:07:41 CEST 2012


2012/7/19 Elvis Lee <kwangwoong.lee at lge.com>:
> I know that kms is not included in configure yet. But I have used it for
> developing with qtwayland.
>
> Few days ago, I did update qtwayland, mesa and others. Then, I found that
> the kms didn’t work well.
>
> So I made two patches and tested in my environment. Could you review that?

Can't review it but I tested it yesterday.

Some days I ago I had an error trying to run the qwindow-compositor on
VMware Fusion, using Mesa from git (from 2012-07-02):

libEGL debug: Native platform type: drm (environment overwrite)
libEGL debug: EGL search path is /system/lib/egl
libEGL debug: added egl_dri2 to module array
libEGL debug: the best driver is DRI2
kms initialized with geometry QRect(0,0 2560x1600)
created gbm surface 0x14f8600 2560 1600
created window surface
Mesa warning: couldn't open libtxc_dxtn.so, software DXTn
compression/decompression unavailable
Failed to retrieve the get_egl_context function
Failed to initialize egl display

And the compositor wasn't working. The error doesn't show up anymore
using your patch and it works, tested on a HD2000 Sandy Bridge
machine.
Now I can run the QtWayland compositor although it doesn't show the
background until I start an application and mouse and keyboard input
is not accepted.
Is it something still missing on this plugin (like evdev support)?

-- 
"Don't let the noise of other's opinions drown out your own inner
voice." (Steve Jobs)



More information about the Development mailing list