Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Plasma 5 (plasmashell) crashed with Nvidia Optimus
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Xywa
Veteran
Veteran


Joined: 23 Jul 2005
Posts: 1575
Location: /mnt/Gentoo/Europe

PostPosted: Fri Mar 11, 2016 2:45 pm    Post subject: Plasma 5 (plasmashell) crashed with Nvidia Optimus Reply with quote

Hi,
I have spent few hours to find what is going wrong, so... I use ~amd64 Gentoo with Plasma 5 and Nvidia Optimus.

[1] When I type from text console "startx" and when I use Nvidia Opengl with /etc/X11/xorg.conf ...X starts with black screen, then after few seconds I could see kontact and stretched window (see first photo) from kwallet, but there is NO desktop, only black screen.
http://s15.postimg.org/mxe7s6c7v/blad.jpg

[2] The same configuration like above, but without etc/X11/xorg.conf give similair result - only kontact + kwallet window - but this time kwallet window has normal size (see second photo) - there is no desktop (black screen), but this time I have an error plasmashell crashed (see log bellow).
http://s15.postimg.org/mxe7s6c7v/blad.jpg

Code:
Application: Plasma (plasmashell), signal: Aborted
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f8a85971740 (LWP 4575))]

Thread 5 (Thread 0x7f8a645c5700 (LWP 4593)):
#0  0x00007f8a7c0c2fc2 in ?? () from /usr/lib64/libglib-2.0.so.0
#1  0x00007f8a7c0c545b in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f8a7c0c5e5b in ?? () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f8a7c0c603c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#4  0x00007f8a80a95cbb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#5  0x00007f8a80a47cba in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#6  0x00007f8a808a2b24 in QThread::exec() () from /usr/lib64/libQt5Core.so.5
#7  0x00007f8a82fe94e5 in ?? () from /usr/lib64/libQt5Qml.so.5
#8  0x00007f8a808a7142 in ?? () from /usr/lib64/libQt5Core.so.5
#9  0x00007f8a7f9d9434 in start_thread () from /lib64/libpthread.so.0
#10 0x00007f8a801d128d in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7f8a5afe6700 (LWP 4594)):
#0  0x00007f8a801c82cd in poll () from /lib64/libc.so.6
#1  0x00007f8a7c0c5f2c in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f8a7c0c603c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f8a80a95cbb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#4  0x00007f8a80a47cba in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#5  0x00007f8a808a2b24 in QThread::exec() () from /usr/lib64/libQt5Core.so.5
#6  0x00007f8a82fe94e5 in ?? () from /usr/lib64/libQt5Qml.so.5
#7  0x00007f8a808a7142 in ?? () from /usr/lib64/libQt5Core.so.5
#8  0x00007f8a7f9d9434 in start_thread () from /lib64/libpthread.so.0
#9  0x00007f8a801d128d in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7f8a59dae700 (LWP 4595)):
#0  0x00007f8a7c10a4a4 in g_mutex_unlock () from /usr/lib64/libglib-2.0.so.0
#1  0x00007f8a7c0c6046 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f8a80a95cbb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#3  0x00007f8a80a47cba in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#4  0x00007f8a808a2b24 in QThread::exec() () from /usr/lib64/libQt5Core.so.5
#5  0x00007f8a82fe94e5 in ?? () from /usr/lib64/libQt5Qml.so.5
#6  0x00007f8a808a7142 in ?? () from /usr/lib64/libQt5Core.so.5
#7  0x00007f8a7f9d9434 in start_thread () from /lib64/libpthread.so.0
#8  0x00007f8a801d128d in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f8a53fff700 (LWP 4599)):
#0  0x00007f8a7f9defcf in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f8a853a7094 in ?? () from /usr/lib64/libQt5Script.so.5
#2  0x00007f8a853a70d9 in ?? () from /usr/lib64/libQt5Script.so.5
#3  0x00007f8a7f9d9434 in start_thread () from /lib64/libpthread.so.0
#4  0x00007f8a801d128d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f8a85971740 (LWP 4575)):
[KCrash Handler]
#6  0x00007f8a8011b308 in raise () from /lib64/libc.so.6
#7  0x00007f8a8011c75a in abort () from /lib64/libc.so.6
#8  0x00007f8a80896d29 in QMessageLogger::fatal(char const*, ...) const () from /usr/lib64/libQt5Core.so.5
#9  0x00007f8a839dcfc1 in QSGRenderLoop::handleContextCreationFailure(QQuickWindow*, bool) () from /usr/lib64/libQt5Quick.so.5
#10 0x00007f8a839ddfd5 in ?? () from /usr/lib64/libQt5Quick.so.5
#11 0x00007f8a839def66 in ?? () from /usr/lib64/libQt5Quick.so.5
#12 0x00007f8a80d6f3b5 in QWindow::event(QEvent*) () from /usr/lib64/libQt5Gui.so.5
#13 0x00007f8a83a182f1 in QQuickWindow::event(QEvent*) () from /usr/lib64/libQt5Quick.so.5
#14 0x000000000043e796 in DesktopView::event(QEvent*) ()
#15 0x00007f8a8143da1c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#16 0x00007f8a81442e96 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#17 0x00007f8a80a48dbd in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/libQt5Core.so.5
#18 0x00007f8a80d67c5c in QGuiApplicationPrivate::processExposeEvent(QWindowSystemInterfacePrivate::ExposeEvent*) () from /usr/lib64/libQt5Gui.so.5
#19 0x00007f8a80d689bd in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () from /usr/lib64/libQt5Gui.so.5
#20 0x00007f8a80d50af8 in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Gui.so.5
#21 0x00007f8a70776e80 in ?? () from /usr/lib64/libQt5XcbQpa.so.5
#22 0x00007f8a7c0c5d37 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#23 0x00007f8a7c0c5f90 in ?? () from /usr/lib64/libglib-2.0.so.0
#24 0x00007f8a7c0c603c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#25 0x00007f8a80a95c9f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#26 0x00007f8a80a47cba in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#27 0x00007f8a80a4ee4c in QCoreApplication::exec() () from /usr/lib64/libQt5Core.so.5
#28 0x000000000043228a in main ()
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 6827
Location: Austria

PostPosted: Fri Mar 11, 2016 4:22 pm    Post subject: Reply with quote

Does it work if only one of your GPUs is active?
_________________
backend.cpp:92:2: warning: #warning TODO - this error message is about as useful as a cooling unit in the arctic
Back to top
View user's profile Send private message
Xywa
Veteran
Veteran


Joined: 23 Jul 2005
Posts: 1575
Location: /mnt/Gentoo/Europe

PostPosted: Sat Mar 12, 2016 12:56 pm    Post subject: Reply with quote

genstorm wrote:
Does it work if only one of your GPUs is active?


When I switch into xorg-x11 opengl and delete xorg.conf, everything works fine.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum