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!
- 1062 megtekintés
Hozzászólások
Nálam működik, frissített Arch, Dell 5480.
Driverek:
#pacman -Qs nvidia
local/bumblebee 3.2.1-18
NVIDIA Optimus support for Linux through VirtualGL
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
local/opencl-nvidia 396.54-1
OpenCL implemention for NVIDIA
Dmesg:
#dmesg | grep nv
[ 0.003333] DMAR-IR: Queued invalidation will be enabled to support x2apic and Intr-remapping.
[ 1.619413] rtc_cmos 00:01: alarms up to one month, y3k, 242 bytes nvram, hpet irqs
[25464.057734] nvidia-nvlink: Nvlink Core is being initialized, major device number 237
[25464.447479] nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX platforms 396.54 Tue Aug 14 23:08:44 PDT 2018
[25482.030659] nvidia-modeset: Unloading
[25482.044970] nvidia-nvlink: Unregistered the Nvlink Core, major device number 237
[25503.715854] nvidia-nvlink: Nvlink Core is being initialized, major device number 237
[25503.998397] nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX platforms 396.54 Tue Aug 14 23:08:44 PDT 2018
[25521.623875] nvidia-modeset: Unloading
[25521.634244] nvidia-nvlink: Unregistered the Nvlink Core, major device number 237
dmesg | grep bb
[ 0.000000] efi: ACPI=0xba5c8000 ACPI 2.0=0xba5c8000 SMBIOS=0xf0000 SMBIOS 3.0=0xf0020 ESRT=0xbb2d4018 MEMATTR=0xb6f73018
[ 0.000000] last_pfn = 0xbb600 max_arch_pfn = 0x400000000
[ 0.000000] esrt: Reserving ESRT space from 0x00000000bb2d4018 to 0x00000000bb2d4050.
[ 0.000000] node 0: [mem 0x00000000bb5ff000-0x00000000bb5fffff]
[ 0.000000] PM: Registered nosave memory: [mem 0xba5bb000-0xba5fefff]
[ 0.000000] PM: Registered nosave memory: [mem 0xbaf60000-0xbb51dfff]
[ 0.000000] PM: Registered nosave memory: [mem 0xbb51e000-0xbb5fefff]
[ 0.000000] PM: Registered nosave memory: [mem 0xbb600000-0xbf7fffff]
[ 0.388576] e820: reserve RAM buffer [mem 0xba245000-0xbbffffff]
[ 0.388577] e820: reserve RAM buffer [mem 0xbb600000-0xbbffffff]
[ 2.244813] bbswitch: version 0.8
[ 2.244817] bbswitch: Found integrated VGA device 0000:00:02.0: \_SB_.PCI0.GFX0
[ 2.244822] bbswitch: Found discrete VGA device 0000:03:00.0: \_SB_.PCI0.RP05.PEGP
[ 2.244931] bbswitch: detected an Optimus _DSM function
[ 2.244998] bbswitch: Succesfully loaded. Discrete card 0000:03:00.0 is on
--
Dell Latitude 5480, Arch Linux & Xfce
- A hozzászóláshoz be kell jelentkezni
Az mkinitcpio fájllod, hogy néz ki?
- A hozzászóláshoz be kell jelentkezni
# vim:set ft=sh
# MODULES
# The following modules are loaded before any boot hooks are
# run. Advanced users may wish to specify all system modules
# in this array. For instance:
# MODULES=(piix ide_disk reiserfs)
MODULES=()
# BINARIES
# This setting includes any additional binaries a given user may
# wish into the CPIO image. This is run last, so it may be used to
# override the actual binaries included by a given hook
# BINARIES are dependency parsed, so you may safely ignore libraries
BINARIES=()
# FILES
# This setting is similar to BINARIES above, however, files are added
# as-is and are not parsed in any way. This is useful for config files.
FILES=()
# HOOKS
# This is the most important setting in this file. The HOOKS control the
# modules and scripts added to the image, and what happens at boot time.
# Order is important, and it is recommended that you do not change the
# order in which HOOKS are added. Run 'mkinitcpio -H ' for
# help on a given hook.
# 'base' is _required_ unless you know precisely what you are doing.
# 'udev' is _required_ in order to automatically load modules
# 'filesystems' is _required_ unless you specify your fs modules in MODULES
HOOKS=(base udev autodetect modconf block filesystems keyboard fsck shutdown)
# COMPRESSION
# Use this to compress the initramfs image. By default, gzip compression
# is used. Use 'cat' to create an uncompressed image.
#COMPRESSION="gzip"
#COMPRESSION="bzip2"
#COMPRESSION="lzma"
#COMPRESSION="xz"
#COMPRESSION="lzop"
#COMPRESSION="lz4"
# COMPRESSION_OPTIONS
# Additional options for the compressor
#COMPRESSION_OPTIONS=()
--
Dell Latitude 5480, Arch Linux & Xfce
- A hozzászóláshoz be kell jelentkezni
Milyen notebook?
- A hozzászóláshoz be kell jelentkezni
dell g5 5587
- A hozzászóláshoz be kell jelentkezni
Engedélyezve van a TLP? Ahogy olvasom általában az okoz hasonló hibát. https://wiki.archlinux.org/index.php/TLP#Bumblebee_with_NVIDIA_driver
- A hozzászóláshoz be kell jelentkezni
Igen, de már blacklist-re volt téve a vga.
- A hozzászóláshoz be kell jelentkezni
Üdv! Még egy kérdésem lenne, aki használ ilyen optimus-os kártyát, az esetleg dual monitort is használ mellé? Esetleg a konfigurációt nem osztaná meg velem? Köszi!
- A hozzászóláshoz be kell jelentkezni
off+todo: sub, be kell majd allitanom Ubin
- A hozzászóláshoz be kell jelentkezni
+1
- A hozzászóláshoz be kell jelentkezni
Ubin nem kell majd ilyennel tökölnöd, nvidia prime támogatott, csak a zárt drivert (nvidia) kell majd installálnod és utána választhatsz az nvidia settingsben, hogy intel vagy nvidia kártya kell neked.
- A hozzászóláshoz be kell jelentkezni