Linux Mint Türkiye
Linux Mint Destek => Ekran Kartları => Donanım => Nvidia => Konuyu başlatan: tnhnclskn - 24 Temmuz 2018, 00:06:59
-
Merhabalar,
Linux Mint 19'da Bumblebee Kurulumunu Nasıl Yapabilirim? (https://forum.linuxmint.net.tr/index.php?topic=9340.msg57009#msg57009) bağlantısındaki anlatımı takip ederek kurduğumda 'optirun glxgears' sonucunu aşağıda paylaşıyorum.
Linux Mint 19 Cinnamon 64 Bit
tnhnclskn[member=3683]tnhnclskn[/member]-N551VW:~$ optirun glxgears
X Error of failed request: BadMatch (invalid parameter attributes)
Major opcode of failed request: 155 (GLX)
Minor opcode of failed request: 11 (X_GLXSwapBuffers)
Serial number of failed request: 37
Current serial number in output stream: 38
primus: warning: dropping a frame to avoid deadlock
primus: warning: timeout waiting for display worker
terminate called without an active exception
tnhnclskn[member=3683]tnhnclskn[/member]-N551VW:~$ inxi -SMGxx
System: Host: tnhnclskn-N551VW Kernel: 4.15.0-29-generic x86_64 bits: 64 gcc: 7.3.0
Desktop: Cinnamon 3.8.8 (Gtk 3.22.30-1ubuntu1) dm: lightdm Distro: Linux Mint 19 Tara
Machine: Device: laptop System: ASUSTeK product: N551VW v: 1.0 serial: N/A
Mobo: ASUSTeK model: N551VW v: 1.0 serial: N/A
UEFI: American Megatrends v: N551VW.205 date: 11/13/2015
Graphics: Card-1: Intel HD Graphics 530 bus-ID: 00:02.0 chip-ID: 8086:191b
Card-2: NVIDIA GM107M [GeForce GTX 960M] bus-ID: 01:00.0 chip-ID: 10de:139b
Display Server: x11 (X.Org 1.19.6 ) drivers: modesetting (unloaded: fbdev,vesa)
Resolution: 1920x1080@60.00hz
OpenGL: renderer: Mesa DRI Intel HD Graphics 530 (Skylake GT2)
version: 4.5 Mesa 18.0.5 (compat-v: 3.0) Direct Render: Yes
tnhnclskn[member=3683]tnhnclskn[/member]-N551VW:~$ glxinfo | grep render
direct rendering: Yes
GLX_MESA_multithread_makecurrent, GLX_MESA_query_renderer,
GLX_MESA_multithread_makecurrent, GLX_MESA_query_renderer,
Extended renderer info (GLX_MESA_query_renderer):
OpenGL renderer string: Mesa DRI Intel(R) HD Graphics 530 (Skylake GT2)
GL_ARB_conditional_render_inverted, GL_ARB_conservative_depth,
GL_NV_conditional_render, GL_NV_depth_clamp, GL_NV_packed_depth_stencil,
GL_ARB_conditional_render_inverted, GL_ARB_conservative_depth,
GL_MESA_window_pos, GL_NV_blend_square, GL_NV_conditional_render,
GL_OES_element_index_uint, GL_OES_fbo_render_mipmap,
tnhnclskn[member=3683]tnhnclskn[/member]-N551VW:~$ lspci | egrep 'VGA|3D|Display'
00:02.0 VGA compatible controller: Intel Corporation HD Graphics 530 (rev 06)
01:00.0 3D controller: NVIDIA Corporation GM107M [GeForce GTX 960M] (rev ff)
tnhnclskn[member=3683]tnhnclskn[/member]-N551VW:~$ xrandr
Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 8192 x 8192
eDP-1 connected (normal left inverted right x axis y axis)
1920x1080 60.02 + 60.01 59.97 59.96 59.93
1680x1050 59.95 59.88
1600x1024 60.17
1400x1050 59.98
1600x900 59.99 59.94 59.95 59.82
1280x1024 60.02
1440x900 59.89
1400x900 59.96 59.88
1280x960 60.00
1440x810 60.00 59.97
1368x768 59.88 59.85
1360x768 59.80 59.96
1280x800 59.99 59.97 59.81 59.91
1152x864 60.00
1280x720 60.00 59.99 59.86 59.74
1024x768 60.04 60.00
960x720 60.00
928x696 60.05
896x672 60.01
1024x576 59.95 59.96 59.90 59.82
960x600 59.93 60.00
960x540 59.96 59.99 59.63 59.82
800x600 60.00 60.32 56.25
840x525 60.01 59.88
864x486 59.92 59.57
800x512 60.17
700x525 59.98
800x450 59.95 59.82
640x512 60.02
720x450 59.89
700x450 59.96 59.88
640x480 60.00 59.94
720x405 59.51 58.99
684x384 59.88 59.85
680x384 59.80 59.96
640x400 59.88 59.98
576x432 60.06
640x360 59.86 59.83 59.84 59.32
512x384 60.00
512x288 60.00 59.92
480x270 59.63 59.82
400x300 60.32 56.34
432x243 59.92 59.57
320x240 60.05
360x202 59.51 59.13
320x180 59.84 59.32
DP-1 disconnected (normal left inverted right x axis y axis)
HDMI-1 disconnected (normal left inverted right x axis y axis)
HDMI-2 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 480mm x 270mm
1920x1080 60.00*+ 50.00 59.94
1920x1080i 60.00 50.00 59.94
1680x1050 59.88
1400x1050 59.95
1600x900 60.00
1280x1024 75.02 60.02
1440x900 59.90
1280x800 59.91
1152x864 75.00
1280x720 60.00 50.00 59.94
1024x768 75.03 60.00
800x600 75.00 60.32
720x576 50.00
720x480 60.00 59.94
640x480 75.00 60.00 59.94
720x400 70.08
DP-2 disconnected (normal left inverted right x axis y axis)
HDMI-3 disconnected (normal left inverted right x axis y axis)
tnhnclskn[member=3683]tnhnclskn[/member]-N551VW:~$ cat /etc/X11/xorg.conf
cat: /etc/X11/xorg.conf: No such file or directory
tnhnclskn[member=3683]tnhnclskn[/member]-N551VW:~$ dpkg -l | egrep 'nvidia|bumblebee|primus|prime|virtualgl|fglrx'
ii bumblebee 3.2.1-17 amd64 NVIDIA Optimus support for Linux
ii libnvidia-cfg1-390:amd64 390.77-0ubuntu0~gpu18.04.1 amd64 NVIDIA binary OpenGL/GLX configuration library
ii libnvidia-common-390 390.77-0ubuntu0~gpu18.04.1 all Shared files used by the NVIDIA libraries
ii libnvidia-compute-390:amd64 390.77-0ubuntu0~gpu18.04.1 amd64 NVIDIA libcompute package
ii libnvidia-decode-390:amd64 390.77-0ubuntu0~gpu18.04.1 amd64 NVIDIA Video Decoding runtime libraries
ii libnvidia-encode-390:amd64 390.77-0ubuntu0~gpu18.04.1 amd64 NVENC Video Encoding runtime library
ii libnvidia-fbc1-390:amd64 390.77-0ubuntu0~gpu18.04.1 amd64 NVIDIA OpenGL-based Framebuffer Capture runtime library
ii libnvidia-gl-390:amd64 390.77-0ubuntu0~gpu18.04.1 amd64 NVIDIA OpenGL/GLX/EGL/GLES GLVND libraries and Vulkan ICD
ii libnvidia-ifr1-390:amd64 390.77-0ubuntu0~gpu18.04.1 amd64 NVIDIA OpenGL-based Inband Frame Readback runtime library
ii nvidia-390 390.77-0ubuntu0~gpu18.04.1 amd64 Transitional package for nvidia-driver-390
ii nvidia-compute-utils-390 390.77-0ubuntu0~gpu18.04.1 amd64 NVIDIA compute utilities
ii nvidia-dkms-390 390.77-0ubuntu0~gpu18.04.1 amd64 NVIDIA DKMS package
ii nvidia-driver-390 390.77-0ubuntu0~gpu18.04.1 amd64 NVIDIA driver metapackage
ii nvidia-kernel-common-390 390.77-0ubuntu0~gpu18.04.1 amd64 Shared files used with the kernel module
ii nvidia-kernel-source-390 390.77-0ubuntu0~gpu18.04.1 amd64 NVIDIA kernel source package
ii nvidia-prime-applet 1.0.7 all An applet for NVIDIA Prime
ii nvidia-utils-390 390.77-0ubuntu0~gpu18.04.1 amd64 NVIDIA driver support binaries
ii primus 0~20150328-6 amd64 client-side GPU offloading for NVIDIA Optimus
ii primus-libs:amd64 0~20150328-6 amd64 Shared libraries for primus
ii xserver-xorg-video-nvidia-390 390.77-0ubuntu0~gpu18.04.1 amd64 NVIDIA binary Xorg driver
-
Aşağıdaki komutla çalıştırınca durum ne oluyor?
__GLVND_DISALLOW_PATCHING=1 optirun glxgears
ya da aşağıdaki komutlarla durum ne oluyor?
primusrun glxgears
__GLVND_DISALLOW_PATCHING=1 primusrun glxgears
-
Çarkları görebiliyorum fakat 60 fps olduğundan dolayı ekran kartının devreye girdiğini düşünmüyorum.
tnhnclskn[member=3683]tnhnclskn[/member]-N551VW:~$ __GLVND_DISALLOW_PATCHING=1 optirun glxgears
301 frames in 5.0 seconds = 60.042 FPS
301 frames in 5.0 seconds = 60.021 FPS
-
Şu an primus köprüsü kullanıldığı için 60 FPS normal bir durum. Primus ile dikey senkronizasyon etkin olarak geliyor.
-
Teşekkürler [member=8]Butterfly[/member], peki bu parametreyi kapalı hale nasıl getirebilirim. Anlatımdaki kısmı yaptım fakat etkin değil anladığım kadarıyla.
tnhnclskn[member=3683]tnhnclskn[/member]-N551VW:~$ cat /etc/environment.d/glvnd.conf
__GLVND_DISALLOW_PATCHING=1
-
Aşağıdaki komutla /etc/environment dosyasını açıp,
sudo xed /etc/environment
dosyanın en altına bu satırı ekleyip, dosyayı kaydetmeyi deneyin.
__GLVND_DISALLOW_PATCHING=1
Ardından sistemi yeniden başlatın.
Bu şekilde sorun çözülürse, aşağıdaki komutla /etc/environment.d/glvnd.conf dosyasını silersiniz.
sudo rm -f /etc/environment.d/glvnd.conf
-
Teşekkür ederim, sorun çözüldü.
-
Rica ederiz.
Geri dönüşlere istinaden, diğer üyelerimize yardımcı olabilecek bir rehber konuyu da hazırladık. Aşağıdaki bağlantıdan ulaşılabilir.
[info][Nasıl] Linux Mint 19.x - Intel + Nvidia Hibrit GPU İçin Bumblebee Kurulumu (https://forum.linuxmint.net.tr/index.php?topic=9347.0)[/info]
[okay]Sorun çözüldüğü için konu kilitlemiştir.[/okay]