Reply to topic

No GL compositing in 4.10.1

User avatar KAMiKAZOW
Registered Member
Posts
49
Karma
-1
OS

No GL compositing in 4.10.1

Fri Mar 08, 2013 11:14 am
Hi.
I have a problem and I'm wondering if it's a mishap on my side or a bug.
Thing is, since my update from 4.10.0 to 4.10.1 I no longer have OpenGL-based compositing. KWin always reverts to XRender by default.
Other GL-using applications are not affected. Using KWIN_COMPOSE=O2 works.

I tried installing different versions of the proprietary NVidia driver but it keeps failing without KWIN_COMPOSE=O2.
mgraesslin
KDE Developer
Posts
356
Karma
4
OS

Re: No GL compositing in 4.10.1

Fri Mar 08, 2013 11:25 am
what happens if you use KWIN_COMPOSE=O1 ?
User avatar KAMiKAZOW
Registered Member
Posts
49
Karma
-1
OS

Re: No GL compositing in 4.10.1

Fri Mar 08, 2013 6:12 pm
mgraesslin wrote:what happens if you use KWIN_COMPOSE=O1 ?

Works as well. Problems only occur when I set no variable manually.
luebking
Registered Member
Posts
923
Karma
7

Re: No GL compositing in 4.10.1

Fri Mar 08, 2013 7:21 pm
run "kdebugdialog", enable "kwin (1212)", run "kwin --replace &" from konsole and post the output (when you fail into xrender)
also maybe ensure the KWIN_COMPOSE variable is not generally exported (as "X") in your environment.
User avatar KAMiKAZOW
Registered Member
Posts
49
Karma
-1
OS

Re: No GL compositing in 4.10.1

Sat Mar 09, 2013 4:21 pm
[1] 4152
kwin(4152) KActivities::ConsumerPrivate::ConsumerPrivate: We are checking whether the service is present true
kwin(4152) KActivities::ConsumerPrivate::initializeCachedData: Locking mutex for currentActivity
kwin(4152) KActivities::ConsumerPrivate::initializeCachedData: Locking mutex for listActivities
kwin(4152) KActivities::ConsumerPrivate::initializeCachedData: Locking mutex for runningActivities
kwin(4152) KWin::Extensions::init: Extensions: shape: 0x "11" composite: 0x "4" render: 0x "b" fixes: 0x "50" non_native_pixmaps: true
kwin(4152) KDecorationPlugins::canLoad: kwin : path "/usr/lib/kde4/kwin3_oxygen.so" for "kwin3_oxygen"
kwin(4152) KWin::Workspace::updateClientArea: screens: 1 desktops: 1
kwin(4152) KWin::Workspace::updateClientArea: Done.
QCoreApplication::sendPostedEvents: Cannot send posted events for objects in another thread
QCoreApplication::sendPostedEvents: Cannot send posted events for objects in another thread
kwin(4152) waitForCallFinished: Trying to lock mutex
kwin(4152) KWin::Client::readUserTimeMapTimestamp: User timestamp, ASN: 135129
kwin(4152) KWin::Client::readUserTimeMapTimestamp: User timestamp, final: 'ID: 23069288 ;WMCLASS: "plasma" : "plasma" ;Caption: "plasma-desktop" ' : 135129
kwin(4152) KWin::Workspace::allowClientActivation: Activation: No client active, allowing
kwin(4152) KWin::Workspace::updateClientArea: screens: 1 desktops: 1
kwin(4152) KWin::Workspace::updateClientArea: Done.
kwin(4152) KWin::Client::checkActivities: no activities!?!?
kwin(4152) KWin::Client::readUserTimeMapTimestamp: User timestamp, ASN: 1151697
kwin(4152) KWin::Client::readUserTimeMapTimestamp: User timestamp, final: 'ID: 60817430 ;WMCLASS: "dolphin" : "dolphin" ;Caption: "Desktop – Dolphin" ' : 1151697
kwin(4152) KWin::Workspace::allowClientActivation: Activation: No client active, allowing
kwin(4152) KWin::Workspace::updateClientArea: screens: 1 desktops: 1
kwin(4152) KWin::Workspace::updateClientArea: Done.
kwin(4152) KWin::Client::checkActivities: no activities!?!?
kwin(4152) KWin::Client::readUserTimeMapTimestamp: User timestamp, ASN: 1206757
kwin(4152) KWin::Client::readUserTimeMapTimestamp: User timestamp, final: 'ID: 109051910 ;WMCLASS: "qtr" : "qtr" ;Caption: "Transmission" ' : 1206757
kwin(4152) KWin::Workspace::allowClientActivation: Activation: No client active, allowing
kwin(4152) KWin::Workspace::updateClientArea: screens: 1 desktops: 1
kwin(4152) KWin::Workspace::updateClientArea: Done.
kwin(4152) KWin::Client::checkActivities: no activities!?!?
kwin(4152) KWin::Client::readUserTimeMapTimestamp: User timestamp, ASN: 1326471
kwin(4152) KWin::Client::readUserTimeMapTimestamp: User timestamp, final: 'ID: 104857782 ;WMCLASS: "firefox" : "navigator" ;Caption: "No GL compositing in 4.10.1 • KDE Community Forums - Mozilla Firefox" ' : 1326471
kwin(4152) KWin::Workspace::allowClientActivation: Activation: No client active, allowing
kwin(4152) KWin::Workspace::updateClientArea: screens: 1 desktops: 1
kwin(4152) KWin::Workspace::updateClientArea: Done.
kwin(4152) KWin::Client::checkActivities: no activities!?!?
kwin(4152) KWin::Client::readUserTimeMapTimestamp: User timestamp, ASN: 1364572
kwin(4152) KWin::Client::readUserTimeMapTimestamp: User timestamp, final: 'ID: 98566162 ;WMCLASS: "ktp-text-ui" : "ktp-text-ui" ;Caption: "Daniel Cota Castro" ' : 1364572
kwin(4152) KWin::Workspace::allowClientActivation: Activation: No client active, allowing
kwin(4152) KWin::Workspace::updateClientArea: screens: 1 desktops: 1
kwin(4152) KWin::Workspace::updateClientArea: Done.
kwin(4152) KWin::Client::checkActivities: no activities!?!?
kwin(4152) KWin::Client::readUserTimeMapTimestamp: User timestamp, ASN: 1373178
kwin(4152) KWin::Client::readUserTimeMapTimestamp: User timestamp, final: 'ID: 96469018 ;WMCLASS: "konsole" : "konsole" ;Caption: "xxxx : bash – Konsole" ' : 1373178
kwin(4152) KWin::Workspace::allowClientActivation: Activation: No client active, allowing
kwin(4152) KWin::Workspace::updateClientArea: screens: 1 desktops: 1
kwin(4152) KWin::Workspace::updateClientArea: Done.
kwin(4152) KWin::Client::readUserTimeMapTimestamp: User timestamp, ASN: 1344644
kwin(4152) KWin::Client::readUserTimeMapTimestamp: User timestamp, final: 'ID: 23069279 ;WMCLASS: "plasma" : "plasma" ;Caption: "plasma-desktop" ' : 1344644
kwin(4152) KWin::Workspace::allowClientActivation: Activation: No client active, allowing
kwin(4152) KWin::Workspace::updateClientArea: screens: 1 desktops: 1
kwin(4152) KWin::Workspace::updateClientArea: Done.
kwin(4152) KWin::Workspace::updateClientArea: screens: 1 desktops: 1
kwin(4152) KWin::Workspace::updateClientArea: Done.
kwin(4152) KActivities::ConsumerPrivate::listActivitiesCallFinished: Unlocked mutex
kwin(4152) KActivities::Consumer::listActivities: Returning listActivities ("4739805d-97f9-4334-9213-31168c5f77ab")
QCoreApplication::sendPostedEvents: Cannot send posted events for objects in another thread
QCoreApplication::sendPostedEvents: Cannot send posted events for objects in another thread
kwin(4152) waitForCallFinished: Trying to lock mutex
kwin(4152)/kdecore (KSycoca) KSycocaPrivate::openDatabase: Trying to open ksycoca from "/home/tmp/kdecache-xxxx/ksycoca4"
kwin(4152) KActivities::ConsumerPrivate::currentActivityCallFinished: Unlocked mutex
kwin(4152) KActivities::ConsumerPrivate::runningActivitiesCallFinished: Unlocked mutex
kwin(4152) KActivities::Consumer::currentActivity: Returning currentActivity "4739805d-97f9-4334-9213-31168c5f77ab"
kwin(4152) KWin::Compositor::slotCompositingOptionsInitialized: Initializing XRender compositing
kwin(4152) KWin::currentRefreshRate: Vertical Refresh rate 50 Hz
kwin(4152)/kdecore (KSycoca) KSycocaPrivate::openDatabase: Trying to open ksycoca from "/home/tmp/kdecache-xxxx/ksycoca4"
kwin(4152) KWin::EffectsHandlerImpl::loadEffect: Trying to load "kwin4_effect_magiclamp"
kwin(4152) KWin::EffectsHandlerImpl::loadEffect: EffectsHandler::loadEffect : Effect "kwin4_effect_magiclamp" is not supported
kwin(4152) KWin::EffectsHandlerImpl::loadEffect: Trying to load "kwin4_effect_invert"
kwin(4152) KWin::EffectsHandlerImpl::loadEffect: EffectsHandler::loadEffect : Effect "kwin4_effect_invert" is not supported
kwin(4152) KWin::EffectsHandlerImpl::loadEffect: Trying to load "kwin4_effect_blur"
kwin(4152) KWin::EffectsHandlerImpl::loadEffect: EffectsHandler::loadEffect : Effect "kwin4_effect_blur" is not supported
kwin(4152) KWin::EffectsHandlerImpl::loadEffect: Trying to load "kwin4_effect_diminactive"
kwin(4152) KWin::EffectsHandlerImpl::loadEffect: Trying to load "kwin4_effect_desktopgrid"
kwin(4152) KWin::EffectsHandlerImpl::loadEffect: Trying to load "kwin4_effect_fade"
kwin(4152) KWin::EffectsHandlerImpl::loadEffect: Trying to load "kwin4_effect_presentwindows"
kwin(4152) KWin::EffectsHandlerImpl::loadEffect: Trying to load "kwin4_effect_dashboard"
kwin(4152) KWin::EffectsHandlerImpl::loadEffect: Trying to load "kwin4_effect_login"
kwin(4152) KWin::EffectsHandlerImpl::loadEffect: Trying to load "kwin4_effect_startupfeedback"
kwin(4152) KWin::EffectsHandlerImpl::loadEffect: EffectsHandler::loadEffect : Effect "kwin4_effect_startupfeedback" is not supported
kwin(4152) KWin::EffectsHandlerImpl::loadEffect: Trying to load "kwin4_effect_outline"
kwin(4152) KWin::EffectsHandlerImpl::loadEffect: Trying to load "kwin4_effect_taskbarthumbnail"
kwin(4152) KWin::EffectsHandlerImpl::loadEffect: Trying to load "kwin4_effect_logout"
kwin(4152) KWin::EffectsHandlerImpl::loadEffect: Trying to load "kwin4_effect_screenshot"
kwin(4152) KWin::EffectsHandlerImpl::loadEffect: Trying to load "kwin4_effect_translucency"
kwin(4152) KWin::EffectsHandlerImpl::loadEffect: Trying to load "kwin4_effect_highlightwindow"
kwin(4152) KWin::EffectsHandlerImpl::loadEffect: Trying to load "kwin4_effect_dialogparent"
kwin(4152) KWin::EffectsHandlerImpl::loadEffect: Trying to load "kwin4_effect_coverswitch"
kwin(4152) KWin::EffectsHandlerImpl::loadEffect: EffectsHandler::loadEffect : Effect "kwin4_effect_coverswitch" is not supported
luebking
Registered Member
Posts
923
Karma
7

Re: No GL compositing in 4.10.1

Sat Mar 09, 2013 4:26 pm
It doesn't seem to even try to use the GL backend
Code: Select all
kreadconfig --file kwinrc --group Compositing --key Backend
User avatar KAMiKAZOW
Registered Member
Posts
49
Karma
-1
OS

Re: No GL compositing in 4.10.1

Mon Mar 11, 2013 5:13 pm
I accidentally forgot to open the KCM and try to set OpenGL again to let it fail into XRender. However for whatever reason it works again just fine. Maybe a package from one of my openSUSE add-on repos was broken because I later noticed that the OpenGL Settings pane from nvidia-settings crashed as well…

Thanks for your support. :-)
luebking
Registered Member
Posts
923
Karma
7

Re: No GL compositing in 4.10.1

Mon Mar 11, 2013 5:43 pm
Please mark the topic as solved then :)
User avatar KAMiKAZOW
Registered Member
Posts
49
Karma
-1
OS

Re: No GL compositing in 4.10.1

Wed Mar 13, 2013 2:31 pm
Happened again, this time KWin even crashed the first time. Could it be that it's the driver's fault?

Application: KWin (kwin), signal: Segmentation fault
Using host libthread_db library "/lib/libthread_db.so.1".
[KCrash Handler]
#7 0x00000000 in ?? ()
#8 0xb63f9132 in load (fragmentSource=..., vertexSource=..., this=0x9339c28) at /usr/src/debug/kde-workspace-4.10.1/kwin/libkwineffects/kwinglutils.cpp:370
#9 KWin::GLShader::load (this=0x9339c28, vertexSource=..., fragmentSource=...) at /usr/src/debug/kde-workspace-4.10.1/kwin/libkwineffects/kwinglutils.cpp:359
#10 0xb63f991e in KWin::GLShader::loadFromFiles (this=this@entry=0x9339c28, vertexFile=..., fragmentFile=...) at /usr/src/debug/kde-workspace-4.10.1/kwin/libkwineffects/kwinglutils.cpp:302
#11 0xb63f9cf5 in KWin::GLShader::GLShader (this=0x9339c28, vertexfile=..., fragmentfile=...) at /usr/src/debug/kde-workspace-4.10.1/kwin/libkwineffects/kwinglutils.cpp:276
#12 0xb63f8316 in KWin::ShaderManager::initShaders (this=this@entry=0x92f8b60) at /usr/src/debug/kde-workspace-4.10.1/kwin/libkwineffects/kwinglutils.cpp:816
#13 0xb63f8968 in KWin::ShaderManager::instance () at /usr/src/debug/kde-workspace-4.10.1/kwin/libkwineffects/kwinglutils.cpp:630
#14 0xb7661ed9 in KWin::SceneOpenGL2::SceneOpenGL2 (this=0x9306900, backend=0x936e8b0) at /usr/src/debug/kde-workspace-4.10.1/kwin/scene_opengl.cpp:490
#15 0xb7663032 in KWin::SceneOpenGL::createScene () at /usr/src/debug/kde-workspace-4.10.1/kwin/scene_opengl.cpp:243
#16 0xb764ee35 in KWin::Compositor::slotCompositingOptionsInitialized (this=0x93117d8) at /usr/src/debug/kde-workspace-4.10.1/kwin/composite.cpp:206
#17 0xb75ca648 in qt_static_metacall (_a=0xbf868cfc, _id=14, _o=0x93117d8, _c=<optimized out>) at /usr/src/debug/kde-workspace-4.10.1/build/kwin/moc_composite.cpp:113
#18 KWin::Compositor::qt_static_metacall (_o=_o@entry=0x93117d8, _c=_c@entry=QMetaObject::InvokeMetaMethod, _id=_id@entry=14, _a=0xbf868cfc) at /usr/src/debug/kde-workspace-4.10.1/build/kwin/moc_composite.cpp:93
#19 0xb5e5a9d2 in QMetaObject::activate (sender=0x930f498, m=0xb5fac800 <QFutureWatcherBase::staticMetaObject>, local_signal_index=1, argv=0x0) at kernel/qobject.cpp:3548
#20 0xb5ea8385 in QFutureWatcherBase::finished (this=0x930f498) at .moc/release-shared/moc_qfuturewatcher.cpp:141
#21 0xb5d1f38c in QFutureWatcherBasePrivate::sendCallOutEvent (this=this@entry=0x93069a8, event=event@entry=0xad600480) at concurrent/qfuturewatcher.cpp:439
#22 0xb5d1f692 in QFutureWatcherBase::event (this=0x930f498, event=0xad600480) at concurrent/qfuturewatcher.cpp:344
#23 0xb5311b9c in QApplicationPrivate::notify_helper (this=0x91e0ea0, receiver=0x930f498, e=0xad600480) at kernel/qapplication.cpp:4562
#24 0xb531659f in QApplication::notify (this=0xad600480, receiver=0x930f498, e=0xad600480) at kernel/qapplication.cpp:3944
#25 0xb71a00f1 in KApplication::notify (this=0xbf869578, receiver=0x930f498, event=0xad600480) at /usr/src/debug/kdelibs-4.10.1/kdeui/kernel/kapplication.cpp:311
#26 0xb75f762f in notify (e=0xad600480, o=0x930f498, this=0xbf869578) at /usr/src/debug/kde-workspace-4.10.1/kwin/main.cpp:371
#27 KWin::Application::notify (this=0xbf869578, o=0x930f498, e=0xad600480) at /usr/src/debug/kde-workspace-4.10.1/kwin/main.cpp:367
#28 0xb5e4267e in QCoreApplication::notifyInternal (this=0xbf869578, receiver=0x930f498, event=0xad600480) at kernel/qcoreapplication.cpp:946
#29 0xb5e463cd in sendEvent (event=<optimized out>, receiver=<optimized out>) at kernel/qcoreapplication.h:231
#30 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x913a130) at kernel/qcoreapplication.cpp:1570
#31 0xb5e4664c in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1463
#32 0xb53c430d in sendPostedEvents () at ../../src/corelib/kernel/qcoreapplication.h:236
#33 QEventDispatcherX11::processEvents (this=0x913d998, flags=...) at kernel/qeventdispatcher_x11.cpp:75
#34 0xb5e4114c in QEventLoop::processEvents (this=this@entry=0xbf8693f8, flags=...) at kernel/qeventloop.cpp:149
#35 0xb5e41441 in QEventLoop::exec (this=0xbf8693f8, flags=...) at kernel/qeventloop.cpp:204
#36 0xb5e466fa in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#37 0xb530fa14 in QApplication::exec () at kernel/qapplication.cpp:3823
#38 0xb75fa0b1 in kdemain (argc=3, argv=0xbf869664) at /usr/src/debug/kde-workspace-4.10.1/kwin/main.cpp:537
#39 0x080485bb in main (argc=3, argv=0xbf869664) at /usr/src/debug/kde-workspace-4.10.1/build/kwin/kwin_dummy.cpp:3
mgraesslin
KDE Developer
Posts
356
Karma
4
OS

Re: No GL compositing in 4.10.1

Wed Mar 13, 2013 2:44 pm
driver bug. The crashy line of code:

mProgram = glCreateProgram();
User avatar KAMiKAZOW
Registered Member
Posts
49
Karma
-1
OS

Re: No GL compositing in 4.10.1

Wed Mar 13, 2013 8:18 pm
mgraesslin wrote:driver bug. The crashy line of code:

mProgram = glCreateProgram();

In case somebody else encounters the problem: The 304.x series of NVidia drivers works, 310.x and 313.x are (currently) buggy – at least with GeForce 9200M…

 
Reply to topic

Bookmarks



Who is online

Registered users: atrox, Baidu [Spider], bcooksley, Bing [Bot], bshah, Exabot [Bot], garthecho, Google [Bot], ingwa, ken300, koriun, Majestic-12 [Bot], normcross, ooker, pholmes, TheraHedwig, vascobasque, Yahoo [Bot]