You are not logged in.

#1 2014-08-30 16:22:34

buntolo
Member
Registered: 2011-10-11
Posts: 202

Bumblebee not working

Pages read:
https://wiki.archlinux.org/index.php/Bu … l.2FNVIDIA
https://bbs.archlinux.org/viewtopic.php … 9#p1178729
https://bbs.archlinux.org/viewtopic.php?id=159666

And many other threads too old and different to be useful.
My system:

$ uname -a
Linux biscottyno 3.15.7-1-ARCH #1 SMP PREEMPT Mon Jul 28 20:06:17 CEST 2014 x86_64 GNU/Linux

$ lspci | grep -i nvidia
01:00.0 3D controller: NVIDIA Corporation GM107M [GeForce GTX 860M] (rev a2)

$ pacman -Q linux intel-dri xf86-video-intel bumblebee nvidia lib32-nvidia-utils lib32-intel-dri bbswitch
linux 3.16.1-1
intel-dri 10.2.6-1
xf86-video-intel 2.99.914-4
bumblebee 3.2.1-3
nvidia 340.32-1
lib32-nvidia-utils 340.32-1
lib32-intel-dri 10.2.6-1
bbswitch 0.8-15

Kernel version is not matching in uname and pacman, as well in:

$ ls -a /lib/modules
.   3.15.7-1-ARCH  extramodules-3.15-ARCH
..  3.16.1-1-ARCH  extramodules-3.16-ARCH

I think I have to update GRUB from the debian partition. I'll check now.

I installed bumblebee with:

sudo pacman -S intel-dri xf86-video-intel bumblebee nvidia lib32-nvidia-utils lib32-intel-dri

Anyway wiki doesn't suggest to install bbswitch, which I think is essential, so I've installed it as well.

I've configured bumblebee:

$ cat /etc/bumblebee/bumblebee.conf
# Configuration file for Bumblebee. Values should **not** be put between quotes

## Server options. Any change made in this section will need a server restart
# to take effect.
[bumblebeed]
# The secondary Xorg server DISPLAY number
VirtualDisplay=:8
# Should the unused Xorg server be kept running? Set this to true if waiting
# for X to be ready is too long and don't need power management at all.
KeepUnusedXServer=false
# The name of the Bumbleblee server group name (GID name)
ServerGroup=bumblebee
# Card power state at exit. Set to false if the card shoud be ON when Bumblebee
# server exits.
TurnCardOffAtExit=false
# The default behavior of '-f' option on optirun. If set to "true", '-f' will
# be ignored.
NoEcoModeOverride=false
# The Driver used by Bumblebee server. If this value is not set (or empty),
# auto-detection is performed. The available drivers are nvidia and nouveau
# (See also the driver-specific sections below)
Driver=nvidia
# Directory with a dummy config file to pass as a -configdir to secondary X
XorgConfDir=/etc/bumblebee/xorg.conf.d

## Client options. Will take effect on the next optirun executed.
[optirun]
# Acceleration/ rendering bridge, possible values are auto, virtualgl and
# primus.
Bridge=auto
# The method used for VirtualGL to transport frames between X servers.
# Possible values are proxy, jpeg, rgb, xv and yuv.
VGLTransport=proxy
# List of paths which are searched for the primus libGL.so.1 when using
# the primus bridge
PrimusLibraryPath=/usr/lib/primus:/usr/lib32/primus
# Should the program run under optirun even if Bumblebee server or nvidia card
# is not available?
AllowFallbackToIGC=false


# Driver-specific settings are grouped under [driver-NAME]. The sections are
# parsed if the Driver setting in [bumblebeed] is set to NAME (or if auto-
# detection resolves to NAME).
# PMMethod: method to use for saving power by disabling the nvidia card, valid
# values are: auto - automatically detect which PM method to use
#         bbswitch - new in BB 3, recommended if available
#       switcheroo - vga_switcheroo method, use at your own risk
#             none - disable PM completely
# https://github.com/Bumblebee-Project/Bumblebee/wiki/Comparison-of-PM-methods

## Section with nvidia driver specific options, only parsed if Driver=nvidia
[driver-nvidia]
# Module name to load, defaults to Driver if empty or unset
KernelDriver=nvidia
PMMethod=bbswitch
# colon-separated path to the nvidia libraries
LibraryPath=/usr/lib/nvidia:/usr/lib32/nvidia
# comma-separated path of the directory containing nvidia_drv.so and the
# default Xorg modules path
XorgModulePath=/usr/lib/nvidia/xorg/,/usr/lib/xorg/modules
XorgConfFile=/etc/bumblebee/xorg.conf.nvidia

## Section with nouveau driver specific options, only parsed if Driver=nouveau
#[driver-nouveau]
#KernelDriver=nouveau
#PMMethod=auto
#XorgConfFile=/etc/bumblebee/xorg.conf.nouveau

I've commented out every line in /etc/X11/xorg.conf.d/30-intel.conf (the nVIDIA line were an experiment):

$ cat /etc/X11/xorg.conf.d/30-intel.conf 
# Posizione originale /etc/X11/xorg.conf.d/30-intel.conf

#Section "Device"
#   Identifier  "Intel Graphics"
#   Driver      "intel"
#   Option      "TearFree"    "true"
#EndSection

#Section "Device"
#    Identifier "nvidiagpu1"
#    Driver "nvidia"
#    BusID "PCI:01:00.0"
#EndSection

Configuration done, now I try bumblebee with glxgears:

$ optirun glxgears
[  290.027113] [ERROR]The Bumblebee daemon has not been started yet or the socket path /var/run/bumblebee.socket was incorrect.
[  290.027133] [ERROR]Could not connect to bumblebee daemon - is it running?

Checking bumblebeed:

$ systemctl status bumblebeed
● bumblebeed.service - Bumblebee C Daemon
   Loaded: loaded (/usr/lib/systemd/system/bumblebeed.service; enabled)
   Active: activating (auto-restart) (Result: exit-code) since sab 2014-08-30 17:56:02 CEST; 45s ago
  Process: 806 ExecStart=/usr/bin/bumblebeed (code=exited, status=1/FAILURE)
 Main PID: 806 (code=exited, status=1/FAILURE)

ago 30 17:56:02 biscottyno systemd[1]: Unit bumblebeed.service entered fail...e.
Hint: Some lines were ellipsized, use -l to show in full.

Reading 'journalctl -b':
Here is when Bumblebee is started.

ago 30 17:55:02 biscottyno systemd[1]: Starting Initialize hardware monitoring sensors...
ago 30 17:55:02 biscottyno systemd[1]: Starting dhcpcd on all interfaces...
ago 30 17:55:02 biscottyno systemd[1]: Starting Login Service...
ago 30 17:55:02 biscottyno systemd[1]: Starting Bumblebee C Daemon...
ago 30 17:55:02 biscottyno systemd[1]: Started Bumblebee C Daemon.
ago 30 17:55:02 biscottyno systemd[1]: Starting D-Bus System Message Bus...
ago 30 17:55:02 biscottyno systemd[1]: Started D-Bus System Message Bus.

Here are the failed attempts.

ago 30 17:55:02 biscottyno systemd[1]: bumblebeed.service: main process exited, code=exited, status=1/FAILURE
ago 30 17:55:02 biscottyno systemd[1]: Unit bumblebeed.service entered failed state.
ago 30 17:55:02 biscottyno systemd[1]: Started Initialize hardware monitoring sensors.
ago 30 17:55:02 biscottyno systemd[1]: Starting Authorization Manager...
ago 30 17:55:02 biscottyno bumblebeed[321]: modprobe: FATAL: Module bbswitch not found.
[...]
ago 30 17:56:02 biscottyno systemd[1]: bumblebeed.service holdoff time over, scheduling restart.
ago 30 17:56:02 biscottyno systemd[1]: Stopping Bumblebee C Daemon...
ago 30 17:56:02 biscottyno systemd[1]: Starting Bumblebee C Daemon...
ago 30 17:56:02 biscottyno systemd[1]: Started Bumblebee C Daemon.
ago 30 17:56:02 biscottyno bumblebeed[806]: modprobe: FATAL: Module bbswitch not found.
ago 30 17:56:02 biscottyno bumblebeed[806]: [   63.553397] [ERROR]Module bbswitch could not be loaded (timeout?)
ago 30 17:56:02 biscottyno bumblebeed[806]: [   63.553410] [WARN]No switching method available. The dedicated card will always be on.
ago 30 17:56:02 biscottyno bumblebeed[806]: [   63.554074] [ERROR]Module 'nvidia' is not found.
ago 30 17:56:02 biscottyno systemd[1]: bumblebeed.service: main process exited, code=exited, status=1/FAILURE
ago 30 17:56:02 biscottyno systemd[1]: Unit bumblebeed.service entered failed state.
ago 30 17:57:02 biscottyno systemd[1]: bumblebeed.service holdoff time over, scheduling restart.
ago 30 17:57:02 biscottyno systemd[1]: Stopping Bumblebee C Daemon...
ago 30 17:57:02 biscottyno systemd[1]: Starting Bumblebee C Daemon...
ago 30 17:57:02 biscottyno systemd[1]: Started Bumblebee C Daemon.
ago 30 17:57:02 biscottyno bumblebeed[846]: modprobe: FATAL: Module bbswitch not found.
ago 30 17:57:02 biscottyno bumblebeed[846]: [  123.584265] [ERROR]Module bbswitch could not be loaded (timeout?)
ago 30 17:57:02 biscottyno bumblebeed[846]: [  123.584277] [WARN]No switching method available. The dedicated card will always be on.
ago 30 17:57:02 biscottyno bumblebeed[846]: [  123.584973] [ERROR]Module 'nvidia' is not found.
ago 30 17:57:02 biscottyno systemd[1]: bumblebeed.service: main process exited, code=exited, status=1/FAILURE
ago 30 17:57:02 biscottyno systemd[1]: Unit bumblebeed.service entered failed state.
ago 30 17:58:02 biscottyno systemd[1]: bumblebeed.service holdoff time over, scheduling restart.
ago 30 17:58:02 biscottyno systemd[1]: Stopping Bumblebee C Daemon...
ago 30 17:58:02 biscottyno systemd[1]: Starting Bumblebee C Daemon...
ago 30 17:58:02 biscottyno systemd[1]: Started Bumblebee C Daemon.
ago 30 17:58:02 biscottyno bumblebeed[872]: modprobe: FATAL: Module bbswitch not found.
ago 30 17:58:02 biscottyno bumblebeed[872]: [  183.834661] [ERROR]Module bbswitch could not be loaded (timeout?)
ago 30 17:58:02 biscottyno bumblebeed[872]: [  183.834674] [WARN]No switching method available. The dedicated card will always be on.
ago 30 17:58:02 biscottyno bumblebeed[872]: [  183.835367] [ERROR]Module 'nvidia' is not found.
ago 30 17:58:02 biscottyno systemd[1]: bumblebeed.service: main process exited, code=exited, status=1/FAILURE
ago 30 17:58:02 biscottyno systemd[1]: Unit bumblebeed.service entered failed state.
ago 30 17:59:03 biscottyno systemd[1]: bumblebeed.service holdoff time over, scheduling restart.
ago 30 17:59:03 biscottyno systemd[1]: Stopping Bumblebee C Daemon...
ago 30 17:59:03 biscottyno systemd[1]: Starting Bumblebee C Daemon...
ago 30 17:59:03 biscottyno systemd[1]: Started Bumblebee C Daemon.
ago 30 17:59:03 biscottyno bumblebeed[889]: modprobe: FATAL: Module bbswitch not found.
ago 30 17:59:03 biscottyno bumblebeed[889]: [  244.084319] [ERROR]Module bbswitch could not be loaded (timeout?)
ago 30 17:59:03 biscottyno bumblebeed[889]: [  244.084328] [WARN]No switching method available. The dedicated card will always be on.
ago 30 17:59:03 biscottyno bumblebeed[889]: [  244.085023] [ERROR]Module 'nvidia' is not found.
ago 30 17:59:03 biscottyno systemd[1]: bumblebeed.service: main process exited, code=exited, status=1/FAILURE
ago 30 17:59:03 biscottyno systemd[1]: Unit bumblebeed.service entered failed state.
ago 30 18:00:03 biscottyno systemd[1]: bumblebeed.service holdoff time over, scheduling restart.
ago 30 18:00:03 biscottyno systemd[1]: Stopping Bumblebee C Daemon...
ago 30 18:00:03 biscottyno systemd[1]: Starting Bumblebee C Daemon...
ago 30 18:00:03 biscottyno systemd[1]: Started Bumblebee C Daemon.
ago 30 18:00:03 biscottyno systemd[1]: bumblebeed.service: main process exited, code=exited, status=1/FAILURE
ago 30 18:00:03 biscottyno systemd[1]: Unit bumblebeed.service entered failed state.
ago 30 18:00:03 biscottyno bumblebeed[898]: modprobe: FATAL: Module bbswitch not found.
ago 30 18:00:03 biscottyno bumblebeed[898]: [  304.334392] [ERROR]Module bbswitch could not be loaded (timeout?)
ago 30 18:00:03 biscottyno bumblebeed[898]: [  304.334401] [WARN]No switching method available. The dedicated card will always be on.
ago 30 18:00:03 biscottyno bumblebeed[898]: [  304.335053] [ERROR]Module 'nvidia' is not found.
ago 30 18:01:03 biscottyno systemd[1]: bumblebeed.service holdoff time over, scheduling restart.
ago 30 18:01:03 biscottyno systemd[1]: Stopping Bumblebee C Daemon...
ago 30 18:01:03 biscottyno systemd[1]: Starting Bumblebee C Daemon...
ago 30 18:01:03 biscottyno systemd[1]: Started Bumblebee C Daemon.
ago 30 18:01:03 biscottyno bumblebeed[905]: modprobe: FATAL: Module bbswitch not found.
ago 30 18:01:03 biscottyno bumblebeed[905]: [  364.584501] [ERROR]Module bbswitch could not be loaded (timeout?)
ago 30 18:01:03 biscottyno bumblebeed[905]: [  364.584512] [WARN]No switching method available. The dedicated card will always be on.
ago 30 18:01:03 biscottyno bumblebeed[905]: [  364.585195] [ERROR]Module 'nvidia' is not found.
ago 30 18:01:03 biscottyno systemd[1]: bumblebeed.service: main process exited, code=exited, status=1/FAILURE
ago 30 18:01:03 biscottyno systemd[1]: Unit bumblebeed.service entered failed state.
ago 30 18:02:03 biscottyno systemd[1]: bumblebeed.service holdoff time over, scheduling restart.
ago 30 18:02:03 biscottyno systemd[1]: Stopping Bumblebee C Daemon...
ago 30 18:02:03 biscottyno systemd[1]: Starting Bumblebee C Daemon...
ago 30 18:02:03 biscottyno systemd[1]: Started Bumblebee C Daemon.
ago 30 18:02:03 biscottyno bumblebeed[914]: modprobe: FATAL: Module bbswitch not found.
ago 30 18:02:03 biscottyno bumblebeed[914]: [  424.834589] [ERROR]Module bbswitch could not be loaded (timeout?)
ago 30 18:02:03 biscottyno bumblebeed[914]: [  424.834601] [WARN]No switching method available. The dedicated card will always be on.
ago 30 18:02:03 biscottyno bumblebeed[914]: [  424.835288] [ERROR]Module 'nvidia' is not found.
ago 30 18:02:03 biscottyno systemd[1]: bumblebeed.service: main process exited, code=exited, status=1/FAILURE
ago 30 18:02:03 biscottyno systemd[1]: Unit bumblebeed.service entered failed state.
ago 30 18:03:04 biscottyno systemd[1]: bumblebeed.service holdoff time over, scheduling restart.
ago 30 18:03:04 biscottyno systemd[1]: Stopping Bumblebee C Daemon...
ago 30 18:03:04 biscottyno systemd[1]: Starting Bumblebee C Daemon...
ago 30 18:03:04 biscottyno systemd[1]: Started Bumblebee C Daemon.
ago 30 18:03:04 biscottyno bumblebeed[919]: modprobe: FATAL: Module bbswitch not found.
ago 30 18:03:04 biscottyno bumblebeed[919]: [  485.084540] [ERROR]Module bbswitch could not be loaded (timeout?)
ago 30 18:03:04 biscottyno bumblebeed[919]: [  485.084551] [WARN]No switching method available. The dedicated card will always be on.
ago 30 18:03:04 biscottyno bumblebeed[919]: [  485.085236] [ERROR]Module 'nvidia' is not found.
ago 30 18:03:04 biscottyno systemd[1]: bumblebeed.service: main process exited, code=exited, status=1/FAILURE
ago 30 18:03:04 biscottyno systemd[1]: Unit bumblebeed.service entered failed state.
ago 30 18:03:04 biscottyno systemd-logind[319]: Lid closed.
ago 30 18:04:04 biscottyno systemd[1]: bumblebeed.service holdoff time over, scheduling restart.
ago 30 18:04:04 biscottyno systemd[1]: Stopping Bumblebee C Daemon...
ago 30 18:04:04 biscottyno systemd[1]: Starting Bumblebee C Daemon...
ago 30 18:04:04 biscottyno systemd[1]: Started Bumblebee C Daemon.
ago 30 18:04:04 biscottyno bumblebeed[927]: modprobe: FATAL: Module bbswitch not found.
ago 30 18:04:04 biscottyno bumblebeed[927]: [  545.334610] [ERROR]Module bbswitch could not be loaded (timeout?)
ago 30 18:04:04 biscottyno bumblebeed[927]: [  545.334622] [WARN]No switching method available. The dedicated card will always be on.
ago 30 18:04:04 biscottyno bumblebeed[927]: [  545.335338] [ERROR]Module 'nvidia' is not found.
ago 30 18:04:04 biscottyno systemd[1]: bumblebeed.service: main process exited, code=exited, status=1/FAILURE
ago 30 18:04:04 biscottyno systemd[1]: Unit bumblebeed.service entered failed state.
ago 30 18:04:17 biscottyno systemd-logind[319]: Lid opened.
ago 30 18:05:04 biscottyno systemd[1]: bumblebeed.service holdoff time over, scheduling restart.
ago 30 18:05:04 biscottyno systemd[1]: Stopping Bumblebee C Daemon...
ago 30 18:05:04 biscottyno systemd[1]: Starting Bumblebee C Daemon...
ago 30 18:05:04 biscottyno systemd[1]: Started Bumblebee C Daemon.
ago 30 18:05:04 biscottyno systemd[1]: bumblebeed.service: main process exited, code=exited, status=1/FAILURE
ago 30 18:05:04 biscottyno systemd[1]: Unit bumblebeed.service entered failed state.
ago 30 18:05:04 biscottyno bumblebeed[933]: modprobe: FATAL: Module bbswitch not found.
ago 30 18:05:04 biscottyno bumblebeed[933]: [  605.584505] [ERROR]Module bbswitch could not be loaded (timeout?)
ago 30 18:05:04 biscottyno bumblebeed[933]: [  605.584514] [WARN]No switching method available. The dedicated card will always be on.
ago 30 18:05:04 biscottyno bumblebeed[933]: [  605.585190] [ERROR]Module 'nvidia' is not found.
ago 30 18:06:04 biscottyno systemd[1]: bumblebeed.service holdoff time over, scheduling restart.
ago 30 18:06:04 biscottyno systemd[1]: Stopping Bumblebee C Daemon...
ago 30 18:06:04 biscottyno systemd[1]: Starting Bumblebee C Daemon...
ago 30 18:06:04 biscottyno systemd[1]: Started Bumblebee C Daemon.
ago 30 18:06:04 biscottyno bumblebeed[940]: modprobe: FATAL: Module bbswitch not found.
ago 30 18:06:04 biscottyno bumblebeed[940]: [  665.835175] [ERROR]Module bbswitch could not be loaded (timeout?)
ago 30 18:06:04 biscottyno bumblebeed[940]: [  665.835194] [WARN]No switching method available. The dedicated card will always be on.
ago 30 18:06:04 biscottyno bumblebeed[940]: [  665.836211] [ERROR]Module 'nvidia' is not found.
ago 30 18:06:04 biscottyno systemd[1]: bumblebeed.service: main process exited, code=exited, status=1/FAILURE
ago 30 18:06:04 biscottyno systemd[1]: Unit bumblebeed.service entered failed state.
ago 30 18:07:05 biscottyno systemd[1]: bumblebeed.service holdoff time over, scheduling restart.
ago 30 18:07:05 biscottyno systemd[1]: Stopping Bumblebee C Daemon...
ago 30 18:07:05 biscottyno systemd[1]: Starting Bumblebee C Daemon...
ago 30 18:07:05 biscottyno systemd[1]: Started Bumblebee C Daemon.
ago 30 18:07:05 biscottyno bumblebeed[947]: modprobe: FATAL: Module bbswitch not found.
ago 30 18:07:05 biscottyno bumblebeed[947]: [  726.084610] [ERROR]Module bbswitch could not be loaded (timeout?)
ago 30 18:07:05 biscottyno bumblebeed[947]: [  726.084623] [WARN]No switching method available. The dedicated card will always be on.
ago 30 18:07:05 biscottyno bumblebeed[947]: [  726.085313] [ERROR]Module 'nvidia' is not found.
ago 30 18:07:05 biscottyno systemd[1]: bumblebeed.service: main process exited, code=exited, status=1/FAILURE
ago 30 18:07:05 biscottyno systemd[1]: Unit bumblebeed.service entered failed state.
lines 1483-1530/1530 (END)

I've read that specifying nVIDIA BusID helps, so I've done without success:

$ cat /etc/bumblebee/xorg.conf.nvidia 
Section "ServerLayout"
    Identifier  "Layout0"
    Option      "AutoAddDevices" "false"
    Option      "AutoAddGPU" "false"
EndSection

Section "Device"
    Identifier  "DiscreteNvidia"
    Driver      "nvidia"
    VendorName  "NVIDIA Corporation"
    BusID       "PCI:01:00:00"

#   If the X server does not automatically detect your VGA device,
#   you can manually set it here.
#   To get the BusID prop, run `lspci | egrep 'VGA|3D'` and input the data
#   as you see in the commented example.
#   This Setting may be needed in some platforms with more than one
#   nvidia card, which may confuse the proprietary driver (e.g.,
#   trying to take ownership of the wrong device). Also needed on Ubuntu 13.04.
#   BusID "PCI:01:00:0"

#   Setting ProbeAllGpus to false prevents the new proprietary driver
#   instance spawned to try to control the integrated graphics card,
#   which is already being managed outside bumblebee.
#   This option doesn't hurt and it is required on platforms running
#   more than one nvidia graphics card with the proprietary driver.
#   (E.g. Macbook Pro pre-2010 with nVidia 9400M + 9600M GT).
#   If this option is not set, the new Xorg may blacken the screen and
#   render it unusable (unless you have some way to run killall Xorg).
    Option "ProbeAllGpus" "false"

    Option "NoLogo" "true"
    Option "UseEDID" "false"
    Option "UseDisplayDevice" "none"
EndSection

Manually loading bbswitch or nvidia does not work:

$ sudo modprobe bbswitch
modprobe: FATAL: Module bbswitch not found.
$ sudo modprobe nvidia
modprobe: FATAL: Module nvidia not found.

Of course nouveau module is blacklisted.
I have no clue on what to do.

Last edited by buntolo (2014-08-30 16:28:45)

Offline

#2 2014-08-30 16:37:56

buntolo
Member
Registered: 2011-10-11
Posts: 202

Re: Bumblebee not working

Updating GRUB from debian worked:

$ systemctl status bumblebeed
● bumblebeed.service - Bumblebee C Daemon
   Loaded: loaded (/usr/lib/systemd/system/bumblebeed.service; enabled)
   Active: active (running) since sab 2014-08-30 18:30:20 CEST; 4min 53s ago
 Main PID: 319 (bumblebeed)
   CGroup: /system.slice/bumblebeed.service
           └─319 /usr/bin/bumblebeed

ago 30 18:32:41 biscottyno bumblebeed[319]: [  144.432090] [WARN][XORG] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
ago 30 18:32:41 biscottyno bumblebeed[319]: [  144.432105] [ERROR][XORG] (EE) systemd-logind: failed to get session: PID 878 does not belong to any known session
ago 30 18:32:41 biscottyno bumblebeed[319]: [  144.432107] [ERROR][XORG] (EE) /dev/dri/card0: failed to set DRM interface version 1.4: Permission denied
ago 30 18:32:41 biscottyno bumblebeed[319]: [  144.432109] [WARN][XORG] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
ago 30 18:32:41 biscottyno bumblebeed[319]: [  144.432115] [WARN][XORG] (WW) Unresolved symbol: fbGetGCPrivateKey
ago 30 18:32:41 biscottyno bumblebeed[319]: [  144.432121] [WARN][XORG] (WW) NVIDIA(0): Unable to get display device for DPI computation.
ago 30 18:32:41 biscottyno bumblebeed[319]: [  144.432124] [ERROR][XORG] (EE) NVIDIA(0): Failed to initiate mode change.
ago 30 18:32:41 biscottyno bumblebeed[319]: [  144.432125] [ERROR][XORG] (EE) NVIDIA(0): Failed to complete mode change
ago 30 18:32:41 biscottyno bumblebeed[319]: [  144.432133] [ERROR][XORG] (EE) /dev/dri/card0: failed to set DRM interface version 1.4: Permission denied
ago 30 18:33:06 biscottyno bumblebeed[319]: [  169.810097] [ERROR][XORG] (EE) Server terminated successfully (0). Closing log file.

glxgears works as well but strangely I have more FPS with the intel GPU:

$ vblank_mode=0 glxgears
ATTENTION: default value of option vblank_mode overridden by environment.
ATTENTION: default value of option vblank_mode overridden by environment.
45025 frames in 5.0 seconds = 9004.902 FPS
XIO:  fatal IO error 11 (Resource temporarily unavailable) on X server ":0.0"
      after 158723 requests (158723 known processed) with 0 events remaining.

$ vblank_mode=0 optirun glxgears
10394 frames in 5.0 seconds = 2078.673 FPS
11030 frames in 5.0 seconds = 2205.821 FPS
10799 frames in 5.0 seconds = 2159.770 FPS
10695 frames in 5.0 seconds = 2138.921 FPS
[VGL] ERROR: in readback--
[VGL]    247: Window has been deleted by window manager

$ vblank_mode=0 primusrun glxgears
ATTENTION: default value of option vblank_mode overridden by environment.
ATTENTION: default value of option vblank_mode overridden by environment.
ATTENTION: default value of option vblank_mode overridden by environment.
ATTENTION: default value of option vblank_mode overridden by environment.
ATTENTION: default value of option vblank_mode overridden by environment.
ATTENTION: default value of option vblank_mode overridden by environment.
13531 frames in 5.0 seconds = 2706.076 FPS
14903 frames in 5.0 seconds = 2980.460 FPS
14857 frames in 5.0 seconds = 2971.345 FPS
14735 frames in 5.0 seconds = 2946.878 FPS
XIO:  fatal IO error 11 (Resource temporarily unavailable) on X server ":0.0"
      after 40 requests (38 known processed) with 0 events remaining.
X Error of failed request:  BadDrawable (invalid Pixmap or Window parameter)
  Major opcode of failed request:  154 (DRI2)
  Minor opcode of failed request:  8 (DRI2SwapBuffers		)
  Resource id in failed request:  0x3200002
  Serial number of failed request:  145156
  Current serial number in output stream:  145157

glxspheres even show the card in use:

$ vblank_mode=0 glxspheres64
Polygons in scene: 62464
ATTENTION: default value of option vblank_mode overridden by environment.
ATTENTION: default value of option vblank_mode overridden by environment.
Visual ID of window: 0x20
Context is Direct
OpenGL Renderer: Mesa DRI Intel(R) Haswell Mobile 
418.895833 frames/sec - 467.487750 Mpixels/sec
326.862103 frames/sec - 364.778107 Mpixels/sec
326.740045 frames/sec - 364.641890 Mpixels/sec
328.897158 frames/sec - 367.049229 Mpixels/sec

$ vblank_mode=0 optirun glxspheres64
Polygons in scene: 62464
Visual ID of window: 0x20
Context is Direct
OpenGL Renderer: GeForce GTX 860M/PCIe/SSE2
213.900274 frames/sec - 238.712706 Mpixels/sec
217.441444 frames/sec - 242.664652 Mpixels/sec
218.784335 frames/sec - 244.163318 Mpixels/sec
217.538555 frames/sec - 242.773027 Mpixels/sec

$ vblank_mode=0 primusrun glxspheres64
ATTENTION: default value of option vblank_mode overridden by environment.
ATTENTION: default value of option vblank_mode overridden by environment.
Polygons in scene: 62464
ATTENTION: default value of option vblank_mode overridden by environment.
ATTENTION: default value of option vblank_mode overridden by environment.
Visual ID of window: 0x20
Context is Direct
OpenGL Renderer: GeForce GTX 860M/PCIe/SSE2
ATTENTION: default value of option vblank_mode overridden by environment.
ATTENTION: default value of option vblank_mode overridden by environment.
339.325698 frames/sec - 378.687479 Mpixels/sec
340.672632 frames/sec - 380.190657 Mpixels/sec
341.477977 frames/sec - 381.089423 Mpixels/sec
341.585143 frames/sec - 381.209020 Mpixels/sec

I will try with Unigine Heaven benchmark, but it will take a while to download it.
I have tried Unigine Heaven benchmark. Intel VGA have big problems because it just shows a blank screen, even if the bencmark is running in the background:
Intel results:

Benchmark results:
Time:	260.741
Frames:	3907
FPS:	14.9842
Min FPS:	10.1115
Max FPS:	28.3029
Score:	377.452

primusrun results:

Benchmark results:
Time:	260.664
Frames:	6977
FPS:	26.7663
Min FPS:	19.2371
Max FPS:	49.1701
Score:	674.243

optirun results:

Benchmark running
Benchmark results:
Time:	260.58
Frames:	5592
FPS:	21.4598
Min FPS:	11.6993
Max FPS:	33.191
Score:	540.573

!!!!!!!!!!!!!!!!!!!!!!!!!!

I would like to understand if theser warnings and errors are harmful problems or not:

ago 30 18:32:39 biscottyno kernel: bbswitch: enabling discrete graphics
ago 30 18:32:40 biscottyno kernel: [drm] Initialized nvidia-drm 0.0.0 20130102 for 0000:01:00.0 on minor 1
ago 30 18:32:40 biscottyno kernel: NVRM: loading NVIDIA UNIX x86_64 Kernel Module  340.32  Tue Aug  5 20:58:26 PDT 2014
ago 30 18:32:40 biscottyno kernel: vgaarb: this pci device is not a vga device
ago 30 18:32:40 biscottyno kernel: nvidia 0000:01:00.0: irq 50 for MSI/MSI-X
ago 30 18:32:40 biscottyno kernel: ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140424/nsarguments-95)
ago 30 18:32:40 biscottyno kernel: ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140424/nsarguments-95)
ago 30 18:32:40 biscottyno kernel: ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140424/nsarguments-95)
ago 30 18:32:40 biscottyno kernel: ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140424/nsarguments-95)
ago 30 18:32:40 biscottyno kernel: ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140424/nsarguments-95)
ago 30 18:32:40 biscottyno kernel: ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140424/nsarguments-95)
ago 30 18:32:40 biscottyno kernel: ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140424/nsarguments-95)
ago 30 18:32:40 biscottyno kernel: ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140424/nsarguments-95)
ago 30 18:32:40 biscottyno kernel: ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140424/nsarguments-95)
ago 30 18:32:41 biscottyno kernel: vgaarb: this pci device is not a vga device
ago 30 18:32:41 biscottyno bumblebeed[319]: [  144.432079] [WARN][XORG] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
ago 30 18:32:41 biscottyno bumblebeed[319]: [  144.432090] [WARN][XORG] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
ago 30 18:32:41 biscottyno bumblebeed[319]: [  144.432105] [ERROR][XORG] (EE) systemd-logind: failed to get session: PID 878 does not belong to any known session
ago 30 18:32:41 biscottyno bumblebeed[319]: [  144.432107] [ERROR][XORG] (EE) /dev/dri/card0: failed to set DRM interface version 1.4: Permission denied
ago 30 18:32:41 biscottyno bumblebeed[319]: [  144.432109] [WARN][XORG] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
ago 30 18:32:41 biscottyno bumblebeed[319]: [  144.432115] [WARN][XORG] (WW) Unresolved symbol: fbGetGCPrivateKey
ago 30 18:32:41 biscottyno bumblebeed[319]: [  144.432121] [WARN][XORG] (WW) NVIDIA(0): Unable to get display device for DPI computation.
ago 30 18:32:41 biscottyno bumblebeed[319]: [  144.432124] [ERROR][XORG] (EE) NVIDIA(0): Failed to initiate mode change.
ago 30 18:32:41 biscottyno bumblebeed[319]: [  144.432125] [ERROR][XORG] (EE) NVIDIA(0): Failed to complete mode change
ago 30 18:32:41 biscottyno bumblebeed[319]: [  144.432133] [ERROR][XORG] (EE) /dev/dri/card0: failed to set DRM interface version 1.4: Permission denied
ago 30 18:33:06 biscottyno kernel: ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140424/nsarguments-95)
ago 30 18:33:06 biscottyno kernel: [drm] Module unloaded
ago 30 18:33:06 biscottyno kernel: bbswitch: disabling discrete graphics
ago 30 18:33:06 biscottyno kernel: ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140424/nsarguments-95)
ago 30 18:33:06 biscottyno kernel: pci 0000:01:00.0: Refused to change power state, currently in D0
ago 30 18:33:06 biscottyno bumblebeed[319]: [  169.810097] [ERROR][XORG] (EE) Server terminated successfully (0). Closing log file.
lines 1508-1555/1555 (END)

Last edited by buntolo (2014-08-30 17:43:05)

Offline

Board footer

Powered by FluxBB