You are not logged in.

#1 2013-04-08 15:24:51

roobre
Member
From: Spain
Registered: 2010-10-10
Posts: 34

[SOLVED] Problem with dual Nvidia/Intel and Xorg (w/ bumblebee)

Hi there!
I just bought a new laptop, and I having a couple of problem trying to run xorg on it.
It has those fantastic nvidia optimus card. I have tried with bot just nvidia driver and bumblebee, but my xorg still refusing to start.
I attach here my Xorg.0.log, nvidia & intel installed packages and dmesg.

local/bumblebee 3.1-5
    NVIDIA Optimus support for Linux through VirtualGL
local/libvdpau 0.6-1
    Nvidia VDPAU library
local/nvidia 313.30-2
    NVIDIA drivers for linux
local/nvidia-utils 313.30-2
    NVIDIA drivers utilities
local/intel-dri 9.1.1-1
    Mesa drivers for Intel
local/bbswitch 0.6-2
    Kernel module allowing to switch dedicated graphics card on Optimus laptops

Xorg.0.log
dmesg
xorg.conf

Any hint out there will be appreciated ^^

Regards

Last edited by roobre (2013-04-11 00:25:20)

Offline

#2 2013-04-08 16:26:05

hadrons123
Member
From: chennai
Registered: 2011-10-07
Posts: 1,249

Re: [SOLVED] Problem with dual Nvidia/Intel and Xorg (w/ bumblebee)

What happens when you run optirun ?


LENOVO Y 580 IVYBRIDGE 660M NVIDIA
Unix is user-friendly. It just isn't promiscuous about which users it's friendly with. - Steven King

Offline

#3 2013-04-08 17:42:48

cybertorture
Member
Registered: 2010-05-05
Posts: 339

Re: [SOLVED] Problem with dual Nvidia/Intel and Xorg (w/ bumblebee)

try to disable nvidia and nouveao modules in /etc/modprobe.d/blacklist_nvidia.conf, also make sure u have bbswitch installed and bumblebee service start at boot.


O' rly ? Ya rly Oo

Offline

#4 2013-04-08 17:47:45

hadrons123
Member
From: chennai
Registered: 2011-10-07
Posts: 1,249

Re: [SOLVED] Problem with dual Nvidia/Intel and Xorg (w/ bumblebee)

Why disable both?


LENOVO Y 580 IVYBRIDGE 660M NVIDIA
Unix is user-friendly. It just isn't promiscuous about which users it's friendly with. - Steven King

Offline

#5 2013-04-09 09:20:49

roobre
Member
From: Spain
Registered: 2010-10-10
Posts: 34

Re: [SOLVED] Problem with dual Nvidia/Intel and Xorg (w/ bumblebee)

hadrons123 wrote:

What happens when you run optirun ?

Mo matter the command I execute with optirun, the result is:

[  176.064070] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) Failed to load module "mouse" (module does not exist, 0)

[  176.064700] [ERROR]Aborting because fallback start is disabled.
cybertorture wrote:

try to disable nvidia and nouveao modules in /etc/modprobe.d/blacklist_nvidia.conf, also make sure u have bbswitch installed and bumblebee service start at boot.

Forgot to add bbswitch to the list in the first post, updated tongue (Anyway, you can see their messages on dmesg log, so it's installed and running fine. Same for bumblebee).

lsmod #grepped bbswitch, nvidia
bbswitch                6086  0 
nvidia               9122517  0 
i2c_core               23171  7 drm,i915,i2c_i801,drm_kms_helper,i2c_algo_bit,nvidia,videodev

Last edited by roobre (2013-04-09 09:21:23)

Offline

#6 2013-04-09 10:44:03

hadrons123
Member
From: chennai
Registered: 2011-10-07
Posts: 1,249

Re: [SOLVED] Problem with dual Nvidia/Intel and Xorg (w/ bumblebee)


LENOVO Y 580 IVYBRIDGE 660M NVIDIA
Unix is user-friendly. It just isn't promiscuous about which users it's friendly with. - Steven King

Offline

#7 2013-04-09 13:41:21

roobre
Member
From: Spain
Registered: 2010-10-10
Posts: 34

Re: [SOLVED] Problem with dual Nvidia/Intel and Xorg (w/ bumblebee)

hadrons123 wrote:

I have neither /etc/X11/xorg.conf.d/20-intel.conf nor /etc/X11/xorg.conf.d/10-monitor.conf.

Tried to add this:

Section "Device"
    Identifier "nvidiagpu1"
    Driver "nvidia"
    BusID "PCI:0:1:0"
EndSection

on a config file, with same result, x.org refuses to load anyway.

In my opinion, the problem is more related with the driver itself (or xorg config) than with bumblebee.. It didn't start even after installing bumble :\

Offline

#8 2013-04-09 14:18:14

Thaodan
Member
From: Dortmund, Nordrein-Westfalen
Registered: 2012-04-28
Posts: 448

Re: [SOLVED] Problem with dual Nvidia/Intel and Xorg (w/ bumblebee)

may try to install xf86-input-mouse and try again?


Linux odin 3.13.1-pf #1 SMP PREEMPT Wed Mar 5 21:47:28 CET 2014 x86_64 GNU/Linux

Offline

#9 2013-04-09 18:05:40

cybertorture
Member
Registered: 2010-05-05
Posts: 339

Re: [SOLVED] Problem with dual Nvidia/Intel and Xorg (w/ bumblebee)

hadrons123 wrote:

Why disable both?

Becouse of Xorg, the rite module is loaded by bumblebee when its needed (it does not respect blacklist do not worry.

roobre wrote:

Forgot to add bbswitch to the list in the first post, updated tongue (Anyway, you can see their messages on dmesg log, so it's installed and running fine. Same for bumblebee).

Yes i saw only Xorg log when replyed, and there must not be nvidia at all. Also you sould not have /etc/X11/xorg.conf or /etc/X11/xorg.conf.d/10-intel/nvidia.conf, it is possible to use them but i m not sure how you should config them , at very least xorg.conf should point to intel not nvidia, nvidia config is located at /etc/bumblebee/xorg-nvidia/nouveau.conf and its loaded by bumblebee by default for :8 not :0 smile
Anyway hope this will help you.
Cheers


O' rly ? Ya rly Oo

Offline

#10 2013-04-09 19:40:06

Arogers10
Member
Registered: 2012-06-20
Posts: 68

Re: [SOLVED] Problem with dual Nvidia/Intel and Xorg (w/ bumblebee)

roobre wrote:

Mo matter the command I execute with optirun, the result is:

[  176.064070] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) Failed to load module "mouse" (module does not exist, 0)

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

I've seen this same error just about every time I've set up bumblebee in the past. Yet I'm drawing a blank as to how I overcame it... At the moment I can think perhaps running

Xorg -configure

As I find it a bit odd your intel driver does not seem to be listed in xorg.conf, and see if it outputs any errors regarding the mouse or graphics chips. I also would see if xf86-input-evdev helps, and installing primus from the official repos. Running applications with primusrun instead of optirun seems to be more stable and may output a more helpful error.

Offline

#11 2013-04-11 00:24:53

roobre
Member
From: Spain
Registered: 2010-10-10
Posts: 34

Re: [SOLVED] Problem with dual Nvidia/Intel and Xorg (w/ bumblebee)

Ok guys, I fixed it.
Looking at https://wiki.archlinux.org/index.php/NV … IA_Optimus, I found that I had no intel driver installed.
The solution was as stupid as installing xf86-intel-driver, blacklisting nvidia, and everything works now flawlessly, even optirun ^^
Ah, forgot it, deleted /etc/X11/xorg.conf, and regererated it with X -configure.

[roobre@Archpv3 ~]$ glxspheres 
Polygons in scene: 62464
Visual ID of window: 0x21
Context is Direct
OpenGL Renderer: Mesa DRI Intel(R) Ivybridge Mobile 
59.074222 frames/sec - 50.617156 Mpixels/sec
[roobre@Archpv3 ~]$ optirun glxspheres
Polygons in scene: 62464
Visual ID of window: 0x21
Context is Direct
OpenGL Renderer: GeForce GT 630M/PCIe/SSE2
122.561336 frames/sec - 105.015455 Mpixels/sec

Best regards, and thanks for your help! ^^

Last edited by roobre (2013-04-11 00:29:20)

Offline

Board footer

Powered by FluxBB