Bug#886405: bumblebee-nvidia: optirun/primus seems to work, but no display output
Brainslug
brainslug at freakmail.de
Fri Jan 5 13:25:57 UTC 2018
Package: bumblebee-nvidia
Version: 3.2.1-17
Severity: normal
Dear Maintainer,
I am trying to get optirun/primusrun to work on a Dell Precision M4800
laptop which has Optimus capabilities and the following hardware:
brainslug at m4800:~$ lspci
...
00:02.0 VGA compatible controller: Intel Corporation 4th Gen Core
Processor Integrated Graphics Controller (rev 06)
...
01:00.0 VGA compatible controller: NVIDIA Corporation GK107GLM [Quadro
K1100M] (rev ff)
I've installed bumblebee-nvidia and primus packages 3.2.1-17, running
kernel 4.14.0-2-amd64, no multi-arch, Debian testing. No external
displays connected, only internal laptop display used.
optirun/primusrun seems to work for some programs, like darktable &
bash, but for most programs I don't get any display output, examples
include firefox, glxgears, glxinfo.
According to syslog the Nvidia card gets activated and I can see that
/proc/acpi/bbswitch changes from "OFF" to "ON" during
a primusrun/optirun attempt. I just don't see the program output.
Some debug info below - if this bug report should be filed against
another package, please let me know. Any help would be much appreciated.
Initial state:
brainslug at m4800:~$ cat /proc/acpi/bbswitch
0000:01:00.0 OFF
then
brainslug at m4800:~$ optirun -v glxinfo
[ 552.198375] [INFO]Response: Yes. X is active.
[ 552.198392] [INFO]Running application using primus.
^C[ 605.131876] [WARN]Received Interrupt signal.
while running, this in other shell:
brainslug at m4800:~$ cat /proc/acpi/bbswitch
0000:01:00.0 ON
Then after the command is terminated via Ctrl-C:
brainslug at m4800:~$ cat /proc/acpi/bbswitch
0000:01:00.0 OFF
from syslog:
Jan 6 02:09:17 m4800 kernel: [ 550.267976] bbswitch: enabling discrete
graphics
Jan 6 02:09:18 m4800 kernel: [ 551.049385] nvidia 0000:01:00.0:
vgaarb: changed VGA decodes: olddecodes=none,decodes=none:owns=none
Jan 6 02:09:18 m4800 kernel: [ 551.049448] nvidia-nvlink: Nvlink Core
is being initialized, major device number 243
Jan 6 02:09:18 m4800 kernel: [ 551.049456] NVRM: loading NVIDIA UNIX
x86_64 Kernel Module 375.82 Wed Jul 19 21:16:49 PDT 2017 (using threaded \
interrupts)
Jan 6 02:09:19 m4800 acpid: client connected from 3275[0:999]
Jan 6 02:09:19 m4800 acpid: 1 client rule loaded
Jan 6 02:09:19 m4800 kernel: [ 551.788227] nvidia-modeset: Loading
NVIDIA Kernel Mode Setting Driver for UNIX platforms 375.82 Wed Jul 19
20:3\
5:11 PDT 2017
Jan 6 02:09:19 m4800 bumblebeed[992]: [ 552.198276] [WARN][XORG] (WW)
`fonts.dir' not found (or not valid) in "/usr/share/fonts/X11/Type1".
Jan 6 02:09:19 m4800 bumblebeed[992]: [ 552.198293] [WARN][XORG] (WW)
NVIDIA(0): Unable to get display device for DPI computation.
Jan 6 02:09:19 m4800 bumblebeed[992]: [ 552.198301] [ERROR][XORG] (EE)
PreInit returned 2 for "<default keyboard>"
Jan 6 02:10:12 m4800 kernel: [ 605.250609] nvidia-modeset: Unloading
Jan 6 02:10:12 m4800 acpid: client 3275[0:999] has disconnected
Jan 6 02:10:12 m4800 kernel: [ 605.283041] nvidia-nvlink: Unregistered
the Nvlink Core, major device number 243
Jan 6 02:10:12 m4800 kernel: [ 605.316555] bbswitch: disabling
discrete graphics
Jan 6 02:10:12 m4800 kernel: [ 605.334899] pci 0000:01:00.0: Refused
to change power state, currently in D0
I've also tried to specify the display explicitly, like so:
brainslug at m4800:~$ optirun -v -d :0 -b primus glxinfo
but the results are the same -- no glxinfo output.
-- System Information:
Debian Release: buster/sid
APT prefers testing
APT policy: (800, 'testing'), (690, 'unstable'), (680, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 4.14.0-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8),
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages bumblebee-nvidia depends on:
ii bumblebee 3.2.1-17
ii glx-alternative-nvidia 0.8.0
ii nvidia-kernel-dkms 375.82-7
bumblebee-nvidia recommends no packages.
bumblebee-nvidia suggests no packages.
-- no debconf information
More information about the pkg-nvidia-devel
mailing list