Linux Mint Türkiye
Linux Mint Destek => Ekran Kartları => Donanım => Nvidia => Konuyu başlatan: TYeniyayla - 10 Mart 2017, 14:23:50
-
Bumblebee kurarken hiç bir hata almadım ama şu çarkların dönmesi gereken kodta bende hata veriyor. Şunu da söylemem gerek sistemim harici harddiske kurulu.
[info]optirun -vvv glxgears [/info]
[24631.817210] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf
[24631.817607] [INFO]Configured driver: nvidia
[24631.817693] [ERROR]The Bumblebee daemon has not been started yet or the socket path /var/run/bumblebee.socket was incorrect.
[24631.817712] [DEBUG]Socket closed.
[24631.817734] [ERROR]Could not connect to bumblebee daemon - is it running?
[info]cat /etc/bumblebee/bumblebee.conf[/info]
# Configuration file for Bumblebee. Values should **not** be put between quotes
## Server options. Any change made in this section will need a server restart
# to take effect.
[bumblebeed]
# The secondary Xorg server DISPLAY number
VirtualDisplay=:8
# Should the unused Xorg server be kept running? Set this to true if waiting
# for X to be ready is too long and don't need power management at all.
KeepUnusedXServer=false
# The name of the Bumbleblee server group name (GID name)
ServerGroup=bumblebee
# Card power state at exit. Set to false if the card shoud be ON when Bumblebee
# server exits.
TurnCardOffAtExit=false
# The default behavior of '-f' option on optirun. If set to "true", '-f' will
# be ignored.
NoEcoModeOverride=false
# The Driver used by Bumblebee server. If this value is not set (or empty),
# auto-detection is performed. The available drivers are nvidia and nouveau
# (See also the driver-specific sections below)
Driver=nvidia
# Directory with a dummy config file to pass as a -configdir to secondary X
XorgConfDir=/etc/bumblebee/xorg.conf.d
# Xorg binary to run
XorgBinary=/usr/lib/xorg/Xorg
## Client options. Will take effect on the next optirun executed.
[optirun]
# Acceleration/ rendering bridge, possible values are auto, virtualgl and
# primus.
Bridge=auto
# The method used for VirtualGL to transport frames between X servers.
# Possible values are proxy, jpeg, rgb, xv and yuv.
VGLTransport=proxy
# List of paths which are searched for the primus libGL.so.1 when using
# the primus bridge
PrimusLibraryPath=/usr/lib/x86_64-linux-gnu/primus:/usr/lib/i386-linux-gnu/primus
# Should the program run under optirun even if Bumblebee server or nvidia card
# is not available?
AllowFallbackToIGC=false
# Driver-specific settings are grouped under [driver-NAME]. The sections are
# parsed if the Driver setting in [bumblebeed] is set to NAME (or if auto-
# detection resolves to NAME).
# PMMethod: method to use for saving power by disabling the nvidia card, valid
# values are: auto - automatically detect which PM method to use
# bbswitch - new in BB 3, recommended if available
# switcheroo - vga_switcheroo method, use at your own risk
# none - disable PM completely
# https://github.com/Bumblebee-Project/Bumblebee/wiki/Comparison-of-PM-methods
## Section with nvidia driver specific options, only parsed if Driver=nvidia
[driver-nvidia]
# Module name to load, defaults to Driver if empty or unset
KernelDriver=nvidia-370
PMMethod=auto
# colon-separated path to the nvidia libraries
LibraryPath=/usr/lib/nvidia-370:/usr/lib32/nvidia-370
# comma-separated path of the directory containing nvidia_drv.so and the
# default Xorg modules path
XorgModulePath=/usr/lib/nvidia-370/xorg,/usr/lib/xorg/modules
XorgConfFile=/etc/bumblebee/xorg.conf.nvidia
## Section with nouveau driver specific options, only parsed if Driver=nouveau
[driver-nouveau]
KernelDriver=nouveau
PMMethod=auto
XorgConfFile=/etc/bumblebee/xorg.conf.nouveau
[info]cat /etc/bumblebee/xorg.conf.nvidia[/info]
Section "ServerLayout"
Identifier "Layout0"
Option "AutoAddDevices" "false"
Option "AutoAddGPU" "false"
EndSection
Section "Device"
Identifier "DiscreteNvidia"
Driver "nvidia"
VendorName "NVIDIA Corporation"
# If the X server does not automatically detect your VGA device,
# you can manually set it here.
# To get the BusID prop, run `lspci | egrep 'VGA|3D'` and input the data
# as you see in the commented example.
# This Setting may be needed in some platforms with more than one
# nvidia card, which may confuse the proprietary driver (e.g.,
# trying to take ownership of the wrong device). Also needed on Ubuntu 13.04.
BusID "PCI:01:00:0"
# Setting ProbeAllGpus to false prevents the new proprietary driver
# instance spawned to try to control the integrated graphics card,
# which is already being managed outside bumblebee.
# This option doesn't hurt and it is required on platforms running
# more than one nvidia graphics card with the proprietary driver.
# (E.g. Macbook Pro pre-2010 with nVidia 9400M + 9600M GT).
# If this option is not set, the new Xorg may blacken the screen and
# render it unusable (unless you have some way to run killall Xorg).
Option "ProbeAllGpus" "false"
Option "NoLogo" "true"
Option "UseEDID" "false"
Option "UseDisplayDevice" "none"
EndSection
tunahan--p
[info]cat /etc/X11/xorg.conf[/info]
cat: /etc/X11/xorg.conf: Böyle bir dosya ya da dizin yok
[info]dpkg -l | egrep 'nvidia|bumblebee|primus|prime|virtualgl'[/info]
ii bumblebee 3.2.1-96~xenialppa1 amd64 NVIDIA Optimus support for Linux
ii bumblebee-nvidia 3.2.1-96~xenialppa1 amd64 NVIDIA Optimus support using the proprietary NVIDIA driver
ii nvidia-370 370.28-0ubuntu0~gpu16.04.3 amd64 NVIDIA binary driver - version 370.28
ii nvidia-prime-applet 1.0.6 all An applet for NVIDIA Prime
ii nvidia-settings 378.13-0ubuntu0~gpu16.10.2 amd64 Tool for configuring the NVIDIA graphics driver
ii primus 20150328-3~xenialppa1 amd64 client-side GPU offloading for NVIDIA Optimus
ii primus-libs:amd64 20150328-3~xenialppa1 amd64 Shared libraries for primus
ii primus-libs:i386 20150328-3~xenialppa1 i386 Shared libraries for primus
ii primus-libs-ia32:i386 20150328-3~xenialppa1 i386 Shared libraries for primus (32-bit)
ii virtualgl 2.4.1-1~xenialppa1 amd64 Toolkit for displaying OpenGL applications to thin clients
ii virtualgl-libs:amd64 2.4.1-1~xenialppa1 amd64 Library files for virtualgl
[info]lspci | egrep 'VGA|3D|Display'[/info]
00:02.0 VGA compatible controller: Intel Corporation Skylake Integrated Graphics (rev 06)
01:00.0 3D controller: NVIDIA Corporation GM107M [GeForce GTX 960M] (rev a2)
[info]optirun glxgears[/info]
[25007.083776] [ERROR]The Bumblebee daemon has not been started yet or the socket path /var/run/bumblebee.socket was incorrect.
[25007.083820] [ERROR]Could not connect to bumblebee daemon - is it running?
[info]inxi -SGx[/info]
System: Host: tunahan--pc Kernel: 4.4.0-53-generic x86_64 (64 bit gcc: 5.4.0)
Desktop: Cinnamon 3.2.6 (Gtk 3.18.9-1ubuntu3.1)
Distro: Linux Mint 18.1 Serena
Graphics: Card-1: Intel Skylake Integrated Graphics bus-ID: 00:02.0
Card-2: NVIDIA GM107M [GeForce GTX 960M] bus-ID: 01:00.0
Display Server: X.org 1.18.4 drivers: intel (unloaded: fbdev,vesa) FAILED: nouveau
tty size: 80x24 Advanced Data: N/A for root
[info]glxinfo | grep render[/info]
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_NV_blend_square, GL_NV_conditional_render, GL_NV_depth_clamp,
GL_OES_element_index_uint, GL_OES_fbo_render_mipmap,
[info]xrandr[/info]
Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 32767 x 32767
eDP1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 381mm x 214mm
1920x1080 60.00*+ 59.93
1680x1050 59.95 59.88
1600x1024 60.17
1400x1050 59.98
1600x900 60.00
1280x1024 60.02
1440x900 59.89
1280x960 60.00
1368x768 60.00
1360x768 59.80 59.96
1152x864 60.00
1280x720 60.00
1024x768 60.00
1024x576 60.00
960x540 60.00
800x600 60.32 56.25
864x486 60.00
640x480 59.94
720x405 60.00
640x360 60.00
DP1 disconnected (normal left inverted right x axis y axis)
HDMI1 disconnected (normal left inverted right x axis y axis)
HDMI2 disconnected (normal left inverted right x axis y axis)
VIRTUAL1 disconnected (normal left inverted right x axis y axis)
[info]systemctl status nvidia-persistenced.service[/info]
● nvidia-persistenced.service - NVIDIA Persistence Daemon
Loaded: loaded (/lib/systemd/system/nvidia-persistenced.service; static; vendor preset: enabled)
Active: failed (Result: exit-code) since Cum 2017-03-10 06:17:33 +03; 7h ago
Process: 898 ExecStart=/usr/bin/nvidia-persistenced --user nvidia-persistenced --no-persistence-mode --verbose (code=exited, sta
Mar 10 06:17:33 tunahan--pc systemd[1]: Starting NVIDIA Persistence Daemon...
Mar 10 06:17:33 tunahan--pc systemd[1]: nvidia-persistenced.service: Control process exited, code=exited status=203
Mar 10 06:17:33 tunahan--pc systemd[1]: Failed to start NVIDIA Persistence Daemon.
Mar 10 06:17:33 tunahan--pc systemd[1]: nvidia-persistenced.service: Unit entered failed state.
Mar 10 06:17:33 tunahan--pc systemd[1]: nvidia-persistenced.service: Failed with result 'exit-code'.
Eğer açılışta çıkan hatayı görmek isterseniz şu videoyu izleyin (orada gördüğüm kodu da (systemctl status nvidia-persistenced.service) en sona ekledim.):
[youtube]https://youtu.be/24EgHAOT6Ko[/youtube]
-
Option "UseDisplayDevice" "none"
EndSection
tunahan--p
/etc/bumblebee/xorg.conf.nvidia dosyasının enaltında gerçekten kırmızı ile işaretli kısım var mı, eğer varsa siliniz ve sistemi yeniden başlatınız.
Ayrıca aşağıdaki komutun çıktısına bakalım.
systemctl status -l bumblebeed
-
/etc/bumblebee/xorg.conf.nvidia dosyasının enaltında gerçekten kırmızı ile işaretli kısım var mı, eğer varsa siliniz ve sistemi yeniden başlatınız.
Dediğiniz kısım yok. sudo nano /etc/bumblebee/xorg.conf.nvidia ile girdim ama böyle bir ibare yok o dosyada.
Ayrıca aşağıdaki komutun çıktısına bakalım.
systemctl status -l bumblebeed
[info]systemctl status -l bumblebeed[/info]
● bumblebeed.service - Bumblebee C Daemon
Loaded: loaded (/lib/systemd/system/bumblebeed.service; enabled; vendor prese
Active: inactive (dead)
-
Aşağıdaki komutu uçbirimde çalıştırdıktan sonra,
sudo systemctl restart bumblebeed
aşağıdaki komutu çalıştırmayı dener misiniz?
optirun -vvv glxgears
Bir de aşağıdaki komutun çıktısına bakalım.
cat /proc/cmdline
-
[info]"optirun -vvv glxgears" çalıştı çarkları gördüm[/info]
[29960.975480] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf
[29960.975883] [INFO]Configured driver: nvidia
[29960.976245] [DEBUG]optirun version 3.2.1 starting...
[29960.976271] [DEBUG]Active configuration:
[29960.976277] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
[29960.976283] [DEBUG] X display: :8
[29960.976288] [DEBUG] LD_LIBRARY_PATH: /usr/lib/nvidia-370:/usr/lib32/nvidia-370
[29960.976294] [DEBUG] Socket path: /var/run/bumblebee.socket
[29960.976299] [DEBUG] Accel/display bridge: auto
[29960.976305] [DEBUG] VGL Compression: proxy
[29960.976309] [DEBUG] VGLrun extra options:
[29960.976315] [DEBUG] Primus LD Path: /usr/lib/x86_64-linux-gnu/primus:/usr/lib/i386-linux-gnu/primus
[29960.976471] [DEBUG]Using auto-detected bridge virtualgl
[29962.468450] [INFO]Response: Yes. X is active.
[29962.468462] [INFO]Running application using virtualgl.
[29962.468536] [DEBUG]Process vglrun started, PID 17382.
8435 frames in 5.0 seconds = 1686.864 FPS
9626 frames in 5.0 seconds = 1925.195 FPS
9591 frames in 5.0 seconds = 1918.186 FPS
9598 frames in 5.0 seconds = 1919.473 FPS
[VGL] ERROR: in readback--
[VGL] 256: Window has been deleted by window manager
[29985.035388] [DEBUG]SIGCHILD received, but wait failed with No child processes
[29985.035413] [DEBUG]Socket closed.
[29985.035427] [DEBUG]Killing all remaining processes.
[info]cat /proc/cmdline[/info]
BOOT_IMAGE=/vmlinuz-4.4.0-53-generic root=UUID=43be1448-0607-4dc5-a336-ddc5e611031f rw nogpumanager 3 vt.handoff=7
-
Bumblebee servisini başlatınca sorun kalmamaış gibi, aşağıdaki komutla Bumblebee servisinin başlangıçta otomatik çalıştırılmasını deneyebilirsiniz.
sudo systemctl enable bumblebeed.service
-
Teşekkür ederim o zaman konuyu çözüldü olarak işaretleyebilirim.
-
Önce sistemi yeniden başlatıp kontrol edin, eğer sistem yeniden başladığında Bumblebee sorunsuz çalışıyorsa konuyu kilitleyelim.
-
Haklısınız. Şimdi yeniden başlatmayı denedim. Sistem hala düzgün olarak açılmıyor yani logodan sonra siyah ekranda bekliyor ve 1dk içinde sonra fan hızı rahatsız edecek seviyede artıyor.
-
İşin kolayına kaçalım, aşağıdaki komutla /etc/rc.local dosyasını açalım.
sudo xed /etc/rc.local
Açılan dosyada "exit 0" satırının bir üst satırına aşağıdaki satırı ekleyip dosyayı kaydedin.
systemctl restart bumblebeed
Böylece sorunu çözen komut başlangıçta çalıştırılarak, sorunun etrafınan dolaşmaya yardımcı olacaktır. Dosyanın son satırları aşağıdaki gibi olacak.
systemctl restart bumblebeed
exit 0
Düzenleme sonrası sistemi yeniden başlatıp durumu kontrol ediniz.
-
Hâlâ daha masaüstünü açamadım. Tty ekranına girdiğimde ise kullanıcı adını yazarken takılıyor ve fan hızı artıyor
MI 5s Plus cihazımdan Tapatalk kullanılarak gönderildi
-
Şimdiye kadar sistemi nasıl açıyordunuz? Bu konu ile ilgili sorun ne durumda? Eğer Bumblebee ile ilgili sorun çözüldüyse konuyu kilitleyelim, diğer sorun için yeni bir konu açmalısınız.
-
Her zaman tty ekranına düşüp orada startx yazarak açıyordum ama şimdi açamıyorum tty ekranında kalıyor ve yazı yazamıyorum. Son attığınız kodu da bilgisayarı açamadığım için deneyemedim.
MI 5s Plus cihazımdan Tapatalk kullanılarak gönderildi
-
Bunula ilgili aşağıdaki komutun çıktısını da içerecek biçimde yeni bir konu açmanız daha uygun.
inxi -Fxz
[warning]Konu Açarken Dikkat Edilmesi Gerekenler (https://forum.linuxmint.net.tr/index.php?topic=3067.0)[/warning]
-
O zaman bu konu burada dursun. Bu sorunu çözdükten sonra sizin 1-2 yorum önce yazdığınız kodu dener sonuçları yazdıktan sonra bu konuyu da kilitleriz.
MI 5s Plus cihazımdan Tapatalk kullanılarak gönderildi