comunque riassumendo quello che abbiamo visto fino ad ora:
Sembra che non ci sia verso di tenere accesa la scheda dedicata, ma non ho capito se il problema è di bumblebee, del modulo del kernel che non viene caricato correttamente, del kernel stesso oppure del bios (quest'ultimo, così come la scheda video stessa, tendo ad escluderli perchè su windows l'accelerazione 3D funziona perfettamente)
Seguendo il
wiki ho impostato i parametri di bbswitch in maniera che la scheda dovrebbe essere lasciata accesa una volta accesa(guardate nel
link all'interno del wiki che rimanda alla documentazione di bbswitch)
Codice: Seleziona tutto
root /home/vrso # cat /etc/modprobe.d/bbswitch.conf
options bbswitch load_state=1 unload_state=-1
e infatti da dmesg vedo che se la VGA dedicata non è utilizzata viene spenta da bbswitch
Codice: Seleziona tutto
root /home/vrso #dmesg | grep -i bbswitch
[ 2.284154] bbswitch: version 0.8
[ 2.284157] bbswitch: Found integrated VGA device 0000:00:02.0: \_SB_.PCI0.GFX0
[ 2.284161] bbswitch: Found discrete VGA device 0000:02:00.0: \_SB_.PCI0.PEG0.PEGP
[ 2.284224] bbswitch: detected an Optimus _DSM function
[ 2.284268] bbswitch: Succesfully loaded. Discrete card 0000:02:00.0 is on
[ 3.650239] bbswitch: disabling discrete graphics
e ovviamente la scheda rimane morta
Codice: Seleziona tutto
dmesg | grep -i nvidia
[ 3.651871] nvidia: module license 'NVIDIA' taints kernel.
[ 3.662393] nvidia 0000:02:00.0: Refused to change power state, currently in D0
[ 3.669057] nvidia 0000:02:00.0: Refused to change power state, currently in D3
[ 3.669127] nvidia: probe of 0000:02:00.0 failed with error -1
[ 3.669322] NVRM: The NVIDIA probe routine failed for 1 device(s).
[ 3.669324] NVRM: None of the NVIDIA graphics adapters were initialized!
[ 3.669436] NVRM: NVIDIA init module failed!
questo ad ogni modo è il dmesg completo:
http://pastebin.com/QN0SithP
se faccio il test con optirun mi da:
Codice: Seleziona tutto
root /home/vrso # optirun glxspheres64 -info
[ 690.403014] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) systemd-logind: failed to get session: PID 791 does not belong to any known session
[ 690.403039] [ERROR]Aborting because fallback start is disabled.
che è anche segnalato nel wiki di bumblebee come errore, ma ovviamente il workaround che suggerisce il wiki non me lo fixa.
ora però la scheda dovrebbe rimanere accesa, e infatti il bbswitch me la lascia accesa:
Codice: Seleziona tutto
dmesg | grep -i bbswitch
[ 2.284154] bbswitch: version 0.8
[ 2.284157] bbswitch: Found integrated VGA device 0000:00:02.0: \_SB_.PCI0.GFX0
[ 2.284161] bbswitch: Found discrete VGA device 0000:02:00.0: \_SB_.PCI0.PEG0.PEGP
[ 2.284224] bbswitch: detected an Optimus _DSM function
[ 2.284268] bbswitch: Succesfully loaded. Discrete card 0000:02:00.0 is on
[ 3.650239] bbswitch: disabling discrete graphics
[ 683.492485] bbswitch: enabling discrete graphics
[ 684.121245] rtsx_pci_ms snd_timer rfkill memstick mei_me snd lpc_ich mei tpm_tis soundcore shpchp tpm usbhid thermal fan hid processor evdev wmi int3403_thermal battery mac_hid dell_smo8800 ac btrfs xor raid6_pq sd_mod crc_t10dif crct10dif_common rtsx_pci_sdmmc mmc_core atkbd libps2 ahci libahci xhci_hcd ehci_pci libata ehci_hcd crc32c_intel usbcore scsi_mod rtsx_pci usb_common i8042 serio bbswitch(O) i915 button intel_gtt i2c_algo_bit video drm_kms_helper drm i2c_core
però la scheda continua a rimanere morta, sembra a causa del modulo
Codice: Seleziona tutto
dmesg | grep -i nvidia
[ 3.651871] nvidia: module license 'NVIDIA' taints kernel.
[ 3.662393] nvidia 0000:02:00.0: Refused to change power state, currently in D0
[ 3.669057] nvidia 0000:02:00.0: Refused to change power state, currently in D3
[ 3.669127] nvidia: probe of 0000:02:00.0 failed with error -1
[ 3.669322] NVRM: The NVIDIA probe routine failed for 1 device(s).
[ 3.669324] NVRM: None of the NVIDIA graphics adapters were initialized!
[ 3.669436] NVRM: NVIDIA init module failed!
[ 684.121216] proc_dir_entry 'driver/nvidia' already registered
[ 684.121217] Modules linked in: nvidia(PO+) uvcvideo ecb videobuf2_vmalloc videobuf2_memops videobuf2_core btusb v4l2_common bluetooth videodev smsc75xx media usbnet hid_multitouch 6lowpan_iphc hid_generic mii joydev mousedev arc4 ext4 crc16 mbcache jbd2 nls_iso8859_1 nls_cp437 coretemp vfat hwmon intel_rapl fat snd_hda_codec_hdmi x86_pkg_temp_thermal intel_powerclamp iwlmvm pn544_mei mei_phy kvm_intel pn544 hci mac80211 nfc kvm iTCO_wdt iTCO_vendor_support snd_hda_codec_realtek dell_wmi snd_hda_codec_generic mxm_wmi sparse_keymap crct10dif_pclmul crc32_pclmul ghash_clmulni_intel iwlwifi dell_laptop aesni_intel led_class dcdbas aes_x86_64 lrw gf128mul snd_hda_intel glue_helper ablk_helper cryptd snd_hda_controller cfg80211 snd_hda_codec microcode psmouse i2c_i801 serio_raw pcspkr snd_hwdep snd_pcm
[ 684.121330] [<ffffffffa0f2df9c>] nv_register_procfs+0x4c/0x1d0 [nvidia]
[ 684.121353] [<ffffffffa13be2a5>] nvidia_init_module+0x2a5/0x7c5 [nvidia]
[ 684.121375] [<ffffffffa13be7da>] ? nv_drm_init+0x15/0x15 [nvidia]
[ 684.121398] [<ffffffffa13be85f>] nvidia_frontend_init_module+0x85/0x826 [nvidia]
[ 684.121690] [drm] Initialized nvidia-drm 0.0.0 20130102 for 0000:02:00.0 on minor 1
[ 684.121693] NVRM: loading NVIDIA UNIX x86_64 Kernel Module 340.32 Tue Aug 5 20:58:26 PDT 2014
[ 684.289959] nvidia 0000:02:00.0: irq 54 for MSI/MSI-X
[ 690.027718] NVRM: nvidia_frontend_open: minor 0, module->open() failed, error -5
come vedete alla fine bbswitch me la abilita la discrete GPU, ma questa mi continua a non funzionare, ad ogni modo
qui c'è il dmesg completo dopo aver lanciato
optirun glxspheres64 -info.
a fronte di quel
continuo ad avere
quindi non sono poi neanche sicuro che bbswitch funzioni correttamente
In conclusione il fatto che bbswitch alla fine mi abiliti la scheda mi fa pensare che il problema stia nel modulo del kernel o nel kernel stesso.
Ora l'ho anche scritto sul foro di arch, vediamo se sta volta almeno una risposta mi arriva
