-
Notifications
You must be signed in to change notification settings - Fork 142
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
Cannot access secondary GPU #749
Comments
I had a similar issue (with my Ubuntu 15.10 installation). The problem in my case was an incorrect naming of the NVidia module in the bumblebee.conf file. Also checking your bumblebee.conf file I can see that [bumblebeed] section's Driver parameter is not set and [driver-nvidia] section's KernelDriver=nvidia-current (I had to change this to specific nvidia module version on ubuntu). |
I'm having the EXACT problem in ubuntu 16.04, in ubuntu 15.10 was working fine. I really can't get out this. Also with nouveau |
Also I don't have any /var/log/Xorg.8.log but in Xorg.0.log i got 510.566 config/udev: removing GPU device /sys/devices/pci0000:00/0000:00:1c.4/0000:03:00.0/drm/card1 /dev/dri/card1 I waited a couple of seconds and seems like the module doens't unload. 493.451 config/udev: removing GPU device /sys/devices/pci0000:00/0000:00:1c.4/0000:03:00.0/drm/card1 /dev/dri/card1 |
I have exactly the same problem with Sparky Linux (it is a Debian testing distribution). Exactly the same error message as issuer.
My configuration files are edited according to dfszb but it doesn't help. |
If you are on Debian testing/unstable or ubuntu 16.04 or any derivative with Xorg >= 1.18, make sure you don't have xserver-xorg-legacy installed, as it's incompatible with bumblebee. |
Already tried, but nvidia-361 on ubuntu won't let me login through lightdm (idk why) and it is he only nvidia driver which does not require the xorg-legacy package. |
Only the legacy 340 series should require the legacy wrapper, not sure why they depend on it in Ubuntu... Anyway, maybe you could try to hack the /usr/bin/Xorg script to never run the wrapper? |
Thank you bluca. Uninstalling the xserver-org-legacy package solved the problem. |
I'll try this evening to hack the nvidia package and see if the problem is solved. |
I’m not sure of the state of this issue. Is it a distro-specific problem with Ubuntu way of packaging Xorg? |
In my case this was caused by the configuration files, editing the config files helped. (and I guess this means it was a distro-specific issue). |
Maybe a bug should be filed at https://bugs.launchpad.net/ubuntu/+source/bumblebee. |
I also think it's a distro-specific issue. In my case this problem appeared when I did a kernel upgrade via apt-get, but I'm not able to tell You wheter/ and what packages were required to satisfy dependiencies. Coincidentally I had to do clear inststallation with newer kernel version and then fresh bumblebee installation worked well. |
I want only remind that in my case used distribution was Debian |
@bartQu9 Yes, but you went able to solve it by reinstalling/cleaning the conf. Other people around here on Ubuntu 16.04 seems to have to modify default conf files/ldconfig to get things working. |
I've got Ubuntu 16.04 and I've solved by manually removing the xorg wrapper from the xorg-legacy package, checked that in Ubuntu 15.10 and it wasn't a dependency, so that's why the problem came just with this version of Ubuntu. This occurs with all versions of the nvidia driver. Strangely, after a second reboot, I wasn't also able to login into unity from lightdm, after doing this trick, so I had to remove/reset the dconf configuration of my user. |
Well this is a conundrum. I run my games in a secondary X server, which I can't start unless I have xserver-xorg-legacy. But bumblebee now conflicts with xserver-xorg-legacy? Is there some way around this? I was thinking I could copy that Xorg wrapper somewhere that it won't get run by default, and have my script's startx invoke it manually, but is there a better way to get around this? |
If it’s a matter of Xorg wrapper, #743 could help. |
Yeah, that seems like a good thing to have in any case... however, it seems that if I remove xserver-xorg-legacy, my game running script still works as long as my regular user can access my tty dev. I should look into some way to make sure my user can always access the ttys with udev. So never mind my concerns, haha! |
I guess xorg doesn't work for you without the legacy wrapper. If you are on Debian, we just uploaded a version that bypasses it without needing to remove it. |
Do you think the package is likely to work on Ubuntu Xenial as well? If so, where can I snag it? |
No, that’s on 16.04, like everyone else here. We’re quite close to release 4.0, hope for Ubuntu users that @Vincent-C or @happyaron (or even yourself @bluca, I’m not sure who does what now in this packaging team…) will be able to release it to the PPA too. @TiZ-EX1 Not sure about the state today, but normally it should (when Debian packaging entered the game, we made sure that it would work for both to relieve Ubuntu packaging work when downstreaming). |
@TiZ-EX1 - the built binary .deb is not compatible, the nvidia-driver is quite different in Ubuntu. However the source is shared, so if you rebuild it locally in Ubuntu it should work. But I've only tested it in 15.10, not in 16.04 (don't have a machine with that yet). Some feedback would actually be useful to have :-) Repo: https://anonscm.debian.org/cgit/pkg-nvidia/bumblebee.git/ @ArchangeGabriel - I'm not sure I've got powers to do releases on the PPA. The package in the official Ubuntu archive is synced automatically, so 16.10 already has the new version with the fix: http://packages.ubuntu.com/yakkety/bumblebee |
If anyone needs me to make an upload to the PPA, just give me a shout! I'm only loosely following along with bumblebee since @bluca has basically been taking care of everything on the Debian side (I'm just taking the opportunity to catch up with all my other neglected packages in Debian after being MIA for a while). As for an update via the official Ubuntu archive, I don't think we've ever bothered with that in the past, since Ubuntu SRUs are just as much of a hassle as Debian stable updates, so we've just seemed to expect Ubuntu users to use the PPA. |
Hello @bluca , thanks for helping. Here the log file Xorg.8.log https://gist.github.com/ppmt/b35a24b512bf0c37a2e60b883a187844 |
Hi. My workaround for "mouse" problem is
Now I can run without errors Hope it will help somebody on a similar hardware. |
@user-az : thanks a lot! that did it for me too. I uncommented the BUSID line and now it all works. Optirun will launch the app. without optirun : and with optirun : |
I've got the same problem on Ubuntu 16.04, and removing package xserver-xorg-legacy really helps! |
I can confirm that doing then restart bumblebeed worked for me. |
Confirming that removing xserver-xorg-legacy worked for me on Linux Mint 18.1 on an MSI GS 60 Ghost with 970M and an Intel embedded GPU. |
For anyone who stumbles across this bug Googling, thanks to somebody on the Arch forums I have realized that this may be because of TLP disabling the GPU driver if you get |
For me too. |
@BaronBaleron could you please post the screen of the xorg nvidia file? |
LinuxMint 18.1 (Xenial) - Asus U36JC, GT218M [GeForce 310M] |
Hello, I have removed xserver-xorg-legacy, and xserver-xorg-videau-nouveau, blacklisted nouveau (to be able to boot/login successfully), the BUSID is uncommented and has the right ID "PCI:01:00:0". I've done the Screen trick, I managed to start bumblebeed, but the error is still in syslog. I've done the TLP trick too. I'm running Ubuntu 16.04.4LTS with 4.10.0.20-generic kernel and NVIDIA 378.13 driver. The syslog: https://pastebin.com/06BCUdRH This appeared after upgrading to 4.10.0.20-generic. On 4.10.0.19-generic all was running smooth. Couldn't do it on 4.10.0.19 again. Please help! |
What laptop & GPU do you have? |
Hi @bluca , Dell XPS 15 9560 I added +iglx to /usr/share/lightdm/lightdm.conf.d/50-xserver-command.conf to make normal opengl apps work with intel. Could not run them before. I installed nvidia-381 from the apt repos (no nvidia proprietary drivers install, even though I installed 378 by extracting the driver and patching it with a patch from the nvidia forums, https://devtalk.nvidia.com/default/topic/995429/linux/failed-installed-nvidia-with-kernel-4-10/). Before installing 378 from extracted and patched sources, I installed bumblebee-nvidia, which brought nvidia-304 and nvidia-current as dependencies. After I installed nvidia-378 from patched installer, i tried installing from apt repos, with no luck still. I tried upgrading the nvidia drivers to 381. By installing the nvidia-381, apt said a lot of packages were going to be removed (including nvidia-current), I read that sometimes this was the issue. I will make another pastebin. https://pastebin.com/VDNqz13Z I changed the bumblebee.conf to point to 381 drivers. Reboot. All works. What should I check for now ? Thanks, |
Sorry, I'm a bit lost - is it working with 381 or not? Also make sure to use the Xenial testing PPA if you are on 16.04: https://launchpad.net/~bumblebee/+archive/ubuntu/testing |
Hi Luca,
I was using the testing ppa. Yes, it works now, finally!
What should i check/run to see all runs in between recommended parameters?
Thanks,
Daniel M. Colceag
… On 1 May 2017, at 14:34, Luca Boccassi ***@***.***> wrote:
What laptop & GPU do you have?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.
|
I've just uploaded a new version that will fix apt trying to remove everything when installing nvidia-381. If you can run "optirun glxgears -info" a couple of times and it works, and it prints that it's using the nvidia GLX driver then you are all good. |
But I guess that's what made it work!
It is possible that, among the old components which were already installed, the culprit resided. I suspect nvidia-current. Hope I'm not saying horse poo. Correct me if i'm wrong or incomplete, please. Or explain what was wrong
Thanks
Daniel M. Colceag
… On 1 May 2017, at 17:09, Luca Boccassi ***@***.***> wrote:
I've just uploaded a new version that will fix apt trying to remove everything when installing nvidia-381.
If you can run "optirun glxgears -info" a couple of times and it works, and it prints that it's using the nvidia GLX driver then you are all good.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.
|
I'm referring to a different problem - bumblebee-nvidia depends on a list of available drivers, and 381 was missing. It's now been added to the list. Yes, you shouldn't have multiple versions of the driver packages installed in Ubuntu, they conflict with each other, so it's correct to have only one. Happy you could get it working - given all issues here seem solved, I'll close now for housekeeping. |
As I've witnessed, the default driver for bumblebee-nvidia was nvidia-304. What version are you going to recommend when one installs bumblebee-nvidia for the first time ? |
It depends on the hardware. Different series support different cards, the distribution should have an autodetect script, else Nvidia's website has the official list |
I get a strange behavior after 1 day of using it. Didn't happen until today, though. I put the laptop to sleep using the right-most menu from the status bar. Touchpad loses its click and tap-to-click on wake-up, same for restart. |
fixed after updating to next version of bumblebee released. |
For those struggling with systems like mine, this may save you the headaches and time I spent: |
In relation to @jkdf2's comment, powertop give the same problem. |
This!Finally fixed the issue on my Dell 5520:
|
Distro:
Debian Stretch (Testing)
Kernel:
4.4.0-1-amd64 #1 SMP Debian 4.4.6-1 (2016-03-17) x86_64 GNU/Linux
My bumblebee was working fine but now, when I'm trying to run any aplication on the seccondary GPU via optirun I receive followning error:
The major problem is that I don't receive any specific error just
Cannot access secondary GPU - error: [XORG] (EE)
Here is my bumblebee-bugreport:
bumblebee-bugreport-20160328_140734.tar.gz
The text was updated successfully, but these errors were encountered: