This forum has been archived. All content is frozen. Please use KDE Discuss instead.

kwin_gles vsync not working

Tags: None
(comma "," separated)
rascas
Registered Member
Posts
8
Karma
0
OS

kwin_gles vsync not working

Sat Feb 18, 2012 7:36 pm
Hi there!

I have a laptop with an old radeon x1600 (r500 with mesa and gallium3d) and using archlinux updated.
With the new kde 4.8 i decided to try kwin_gles. I made the .desktop file acording to the kde wiki from the official archlinux page and it worked (just have to choose it in systemsettings).
Performance is very good compared to normal kwin.
The only issue is that i cannot get the vsync working. Playing videos (with smplayer and vlc) has alot of tearing. Selecting normal kwin and restarting the computer fixes the problem.
Anyone getting the same problem? Any workaround?
rascas
Registered Member
Posts
8
Karma
0
OS

Re: kwin_gles vsync not working

Sun Feb 19, 2012 7:52 pm
Its strange because if i run glxgears it tells that it is being synchronized with the vertical refresh rate (60 fps). I tried to play movies with various backends like xv and gl, all of them presents tearing. Flash in webpages to. The desktop effects also appears to have tearing.
It is a shame (unfortunate) because the performance is better than normal kwin and i didnt have any crash or any other issue with it.
I cant find much info about open gles on internet so... does anyone uses it?
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: kwin_gles vsync not working

Mon Feb 20, 2012 7:03 am
If you disable compositing under kwin_gles, does the tearing occur? It could possibly be a bug in the GLES implementation of your graphics card.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
rascas
Registered Member
Posts
8
Karma
0
OS

Re: kwin_gles vsync not working

Mon Feb 20, 2012 7:00 pm
No. If i disable composition (alt+shift+f12) tearing does not occur.
Can you get vsync working with your graphics card using kwin_gles (composition enabled) ?
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: kwin_gles vsync not working

Thu Feb 23, 2012 12:26 am
Unfortunately my card has a driver which does not support GLES at this time.
If you are using the open source Radeon driver, please file a bug report at bugs.kde.org - as this could be caused by either the driver or KWin.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
mgraesslin
KDE Developer
Posts
572
Karma
7
OS

Re: kwin_gles vsync not working

Fri Feb 24, 2012 7:14 am
kwin_gles does not yet support vsync
rascas
Registered Member
Posts
8
Karma
0
OS

Re: kwin_gles vsync not working

Fri Feb 24, 2012 5:29 pm
Ok thanks for your anwser. Making it work would be really nice.
rascas
Registered Member
Posts
8
Karma
0
OS

Re: kwin_gles vsync not working

Fri Jun 08, 2012 10:00 am
Is there any news about vsync in kwin_gles? Maybe in kde 4.9 ?

I think there isnt a bug report yet so maybe its better to open one, no?
luebking
Karma
0

Re: kwin_gles vsync not working

Fri Jun 08, 2012 8:11 pm
GLES does "only" support syncing via the eglSwapInterval() and we were told that it's "1" (sync every frame) by default for all mesa drivers.
At least on an intel chip, attempts to set the swapInterval(0) had no impact at all (and doing so with the glx variant threw an GL error ;-)

-> can you test patches?
rascas
Registered Member
Posts
8
Karma
0
OS

Re: kwin_gles vsync not working

Fri Jun 08, 2012 9:36 pm
I can test some patches in this laptop.

Im not a programmer / developer but i can try when i have some free time.


Bookmarks



Who is online

Registered users: Bing [Bot], Evergrowing, Google [Bot]