Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GTX670M: NVIDIA(0): Failed to assign any connected display devices to X screen 0 #187

Closed
MacDaddy1660B opened this issue Jun 22, 2012 · 31 comments
Labels

Comments

@MacDaddy1660B
Copy link

Hi all,

I'm getting this when I try to run optirun.

fatpie@fatpatty:~$ optirun -vv glxspheres 
[DEBUG]Reading file: /etc/bumblebee/bumblebee.conf
[DEBUG]Process /sbin/modinfo started, PID 27832.
[DEBUG]Hiding stderr for execution of /sbin/modinfo
[DEBUG]SIGCHILD received, but wait failed with No child processes
[DEBUG]Detected nvidia driver (module nvidia-current)
[DEBUG]Active configuration:
[DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
[DEBUG] X display: :8
[DEBUG] LD_LIBRARY_PATH: /usr/lib/nvidia-current:/usr/lib32/nvidia-current
[DEBUG] Socket path: /var/run/bumblebee.socket
[DEBUG] VGL Compression: proxy
[DEBUG]optirun version 3.0 starting...
[INFO]Response: No - error: [XORG] (EE) NVIDIA(0): Failed to assign any connected display devices to X screen 0

[ERROR]Cannot access secondary GPU - error: [XORG] (EE) NVIDIA(0): Failed to assign any connected display devices to X screen 0

[DEBUG]Socket closed.
[ERROR]Aborting because fallback start is disabled.
[DEBUG]Killing all remaining processes.

The symptoms of this problem are identical to those posted in issue #182 (#182), but I do not see any nvidia-current in /usr/share/X11/xorg.conf.d/. Am I missing something?

_EDIT_

My system is a Sager NP9130 (Clevo P151EM1) with the Geforce 670M graphics card. Also:

fatpie@fatpatty:~$ uname -a
Linux fatpatty 3.2.0-26-generic #41-Ubuntu SMP Thu Jun 14 17:49:24 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
@nicolaasuni
Copy link

I am experincing the same problem.

I am unable to use Bumblebee on a new Clevo Laptop (mainboard P150EMx - BIOS 1.00.04) with Nvidia Optimus GTX 670M.
I have searched on previous posts but none of the suggested changes applies to my case.

I am using:

Ubuntu 12.04
Linux xxxxxx 3.2.0-25-generic #40-Ubuntu SMP Wed May 23 20:30:51 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
nvidia driver 302.17

Some info:


optirun glxspheres

[ERROR]Cannot access secondary GPU - error: XORG NVIDIA(0): Failed to assign any connected display devices to X screen 0

[ERROR]Aborting because fallback start is disabled.


/usr/lib/nvidia-current/bin/nvidia-xconfig --query-gpu-info --nvidia-cfg-path=/usr/lib/nvidia-current

Number of GPUs: 1

GPU #0:
Name : GeForce GTX 670M
PCI BusID : PCI:1:0:0

Number of Display Devices: 0


xrandr -q

Screen 0: minimum 320 x 200, current 3840 x 1080, maximum 8192 x 8192
LVDS1 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 344mm x 193mm
1920x1080 60.0+ 59.9 50.0
1680x1050 60.0 59.9
1600x1024 60.2
1400x1050 60.0
1280x1024 60.0
1440x900 59.9
1280x960 60.0
1360x768 59.8 60.0
1152x864 60.0
1024x768 60.0
800x600 60.3 56.2
640x480 59.9

VGA1 disconnected (normal left inverted right x axis y axis)
HDMI1 disconnected (normal left inverted right x axis y axis)
DP1 disconnected (normal left inverted right x axis y axis)
HDMI2 connected 1920x1080+1920+0 (normal left inverted right x axis y axis) 160mm x 90mm
1920x1080 60.0+
1680x1050 60.0
1400x1050 60.0
1600x900 60.0
1280x1024 60.0
1440x900 59.9
1360x768 60.0
1280x800 59.8
1152x864 60.0
1280x720 60.0
1024x768 60.0
800x600 60.3
640x480 60.0
720x400 70.1

HDMI3 disconnected (normal left inverted right x axis y axis)
DP2 disconnected (normal left inverted right x axis y axis)
DP3 disconnected (normal left inverted right x axis y axis)


@LiamDawe
Copy link

LiamDawe commented Jul 6, 2012

So since my issues is referenced I will ask here - what is needed to get these newer chips to run under TBP? Is it kernel additions, nvidia drivers, what?

@nicolaasuni
Copy link

To the Bublebee project authors: do you have any clue why you project is not working on these laptops? Do you need more debug information? Can you please point me on the right direction or give some feedback?
The situation is frustrating, since I have purchased an expensive laptop with an expensive NVidia card and I haven't found any way to use it under Linux!

@LiamDawe
Copy link

LiamDawe commented Jul 6, 2012

Well the devs commented on my issue link in here with "I am afraid that it is a driver issue fo9r the new 6xxM chips. See also issues #187 #133" So according to them it's the nvidia drivers :/

@ArchangeGabriel
Copy link
Member

Some people succeeded in using those chips on newer kernel, such as 3.4 or 3.5. Maybe you can give them a try.

@LiamDawe
Copy link

LiamDawe commented Jul 7, 2012

I don't see why a different kernel would make a difference if it's as the developer said it's a driver issue?

@ArchangeGabriel
Copy link
Member

I'm a developer too. ;)

We think that it is a driver issue, however, some people succeeded in using it with a newer kernel, so you can try xorg-edgers ppa and their kernel. So maybe they are some hardware enablement in newer kernel for Kepler cards.

@LiamDawe
Copy link

LiamDawe commented Jul 7, 2012

Ah hah didn't even know my bad :), from what i've seen x-org edgers is xorg related drivers but no newer kernels?

@ArchangeGabriel
Copy link
Member

@LiamDawe
Copy link

LiamDawe commented Jul 7, 2012

Well the Ubuntu devs are updating the Kernels in LTS releases now so 12.04 will be getting at least the 3.4 kernel so I will sit and wait on that one as I don't want to break my main Kubuntu install. Are there any TBP packages for Ubuntu 12.10 as I could always install that an a seperate partition to test? Or do the nvidia drivers not work on 12.10'spackages yet?

@LiamDawe
Copy link

LiamDawe commented Jul 7, 2012

Right running 3.5 kernel same thing:

[ERROR]Cannot access secondary GPU - error: XORG NVIDIA(0): Failed to assign any connected display devices to X screen 0

[ERROR]Aborting because fallback start is disabled.

So it doesn't change anything for me :/

@LiamDawe
Copy link

LiamDawe commented Jul 7, 2012

liam@liam-laptop-kubuntu:~$ /usr/lib/nvidia-current/bin/nvidia-xconfig --query-gpu-info --nvidia-cfg-path=/usr/lib/nvidia-current
Number of GPUs: 1

GPU #0:
Name : GeForce GT 650M
PCI BusID : PCI:1:0:0

Number of Display Devices: 0

liam@liam-laptop-kubuntu:~$ xrandr -q
Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 32767 x 32767
LVDS1 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 345mm x 194mm
1920x1080 59.9*+
1680x1050 60.0 59.9
1600x1024 60.2
1400x1050 60.0
1280x1024 60.0
1440x900 59.9
1280x960 60.0
1360x768 59.8 60.0
1152x864 60.0
1024x768 60.0
800x600 60.3 56.2
640x480 59.9
VGA1 disconnected (normal left inverted right x axis y axis)
HDMI1 disconnected (normal left inverted right x axis y axis)
DP1 disconnected (normal left inverted right x axis y axis)

@cristiangauma
Copy link

I have this error too on a Asus N61J, with a Nvidia GT325M.

My kernel is 3.4.4-2-ARCH (Archlinux).

DEBUG]Reading file: /etc/bumblebee/bumblebee.conf
[DEBUG]Process modinfo started, PID 5911.
[DEBUG]Hiding stderr for execution of modinfo
[DEBUG]SIGCHILD received, but wait failed with No child processes
[DEBUG]Detected nvidia driver (module nvidia)
[DEBUG]Active configuration:
[DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
[DEBUG] X display: :8
[DEBUG] LD_LIBRARY_PATH: /usr/lib/nvidia-bumblebee:/usr/lib32/nvidia-bumblebee
[DEBUG] Socket path: /var/run/bumblebee.socket
[DEBUG] VGL Compression: proxy
[DEBUG]optirun version 3.0 starting...
[INFO]Response: No - error: XORG NVIDIA(0): Failed to assign any connected display devices to X screen 0

[ERROR]Cannot access secondary GPU - error: XORG NVIDIA(0): Failed to assign any connected display devices to X screen 0

[DEBUG]Socket closed.
[ERROR]Aborting because fallback start is disabled.
[DEBUG]Killing all remaining processes.

@MacDaddy1660B
Copy link
Author

Updated to kernel 3.5.0-030500rc4-generic #201206241635. Problem remains unchanged.

@LiamDawe
Copy link

I don't think it's a higher Kernel that is needed but the newer xorg, correct me if i am wrong though developers. Judging by Phoronix post http://www.phoronix.com/scan.php?page=news_item&px=MTEzNzM

@ArchangeGabriel
Copy link
Member

No, what you're linking is the replacement for Bumblebee, the results of the PRIME project for native support in X.Org. Everything should be in place for Ubuntu 13.04, but you're not concerned for now.

Indeed it should solve the problem, but not before still a long time. But here that could be a driver issue, or a Kepler support one.

@LiamDawe
Copy link

Ah, well as reported a newer kernel doesn't fix the issue for me, is there anything else i can try :(

@ArchangeGabriel
Copy link
Member

Please wait for #201 to be fixed (soon), it may solve your problem.

@LiamDawe
Copy link

That would be super if it did :D

@fractaluser
Copy link

Im on the same kind of laptop brand Clevo and slightly different setup:

Clevo P170EM / 17" FHD Glossy 90% Color Gamut / Core I7 3820QM 2,7-3,7 Ghz / GTX 675M 2 GB GDDR5 / 32GB Crosair Vengeance DDR3 1600 MHz / Intel 520 Series 240GB SSD / 750GB 7200RPM Seagate Second Drive / Intel Centrino Advanced 6230

Ive been struggling with this issue as well, so im hoping something good will come out of this =)

grep -Fn '(EE' /var/log/Xorg.8.log

octodur@mainframe:~$ grep -Fn '(EE' /var/log/Xorg.8.log
15: (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
123:[  1186.388] (EE) Failed to load module "kbd" (module does not exist, 0)
166:[  1186.719] (EE) NVIDIA(0): Failed to assign any connected display devices to X screen 0
167:[  1186.721] (EE) NVIDIA(0): Failing initialization of X screen 0
174:[  1186.736] (EE) Screen(s) found, but none have a usable configuration.

/usr/lib/nvidia-current/bin/nvidia-xconfig --query-gpu-info --nvidia-cfg-path=/usr/lib/nvidia-current

Number of GPUs: 1

GPU #0:
  Name      : GeForce GTX 675M
  PCI BusID : PCI:1:0:0

  Number of Display Devices: 0

xrandr -q

Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 8192 x 8192
LVDS1 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 382mm x 215mm
   1920x1080      60.0*+   59.9  
   1680x1050      60.0     59.9  
   1600x1024      60.2  
   1400x1050      60.0  
   1280x1024      60.0  
   1440x900       59.9  
   1280x960       60.0  
   1360x768       59.8     60.0  
   1152x864       60.0  
   1024x768       60.0  
   800x600        60.3     56.2  
  640x480        59.9  
VGA1 disconnected (normal left inverted right x axis y axis)
HDMI1 disconnected (normal left inverted right x axis y axis)
DP1 disconnected (normal left inverted right x axis y axis)
HDMI2 disconnected (normal left inverted right x axis y axis)
HDMI3 disconnected (normal left inverted right x axis y axis)
DP2 disconnected (normal left inverted right x axis y axis)
DP3 disconnected (normal left inverted right x axis y axis)

octodur@mainframe:~$ lspci

00:00.0 Host bridge: Intel Corporation Ivy Bridge DRAM Controller (rev 09)
00:01.0 PCI bridge: Intel Corporation Ivy Bridge PCI Express Root Port (rev 09)
00:02.0 VGA compatible controller: Intel Corporation Ivy Bridge Graphics Controller (rev 09)
00:14.0 USB controller: Intel Corporation Panther Point USB xHCI Host Controller (rev 04)
00:16.0 Communication controller: Intel Corporation Panther Point MEI Controller #1 (rev 04)
00:1a.0 USB controller: Intel Corporation Panther Point USB Enhanced Host Controller #2 (rev 04)
00:1b.0 Audio device: Intel Corporation Panther Point High Definition Audio Controller (rev 04)
00:1c.0 PCI bridge: Intel Corporation Panther Point PCI Express Root Port 1 (rev c4)
00:1c.1 PCI bridge: Intel Corporation Panther Point PCI Express Root Port 2 (rev c4)
00:1c.2 PCI bridge: Intel Corporation Panther Point PCI Express Root Port 3 (rev c4)
00:1c.3 PCI bridge: Intel Corporation Panther Point PCI Express Root Port 4 (rev c4)
00:1d.0 USB controller: Intel Corporation Panther Point USB Enhanced Host Controller #1 (rev 04)
00:1f.0 ISA bridge: Intel Corporation Panther Point LPC Controller (rev 04)
00:1f.2 SATA controller: Intel Corporation Panther Point 6 port SATA Controller [AHCI mode] (rev 04)
00:1f.3 SMBus: Intel Corporation Panther Point SMBus Controller (rev 04)
01:00.0 VGA compatible controller: NVIDIA Corporation Device 1212 (rev a1)
03:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. Device 5289 (rev 01)
03:00.2 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 0a)
04:00.0 Network controller: Intel Corporation Centrino Advanced-N 6230 (rev 34)
05:00.0 FireWire (IEEE 1394): JMicron Technology Corp. IEEE 1394 Host Controller (rev 30)

octodur@mainframe:~$ optirun glxspheres

[ERROR]Cannot access secondary GPU - error: [XORG] (EE) NVIDIA(0): Failed to assign any connected display devices to X screen 0

[ERROR]Aborting because fallback start is disabled.

octodur@mainframe:~$ uname -a

Linux mainframe 3.4.0-030400-generic #201205210521 SMP Mon May 21 09:22:02 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux

If there is anything i can help to debug or test just let me know, i'll be glad to do so since i want to see this issue resolved. Cheers and thanks for investigating this issue.

@amonakov
Copy link
Contributor

fractaluser, you need to update to 304.22 drivers

@fractaluser
Copy link

okey so i installed the ppa xorg-edgers and did the upgrade. Now im on kernel 3.5 with the latest drivers. Though still when i run nvidia-xconfig i still get the 640xsomething display. Though i notice something new:

octodur@mainframe:~$ optirun glxspheres
[ERROR]Cannot access secondary GPU - error: Could not load GPU driver

[ERROR]Aborting because fallback start is disabled.

octodur@mainframe:~$ modprobe nvidia
WARNING: Not loading blacklisted module nvidia_current
FATAL: Module nvidia not found.

though i cant find that the nvidia_current is blacklisted in /etc/modprobe.d/blacklist.conf

@MacDaddy1660B
Copy link
Author

Do a ls /etc/modprobe.d/nvidia. See any nvidia blacklist files? I found one of these on my own machine.

@MacDaddy1660B
Copy link
Author

I'm sorry, that should be showing asterisks around nvidia in the command above.

@fractaluser
Copy link

octodur@mainframe:/etc/bumblebee$ sudo ls /etc/modprobe.d/nvidia
ls: cannot access /etc/modprobe.d/nvidia: No such file or directory

so =)

octodur@mainframe:/etc/modprobe.d$ ls -la
total 68
drwxr-xr-x 2 root root 4096 Jul 23 22:32 .
drwxr-xr-x 134 root root 12288 Jul 23 23:08 ..
-rw-r--r-- 1 root root 2507 Feb 16 04:03 alsa-base.conf
-rw-r--r-- 1 root root 325 Mar 18 2011 blacklist-ath_pci.conf
-rw-r--r-- 1 root root 1603 Mar 18 2011 blacklist.conf
-rw-r--r-- 1 root root 108 May 23 15:35 blacklist-cups-usblp.conf
-rw-r--r-- 1 root root 210 Mar 18 2011 blacklist-firewire.conf
-rw-r--r-- 1 root root 661 Nov 20 2011 blacklist-framebuffer.conf
-rw-r--r-- 1 root root 156 Feb 16 04:03 blacklist-modem.conf
lrwxrwxrwx 1 root root 41 Jul 23 12:29 blacklist-oss.conf -> /lib/linux-sound-base/noOSS.modprobe.conf
-rw-r--r-- 1 root root 583 Mar 18 2011 blacklist-rare-network.conf
-rw-r--r-- 1 root root 1077 Mar 18 2011 blacklist-watchdog.conf
-rw-r--r-- 1 root root 349 Apr 30 16:50 bumblebee.conf
-rw-r--r-- 1 root root 127 Apr 22 09:31 dkms.conf
-rw-r--r-- 1 root root 157 Jun 18 00:15 nvidia-current_hybrid.conf
lrwxrwxrwx 1 root root 49 Jul 23 21:25 nvidia-graphics-drivers.conf -> /etc/alternatives/x86_64-linux-gnu_nvidia_modconf
-rw-r--r-- 1 root root 30 May 18 10:03 vmwgfx-fbdev.conf

@fractaluser
Copy link

do i need to rebuild the dkms? someone said that in the new drivers its done automagicaly, but i dont know =/

after the upgrade i do have a lot more proprietary drivers to use where one is not active called: Framebuffer driver for nVidia graphics chipset. Not sure if this will do anything?

@LiamDawe
Copy link

Seriously guys can we keep "how do i?" topics out of bug reports getting annoying receiving lots of messages on it when i just want to track bugs.

@fractaluser
Copy link

just to inform that i solved this issue now (at least i think so)

I went into /etc/bumblebee/bumblebee.conf and changed this line:

KernelDriver=nvidia-current
to
KernelDriver=nvidia

now i can run glxspheres and i got 3d support and no nagging about no nvidia-current module not being loaded.

@MacDaddy1660B
Copy link
Author

This bug is fixed in the 304.22 driver in the Ubuntu xorg-edgers repository.

@ericribellarsi
Copy link

Hello, I'm having this same issue, four months later, but on nvidia-current 304.64. When I go to delete the conf file in /usr/share/X11/xorg.conf.d/ there is no config file.

I've fixed the values in bumblebee.conf, but no dice..

optirun glxgears
[ 849.702971] [ERROR]Cannot access secondary GPU - error: XORG NVIDIA(0): Failed to assign any connected display devices to X screen 0

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

@Lekensteyn
Copy link
Member

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

9 participants