You are not logged in.

#1 2016-06-27 13:45:04

SavinShetty
Member
From: Mumbai - India
Registered: 2016-06-27
Posts: 20
Website

Bumblebee issue - nvidia setting fail & how to remove nouveau

I have tried to run two code and both return same error.

# optirun glxgears -info
[ 4678.099688] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) Failed to load module "nouveau" (module does not exist, 0)

[ 4678.099722] [ERROR]Aborting because fallback start is disabled.
# optirun glxspheres64
[ 4683.083677] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) Failed to load module "nouveau" (module does not exist, 0)

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

Can i know what this issue is related to, due to this issue it seems the laptop has started to heat up.
sorry if i have made any mistake, newbee here.
Thankyou.

Edit 1

cat /proc/acpi/bbswitch

and found that bbswitch wasnt installed, so then i did the needfull after that and now i get a output which is as follows

0000:01:00.0 OFF

After this i tried to check if i have nouveau or nvidia as my driver
so i ran

# lspci -k | grep -A 2 -E "(VGA|3D)"
00:02.0 VGA compatible controller: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller (rev 06)
	Subsystem: Lenovo Device 3978
	Kernel driver in use: i915
--
01:00.0 3D controller: NVIDIA Corporation GM107M [GeForce GTX 860M] (rev ff)
	Kernel modules: nouveau
08:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8723BE PCIe Wireless Network Adapter

here i found about the problem with nouveau, cus i have already installed nvidia still nouveau is been used as the driver. Can i know what more should i do to change the driver as the nvidia wiki tells that nouveau would be blacklisted by nvidia as it is installed but in my case it seems it hasn't been so. And i have enabled bumblebee as well as added the users to the group. anything else that i need to follow?

Edit 2

# pacman -Qs nvidia
local/bumblebee 3.2.1-11
    NVIDIA Optimus support for Linux through VirtualGL
local/libvdpau 1.1.1-2
    Nvidia VDPAU library
local/nvidia-lts 367.27-1
    NVIDIA drivers for linux-lts
local/nvidia-utils 367.27-1
    NVIDIA drivers utilities

# pacman -Qs xf86-video
local/xf86-video-intel 1:2.99.917+674+g9154dff-1 (xorg-drivers xorg)
    X.org Intel i810/i830/i915/945G/G965+ video drivers

Edit 3

Hey,

As my system is a 64bit one, i didn't proceded with the 32bit stuff like enabling Multilib and installing  lib32-virtualgl, lib32-nvidia-utils & lib32-mesa-libgl.
So i thought why not go ahead with it, and bam it was the trigger.

Now while i execute

#optirun glxgears -info
GL_RENDERER   = GeForce GTX 860M/PCIe/SSE2
GL_VERSION    = 4.5.0 NVIDIA 367.27
GL_VENDOR     = NVIDIA Corporation
GL_EXTENSIONS = 

so now something started working, but when i executed following command it put me into another problem

lspci -k | grep -A 2 -E "(VGA|3D)"
00:02.0 VGA compatible controller: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller (rev 06)
	Subsystem: Lenovo Device 3978
	Kernel driver in use: i915
--
01:00.0 3D controller: NVIDIA Corporation GM107M [GeForce GTX 860M] (rev ff)
	Kernel modules: nouveau, nvidia_drm, nvidia
08:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8723BE PCIe Wireless Network Adapter

You see the problem is at same time three drivers are being used nouveau, nvidia_drm & nvidia for my GPU.

Kind of big confusion, should i manually blacklist nouveau and let the other to be there or is this all good.

And although optirun worked, i am getting following error with nvidia-setting

#optirun -b none nvidia-settings -c :8
[ 9712.608356] [ERROR]Error running "nvidia-settings": No such file or directory

Last edited by SavinShetty (2016-07-05 15:05:03)


Into a learning curve.

Offline

#2 2016-06-27 15:13:07

Rethil
Member
Registered: 2014-08-21
Posts: 83

Re: Bumblebee issue - nvidia setting fail & how to remove nouveau

1. To determine if nvidia is on check:

cat /proc/acpi/bbswitch

2. If there is no /proc/acpi/bbswitch check if bbswitch is installed.
3. Check if you have xf86-video-nouveau or nvidia installed.
4. Did you made yourself member of bumblebee group?
5. Did you enable bumblebeed.service?

You should post what you did in order to setup bumblebee step by step, it will be much easier to tell if you made mistake at some point.

And use code tags!

Offline

#3 2016-07-04 14:41:16

SavinShetty
Member
From: Mumbai - India
Registered: 2016-06-27
Posts: 20
Website

Re: Bumblebee issue - nvidia setting fail & how to remove nouveau

Rethil wrote:

1. To determine if nvidia is on check:

cat /proc/acpi/bbswitch

2. If there is no /proc/acpi/bbswitch check if bbswitch is installed.
3. Check if you have xf86-video-nouveau or nvidia installed.
4. Did you made yourself member of bumblebee group?
5. Did you enable bumblebeed.service?

You should post what you did in order to setup bumblebee step by step, it will be much easier to tell if you made mistake at some point.

And use code tags!

Hey, thankyou for your reply. After your message i ran the code

cat /proc/acpi/bbswitch

and found that bbswitch wasnt installed, so then i did the needfull after that and now i get a output which is as follows

0000:01:00.0 OFF

After this i tried to check if i have nouveau or nvidia as my driver
so i ran

# lspci -k | grep -A 2 -E "(VGA|3D)"
00:02.0 VGA compatible controller: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller (rev 06)
	Subsystem: Lenovo Device 3978
	Kernel driver in use: i915
--
01:00.0 3D controller: NVIDIA Corporation GM107M [GeForce GTX 860M] (rev ff)
	Kernel modules: nouveau
08:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8723BE PCIe Wireless Network Adapter

here i found about the problem with nouveau, cus i have already installed nvidia still nouveau is been used as the driver. Can i know what more should i do to change the driver as the nvidia wiki tells that nouveau would be blacklisted by nvidia as it is installed but in my case it seems it hasn't been so. And i have enabled bumblebee as well as added the users to the group. anything else that i need to follow?


Into a learning curve.

Offline

#4 2016-07-05 03:40:22

Rethil
Member
Registered: 2014-08-21
Posts: 83

Re: Bumblebee issue - nvidia setting fail & how to remove nouveau

What is the output of :

pacman -Qs nvidia
pacman -Qs xf86-video

Offline

#5 2016-07-05 10:00:14

SavinShetty
Member
From: Mumbai - India
Registered: 2016-06-27
Posts: 20
Website

Re: Bumblebee issue - nvidia setting fail & how to remove nouveau

Rethil wrote:

What is the output of :

pacman -Qs nvidia
pacman -Qs xf86-video

Hey rethil thanks for replying, following are the outputs:

# pacman -Qs nvidia
local/bumblebee 3.2.1-11
    NVIDIA Optimus support for Linux through VirtualGL
local/libvdpau 1.1.1-2
    Nvidia VDPAU library
local/nvidia-lts 367.27-1
    NVIDIA drivers for linux-lts
local/nvidia-utils 367.27-1
    NVIDIA drivers utilities

# pacman -Qs xf86-video
local/xf86-video-intel 1:2.99.917+674+g9154dff-1 (xorg-drivers xorg)
    X.org Intel i810/i830/i915/945G/G965+ video drivers

Into a learning curve.

Offline

#6 2016-07-05 10:47:47

SavinShetty
Member
From: Mumbai - India
Registered: 2016-06-27
Posts: 20
Website

Re: Bumblebee issue - nvidia setting fail & how to remove nouveau

Hey after that i read in wiki about nvidia-beta for latest GPU models, but then the nvidia-beta-libgl conflicts with mesa-libgl. so i didnt proceed further as in bumblebee wiki it was written mesa-libgl is important for bumblebee. This is very tricky please help out.

Last edited by SavinShetty (2016-07-05 10:48:49)


Into a learning curve.

Offline

#7 2016-07-05 14:57:12

SavinShetty
Member
From: Mumbai - India
Registered: 2016-06-27
Posts: 20
Website

Re: Bumblebee issue - nvidia setting fail & how to remove nouveau

Hey,

As my system is a 64bit one, i didn't proceded with the 32bit stuff like enabling Multilib and installing  lib32-virtualgl, lib32-nvidia-utils & lib32-mesa-libgl.
So i thought why not go ahead with it, and bam it was the trigger.

Now while i execute

#optirun glxgears -info
GL_RENDERER   = GeForce GTX 860M/PCIe/SSE2
GL_VERSION    = 4.5.0 NVIDIA 367.27
GL_VENDOR     = NVIDIA Corporation
GL_EXTENSIONS = 

so now something started working, but when i executed following command it put me into another problem

lspci -k | grep -A 2 -E "(VGA|3D)"
00:02.0 VGA compatible controller: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller (rev 06)
	Subsystem: Lenovo Device 3978
	Kernel driver in use: i915
--
01:00.0 3D controller: NVIDIA Corporation GM107M [GeForce GTX 860M] (rev ff)
	Kernel modules: nouveau, nvidia_drm, nvidia
08:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8723BE PCIe Wireless Network Adapter

You see the problem is at same time three drivers are being used nouveau, nvidia_drm & nvidia for my GPU.

Kind of big confusion, should i manually blacklist nouveau and let the other to be there or is this all good.

And although optirun worked, i am getting following error with nvidia-setting

#optirun -b none nvidia-settings -c :8
[ 9712.608356] [ERROR]Error running "nvidia-settings": No such file or directory

Into a learning curve.

Offline

#8 2016-07-05 15:04:11

Rethil
Member
Registered: 2014-08-21
Posts: 83

Re: Bumblebee issue - nvidia setting fail & how to remove nouveau

Post output of

lsmod | grep nouveau

Then do

optirun glxgears

and then as glxgears are on post output of

lsmod | grep nvidia
lsmod | grep nouveau

If first didn't gave you output at all and next two gives you only nvidia modules you're good already.

Last edited by Rethil (2016-07-05 15:16:42)

Offline

#9 2016-07-05 15:33:15

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,740

Re: Bumblebee issue - nvidia setting fail & how to remove nouveau

I see a lot of # prompts in this thread.  Are we running Xorg while logged in as root?  I don;t recommend that and wonder if that could be a contributing factor.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#10 2016-07-05 15:41:45

Rethil
Member
Registered: 2014-08-21
Posts: 83

Re: Bumblebee issue - nvidia setting fail & how to remove nouveau

ewaller wrote:

I see a lot of # prompts in this thread.  Are we running Xorg while logged in as root?  I don;t recommend that and wonder if that could be a contributing factor.

Since sometimes there is space between # and command and sometimes not, I think he put it there by hand to emphasize commend used to generate output.

Last edited by Rethil (2016-07-05 15:43:13)

Offline

#11 2016-07-06 10:33:35

SavinShetty
Member
From: Mumbai - India
Registered: 2016-06-27
Posts: 20
Website

Re: Bumblebee issue - nvidia setting fail & how to remove nouveau

Rethil wrote:

Post output of

lsmod | grep nouveau

Then do

optirun glxgears

and then as glxgears are on post output of

lsmod | grep nvidia
lsmod | grep nouveau

If first didn't gave you output at all and next two gives you only nvidia modules you're good already.

Hey,

lsmod | grep nouveau

didnt give me any kind of output.

optirun glxgears

This gave a new window with graphics moving, then i opened up a new terminal without clossing the graphical window and its terminal.
In this terminal i ran the following code

$ lsmod | grep nvidia
nvidia_modeset        757760  2
nvidia              11014144  53 nvidia_modeset
$ lsmod | grep nouveau

Even here i didnt get a output for nouveau, and nvidia did produce some output. Is this the right way to do it?


Into a learning curve.

Offline

#12 2016-07-06 10:37:55

SavinShetty
Member
From: Mumbai - India
Registered: 2016-06-27
Posts: 20
Website

Re: Bumblebee issue - nvidia setting fail & how to remove nouveau

ewaller wrote:

I see a lot of # prompts in this thread.  Are we running Xorg while logged in as root?  I don;t recommend that and wonder if that could be a contributing factor.

Hey ewaller,

                    I'm new to arch & i dont know any good pratice, so yes i was executing the commands in & as root. After you mentioned it would be a problem i have now switched to a normal user.
Thankyou for pointing it out, and i would like to know from you if you have any link or blog where i can read about such practices.


Into a learning curve.

Offline

#13 2016-07-06 10:40:13

SavinShetty
Member
From: Mumbai - India
Registered: 2016-06-27
Posts: 20
Website

Re: Bumblebee issue - nvidia setting fail & how to remove nouveau

Rethil wrote:
ewaller wrote:

I see a lot of # prompts in this thread.  Are we running Xorg while logged in as root?  I don;t recommend that and wonder if that could be a contributing factor.

Since sometimes there is space between # and command and sometimes not, I think he put it there by hand to emphasize commend used to generate output.

Yes, sometimes i did manually add it to make it stand out from other output. But before rethil pointed out i used to work as a root user, which i have stoped now. Thanks to you two for helping out.


Into a learning curve.

Offline

#14 2016-07-06 17:43:30

Rethil
Member
Registered: 2014-08-21
Posts: 83

Re: Bumblebee issue - nvidia setting fail & how to remove nouveau

You're good. Everything is ok. Optirun uses nvidia drivers.

Offline

#15 2016-07-10 18:14:54

SavinShetty
Member
From: Mumbai - India
Registered: 2016-06-27
Posts: 20
Website

Re: Bumblebee issue - nvidia setting fail & how to remove nouveau

Rethil wrote:

You're good. Everything is ok. Optirun uses nvidia drivers.

but dont you think it would be necesary to blacklist the other driver?


Into a learning curve.

Offline

#16 2016-07-11 01:58:26

Rethil
Member
Registered: 2014-08-21
Posts: 83

Re: Bumblebee issue - nvidia setting fail & how to remove nouveau

It was already blacklisted by nvidia, if it was not appropriate module would be loaded (nouveau).

Offline

Board footer

Powered by FluxBB