Codice: Seleziona tutto
tee /proc/acpi/bbswitch <<<ON(Controlla anche dmesg e /proc/acpi/bbswitch).
Preso da qui:
https://github.com/Bumblebee-Project/bb ... /README.md
Moderatore: Staff

Codice: Seleziona tutto
tee /proc/acpi/bbswitch <<<ON
Codice: Seleziona tutto
root /home/vrso # tee /proc/acpi/bbswitch <<<ON
ON
root /home/vrso # dmesg |tail -1
[18471.086758] nvidia 0000:02:00.0: Refused to change power state, currently in D3
root /home/vrso # cat /proc/acpi/bbswitch
0000:02:00.0 OFF

Quindi Xorg non c'entra nulla, ed è già qualcosa.Procopio ha scritto:purtroppo è solo un altro test che ci conferma che la gpu discrete è spenta e ha tutta l'intenzione di restarci...
Codice: Seleziona tutto
[18471.086758] nvidia 0000:02:00.0: Refused to change power state, currently in D3
eheh quello è il punto da cui sono partito, e ora ci siamo tornati, cioè sto girando in torno da una settimana...rik70 ha scritto:Perché rimane spenta? Problema del kernel, Bios, modulo bbswitch o.... ??

Eheh, chiaro che tu c'eri già arrivato, ma nel post errori relativi a systemd e configurazione manuali di Xorg potevano far pensare ad altro.Procopio ha scritto:eheh quello è il punto da cui sono partito, e ora ci siamo tornati, cioè sto girando in torno da una settimana...
Uhm... questo sinceramente a occhio penso non sia possibile.Procopio ha scritto:Nel TD che ho scritto su arch (l'unico dei tre in cui ho ricevuto risposta) avevo chiesto se fosse possibile utilizzare le due schede alla "vecchia maniera" cioè bypassando 'opzione optimus e tenendole semplicemente accese entrambe (ovviamente questa domanda aspetta ancora adesso risposta)


Ma questa parte te la lascio tutta, perché sinceramente capisco solo che il problema dei conflitti se lo son posto e l'hanno risolto in quel modo ["you will have to reinstall them together with the rest"].https://wiki.archlinux.org/index.php/Bumblebee#Installing_Bumblebee_with_Intel.2FNVIDIA ha scritto:If you have intel-dri and xf86-video-intel installed, you will have to reinstall them together with the rest to avoid a dependency conflict between intel-dri and nvidia.
Codice: Seleziona tutto
pacman -S intel-dri xf86-video-intel bumblebee nvidiaSì, penso sia proprio così.Procopio ha scritto:Quindi comunque tu dici che o uso solamente la scheda Intel oppure se voglio usare tutte e due non posso fare a meno di usarle con il bumblebee?

Codice: Seleziona tutto
root /home/vrso # dmesg | grep -i NVIDIA
[ 1315.242030] nvidia: module license 'NVIDIA' taints kernel.
[ 1315.248685] [drm] Initialized nvidia-drm 0.0.0 20130102 for 0000:02:00.0 on minor 1
[ 1315.248699] NVRM: loading NVIDIA UNIX x86_64 Kernel Module 340.32 Tue Aug 5 20:58:26 PDT 2014
[ 1315.416901] nvidia 0000:02:00.0: irq 54 for MSI/MSI-X
[ 1321.169218] NVRM: nvidia_frontend_open: minor 0, module->open() failed, error -5


Uhm....Procopio ha scritto: [ 1321.169218] NVRM: nvidia_frontend_open: minor 0, module->open() failed, error -5

eh, infatti...rik70 ha scritto: Procopio ha scritto:[ 1321.169218] NVRM: nvidia_frontend_open: minor 0, module->open() failed, error -5
Uhm....
Codice: Seleziona tutto
optirun glxinfo | grep -i NVIDIA
Codice: Seleziona tutto
root /home/vrso # dmesg | grep -i NVIDIA
root /home/vrso #

Codice: Seleziona tutto
[ 528.084822] NVRM: GPU at 0000:02:00.0 has fallen off the bus.
[ 528.084830] NVRM: GPU at 0000:02:00.0 has fallen off the bus.
[ 528.102238] NVRM: RmInitAdapter failed! (0x25:0x28:1196)
[ 528.102245] NVRM: rm_init_adapter failed for device bearing minor number 0
[ 528.102261] NVRM: nvidia_frontend_open: minor 0, module->open() failed, error -5

Codice: Seleziona tutto
[wget -qO - 'http://pastebin.com/raw.php?i=FfuqkGhs' | grep bbswitch]
[ 2.296983] bbswitch: version 0.8
[ 2.296986] bbswitch: Found integrated VGA device 0000:00:02.0: \_SB_.PCI0.GFX0
[ 2.296991] bbswitch: Found discrete VGA device 0000:02:00.0: \_SB_.PCI0.PEG0.PEGP
[ 2.297054] bbswitch: detected an Optimus _DSM function
[ 2.297101] bbswitch: Succesfully loaded. Discrete card 0000:02:00.0 is on
[ 3.452226] bbswitch: disabling discrete graphics
Codice: Seleziona tutto
[ wget -qO - 'http://pastebin.com/raw.php?i=zNwaGtDg' | tail -n 21]
[ 521.923917] bbswitch: enabling discrete graphics
[ 522.546816] nvidia: module license 'NVIDIA' taints kernel.
[ 522.546819] Disabling lock debugging due to kernel taint
[ 522.554066] [drm] Initialized nvidia-drm 0.0.0 20130102 for 0000:02:00.0 on minor 1
[ 522.554070] NVRM: loading NVIDIA UNIX x86_64 Kernel Module 340.32 Tue Aug 5 20:58:26 PDT 2014
[ 522.719393] vgaarb: this pci device is not a vga device
[ 522.719734] nvidia 0000:02:00.0: irq 50 for MSI/MSI-X
[ 522.722028] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140424/nsarguments-95)
[ 522.722071] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140424/nsarguments-95)
[ 522.722094] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140424/nsarguments-95)
[ 522.722125] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140424/nsarguments-95)
[ 522.722154] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140424/nsarguments-95)
[ 522.722172] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140424/nsarguments-95)
[ 522.722201] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140424/nsarguments-95)
[ 522.722220] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140424/nsarguments-95)
[ 528.060054] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140424/nsarguments-95)
[ 528.084822] NVRM: GPU at 0000:02:00.0 has fallen off the bus.
[ 528.084830] NVRM: GPU at 0000:02:00.0 has fallen off the bus.
[ 528.102238] NVRM: RmInitAdapter failed! (0x25:0x28:1196)
[ 528.102245] NVRM: rm_init_adapter failed for device bearing minor number 0
[ 528.102261] NVRM: nvidia_frontend_open: minor 0, module->open() failed, error -5
ma non fungedal sito nvidia ha scritto: Added nvidia-persistenced, a daemon utility, to the driver package. nvidia-persistenced can be installed to run on system startup or manually run to allow the NVIDIA kernel module to keep persistent driver state allocated when no other user-space NVIDIA driver components are running.This can improve startup time for other user-space NVIDIA driver components.
Codice: Seleziona tutto
root /home/vrso # systemctl enable nvidia-persistenced
Created symlink from /etc/systemd/system/multi-user.target.wants/nvidia-persistenced.service to /usr/lib/systemd/system/nvidia-persistenced.service.
root /home/vrso # systemctl start nvidia-persistenced
root /home/vrso # systemctl status nvidia-persistenced
â— nvidia-persistenced.service - NVIDIA Persistence Daemon
Loaded: loaded (/usr/lib/systemd/system/nvidia-persistenced.service; enabled)
Active: active (running) since mer 2014-09-03 16:41:04 CEST; 1s ago
Process: 2799 ExecStart=/usr/bin/nvidia-persistenced --user nvidia-persistenced (code=exited, status=0/SUCCESS)
Main PID: 2800 (nvidia-persiste)
CGroup: /system.slice/nvidia-persistenced.service
└─2800 /usr/bin/nvidia-persistenced --user nvidia-persistenced
set 03 16:41:04 dellstar nvidia-persistenced[2800]: Started (2800)
root /home/vrso # optirun glxinfo | grep -i NVIDIA
[ 4652.441995] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) systemd-logind: failed to get session: PID 1225 does not belong to any known session
[ 4652.442016] [ERROR]Aborting because fallback start is disabled.
root /home/vrso # dmesg | grep -i NVIDIA
[ 522.546816] nvidia: module license 'NVIDIA' taints kernel.
[ 522.554066] [drm] Initialized nvidia-drm 0.0.0 20130102 for 0000:02:00.0 on minor 1
[ 522.554070] NVRM: loading NVIDIA UNIX x86_64 Kernel Module 340.32 Tue Aug 5 20:58:26 PDT 2014
[ 522.719734] nvidia 0000:02:00.0: irq 50 for MSI/MSI-X
[ 528.102261] NVRM: nvidia_frontend_open: minor 0, module->open() failed, error -5
[ 2720.158672] NVRM: nvidia_frontend_open: minor 0, module->open() failed, error -22
[ 2764.428624] NVRM: nvidia_frontend_open: minor 0, module->open() failed, error -22
root /home/vrso # dmesg | grep -i bbswitch
[ 2.296983] bbswitch: version 0.8
[ 2.296986] bbswitch: Found integrated VGA device 0000:00:02.0: \_SB_.PCI0.GFX0
[ 2.296991] bbswitch: Found discrete VGA device 0000:02:00.0: \_SB_.PCI0.PEG0.PEGP
[ 2.297054] bbswitch: detected an Optimus _DSM function
[ 2.297101] bbswitch: Succesfully loaded. Discrete card 0000:02:00.0 is on
[ 3.452226] bbswitch: disabling discrete graphics
[ 521.923917] bbswitch: enabling discrete graphics
[ 4649.850271] bbswitch: enabling discrete graphics
root /home/vrso # cat /proc/acpi/bbswitch
0000:02:00.0 OFF
root /home/vrso # tee /proc/acpi/bbswitch <<<ON
ON
root /home/vrso # dmesg |tail -1
[ 4760.324320] nvidia 0000:02:00.0: Refused to change power state, currently in D3
root /home/vrso # cat /proc/acpi/bbswitch
0000:02:00.0 OFF
root /home/vrso #