Bug 248706

Summary: opengl not working with ati catalyst
Product: [Plasma] kwin Reporter: Vladimir Berezhnoy <non7top>
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:

Description Vladimir Berezhnoy 2010-08-22 18:11:46 UTC
Version:           unspecified (using KDE 4.5.0) 
OS:                Linux


This has stopped working after updating from 4.4




kwin(20747) KWin::Extensions::init: Extensions: shape: 0x "11"  composite: 0x "4"  render: 0x "a"  fixes: 0x "40"
kwin(20747) KWin::Workspace::setupCompositing: Initializing OpenGL compositing
kwin(20747) KWin::Workspace::setupCompositing: KWin has detected that your OpenGL library is unsafe to use, falling back to XRender. 
kwin(20747): Failed to initialize compositing, compositing disabled 
kwin(20747): Consult http://techbase.kde.org/Projects/KWin/4.0-release-notes#Setting_up 
kwin(20747) KWin::Client::readUserTimeMapTimestamp: User timestamp, ASN: 13333827
kwin(20747) KWin::Client::readUserTimeMapTimestamp: User timestamp, final: 'ID: 25184732 ;WMCLASS: "systemsettings" : "systemsettings" ;Caption: "Ошибка — Параметры системы" ' : 13333827
kwin(20747) KWin::Workspace::allowClientActivation: Activation: Belongs to active application
kwin(20747) KWin::Workspace::updateClientArea: screens:  1 desktops:  4
kwin(20747) KWin::Workspace::updateClientArea: Done.
kwin(20747) KWin::Workspace::createTile: Now tiling  "Ошибка — Параметры системы"
kwin(20747) KWin::Workspace::updateClientArea: screens:  1 desktops:  4
kwin(20747) KWin::Workspace::updateClientArea: Done.
kwin(20747) KWin::Extensions::init: Extensions: shape: 0x "11"  composite: 0x "4"  render: 0x "a"  fixes: 0x "40"
kwin(20747) KWin::CompositingPrefs::detect: glx version is  1 . 4
kwin(20747) KWin::CompositingPrefs::detectDriverAndVersion: GL vendor is "ATI Technologies Inc." 
kwin(20747) KWin::CompositingPrefs::detectDriverAndVersion: GL renderer is "ATI Radeon HD 4800 Series        " 
kwin(20747) KWin::CompositingPrefs::detectDriverAndVersion: GL version is "1.4 (3.3.10057 Compatibility Profile Context)" 
kwin(20747) KWin::CompositingPrefs::detectDriverAndVersion: Detected driver "fglrx" , version "3.3.1005" 
kwin(20747) KWin::Extensions::init: Extensions: shape: 0x "11"  composite: 0x "4"  render: 0x "a"  fixes: 0x "40"
kwin(20747) KWin::Workspace::setupCompositing: Initializing XRender compositing
kwin(20747) KWin::SceneXrender::selfCheckFinish: XRender compositing self-check passed.


Reproducible: Always
Comment 1 Thomas Lübking 2010-08-22 20:34:43 UTC
this could be bug #243991 as well ... but in doubt, try to "disable functionality checks" ("kcmshell4 kwincompositing", advanced tab)
Comment 2 Vladimir Berezhnoy 2010-08-24 10:51:19 UTC
The checkbox is already checked. I've tried disabling but that makes no difference.
Comment 3 Thomas Lübking 2010-08-24 15:23:48 UTC
try to call "LIBGL_ALWAYS_INDIRECT=1 kwin --replace" and grep ~/kde/share/config/kwinrc for entries "safe" - "OpenGLIsUnsafe" should be "false" (this marks a detected crash due to broken drivers while attempting to set opengl and prevent further crashes by skipping such tests)
Comment 4 Martin Flöser 2010-08-26 21:12:12 UTC

*** This bug has been marked as a duplicate of bug 226791 ***
Comment 5 Vladimir Berezhnoy 2010-09-14 05:33:18 UTC
(In reply to comment #3)
> try to call "LIBGL_ALWAYS_INDIRECT=1 kwin --replace" and grep
> ~/kde/share/config/kwinrc for entries "safe" - "OpenGLIsUnsafe" should be
> "false" (this marks a detected crash due to broken drivers while attempting to
> set opengl and prevent further crashes by skipping such tests)

Thanks Thomas. I've chnaged the OpenGLIsUnsafe to false and run "LIBGL_ALWAYS_INDIRECT=1 kwin --replace" and Opengl is working again.