← Back to team overview

bumblebee team mailing list archive

Re: Bumblebee bug report

 

Hi Lee,

On Wednesday 30 October 2013 01:30:41 Lee Yeoh wrote:
> Distro: (K)ubuntu 13.10
> Kernel: Linux lee-XPS-17 3.11.0-12-generic #19-Ubuntu SMP Wed Oct 9
> 16:20:46 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
> Manufacturer and model
> 
> > baseboard-manufacturer: Dell Inc.
> > baseboard-product-name: 0XN71K
> > baseboard-version : FAB1
> > system-manufacturer : Dell Inc.
> > system-product-name : Dell System XPS L702X
> > system-version : Not Specified
> > bios-vendor : Dell Inc.
> > bios-version : A19
> > bios-release-date : 09/07/2012
> 
> Bumblebee version
> 
> > optirun (Bumblebee) 3.2.1
> > Copyright (C) 2011 The Bumblebee Project
> > License GPLv3+: GNU GPL version 3 or later
> > <http://gnu.org/licenses/gpl.html>.
> > This is free software: you are free to change and redistribute it.
> > There is NO WARRANTY, to the extent permitted by law.
> 
> I used to play Team Fortress 2 via optirun with no problems. However, a
> recent update from (K)ubuntu 13.04 to 13.10 created some problems. Now,
> it slows down incredibly every 10–20 minutes or so. For about 10
> seconds, fps drops to 2–3 of frames per second. CPU usage seems low
> during these moments. In addition, tonight I had the program freeze for
> about 10 seconds, then drop to 1 frame per second for several minutes.
> It was similar to when I originally troubleshooted optirun options, and
> accidentally played the game from the Intel card, so I checked if
> optirun was running.

Sounds like something got stuck in the drivers.

> > $ optirun --status
> > Bumblebee status: Error (3.2.1): [XORG] (EE) BUG: triggered 'if
> > (inSignalContext)'
> 
> Hence, it seemed that optirun had stopped working, as normally I get

The full message from /var/log/Xorg.8.log:

(EE) BUG: triggered 'if (inSignalContext)'
(EE) BUG: ../../os/log.c:599 in LogVMessageVerb()
(EE) Warning: attempting to log data in a signal unsafe manner while in signal 
context.
Please update to check inSignalContext and/or use LogMessageVerbSigSafe() or 
ErrorFSigSafe().
The offending log format message is:
3rd Button detected: disabling emulate3Button

(EE) 
(EE) Backtrace:
(EE) 0: Xorg (xorg_backtrace+0x3d) [0x7f3cfa49002d]
(EE) 1: Xorg (LogVMessageVerb+0x165) [0x7f3cfa49c195]
(EE) 2: Xorg (xf86Msg+0x8f) [0x7f3cfa38c5bf]
(EE) 3: /usr/lib/xorg/modules/input/mouse_drv.so (0x7f3cf31d6000+0x6adb) 
[0x7f3cf31dcadb]
(EE) 4: /usr/lib/xorg/modules/input/mouse_drv.so (0x7f3cf31d6000+0x6e3e) 
[0x7f3cf31dce3e]
(EE) 5: /usr/lib/xorg/modules/input/mouse_drv.so (0x7f3cf31d6000+0x4024) 
[0x7f3cf31da024]
(EE) 6: Xorg (0x7f3cfa2ee000+0x91af8) [0x7f3cfa37faf8]
(EE) 7: Xorg (0x7f3cfa2ee000+0xba520) [0x7f3cfa3a8520]
(EE) 8: /lib/x86_64-linux-gnu/libpthread.so.0 (0x7f3cf93ee000+0xfbb0) 
[0x7f3cf93fdbb0]
(EE) 9: /lib/x86_64-linux-gnu/libc.so.6 (__select+0x13) [0x7f3cf80fadc3]
(EE) 10: Xorg (WaitForSomething+0x19c) [0x7f3cfa48d5ec]
(EE) 11: Xorg (0x7f3cfa2ee000+0x54d61) [0x7f3cfa342d61]
(EE) 12: Xorg (0x7f3cfa2ee000+0x4456a) [0x7f3cfa33256a]
(EE) 13: /lib/x86_64-linux-gnu/libc.so.6 (__libc_start_main+0xf5) 
[0x7f3cf8029de5]
(EE) 14: Xorg (0x7f3cfa2ee000+0x448af) [0x7f3cfa3328af]

This seems to be related to your Xorg mouse driver.

> > $ optirun --status
> > Bumblebee status: Ready (3.2.1). X is PID 22937, 1 applications using
> > bumblebeed.
> 
> FWIW, if I have no optirun applications running, I always get the first
> message.
> 
> Also, I'm not sure if important, but I run the game with
> 
> > LD_PRELOAD="libpthread.so.0 libGL.so.1" __GL_THREADED_OPTIMIZATIONS=1
> > optirun %command%

This is probably from the wrapper around TF2, it is not harmful.

As for the solution, I have no idea, try different versions of the nvidia 
driver, remove the xorg-xserver-input-mouse (or something like that) package 
or ask other people with the same issues.

Kind regards,
Peter



Follow ups

References