Comprei um computador portátil ASUS com tecnologia Optimus. Instalei o Debian 9 e tudo funciona bem, exceto que, depois de suspender o sistema, não consigo iniciar nenhum aplicativo com optirun ou primusrun ... para que funcione. precisa reiniciar o sistema inteiro.
O arquivo de log ( /var/log/Xorg.8.log ) mostra:
# cat /var/log/Xorg.8.log | egrep "(EE)|(WW)"
(EE) /dev/dri/card0: failed to set DRM interface version 1.4: Permission denied
(WW) Warning, couldn't open module mouse
(EE) Failed to load module "mouse" (module does not exist, 0)
(WW) Warning, couldn't open module kbd
(EE) Failed to load module "kbd" (module does not exist, 0)
(EE) NVIDIA(GPU-0): Failed to initialize the NVIDIA GPU at PCI:1:0:0. Please
(EE) NVIDIA(GPU-0): check your system's kernel log for additional error
(EE) NVIDIA(GPU-0): messages and refer to Chapter 8: Common Problems in the
(EE) NVIDIA(GPU-0): README for additional information.
(EE) NVIDIA(GPU-0): Failed to initialize the NVIDIA graphics device!
(EE) NVIDIA(0): Failing initialization of X screen 0
(EE) Screen(s) found, but none have a usable configuration.
(EE)
(EE) no screens found(EE)
(EE)
(EE) Please also check the log file at "/var/log/Xorg.8.log" for additional information.
(EE)
(EE) Server terminated with error (1). Closing log file.
e esta é a saída relevante do dmesg:
vgaarb: this pci device is not a vga device
ACPI Warning: \_SB.PCI0.RP01.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20160831/nsarguments-95)
ACPI Warning: \_SB.PCI0.RP01.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20160831/nsarguments-95)
ACPI Warning: \_SB.PCI0.RP01.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20160831/nsarguments-95)
ACPI Warning: \_SB.PCI0.RP01.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20160831/nsarguments-95)
ACPI Warning: \_SB.PCI0.RP01.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20160831/nsarguments-95)
ACPI Warning: \_SB.PCI0.RP01.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20160831/nsarguments-95)
ACPI Warning: \_SB.PCI0.RP01.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20160831/nsarguments-95)
ACPI Warning: \_SB.PCI0.RP01.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20160831/nsarguments-95)
ACPI Warning: \_SB.PCI0.RP01.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20160831/nsarguments-95)
NVRM: RmInitAdapter failed! (0x26:0xffff:1097)
NVRM: rm_init_adapter failed for device bearing minor number 0