Sziasztok!
Lenne egy kis gondom az optimus (hibrid grafikus kártya) beállításával. Egészen pontosan az a hiba, hogy valamiért nem működik. Itt van pár kimenet támpontnak.
Optirun kimenet:
# optirun -v glxgears -info
[ 291.417602] [INFO]Configured driver: nvidia
[ 291.418477] [INFO]Response: No - error: Could not enable discrete graphics card
[ 291.418510] [ERROR]Cannot access secondary GPU - error: Could not enable discrete graphics card
[ 291.418555] [ERROR]Aborting because fallback start is disabled.
Bumblebee.conf:
# cat /etc/bumblebee/bumblebee.conf
Bumblebee xorg.conf.nvidia fájlja
# cat /etc/bumblebee/xorg.conf.nvidia
Port:
# lspci | grep NVIDIA
01:00.0 VGA compatible controller: NVIDIA Corporation GP106M [GeForce GTX 1060 Mobile] (rev ff)
Driverek:
# pacman -Qs nvidia
local/bumblebee 3.2.1-18
NVIDIA Optimus support for Linux through VirtualGL
local/lib32-nvidia-utils 396.54-1
NVIDIA drivers utilities (32-bit)
local/libvdpau 1.1.1+3+ga21bf7a-1
Nvidia VDPAU library
local/libxnvctrl 396.51-1
NVIDIA NV-CONTROL X extension
local/nvidia 396.54-2
NVIDIA drivers for linux
local/nvidia-settings 396.51-1
Tool for configuring the NVIDIA graphics driver
local/nvidia-utils 396.54-1
NVIDIA drivers utilities
dmesg:
# dmesg | grep nv
[ 0.003333] DMAR-IR: Queued invalidation will be enabled to support x2apic and Intr-remapping.
[ 5.149206] rtc_cmos 00:01: alarms up to one month, y3k, 242 bytes nvram, hpet irqs
[ 5.178132] vboxdrv: TSC mode is Invariant, tentative frequency 2207998174 Hz
és végül:
# dmesg | grep bb
[ 0.000000] efi: ACPI 2.0=0x6eebb000 ACPI=0x6eebb000 SMBIOS=0xf0000 SMBIOS 3.0=0xf0020 ESRT=0x6fdc6018
[ 5.847840] bbswitch: version 0.8
[ 5.847844] bbswitch: Found integrated VGA device 0000:00:02.0: \_SB_.PCI0.GFX0
[ 5.847853] bbswitch: Found discrete VGA device 0000:01:00.0: \_SB_.PCI0.PEG0.PEGP
[ 5.847973] bbswitch: detected an Optimus _DSM function
[ 5.848054] bbswitch: Succesfully loaded. Discrete card 0000:01:00.0 is on
[ 5.849159] bbswitch: disabling discrete graphics
[ 33.115096] bbswitch: enabling discrete graphics
[ 274.107869] bbswitch: enabling discrete graphics
[ 291.418230] bbswitch: enabling discrete graphics
Ha valamire még kíváncsiak vagytok szóljatok. Köszönök minden tippet, tanácsot.
[MEGOLDÁS]
CzLaci xorg configját használva a saját kártyám PCI számát beírva, valamint az mikinitcpio fájlba felvettem az alábbi modulokat: nvidia, nvidia_modeset, nvidia_uvm, nvidia_drm. Mondjuk lehet, hogy ez az utolsó már nem is kellene, de nekem enélkül nem indul el. Mindenkinek aki hozzászólt köszönöm szépen!