Bug 790142

Summary: kwin desktop effects to support llvmpipe
Product: [Fedora] Fedora Reporter: Rex Dieter <rdieter>
Component: kde-workspaceAssignee: Than Ngo <than>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: jreznik, kevin, ltinkl, lzachar, rdieter, rnovacek, than
Target Milestone: ---Keywords: FutureFeature
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: kde-workspace-4.8.0-7 Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-10-09 16:39:50 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 794835    
Bug Blocks:    
Attachments:
Description Flags
screenshot showing window corruption none

Description Rex Dieter 2012-02-13 18:28:56 UTC
Bug to track implementation of whitelisting llvmpipe-based compositing in kwin

Comment 2 Rex Dieter 2012-02-13 19:56:09 UTC
%changelog
* Mon Feb 13 2012 Rex Dieter <rdieter> 4.8.0-7
- kwin llvmpipe whitelist (#790142)
- powerdevil verbosity++ (kde#289760)

Comment 3 Rex Dieter 2012-02-24 15:18:41 UTC
Had to backout, due to problems introduced in bug #794835

Comment 4 Kevin Kofler 2012-02-24 15:43:24 UTC
I'm taking this off F17Target: According to the people who know what they're talking about (ajax, mgraesslin, d1saster), KWin needs more magic from the llvmpipe than gnome-shell, and chances are it'll not be ready in time for Fedora 17. :-( Software rendering will have to stick with XRender or uncomposited mode for now.

Comment 5 Rex Dieter 2012-03-28 16:17:22 UTC
OK, retested today.  with both kwin and kwin_gles

kwin was very slow, windows would appear/disappear on a whim, not usable (I think I'll try testing again, with all effects disabled).

kwin_gles unfortunately, failed to initialize compositing:

$ kwin_gles --replace
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
OpenGL vendor string:                   VMware, Inc.
OpenGL renderer string:                 Gallium 0.4 on llvmpipe (LLVM 0x300)
OpenGL version string:                  OpenGL ES 2.0 Mesa 8.0.1
OpenGL shading language version string: OpenGL ES GLSL ES 1.0.16
Driver:                                 LLVMpipe
GPU class:                              Unknown
OpenGL version:                         2.0
GLSL version:                           1.0.16
Mesa version:                           8.0.1
Linux kernel version:                   3.3
Direct rendering:                       yes
Requires strict binding:                no
GLSL shaders:                           yes
Texture NPOT support:                   yes
kwin(20181): Required support for binding pixmaps to EGLImages not found, disabling compositing 
kwin(20181): Failed to initialize compositing, compositing disabled 
kwin(20181): Consult http://techbase.kde.org/Projects/KWin/4.0-release-notes#Setting_up

Comment 6 Rex Dieter 2012-03-28 16:20:00 UTC
Created attachment 573394 [details]
screenshot showing window corruption

This was with all kwin compositing effects and features disabled, performance and display of active window was still very poor.

Comment 7 Lukáš Tinkl 2012-09-26 12:54:42 UTC
Just a question, any progress/improvement on this with KDE 4.9?

Comment 8 Rex Dieter 2012-10-09 16:39:50 UTC
Looks like Martin (upstream) officially recommends against this approach, 
http://blog.martin-graesslin.com/blog/2012/10/to-llvmpipe-or-not/

opting for xrender or non-compositing fallbacks instead.

Comment 9 Kevin Kofler 2013-03-14 15:33:29 UTC
*** Bug 921593 has been marked as a duplicate of this bug. ***