-
Notifications
You must be signed in to change notification settings - Fork 144
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
Laptop hangs upon trying to launch X with bumblebee running #808
Comments
You need to boot with |
I tried that before posting this. It is also not affected by turning the card on with Bumblebee before launching X. |
New issue made, as this one was closed without resolution, with an incorrect response. |
Issues can be re-opened, please do not create duplicates. What have you tried to analyze the problem? Does the hang happen when bbswitch and nvidia are not in use? What about just having bbswitch without nvidia? |
I haven't attempted to use Nouveau with bbswitch, but the issue only occurs when Bumblebee starts BEFORE X. Starting bumblebee after X yields no issues. Starting X with bbswitch but no bumblebee yields no issues. Starting the laptop with Bumblebee and nouveau has the same issue. Starting laptop with Nouveau but no Bumblebee has no issues. |
Sorry about the duplicate, also. It has been my experience that most projects don't read issue comments after they close them. |
I didn't test actual Nouveau application usage, however. Nouveau leads to some flickering on X, which gives me massive headaches. |
If you enable nouveau (and disable bbswitch and nvidia, do NOT use Bumblebee with nouveau), then you will have power savings advantages. It is unlikely that flickering starts when nouveau (the kernel driver, not xf86-video-nouveau) since the Intel (i915) driver handles your primary display. Please provide more details about your hardware configuration ( |
My graphics configuration is:
Additionally: out of all of these, only when bbswitch is installed and keeping the graphics card on does my HDMI port function as an output. I cannot enable it for output under any other circumstances. |
Ok, let's try to get nouveau working without Bumblebee, bbswitch or nvidia. The following should help you get a working nouveau setup that also supported external monitors. Ensure that bumblebee and bbswitch (and definitely nvidia) are removed or otherwise disabled. If you want to keep the bumblebee package on Arch Linux, disable the
My current hardware and software configuration:
The xf86-video-intel driver gave me a terrible experience, replacing it by modesetting was much better, but note the "1fps" issue below. KernelCheck your dmesg that nouveau was successfully loaded. You should also see the If you changed your udev configuration to write
If you have this, fix your udev config and reboot. Alternatively, a workaround involves disabling RPM for the PCIe port, then remove the nvidia GPU and rescan the PCI bus. XorgNo special xorg.conf is necessary, but if you have
XrandrAssuming you have the Intel and nouveau drivers loaded, both using the monitor, let's make X aware of it (if nothing else has already activated this):
Verify:
Use your favorite display manager tool or just plain xrandr to configure screens:
During the initial setup I had issues where xrandr was throwing BadRequest errors or something like that. Turning off/on the external monitor seems to help to get things sane: KDE Plasma's KScreen tool tried to do some magic which is normally good, but during the initial screen it seems to give issues. Display Configuration (a KCM module using Qt5) logged an error that it refused to create widgets larger than 16777216x16777216. Logging out/in again "fixed" this problem. 1fps issueCurrent xorg has an issue that causes 1fps rate, workaround this by starting applications with
|
I'll work on that in a little bit (I am on my way home from work), but is there any way we can do something similar using the proprietary drivers? I do a fairly large amount of 3D Animation, which is the entire point of the discrete chip, and I'd prefer to be able to avoid a massive drop in performance if at all possible. That being said, being able to use the nvidia card at all is better than nothing. |
I have not tried the nvidia blob driver, but for that I guess that you could have a look at https://devtalk.nvidia.com/default/topic/957814/prime-and-prime-synchronization/ |
bumblebee-bugreport-20171208_013404.tar.gz
|
Tested on: Archlinux, Ubuntu 16.04, Opensuse Tumbleweed, and Archlinux (again)
Bumblebee works fine when starting it after the system boots up. Setting it to start at boot causes the entire system to hang (kernel hard lock, not just graphics.)
Uses bbswitch for powersaving, and proprietary NVidia drivers.
system: MSI gl62-6qf
i7-6700HQ
12GB DDR4
NVidia GTX 960m graphics
3 drives (128GB generic M2 SSD, 2TB Seagate M007 Hard drive, and 500GB Evo 850 SSD)
The text was updated successfully, but these errors were encountered: