You are not logged in.

#1 2017-11-07 22:30:21

nexnico
Member
Registered: 2017-05-26
Posts: 15

Problems installing nvidia drivers with bumblebee on an optimus laptop

Hello,
I've installed bumblebee to get my Nvidia 610M GPU to work with bumblebee following this guide: https://wiki.archlinux.org/index.php/bu … stallation .
Until a month ago I was using Antergos and to install bumblebee I just had to follow this guide (basically the same as there's written in the archwiki) https://antergos.com/wiki/hardware/grap … a-optimus/ to get it to work and in fact it did.

The problem is that whenever I try to run a program with optirun i get this error message:

[  689.632846] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) Problem parsing the config file 

[  689.632935] [ERROR]Aborting because fallback start is disabled.

I google it but i couldn't find any suitable solution to fix the issue.

Linux version: 4.13.11-1-ARCH

The output of

lspci -vnn | grep '\''[030[02]\]'

is

00:02.0 VGA compatible controller [0300]: Intel Corporation 3rd Gen Core processor Graphics Controller [8086:0166] (rev 09) (prog-if 00 [VGA controller])
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GF119M [GeForce 610M] [10de:1058] (rev a1) (prog-if 00 [VGA controller])

If additional info is needed I'll provide it, just ask me.

Thank you in advance smile

Offline

#2 2017-11-07 23:24:08

circleface
Member
Registered: 2012-05-26
Posts: 639

Re: Problems installing nvidia drivers with bumblebee on an optimus laptop

The error says it can't parse the config file, so I would start looking there to find out what is wrong.

Offline

#3 2017-11-08 16:18:04

nexnico
Member
Registered: 2017-05-26
Posts: 15

Re: Problems installing nvidia drivers with bumblebee on an optimus laptop

circleface wrote:

The error says it can't parse the config file, so I would start looking there to find out what is wrong.

Cal you please tell me where it's located?

Offline

#4 2017-11-08 16:30:33

ticianolage
Member
Registered: 2017-02-15
Posts: 25

Re: Problems installing nvidia drivers with bumblebee on an optimus laptop

nexnico wrote:
circleface wrote:

The error says it can't parse the config file, so I would start looking there to find out what is wrong.

Cal you please tell me where it's located?

As stated in https://wiki.archlinux.org/index.php/bu … figuration the config file is at /etc/bumblebee/bumblebee.conf

I do have an optimus notebook and it's working.

Did you install the xf86-video-intel? Do you have tlp enabled?

Offline

#5 2017-11-08 16:47:07

nexnico
Member
Registered: 2017-05-26
Posts: 15

Re: Problems installing nvidia drivers with bumblebee on an optimus laptop

ticianolage wrote:
nexnico wrote:
circleface wrote:

The error says it can't parse the config file, so I would start looking there to find out what is wrong.

Cal you please tell me where it's located?

As stated in https://wiki.archlinux.org/index.php/bu … figuration the config file is at /etc/bumblebee/bumblebee.conf

I do have an optimus notebook and it's working.

Did you install the xf86-video-intel? Do you have tlp enabled?

I do have xf86-video-intel installed, but I don't know about tlp, how can I check?

As I said I had Antergos before on the very same laptop and following the Antergos wiki I previously linked worked flawlessly and comparing it to the arch one it's identical. I don't know why now it hasn't worked.

Offline

#6 2017-11-08 17:06:12

ticianolage
Member
Registered: 2017-02-15
Posts: 25

Re: Problems installing nvidia drivers with bumblebee on an optimus laptop

nexnico wrote:
ticianolage wrote:
nexnico wrote:

Cal you please tell me where it's located?

As stated in https://wiki.archlinux.org/index.php/bu … figuration the config file is at /etc/bumblebee/bumblebee.conf

I do have an optimus notebook and it's working.

Did you install the xf86-video-intel? Do you have tlp enabled?

I do have xf86-video-intel installed, but I don't know about tlp, how can I check?

As I said I had Antergos before on the very same laptop and following the Antergos wiki I previously linked worked flawlessly and comparing it to the arch one it's identical. I don't know why now it hasn't worked.

If you don't know what is tlp then you probably didn't install it - which is ok since it could be interfering with bumblebee. What is in your bumblebee.conf file?

What's the output of

optirun --status

Offline

#7 2017-11-08 17:09:09

nexnico
Member
Registered: 2017-05-26
Posts: 15

Re: Problems installing nvidia drivers with bumblebee on an optimus laptop

ticianolage wrote:
nexnico wrote:
ticianolage wrote:

As stated in https://wiki.archlinux.org/index.php/bu … figuration the config file is at /etc/bumblebee/bumblebee.conf

I do have an optimus notebook and it's working.

Did you install the xf86-video-intel? Do you have tlp enabled?

I do have xf86-video-intel installed, but I don't know about tlp, how can I check?

As I said I had Antergos before on the very same laptop and following the Antergos wiki I previously linked worked flawlessly and comparing it to the arch one it's identical. I don't know why now it hasn't worked.

If you don't know what is tlp then you probably didn't install it - which is ok since it could be interfering with bumblebee. What is in your bumblebee.conf file?

What's the output of

optirun --status

The output is

 $ optirun --status
Bumblebee status: Error (3.2.1): [XORG] (EE) Problem parsing the config file

the output of

cat /etc/bumblebee/bumblebee.conf

is

# 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=
# 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=auto
# colon-separated path to the nvidia libraries
LibraryPath=/usr/lib/nvidia:/usr/lib32/nvidia:/usr/lib:/usr/lib32
# 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

Offline

#8 2017-11-08 17:24:22

ticianolage
Member
Registered: 2017-02-15
Posts: 25

Re: Problems installing nvidia drivers with bumblebee on an optimus laptop

nexnico wrote:

the output of

cat /etc/bumblebee/bumblebee.conf

is

# 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=
# 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=auto
# colon-separated path to the nvidia libraries
LibraryPath=/usr/lib/nvidia:/usr/lib32/nvidia:/usr/lib:/usr/lib32
# 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

It does look good. Are you using bbswitch? If so, set PMMethod=bbswitch. Also, are you using nouveau or nvidia drivers?
Please post the output of

# systemctl status bumblebeed

Last edited by ticianolage (2017-11-08 17:25:31)

Offline

#9 2017-11-08 17:33:46

nexnico
Member
Registered: 2017-05-26
Posts: 15

Re: Problems installing nvidia drivers with bumblebee on an optimus laptop

ticianolage wrote:
nexnico wrote:

the output of

cat /etc/bumblebee/bumblebee.conf

is

# 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=
# 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=auto
# colon-separated path to the nvidia libraries
LibraryPath=/usr/lib/nvidia:/usr/lib32/nvidia:/usr/lib:/usr/lib32
# 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

It does look good. Are you using bbswitch? If so, set PMMethod=bbswitch. Also, are you using nouveau or nvidia drivers?
Please post the output of

# systemctl status bumblebeed

the output is

● bumblebeed.service - Bumblebee C Daemon
   Loaded: loaded (/usr/lib/systemd/system/bumblebeed.service; enabled; vendor preset: disabled)
   Active: active (running) since Wed 2017-11-08 17:38:15 CET; 51min ago
 Main PID: 515 (bumblebeed)
    Tasks: 1 (limit: 4915)
   CGroup: /system.slice/bumblebeed.service
           └─515 /usr/bin/bumblebeed

nov 08 17:38:15 Blacktop systemd[1]: Started Bumblebee C Daemon.
nov 08 17:40:08 Blacktop bumblebeed[515]: [  141.388701] [ERROR][XORG] (EE) Problem parsing the config file
nov 08 17:40:08 Blacktop bumblebeed[515]: [  141.388736] [ERROR][XORG] (EE) Error parsing the config file
nov 08 17:40:08 Blacktop bumblebeed[515]: [  141.388743] [ERROR][XORG] (EE)
nov 08 17:40:08 Blacktop bumblebeed[515]: [  141.388749] [ERROR][XORG] (EE) no screens found(EE)
nov 08 17:40:08 Blacktop bumblebeed[515]: [  141.388755] [ERROR][XORG] (EE)
nov 08 17:40:08 Blacktop bumblebeed[515]: [  141.388766] [ERROR][XORG] (EE) Please also check the log file at "/var/log/Xorg.8.log" for additional information.
nov 08 17:40:08 Blacktop bumblebeed[515]: [  141.388773] [ERROR][XORG] (EE)
nov 08 17:40:08 Blacktop bumblebeed[515]: [  141.388779] [ERROR][XORG] (EE) Server terminated with error (1). Closing log file.
nov 08 17:40:08 Blacktop bumblebeed[515]: [  141.488928] [ERROR]X did not start properly

I do have bbswitch installed and I've just set PMMethod:bbswitch in /etc/bumblebee/bumblebee.conf as you said.

Last edited by nexnico (2017-11-08 17:37:18)

Offline

#10 2017-11-08 17:40:46

ticianolage
Member
Registered: 2017-02-15
Posts: 25

Re: Problems installing nvidia drivers with bumblebee on an optimus laptop

nexnico wrote:
● bumblebeed.service - Bumblebee C Daemon
   Loaded: loaded (/usr/lib/systemd/system/bumblebeed.service; enabled; vendor preset: disabled)
   Active: active (running) since Wed 2017-11-08 17:38:15 CET; 51min ago
 Main PID: 515 (bumblebeed)
    Tasks: 1 (limit: 4915)
   CGroup: /system.slice/bumblebeed.service
           └─515 /usr/bin/bumblebeed

nov 08 17:38:15 Blacktop systemd[1]: Started Bumblebee C Daemon.
nov 08 17:40:08 Blacktop bumblebeed[515]: [  141.388701] [ERROR][XORG] (EE) Problem parsing the config file
nov 08 17:40:08 Blacktop bumblebeed[515]: [  141.388736] [ERROR][XORG] (EE) Error parsing the config file
nov 08 17:40:08 Blacktop bumblebeed[515]: [  141.388743] [ERROR][XORG] (EE)
nov 08 17:40:08 Blacktop bumblebeed[515]: [  141.388749] [ERROR][XORG] (EE) no screens found(EE)
nov 08 17:40:08 Blacktop bumblebeed[515]: [  141.388755] [ERROR][XORG] (EE)
nov 08 17:40:08 Blacktop bumblebeed[515]: [  141.388766] [ERROR][XORG] (EE) Please also check the log file at "/var/log/Xorg.8.log" for additional information.
nov 08 17:40:08 Blacktop bumblebeed[515]: [  141.388773] [ERROR][XORG] (EE)
nov 08 17:40:08 Blacktop bumblebeed[515]: [  141.388779] [ERROR][XORG] (EE) Server terminated with error (1). Closing log file.
nov 08 17:40:08 Blacktop bumblebeed[515]: [  141.488928] [ERROR]X did not start properly

I do have bbswitch installed.

Please provide the output of /var/log/Xorg.8.log. Is your Xorg loading or are you stuck in terminal?

Offline

#11 2017-11-08 17:45:35

mrunion
Member
From: Jonesborough, TN
Registered: 2007-01-26
Posts: 1,938
Website

Re: Problems installing nvidia drivers with bumblebee on an optimus laptop

@nexnixo: I am in no way trying to discourage you, but if you don;t know where config files are located or what software is installed, Arch is not the distro for you. Arch is intended for experienced Linux users. You may very well be successful learning to use Arch, but all of the questions that you have asked so far could be answered by simply searching the Wiki and forum. And you are expected to do that.

you may want to step back and reconsider your distribution, or step up and start searching and reading a lot more.


Matt

"It is very difficult to educate the educated."

Offline

#12 2017-11-08 17:47:39

nexnico
Member
Registered: 2017-05-26
Posts: 15

Re: Problems installing nvidia drivers with bumblebee on an optimus laptop

I just removed some lines I had written yesterday in /etc/bumblebee/xorg.conf.nvidia, so now I'm back to the initial error message

$ optirun glxspheres64
[  323.158160] [WARN]Could not open configuration file: /etc/bumblebee/bumblebee.conf
[  323.158196] [WARN]Using default configuration
[  338.275858] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) PreInit returned 2 for "<default pointer>"

[  338.275959] [ERROR]Aborting because fallback start is disabled.
$ systemctl status bumblebeed
● bumblebeed.service - Bumblebee C Daemon
   Loaded: loaded (/usr/lib/systemd/system/bumblebeed.service; enabled; vendor p
   Active: active (running) since Wed 2017-11-08 18:40:54 CET; 27s ago
 Main PID: 524 (bumblebeed)
    Tasks: 1 (limit: 4915)
   CGroup: /system.slice/bumblebeed.service
           └─524 /usr/bin/bumblebeed

nov 08 18:40:54 Blacktop systemd[1]: Started Bumblebee C Daemon.
nov 08 18:40:54 Blacktop bumblebeed[524]: [   25.207420] [WARN]Could not open co
nov 08 18:40:54 Blacktop bumblebeed[524]: [   25.207435] [WARN]Using default con
nov 08 18:40:54 Blacktop bumblebeed[524]: [   25.211616] [INFO]/usr/bin/bumblebe
$ optirun --status
[   63.734470] [WARN]Could not open configuration file: /etc/bumblebee/bumblebee.conf
[   63.734506] [WARN]Using default configuration
Bumblebee status: Ready (3.2.1). X inactive. Discrete video card is off.
$ ls /etc/bumblebee/
bumblebee.conf  xorg.conf.d  xorg.conf.nouveau  xorg.conf.nvidia

Last edited by nexnico (2017-11-08 17:50:40)

Offline

#13 2017-11-08 17:54:09

nexnico
Member
Registered: 2017-05-26
Posts: 15

Re: Problems installing nvidia drivers with bumblebee on an optimus laptop

mrunion wrote:

@nexnixo: I am in no way trying to discourage you, but if you don;t know where config files are located or what software is installed, Arch is not the distro for you. Arch is intended for experienced Linux users. You may very well be successful learning to use Arch, but all of the questions that you have asked so far could be answered by simply searching the Wiki and forum. And you are expected to do that.

you may want to step back and reconsider your distribution, or step up and start searching and reading a lot more.

All the questions I have asked were meant for me to be sure I had understood correctly what was needed.

Offline

#14 2017-11-08 17:59:49

ticianolage
Member
Registered: 2017-02-15
Posts: 25

Re: Problems installing nvidia drivers with bumblebee on an optimus laptop

nexnico wrote:

I just removed some lines I had written yesterday in /etc/bumblebee/xorg.conf.nvidia, so now I'm back to the initial error message

$ optirun glxspheres64
[  323.158160] [WARN]Could not open configuration file: /etc/bumblebee/bumblebee.conf
[  323.158196] [WARN]Using default configuration
[  338.275858] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) PreInit returned 2 for "<default pointer>"

[  338.275959] [ERROR]Aborting because fallback start is disabled.
$ systemctl status bumblebeed
● bumblebeed.service - Bumblebee C Daemon
   Loaded: loaded (/usr/lib/systemd/system/bumblebeed.service; enabled; vendor p
   Active: active (running) since Wed 2017-11-08 18:40:54 CET; 27s ago
 Main PID: 524 (bumblebeed)
    Tasks: 1 (limit: 4915)
   CGroup: /system.slice/bumblebeed.service
           └─524 /usr/bin/bumblebeed

nov 08 18:40:54 Blacktop systemd[1]: Started Bumblebee C Daemon.
nov 08 18:40:54 Blacktop bumblebeed[524]: [   25.207420] [WARN]Could not open co
nov 08 18:40:54 Blacktop bumblebeed[524]: [   25.207435] [WARN]Using default con
nov 08 18:40:54 Blacktop bumblebeed[524]: [   25.211616] [INFO]/usr/bin/bumblebe
$ optirun --status
[   63.734470] [WARN]Could not open configuration file: /etc/bumblebee/bumblebee.conf
[   63.734506] [WARN]Using default configuration
Bumblebee status: Ready (3.2.1). X inactive. Discrete video card is off.
$ ls /etc/bumblebee/
bumblebee.conf  xorg.conf.d  xorg.conf.nouveau  xorg.conf.nvidia

I would completely remove nvidia, bumblebee, intel and bbswitch. Don't touch the configuration files and try optirun --status.

Offline

#15 2017-11-08 18:04:30

nexnico
Member
Registered: 2017-05-26
Posts: 15

Re: Problems installing nvidia drivers with bumblebee on an optimus laptop

ticianolage wrote:
nexnico wrote:

I just removed some lines I had written yesterday in /etc/bumblebee/xorg.conf.nvidia, so now I'm back to the initial error message

$ optirun glxspheres64
[  323.158160] [WARN]Could not open configuration file: /etc/bumblebee/bumblebee.conf
[  323.158196] [WARN]Using default configuration
[  338.275858] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) PreInit returned 2 for "<default pointer>"

[  338.275959] [ERROR]Aborting because fallback start is disabled.
$ systemctl status bumblebeed
● bumblebeed.service - Bumblebee C Daemon
   Loaded: loaded (/usr/lib/systemd/system/bumblebeed.service; enabled; vendor p
   Active: active (running) since Wed 2017-11-08 18:40:54 CET; 27s ago
 Main PID: 524 (bumblebeed)
    Tasks: 1 (limit: 4915)
   CGroup: /system.slice/bumblebeed.service
           └─524 /usr/bin/bumblebeed

nov 08 18:40:54 Blacktop systemd[1]: Started Bumblebee C Daemon.
nov 08 18:40:54 Blacktop bumblebeed[524]: [   25.207420] [WARN]Could not open co
nov 08 18:40:54 Blacktop bumblebeed[524]: [   25.207435] [WARN]Using default con
nov 08 18:40:54 Blacktop bumblebeed[524]: [   25.211616] [INFO]/usr/bin/bumblebe
$ optirun --status
[   63.734470] [WARN]Could not open configuration file: /etc/bumblebee/bumblebee.conf
[   63.734506] [WARN]Using default configuration
Bumblebee status: Ready (3.2.1). X inactive. Discrete video card is off.
$ ls /etc/bumblebee/
bumblebee.conf  xorg.conf.d  xorg.conf.nouveau  xorg.conf.nvidia

I would completely remove nvidia, bumblebee, intel and bbswitch. Don't touch the configuration files and try optirun --status.

Do you mean remove them and thus reinstall without touching the configuration files?

Offline

#16 2017-11-08 18:17:18

ticianolage
Member
Registered: 2017-02-15
Posts: 25

Re: Problems installing nvidia drivers with bumblebee on an optimus laptop

nexnico wrote:

Do you mean remove them and thus reinstall without touching the configuration files?

Yes. There is clearly something broker with your config.

Offline

#17 2017-11-08 18:30:26

nexnico
Member
Registered: 2017-05-26
Posts: 15

Re: Problems installing nvidia drivers with bumblebee on an optimus laptop

ticianolage wrote:
nexnico wrote:

Do you mean remove them and thus reinstall without touching the configuration files?

Yes. There is clearly something broker with your config.

Did as you said, still doesn't work, I'm posting some useful outputs:

$ optirun --status
Bumblebee status: Ready (3.2.1). X inactive. Discrete video card is off.
$ optirun glxspheres64
[  105.704400] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) PreInit returned 2 for "<default pointer>"
$ systemctl status bumblebeed.service
● bumblebeed.service - Bumblebee C Daemon
   Loaded: loaded (/usr/lib/systemd/system/bumblebeed.service; enabled; vendor preset: disabled)
   Active: active (running) since Wed 2017-11-08 19:26:07 CET; 1min 44s ago
 Main PID: 518 (bumblebeed)
    Tasks: 1 (limit: 4915)
   CGroup: /system.slice/bumblebeed.service
           └─518 /usr/bin/bumblebeed

nov 08 19:27:19 Blacktop bumblebeed[518]: [  105.604085] [WARN][XORG] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
nov 08 19:27:19 Blacktop bumblebeed[518]: [  105.604104] [WARN][XORG] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
nov 08 19:27:19 Blacktop bumblebeed[518]: [  105.604112] [WARN][XORG] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
nov 08 19:27:19 Blacktop bumblebeed[518]: [  105.604118] [WARN][XORG] (WW) Warning, couldn't open module mouse
nov 08 19:27:19 Blacktop bumblebeed[518]: [  105.604129] [WARN][XORG] (WW) NVIDIA(0): Unable to get display device for DPI computation.
nov 08 19:27:19 Blacktop bumblebeed[518]: [  105.604135] [WARN][XORG] (WW) NVIDIA(0): Option "NoLogo" is not used
nov 08 19:27:19 Blacktop bumblebeed[518]: [  105.604140] [WARN][XORG] (WW) Warning, couldn't open module mouse
nov 08 19:27:19 Blacktop bumblebeed[518]: [  105.604152] [ERROR][XORG] (EE) PreInit returned 2 for "<default pointer>"
nov 08 19:27:19 Blacktop bumblebeed[518]: [  105.604159] [ERROR][XORG] (EE) PreInit returned 2 for "<default keyboard>"
nov 08 19:27:19 Blacktop bumblebeed[518]: [  105.704259] [ERROR]X unresponsive after 10 seconds - aborting

hmm

Offline

#18 2017-11-08 18:39:51

ticianolage
Member
Registered: 2017-02-15
Posts: 25

Re: Problems installing nvidia drivers with bumblebee on an optimus laptop

nexnico wrote:
ticianolage wrote:
nexnico wrote:

Do you mean remove them and thus reinstall without touching the configuration files?

Yes. There is clearly something broker with your config.

Did as you said, still doesn't work, I'm posting some useful outputs:

$ optirun --status
Bumblebee status: Ready (3.2.1). X inactive. Discrete video card is off.
$ optirun glxspheres64
[  105.704400] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) PreInit returned 2 for "<default pointer>"
$ systemctl status bumblebeed.service
● bumblebeed.service - Bumblebee C Daemon
   Loaded: loaded (/usr/lib/systemd/system/bumblebeed.service; enabled; vendor preset: disabled)
   Active: active (running) since Wed 2017-11-08 19:26:07 CET; 1min 44s ago
 Main PID: 518 (bumblebeed)
    Tasks: 1 (limit: 4915)
   CGroup: /system.slice/bumblebeed.service
           └─518 /usr/bin/bumblebeed

nov 08 19:27:19 Blacktop bumblebeed[518]: [  105.604085] [WARN][XORG] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
nov 08 19:27:19 Blacktop bumblebeed[518]: [  105.604104] [WARN][XORG] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
nov 08 19:27:19 Blacktop bumblebeed[518]: [  105.604112] [WARN][XORG] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
nov 08 19:27:19 Blacktop bumblebeed[518]: [  105.604118] [WARN][XORG] (WW) Warning, couldn't open module mouse
nov 08 19:27:19 Blacktop bumblebeed[518]: [  105.604129] [WARN][XORG] (WW) NVIDIA(0): Unable to get display device for DPI computation.
nov 08 19:27:19 Blacktop bumblebeed[518]: [  105.604135] [WARN][XORG] (WW) NVIDIA(0): Option "NoLogo" is not used
nov 08 19:27:19 Blacktop bumblebeed[518]: [  105.604140] [WARN][XORG] (WW) Warning, couldn't open module mouse
nov 08 19:27:19 Blacktop bumblebeed[518]: [  105.604152] [ERROR][XORG] (EE) PreInit returned 2 for "<default pointer>"
nov 08 19:27:19 Blacktop bumblebeed[518]: [  105.604159] [ERROR][XORG] (EE) PreInit returned 2 for "<default keyboard>"
nov 08 19:27:19 Blacktop bumblebeed[518]: [  105.704259] [ERROR]X unresponsive after 10 seconds - aborting

hmm

Maybe your xorg is trying to load from Nvidia driver?

Offline

#19 2017-11-08 19:06:24

nexnico
Member
Registered: 2017-05-26
Posts: 15

Re: Problems installing nvidia drivers with bumblebee on an optimus laptop

ticianolage wrote:
nexnico wrote:
ticianolage wrote:

Yes. There is clearly something broker with your config.

Did as you said, still doesn't work, I'm posting some useful outputs:

$ optirun --status
Bumblebee status: Ready (3.2.1). X inactive. Discrete video card is off.
$ optirun glxspheres64
[  105.704400] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) PreInit returned 2 for "<default pointer>"
$ systemctl status bumblebeed.service
● bumblebeed.service - Bumblebee C Daemon
   Loaded: loaded (/usr/lib/systemd/system/bumblebeed.service; enabled; vendor preset: disabled)
   Active: active (running) since Wed 2017-11-08 19:26:07 CET; 1min 44s ago
 Main PID: 518 (bumblebeed)
    Tasks: 1 (limit: 4915)
   CGroup: /system.slice/bumblebeed.service
           └─518 /usr/bin/bumblebeed

nov 08 19:27:19 Blacktop bumblebeed[518]: [  105.604085] [WARN][XORG] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
nov 08 19:27:19 Blacktop bumblebeed[518]: [  105.604104] [WARN][XORG] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
nov 08 19:27:19 Blacktop bumblebeed[518]: [  105.604112] [WARN][XORG] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
nov 08 19:27:19 Blacktop bumblebeed[518]: [  105.604118] [WARN][XORG] (WW) Warning, couldn't open module mouse
nov 08 19:27:19 Blacktop bumblebeed[518]: [  105.604129] [WARN][XORG] (WW) NVIDIA(0): Unable to get display device for DPI computation.
nov 08 19:27:19 Blacktop bumblebeed[518]: [  105.604135] [WARN][XORG] (WW) NVIDIA(0): Option "NoLogo" is not used
nov 08 19:27:19 Blacktop bumblebeed[518]: [  105.604140] [WARN][XORG] (WW) Warning, couldn't open module mouse
nov 08 19:27:19 Blacktop bumblebeed[518]: [  105.604152] [ERROR][XORG] (EE) PreInit returned 2 for "<default pointer>"
nov 08 19:27:19 Blacktop bumblebeed[518]: [  105.604159] [ERROR][XORG] (EE) PreInit returned 2 for "<default keyboard>"
nov 08 19:27:19 Blacktop bumblebeed[518]: [  105.704259] [ERROR]X unresponsive after 10 seconds - aborting

hmm

Maybe your xorg is trying to load from Nvidia driver?

what should I do then?

Offline

#20 2017-11-09 01:36:29

ticianolage
Member
Registered: 2017-02-15
Posts: 25

Re: Problems installing nvidia drivers with bumblebee on an optimus laptop

nexnico wrote:

what should I do then?

What do you have at your /etc/bumblebee/xorg.conf.nvidia file?

Offline

#21 2017-11-09 20:19:43

nexnico
Member
Registered: 2017-05-26
Posts: 15

Re: Problems installing nvidia drivers with bumblebee on an optimus laptop

ticianolage wrote:
nexnico wrote:

what should I do then?

What do you have at your /etc/bumblebee/xorg.conf.nvidia file?

Sorry for the late answer, this is what I have:

Section "ServerLayout"
    Identifier  "Layout0"
    Option      "AutoAddDevices" "false"
    Option      "AutoAddGPU" "false"
EndSection

Section "Device"
    Identifier  "DiscreteNvidia"
    Driver      "nvidia"
    VendorName  "NVIDIA Corporation"

#   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

Offline

#22 2017-11-10 00:33:54

ticianolage
Member
Registered: 2017-02-15
Posts: 25

Re: Problems installing nvidia drivers with bumblebee on an optimus laptop

nexnico wrote:
ticianolage wrote:
nexnico wrote:

what should I do then?

What do you have at your /etc/bumblebee/xorg.conf.nvidia file?

Sorry for the late answer, this is what I have:

Try changing it to:

Section "ServerLayout"
    Identifier  "Layout0"
    Option      "AutoAddDevices" "true"
    Option      "AutoAddGPU" "false"
EndSection

Section "Device"
    Identifier  "DiscreteNvidia"
    Driver      "nvidia"
    VendorName  "NVIDIA Corporation"

#   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" "false"
    Option "UseEDID" "false"
    Option "UseDisplayDevice" "none"
EndSection

And then reboot

Offline

#23 2017-11-10 08:03:21

nexnico
Member
Registered: 2017-05-26
Posts: 15

Re: Problems installing nvidia drivers with bumblebee on an optimus laptop

ticianolage wrote:
nexnico wrote:
ticianolage wrote:

What do you have at your /etc/bumblebee/xorg.conf.nvidia file?

Sorry for the late answer, this is what I have:

Try changing it to:

Section "ServerLayout"
    Identifier  "Layout0"
    Option      "AutoAddDevices" "true"
    Option      "AutoAddGPU" "false"
EndSection

Section "Device"
    Identifier  "DiscreteNvidia"
    Driver      "nvidia"
    VendorName  "NVIDIA Corporation"

#   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" "false"
    Option "UseEDID" "false"
    Option "UseDisplayDevice" "none"
EndSection

And then reboot

Thank you very much for the help, this has worked fine for me big_smile

Offline

#24 2017-11-10 10:42:27

ticianolage
Member
Registered: 2017-02-15
Posts: 25

Re: Problems installing nvidia drivers with bumblebee on an optimus laptop

nexnico wrote:

Thank you very much for the help, this has worked fine for me big_smile

Please change the thread name to include [Solved]

Offline

#25 2017-11-10 12:20:46

nexnico
Member
Registered: 2017-05-26
Posts: 15

Re: Problems installing nvidia drivers with bumblebee on an optimus laptop

ticianolage wrote:
nexnico wrote:

Thank you very much for the help, this has worked fine for me big_smile

Please change the thread name to include [Solved]

After rebooting once it doesn't work anymore

$ systemctl status bumblebeed.service 
● bumblebeed.service - Bumblebee C Daemon
   Loaded: loaded (/usr/lib/systemd/system/bumblebeed.service; enabled; vendor preset: disabled)
   Active: active (running) since Fri 2017-11-10 13:11:32 CET; 3min 26s ago
 Main PID: 537 (bumblebeed)
    Tasks: 1 (limit: 4915)
   CGroup: /system.slice/bumblebeed.service
           └─537 /usr/bin/bumblebeed

nov 10 13:11:32 Blacktop systemd[1]: Started Bumblebee C Daemon.
nov 10 13:11:32 Blacktop bumblebeed[537]: [   26.496929] [INFO]/usr/bin/bumblebeed 3.2.1 started
nov 10 13:12:37 Blacktop bumblebeed[537]: [   91.689267] [WARN][XORG] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
nov 10 13:12:37 Blacktop bumblebeed[537]: [   91.689304] [WARN][XORG] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
nov 10 13:12:37 Blacktop bumblebeed[537]: [   91.689317] [WARN][XORG] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
nov 10 13:12:37 Blacktop bumblebeed[537]: [   91.689336] [WARN][XORG] (WW) NVIDIA(0): Unable to get display device for DPI computation.
nov 10 13:12:37 Blacktop bumblebeed[537]: [   91.689350] [WARN][XORG] (WW) NVIDIA(0): Option "NoLogo" is not used
nov 10 13:12:37 Blacktop bumblebeed[537]: [   91.789553] [ERROR]X unresponsive after 10 seconds - aborting
$ optirun --status
Bumblebee status: Error (3.2.1): X unresponsive after 10 seconds - aborting
$ cat /etc/bumblebee/xorg.conf.nvidia
Section "ServerLayout"
    Identifier  "Layout0"
    Option      "AutoAddDevices" "true"
    Option      "AutoAddGPU" "false"
EndSection

Section "Device"
    Identifier  "DiscreteNvidia"
    Driver      "nvidia"
    VendorName  "NVIDIA Corporation"

#   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" "false"
    Option "UseEDID" "false"
    Option "UseDisplayDevice" "none"
EndSection
$ optirun glxspheres64
[  546.434766] [ERROR]Cannot access secondary GPU - error: X unresponsive after 10 seconds - aborting

[  546.434832] [ERROR]Aborting because fallback start is disabled.

Offline

Board footer

Powered by FluxBB