Bilgisayarımın iki ekran kartı var: Intel UHD Graphics 630 ve NVIDIA GeForce RTX 2070. 10 Ağustos çekirdek güncellemesini yükledikten sonra Debian Wiki’deki anlatımla Buster Backports deposunu ekleyip NVIDIA sürücülerini yükledim. Debian Wiki’deki Optimus sayfasına bakarak önce başlatma komutlarının önüne __NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia
eklemeyi denedim. Çalışıyor mu diye glxgears
ile denedim. Şu hatayı aldım:
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 152 (GLX)
Minor opcode of failed request: 3 (X_GLXCreateContext)
Value in failed request: 0x0
Serial number of failed request: 25
Current serial number in output stream: 26
Sonra yine aynı sayfadaki anlatımla sudo apt install bumblebee-nvidia primus
komutuyla bumblebee kurulumu yaptım. optirun
ve primusrun
komutları düzgün çalışmadı. Bilgisayarı yeniden başlattım. Ancak dönen açılış ekranında dondu. tty ekranlarına girmeyi denedim ama hiçbir tuşu algılamıyordu. Güç düğmesine basılı tutarak kapattıktan sonra kurtarma modunda açmayı denedim ama hiçbir hata vermeden dondu. Eski çekirdekle kurtarma modunda sorunsuzca açmayı başardım. sudo apt purge bumblebee-nvidia primus
komutuyla kaldırınca sorun çözüldü.
Bilgisayarın Pardus bölümünde (Windows + Pardus dual-boot yaptım) başta Blender ve OBS Studio olmak üzere ağır uygulamalar kullanmak istiyorum. Bu işler için Windows’a dönmek istemiyorum. Optimus teknolojisini nasıl kullanabilirim veya nasıl bazen tamamen NVIDIA’ya geçip diğer zamanlarda Intel’le devam edebilirim?
Ekran kartıyla ilgili verilmesi gereken çıktılar:
inxi -SMGxx
System: Host: ROG Kernel: 4.19.0-10-amd64 x86_64 bits: 64 compiler: gcc v: 8.3.0 Desktop: Xfce 4.12.4 tk: Gtk 2.24.32
wm: xfwm4 dm: LightDM Distro: Pardus GNU/Linux 19.3 (Ondokuz)
Machine: Type: Laptop System: ASUSTeK product: ROG Strix G531GW_G531GW v: 1.0 serial: <root required>
Mobo: ASUSTeK model: G531GW v: 1.0 serial: <root required> UEFI: American Megatrends v: G531GW.306 date: 09/24/2019
Graphics: Device-1: Intel UHD Graphics 630 vendor: ASUSTeK driver: i915 v: kernel bus ID: 00:02.0 chip ID: 8086:3e9b
Device-2: NVIDIA TU106M [GeForce RTX 2070 Mobile] vendor: ASUSTeK driver: nvidia v: 440.100 bus ID: 01:00.0
chip ID: 10de:1f10
Display: x11 server: X.Org 1.20.4 driver: modesetting unloaded: fbdev,nouveau,nvidia,vesa alternate: nv
resolution: 1920x1080~240Hz
OpenGL: renderer: Mesa DRI Intel UHD Graphics 630 (Coffeelake 3x8 GT2) v: 4.5 Mesa 18.3.6 compat-v: 3.0
direct render: Yes
glxinfo | grep render
direct rendering: Yes
GLX_MESA_multithread_makecurrent, GLX_MESA_query_renderer,
GLX_INTEL_swap_event, GLX_MESA_copy_sub_buffer, GLX_MESA_query_renderer,
Extended renderer info (GLX_MESA_query_renderer):
OpenGL renderer string: Mesa DRI Intel(R) UHD Graphics 630 (Coffeelake 3x8 GT2)
GL_ARB_conditional_render_inverted, GL_ARB_conservative_depth,
GL_NV_conditional_render, GL_NV_depth_clamp,
GL_ARB_conditional_render_inverted, GL_ARB_conservative_depth,
GL_MESA_window_pos, GL_NV_blend_square, GL_NV_conditional_render,
GL_EXT_render_snorm, GL_EXT_robustness, GL_EXT_separate_shader_objects,
GL_OES_element_index_uint, GL_OES_fbo_render_mipmap,
lspci | egrep 'VGA|3D|Display'
00:02.0 VGA compatible controller: Intel Corporation UHD Graphics 630 (Mobile) (rev 02)
01:00.0 VGA compatible controller: NVIDIA Corporation TU106M [GeForce RTX 2070 Mobile] (rev a1)
xrandr
Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 8192 x 8192
eDP-1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 344mm x 194mm
1920x1080 240.00*+ 60.00
cat /etc/X11/xorg.conf
cat: /etc/X11/xorg.conf: Böyle bir dosya ya da dizin yok
dpkg -l | egrep 'nvidia|bumblebee|primus|prime|virtualgl|fglrx'
ii glx-alternative-nvidia 1.1.0~bpo10+1 amd64 allows the selection of NVIDIA as GLX provider
ii libegl-nvidia-tesla-418-0:amd64 418.152.00-1~bpo10+1 amd64 NVIDIA binary EGL library (Tesla 418 version)
ii libegl-nvidia-tesla-418-0:i386 418.152.00-1~bpo10+1 i386 NVIDIA binary EGL library (Tesla 418 version)
ii libegl-nvidia0:amd64 440.100-1~bpo10+1 amd64 NVIDIA binary EGL library
ii libegl-nvidia0:i386 440.100-1~bpo10+1 i386 NVIDIA binary EGL library
ii libgl1-nvidia-glvnd-glx:amd64 440.100-1~bpo10+1 amd64 NVIDIA binary OpenGL/GLX library (GLVND variant)
ii libgl1-nvidia-glvnd-glx:i386 440.100-1~bpo10+1 i386 NVIDIA binary OpenGL/GLX library (GLVND variant)
ii libgl1-nvidia-tesla-418-glvnd-glx:amd64 418.152.00-1~bpo10+1 amd64 NVIDIA binary OpenGL/GLX library (GLVND variant) (Tesla 418 version)
ii libgl1-nvidia-tesla-418-glvnd-glx:i386 418.152.00-1~bpo10+1 i386 NVIDIA binary OpenGL/GLX library (GLVND variant) (Tesla 418 version)
ii libgles-nvidia-tesla-418-1:amd64 418.152.00-1~bpo10+1 amd64 NVIDIA binary OpenGL|ES 1.x library (Tesla 418 version)
ii libgles-nvidia-tesla-418-1:i386 418.152.00-1~bpo10+1 i386 NVIDIA binary OpenGL|ES 1.x library (Tesla 418 version)
ii libgles-nvidia-tesla-418-2:amd64 418.152.00-1~bpo10+1 amd64 NVIDIA binary OpenGL|ES 2.x library (Tesla 418 version)
ii libgles-nvidia-tesla-418-2:i386 418.152.00-1~bpo10+1 i386 NVIDIA binary OpenGL|ES 2.x library (Tesla 418 version)
ii libgles-nvidia1:amd64 440.100-1~bpo10+1 amd64 NVIDIA binary OpenGL|ES 1.x library
ii libgles-nvidia1:i386 440.100-1~bpo10+1 i386 NVIDIA binary OpenGL|ES 1.x library
ii libgles-nvidia2:amd64 440.100-1~bpo10+1 amd64 NVIDIA binary OpenGL|ES 2.x library
ii libgles-nvidia2:i386 440.100-1~bpo10+1 i386 NVIDIA binary OpenGL|ES 2.x library
ii libglx-nvidia-tesla-418-0:amd64 418.152.00-1~bpo10+1 amd64 NVIDIA binary GLX library (Tesla 418 version)
ii libglx-nvidia-tesla-418-0:i386 418.152.00-1~bpo10+1 i386 NVIDIA binary GLX library (Tesla 418 version)
ii libglx-nvidia0:amd64 440.100-1~bpo10+1 amd64 NVIDIA binary GLX library
ii libglx-nvidia0:i386 440.100-1~bpo10+1 i386 NVIDIA binary GLX library
ii libnvidia-cbl:amd64 440.100-1~bpo10+1 amd64 NVIDIA binary Vulkan ray tracing (cbl) library
ii libnvidia-cfg1:amd64 440.100-1~bpo10+1 amd64 NVIDIA binary OpenGL/GLX configuration library
ii libnvidia-compiler:amd64 440.100-1~bpo10+1 amd64 NVIDIA runtime compiler library
ii libnvidia-eglcore:amd64 440.100-1~bpo10+1 amd64 NVIDIA binary EGL core libraries
ii libnvidia-eglcore:i386 440.100-1~bpo10+1 i386 NVIDIA binary EGL core libraries
ii libnvidia-fatbinaryloader:amd64 440.100-1~bpo10+1 amd64 NVIDIA FAT binary loader
ii libnvidia-fatbinaryloader:i386 440.100-1~bpo10+1 i386 NVIDIA FAT binary loader
ii libnvidia-glcore:amd64 440.100-1~bpo10+1 amd64 NVIDIA binary OpenGL/GLX core libraries
ii libnvidia-glcore:i386 440.100-1~bpo10+1 i386 NVIDIA binary OpenGL/GLX core libraries
ii libnvidia-glvkspirv:amd64 440.100-1~bpo10+1 amd64 NVIDIA binary Vulkan Spir-V compiler library
ii libnvidia-glvkspirv:i386 440.100-1~bpo10+1 i386 NVIDIA binary Vulkan Spir-V compiler library
ii libnvidia-ml-dev 10.1.243-6~bpo10+1 amd64 NVIDIA Management Library (NVML) development files
ii libnvidia-ml1:amd64 440.100-1~bpo10+1 amd64 NVIDIA Management Library (NVML) runtime library
ii libnvidia-ptxjitcompiler1:amd64 440.100-1~bpo10+1 amd64 NVIDIA PTX JIT Compiler
ii libnvidia-ptxjitcompiler1:i386 440.100-1~bpo10+1 i386 NVIDIA PTX JIT Compiler
ii libnvidia-rtcore:amd64 440.100-1~bpo10+1 amd64 NVIDIA binary Vulkan ray tracing (rtcore) library
ii libnvidia-tesla-418-cbl:amd64 418.152.00-1~bpo10+1 amd64 NVIDIA binary Vulkan ray tracing (cbl) library (Tesla 418 version)
ii libnvidia-tesla-418-cfg1:amd64 418.152.00-1~bpo10+1 amd64 NVIDIA binary OpenGL/GLX configuration library (Tesla 418 version)
ii libnvidia-tesla-418-eglcore:amd64 418.152.00-1~bpo10+1 amd64 NVIDIA binary EGL core libraries (Tesla 418 version)
ii libnvidia-tesla-418-eglcore:i386 418.152.00-1~bpo10+1 i386 NVIDIA binary EGL core libraries (Tesla 418 version)
ii libnvidia-tesla-418-fatbinaryloader:amd64 418.152.00-1~bpo10+1 amd64 NVIDIA FAT binary loader (Tesla 418 version)
ii libnvidia-tesla-418-glcore:amd64 418.152.00-1~bpo10+1 amd64 NVIDIA binary OpenGL/GLX core libraries (Tesla 418 version)
ii libnvidia-tesla-418-glcore:i386 418.152.00-1~bpo10+1 i386 NVIDIA binary OpenGL/GLX core libraries (Tesla 418 version)
ii libnvidia-tesla-418-glvkspirv:amd64 418.152.00-1~bpo10+1 amd64 NVIDIA binary Vulkan Spir-V compiler library (Tesla 418 version)
ii libnvidia-tesla-418-glvkspirv:i386 418.152.00-1~bpo10+1 i386 NVIDIA binary Vulkan Spir-V compiler library (Tesla 418 version)
ii libnvidia-tesla-418-ml1:amd64 418.152.00-1~bpo10+1 amd64 NVIDIA Management Library (NVML) runtime library (Tesla 418 version)
ii libnvidia-tesla-418-ptxjitcompiler1:amd64 418.152.00-1~bpo10+1 amd64 NVIDIA PTX JIT Compiler (Tesla 418 version)
ii libnvidia-tesla-418-rtcore:amd64 418.152.00-1~bpo10+1 amd64 NVIDIA binary Vulkan ray tracing (rtcore) library (Tesla 418 version)
ii nvidia-alternative 440.100-1~bpo10+1 amd64 allows the selection of NVIDIA as GLX provider
ii nvidia-cuda-dev 10.1.243-6~bpo10+1 amd64 NVIDIA CUDA development files
ii nvidia-cuda-doc 10.1.243-6~bpo10+1 all NVIDIA CUDA and OpenCL documentation
ii nvidia-cuda-gdb 10.1.243-6~bpo10+1 amd64 NVIDIA CUDA Debugger (GDB)
ii nvidia-cuda-toolkit 10.1.243-6~bpo10+1 amd64 NVIDIA CUDA development toolkit
ii nvidia-driver 440.100-1~bpo10+1 amd64 NVIDIA metapackage
ii nvidia-driver-bin 440.100-1~bpo10+1 amd64 NVIDIA driver support binaries
ii nvidia-driver-libs:amd64 440.100-1~bpo10+1 amd64 NVIDIA metapackage (OpenGL/GLX/EGL/GLES libraries)
ii nvidia-driver-libs:i386 440.100-1~bpo10+1 i386 NVIDIA metapackage (OpenGL/GLX/EGL/GLES libraries)
ii nvidia-driver-libs-i386:i386 440.100-1~bpo10+1 i386 NVIDIA metapackage (OpenGL/GLX/EGL/GLES 32-bit libraries)
ii nvidia-egl-common 440.100-1~bpo10+1 amd64 NVIDIA binary EGL driver - common files
ii nvidia-egl-icd:amd64 440.100-1~bpo10+1 amd64 NVIDIA EGL installable client driver (ICD)
ii nvidia-egl-icd:i386 440.100-1~bpo10+1 i386 NVIDIA EGL installable client driver (ICD)
ii nvidia-installer-cleanup 20151021+12~bpo10+1 amd64 cleanup after driver installation with the nvidia-installer
ii nvidia-kernel-common 20151021+12~bpo10+1 amd64 NVIDIA binary kernel module support files
ii nvidia-kernel-dkms 440.100-1~bpo10+1 amd64 NVIDIA binary kernel module DKMS source
ii nvidia-kernel-support 440.100-1~bpo10+1 amd64 NVIDIA binary kernel module support files
ii nvidia-legacy-check 440.100-1~bpo10+1 amd64 check for NVIDIA GPUs requiring a legacy driver
ii nvidia-modprobe 418.56-1 amd64 utility to load NVIDIA kernel modules and create device nodes
ii nvidia-opencl-common 440.100-1~bpo10+1 amd64 NVIDIA OpenCL driver - common files
ii nvidia-opencl-dev:amd64 10.1.243-6~bpo10+1 amd64 NVIDIA OpenCL development files
ii nvidia-opencl-icd:amd64 440.100-1~bpo10+1 amd64 NVIDIA OpenCL installable client driver (ICD)
ii nvidia-persistenced 418.56-1 amd64 daemon to maintain persistent software state in the NVIDIA driver
ii nvidia-profiler 10.1.243-6~bpo10+1 amd64 NVIDIA Profiler for CUDA and OpenCL
ii nvidia-settings 440.64-1~bpo10+1 amd64 tool for configuring the NVIDIA graphics driver
ii nvidia-settings-tesla-418 418.113-2~bpo10+1 amd64 tool for configuring the NVIDIA graphics driver (Tesla 418 version)
ii nvidia-smi 440.100-1~bpo10+1 amd64 NVIDIA System Management Interface
ii nvidia-support 20151021+12~bpo10+1 amd64 NVIDIA binary graphics driver support files
ii nvidia-tesla-418-alternative 418.152.00-1~bpo10+1 amd64 allows the selection of NVIDIA as GLX provider (Tesla 418 version)
ii nvidia-tesla-418-driver 418.152.00-1~bpo10+1 amd64 NVIDIA metapackage (Tesla 418 version)
ii nvidia-tesla-418-driver-bin 418.152.00-1~bpo10+1 amd64 NVIDIA driver support binaries (Tesla 418 version)
ii nvidia-tesla-418-driver-libs:amd64 418.152.00-1~bpo10+1 amd64 NVIDIA metapackage (OpenGL/GLX/EGL/GLES libraries) (Tesla 418 version)
ii nvidia-tesla-418-driver-libs:i386 418.152.00-1~bpo10+1 i386 NVIDIA metapackage (OpenGL/GLX/EGL/GLES libraries) (Tesla 418 version)
ii nvidia-tesla-418-driver-libs-i386:i386 418.152.00-1~bpo10+1 i386 NVIDIA metapackage (OpenGL/GLX/EGL/GLES 32-bit libraries) (Tesla 418)
ii nvidia-tesla-418-egl-icd:amd64 418.152.00-1~bpo10+1 amd64 NVIDIA EGL installable client driver (ICD)
ii nvidia-tesla-418-egl-icd:i386 418.152.00-1~bpo10+1 i386 NVIDIA EGL installable client driver (ICD)
ii nvidia-tesla-418-kernel-dkms 418.152.00-1~bpo10+1 amd64 NVIDIA binary kernel module DKMS source (Tesla 418 version)
ii nvidia-tesla-418-kernel-support 418.152.00-1~bpo10+1 amd64 NVIDIA binary kernel module support files (Tesla 418 version)
ii nvidia-tesla-418-vdpau-driver:amd64 418.152.00-1~bpo10+1 amd64 Video Decode and Presentation API for Unix - NVIDIA driver (Tesla 418)
ii nvidia-tesla-418-vulkan-icd:amd64 418.152.00-1~bpo10+1 amd64 NVIDIA Vulkan installable client driver (ICD) (Tesla 418 version)
ii nvidia-tesla-418-vulkan-icd:i386 418.152.00-1~bpo10+1 i386 NVIDIA Vulkan installable client driver (ICD) (Tesla 418 version)
ii nvidia-vdpau-driver:amd64 440.100-1~bpo10+1 amd64 Video Decode and Presentation API for Unix - NVIDIA driver
ii nvidia-visual-profiler 10.1.243-6~bpo10+1 amd64 NVIDIA Visual Profiler for CUDA and OpenCL
ii nvidia-vulkan-common 440.100-1~bpo10+1 amd64 NVIDIA Vulkan driver - common files
ii nvidia-vulkan-icd:amd64 440.100-1~bpo10+1 amd64 NVIDIA Vulkan installable client driver (ICD)
ii nvidia-vulkan-icd:i386 440.100-1~bpo10+1 i386 NVIDIA Vulkan installable client driver (ICD)
ii xserver-xorg-video-nvidia 440.100-1~bpo10+1 amd64 NVIDIA binary Xorg driver
ii xserver-xorg-video-nvidia-tesla-418 418.152.00-1~bpo10+1 amd64 NVIDIA binary Xorg driver (Tesla 418 version)
xorg.conf dosyası bulunamadığı için /etc/X11 dizininde ls -l komutu çalıştırdım
drwxr-xr-x 2 root root 4096 Ağu 13 21:44 app-defaults
-rw-r--r-- 1 root root 18 Tem 3 12:09 default-display-manager
drwxr-xr-x 6 root root 4096 Ağu 11 21:45 fonts
-rw-r--r-- 1 root root 17394 Nis 11 2019 rgb.txt
drwxr-xr-x 2 root root 4096 Ağu 11 21:45 xinit
drwxr-xr-x 2 root root 4096 Şub 11 2019 xkb
drwxr-xr-x 2 root root 4096 Ağu 11 21:45 xorg.conf.d
-rwxr-xr-x 1 root root 709 Nis 11 2019 Xreset
drwxr-xr-x 2 root root 4096 Ağu 11 21:45 Xreset.d
drwxr-xr-x 2 root root 4096 Ağu 11 21:45 Xresources
-rwxr-xr-x 1 root root 3677 Nis 11 2019 Xsession
drwxr-xr-x 2 root root 4096 Ağu 11 22:38 Xsession.d
-rw-r--r-- 1 root root 265 Nis 11 2019 Xsession.options
drwxr-xr-x 2 root root 4096 Ağu 11 21:45 xsm
-rw-r--r-- 1 root root 13 Ara 5 2016 XvMCConfig
-rw-r--r-- 1 root root 630 Tem 3 12:09 Xwrapper.config