You are not logged in.
Pages: 1
Hello all, I believe I found some information related to this bug. Or maybe a new bug, but I am very new to Linux in general so I wanted to check with the forums before I report the bug (or what I should even report).
The root of my problem is that bumblebee hangs if I run optirun. While troubleshooting I found the only fix was not connecting to the internet. If I had run optirun and it hangs and ctrl c to exit, there will still be a shutdown process for bumblebee that lasts a minute and a half when I turn off the computer.
Heres the specs for my Lenovo 700-15ISK I have 12 gb of ram though
Here is my version for bumblebee, bbswitch, nvidia, Linux (I updated today, but I troubleshooted before, and after the update to make sure):
bumblebee 3.2.1-16
bbswitch 0.8-102
nvidia 387.34-21
linux 4.14.15-1
Here is my /etc/bumblebee/xorg.conf.nvidia
Here is my /usr/share/X11/xorg.conf.d/10-nvidia-drm-outputclass.conf
No graphics conf files in /etc/X11/xorg.conf.d and I don't have an xorg.conf
here is my ~/.xinitrc I used for testing
Please tell me if you want more information and how to get it (I'm new to GNU/Linux)
I have been testing optirun with "optirun glxspheres64" but the results are the same starting any application with optirun, Steam being another example.
Here is my dmesg I just made in plasma:
0.033556] ACPI Error
101.151359] I connect to wifi
380.915769] disconnected from wifi
766.268981] I run optirun glxspheres64 which works correctly, then close it
836.006191] I connect to wifi again
862.154179] I run optirun glxspheres64 on wifi and it hangs
I have tried the following kernel parameters:
root=/dev/nvme0n1p6 rootfstype=ext4 rw nmi_watchdog=0 acpi_osi="!Windows 2015" i915.enable_guc_loading=1 i915.enable_guc_submission=1 initrd=intel-ucode.img initrd=initramfs-linux.img
root=/dev/nvme0n1p6 rootfstype=ext4 rw nmi_watchdog=0 acpi_osi=! acpi_osi="Windows 2009" i915.enable_guc_loading=1 i915.enable_guc_submission=1 initrd=intel-ucode.img initrd=initramfs-linux.img
root=/dev/nvme0n1p6 rootfstype=ext4 rw nmi_watchdog=0 acpi_osi=Linux i915.enable_guc_loading=1 i915.enable_guc_submission=1 initrd=intel-ucode.img initrd=initramfs-linux.img
root=/dev/nvme0n1p6 rootfstype=ext4 rw nmi_watchdog=0 i915.enable_guc_loading=1 i915.enable_guc_submission=1 initrd=intel-ucode.img initrd=initramfs-linux.img
With the last line being what I am using now... all of these consistently did not work if I was connected to the internet
I have tried this in both Plasma and twm with no difference except for the internet.
I have iw, wpa_supplicant, dialog, and networkmanager installed.
Connecting to wifi with wifi-menu will cause bumblebee to hang with optirun. Starting the networkmanager service while plugged into ethernet will do the same thing, but not while disconnected from ethernet and wifi.
Any suggestions appreciated.
Last edited by Cknight70 (2018-02-09 01:04:14)
Offline
the only fix was not connecting to the internet
hostnamectl
Offline
Here you go
Static hostname: morgan
Icon name: computer-laptop
Chassis: laptop
Machine ID: 95d23bde1910470f813e4de942bc3f3a
Boot ID: 7f010bfacf1b440e845922789dbe0d78
Operating System: Arch Linux
Kernel: Linux 4.14.15-1-ARCH
Architecture: x86-64
I don't have a etc/machine-info file.
Last edited by Cknight70 (2018-02-04 00:54:17)
Offline
No, dead end (an unconfigured hostname could have lead to a hostname change), try to strace optirun and see where it hangs.
Offline
Okay I made the strace files (very nifty program I'm sure will help me in the future )
One without wifi (everything seemed to go fine)
One with wifi
(I copy pasted the files before sending a ctrl c because the exit codes were confusing me btw.)
Seems to hang right after
recvfrom(3,
Last edited by Cknight70 (2018-02-06 17:48:21)
Offline
Something impedes /var/run/bumblebee.socket, but don't ask me what or why. It's probably rather some overzealous firewall rather than "just" the network connection.
Because of your initial post - do you maybe run competing network managers?
systemctl list-unit-files --state=enabled
Offline
Didn't look like anything interesting.
UNIT FILE STATE
autovt@.service enabled
bumblebeed.service enabled
dbus-org.freedesktop.NetworkManager.service enabled
dbus-org.freedesktop.nm-dispatcher.service enabled
getty@.service enabled
NetworkManager-dispatcher.service enabled
NetworkManager.service enabled
numLockOnTty.service enabled
nvidia-persistenced.service enabled
systemd-timesyncd.service enabled
remote-fs.target enabled
fstrim.timer enabled
12 unit files listed.
I uninstalled netctl because I don't need it anymore, but that didn't do anything either.
Two quick questions: When you say socket you mean like a network socket? I know X acts as a server, is it trying to interact with X or is it actually trying to connect to connect with my network (which seems absurd to me)?
I appreciate your help pointing me in the right direction. I'll post here again if I fix the problem or find another lead.
Last edited by Cknight70 (2018-02-07 01:17:14)
Offline
I got this working and it was a simple fix. I added 127.0.0.1 localhost to my /etc/hosts file.
So my full hosts file is this:
127.0.0.1 localhost
127.0.1.1 morgan.localdomain morgan
Cheers!
Offline
Pages: 1