You are not logged in.
Pages: 1
I have installed bumblebee and bbswitch but when I run optirun glxgears , see this error :
Cannot access secondary GPU - error: [XORG] (EE) systemd-logind: failed to get session: PID 1436 does not belong to any known session
I don't have /etc/X11/xorg.conf and i don't know what configuration from /usr/share/X11/xorg.conf.d/ works for me now .
Nvidia is always On !
[saman@saman ~]$ cat /proc/acpi/bbswitch
0000:01:00.0 ON
[saman@saman ~]$ sudo tee /proc/acpi/bbswitch <<<OFF
OFF
[saman@saman ~]$ cat /proc/acpi/bbswitch
0000:01:00.0 ONIn /etc/mkinitcpio.conf I have :
MODULES="i915 nvidia bbswitch"
Offline
Have you run mkinitcpio -p linux afterwards?
Yes
Offline
Have you also tried this:
https://wiki.archlinux.org/index.php/Bu … iled.21.29
Doesn't work for me ![]()
My Nvidia details :
01:00.0 VGA compatible controller: NVIDIA Corporation GF108M [GeForce GT 630M] (rev a1) (prog-if 00 [VGA controller])
Subsystem: Acer Incorporated [ALI] Device 0505
Flags: bus master, fast devsel, latency 0, IRQ 16
Memory at d0000000 (32-bit, non-prefetchable) [size=16M]
Memory at a0000000 (64-bit, prefetchable) [size=256M]
Memory at b0000000 (64-bit, prefetchable) [size=32M]
I/O ports at 2000 [size=128]
Expansion ROM at d1000000 [disabled] [size=512K]
Capabilities: <access denied>
Kernel driver in use: nvidia
Kernel modules: nouveau, nvidia/etc/bumblebee/bumblebee.conf :
# Configuration file for Bumblebee. Values should **not** be put between quotes
## Server options. Any change made in this section will need a server restart
# to take effect.
[bumblebeed]
# The secondary Xorg server DISPLAY number
VirtualDisplay=:8
# Should the unused Xorg server be kept running? Set this to true if waiting
# for X to be ready is too long and don't need power management at all.
KeepUnusedXServer=false
# The name of the Bumbleblee server group name (GID name)
ServerGroup=bumblebee
# Card power state at exit. Set to false if the card shoud be ON when Bumblebee
# server exits.
TurnCardOffAtExit=false
# The default behavior of '-f' option on optirun. If set to "true", '-f' will
# be ignored.
NoEcoModeOverride=false
# The Driver used by Bumblebee server. If this value is not set (or empty),
# auto-detection is performed. The available drivers are nvidia and nouveau
# (See also the driver-specific sections below)
Driver=nvidia
# Directory with a dummy config file to pass as a -configdir to secondary X
XorgConfDir=/etc/bumblebee/xorg.conf.d
## Client options. Will take effect on the next optirun executed.
[optirun]
# Acceleration/ rendering bridge, possible values are auto, virtualgl and
# primus.
Bridge=virtualgl
# The method used for VirtualGL to transport frames between X servers.
# Possible values are proxy, jpeg, rgb, xv and yuv.
VGLTransport=proxy
# List of paths which are searched for the primus libGL.so.1 when using
# the primus bridge
PrimusLibraryPath=/usr/lib/primus:/usr/lib32/primus
# Should the program run under optirun even if Bumblebee server or nvidia card
# is not available?
AllowFallbackToIGC=false
# Driver-specific settings are grouped under [driver-NAME]. The sections are
# parsed if the Driver setting in [bumblebeed] is set to NAME (or if auto-
# detection resolves to NAME).
# PMMethod: method to use for saving power by disabling the nvidia card, valid
# values are: auto - automatically detect which PM method to use
# bbswitch - new in BB 3, recommended if available
# switcheroo - vga_switcheroo method, use at your own risk
# none - disable PM completely
# https://github.com/Bumblebee-Project/Bumblebee/wiki/Comparison-of-PM-methods
## Section with nvidia driver specific options, only parsed if Driver=nvidia
[driver-nvidia]
# Module name to load, defaults to Driver if empty or unset
KernelDriver=nvidia
PMMethod=auto
# colon-separated path to the nvidia libraries
LibraryPath=/usr/lib/nvidia:/usr/lib32/nvidia
# comma-separated path of the directory containing nvidia_drv.so and the
# default Xorg modules path
XorgModulePath=/usr/lib/nvidia/xorg/,/usr/lib/xorg/modules
XorgConfFile=/etc/bumblebee/xorg.conf.nvidia
## Section with nouveau driver specific options, only parsed if Driver=nouveau
[driver-nouveau]
KernelDriver=nouveau
PMMethod=auto
XorgConfFile=/etc/bumblebee/xorg.conf.nouveau/etc/bumblebee/xorg.conf.nvidia :
Section "ServerLayout"
Identifier "Layout0"
Option "AutoAddDevices" "false"
Option "AutoAddGPU" "false"
EndSection
Section "Device"
Identifier "DiscreteNvidia"
Driver "nvidia"
VendorName "NVIDIA Corporation"
# If the X server does not automatically detect your VGA device,
# you can manually set it here.
# To get the BusID prop, run `lspci | egrep 'VGA|3D'` and input the data
# as you see in the commented example.
# This Setting may be needed in some platforms with more than one
# nvidia card, which may confuse the proprietary driver (e.g.,
# trying to take ownership of the wrong device). Also needed on Ubuntu 13.04.
BusID "PCI:01:00.0"
# Setting ProbeAllGpus to false prevents the new proprietary driver
# instance spawned to try to control the integrated graphics card,
# which is already being managed outside bumblebee.
# This option doesn't hurt and it is required on platforms running
# more than one nvidia graphics card with the proprietary driver.
# (E.g. Macbook Pro pre-2010 with nVidia 9400M + 9600M GT).
# If this option is not set, the new Xorg may blacken the screen and
# render it unusable (unless you have some way to run killall Xorg).
Option "ProbeAllGpus" "false"
Option "NoLogo" "true"
Option "UseEDID" "false"
Option "UseDisplayDevice" "none"
EndSectionOffline
So there is the "rcutree.rcu_idle_gp_delay=1" line in GRUB_CMDLINE_LINUX_DEFAULT (if you are using GRUB) and you also have generate a new grub.cfg?
Additionally I would try to blacklist nouveau (because of "Kernel modules: nouveau, nvidia") – if it does show up in lsmod at least.
I have done instructions of this post : https://bbs.archlinux.org/viewtopic.php … 0#p1326090
[saman@saman ~]$ cat /proc/cmdline
BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=a480d93f-e224-4077-83dd-7d794f593e0e rw quiet splash acpi_backlight=vendor rcutree.rcu_idle_gp_delay=1 [saman@saman ~]$ lsmod
Module Size Used by
ctr 12927 1
ccm 17534 1
coretemp 12820 0
fuse 87590 7
intel_rapl 17605 0
iosf_mbi 12682 1 intel_rapl
x86_pkg_temp_thermal 12951 0
uvcvideo 84822 0
videobuf2_vmalloc 13286 1 uvcvideo
videobuf2_memops 12519 1 videobuf2_vmalloc
intel_powerclamp 17122 0
videobuf2_core 39635 1 uvcvideo
v4l2_common 12814 1 videobuf2_core
videodev 135040 3 uvcvideo,v4l2_common,videobuf2_core
media 18365 2 uvcvideo,videodev
kvm_intel 143417 0
mousedev 17272 0
kvm 435299 1 kvm_intel
joydev 17063 0
crct10dif_pclmul 13394 0
crc32_pclmul 12915 0
crc32c_intel 21809 0
ghash_clmulni_intel 12978 0
aesni_intel 167997 2
aes_x86_64 16719 1 aesni_intel
lrw 12757 1 aesni_intel
arc4 12536 2
ath9k 129093 0
gf128mul 12970 1 lrw
snd_hda_codec_hdmi 49263 1
acer_wmi 17603 0
snd_hda_codec_realtek 67322 1
snd_hda_codec_generic 63161 1 snd_hda_codec_realtek
glue_helper 12649 1 aesni_intel
ath9k_common 26722 1 ath9k
ath9k_hw 428874 2 ath9k_common,ath9k
ath 26067 3 ath9k_common,ath9k,ath9k_hw
mac80211 648753 1 ath9k
tg3 164575 0
iTCO_wdt 12831 0
iTCO_vendor_support 12649 1 iTCO_wdt
sparse_keymap 12818 1 acer_wmi
cfg80211 476584 4 ath,ath9k_common,ath9k,mac80211
mxm_wmi 12515 0
ablk_helper 12572 1 aesni_intel
snd_hda_intel 26387 6
cryptd 18553 3 ghash_clmulni_intel,aesni_intel,ablk_helper
snd_hda_controller 26857 1 snd_hda_intel
ptp 17692 1 tg3
rfkill 18867 4 cfg80211,acer_wmi
snd_hda_codec 112621 5 snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_intel,snd_hda_controller
pps_core 17225 1 ptp
libphy 32315 1 tg3
serio_raw 12849 0
pcspkr 12595 0
hwmon 12930 2 tg3,coretemp
psmouse 107442 0
snd_hwdep 17244 1 snd_hda_codec
snd_pcm 88779 4 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel,snd_hda_controller
snd_timer 26614 1 snd_pcm
snd 73436 20 snd_hda_codec_realtek,snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_pcm,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel
mei_me 17987 0
evdev 21544 33
i2c_i801 16965 0
mac_hid 12633 0
soundcore 13031 2 snd,snd_hda_codec
mei 75468 1 mei_me
battery 17452 0
shpchp 35210 0
ac 12715 0
lpc_ich 20768 0
processor 27777 0
wmi 17339 2 acer_wmi,mxm_wmi
sch_fq_codel 17343 5
ext4 514390 1
crc16 12343 1 ext4
mbcache 17171 1 ext4
jbd2 86379 1 ext4
hid_generic 12393 0
usbhid 48596 0
hid 110513 2 hid_generic,usbhid
sr_mod 21903 0
cdrom 47479 1 sr_mod
sd_mod 43575 4
ahci 33248 3
sdhci_pci 22172 0
libahci 27215 1 ahci
sdhci 39102 1 sdhci_pci
ehci_pci 12512 0
ehci_hcd 69979 1 ehci_pci
xhci_pci 12675 0
xhci_hcd 152471 1 xhci_pci
atkbd 22254 0
libps2 12739 2 atkbd,psmouse
libata 181461 2 ahci,libahci
led_class 12855 3 ath9k,sdhci,acer_wmi
scsi_mod 147395 3 libata,sd_mod,sr_mod
usbcore 199382 6 uvcvideo,ehci_hcd,ehci_pci,usbhid,xhci_hcd,xhci_pci
mmc_core 110613 2 sdhci,sdhci_pci
usb_common 12561 1 usbcore
i8042 18002 2 acer_wmi,libps2
serio 18282 6 serio_raw,atkbd,i8042,psmouse
bbswitch 12878 0
nvidia_uvm 66649 0
nvidia 8344432 2 nvidia_uvm
i915 1002518 8
button 12953 1 i915
intel_gtt 17848 1 i915
i2c_algo_bit 12744 1 i915
video 22205 2 i915,acer_wmi
drm_kms_helper 98881 1 i915
drm 273079 12 i915,drm_kms_helper,nvidia
i2c_core 50240 8 drm,i915,i2c_i801,drm_kms_helper,i2c_algo_bit,nvidia,v4l2_common,videodevnvidia is in use but doesn't work !
[saman@saman ~]$ modprobe -r nvidia
modprobe: FATAL: Module nvidia is in use.Offline
I know this is a rather dumb question but it is - as far as I am concerned - my last resort on what is failing:
Do you have
bumblebee, mesa, xf86-video-intel, lib32-mesa-libgl, virtualgl, lib32-virtuallgl installed and
added yourself to the bumblebee group
enabled bumblebee.service?
I'm sorry, but I really do not have any other idea besides double-checking mkinitcpio, grub.mkconfig and if all else fails opening a bug report (if noone else here can help).
Pages: 1