Linux Mint Türkiye
Yazılım => Oyun => Konuyu başlatan: dodo - 08 Haziran 2014, 19:42:35
-
Qianaya geçtiğimden beri oyunları oynayamaz oldum oyunlar açılıyor fakat siyah/mavi ekran geliyor sürekli açılmasında sorun yok . Oyunların menülerinde gezebiliyorum sesleri geliyor seçeneklere girip çıkabiliyorum ama görüntü değişmiyor bunu nasıl halledebilirim ?
-
Aşağıdaki komutların çıktılarını rica edelim.
lspci | grep 'Display|VGA|3D'
glxinfo | grep render
sudo lshw -C display
inxi -F
-
lspci | grep 'Display|VGA|3D'
Bunda bişey çıkmadı
glxinfo | grep render
direct rendering: Yes
GLX_MESA_multithread_makecurrent, GLX_MESA_query_renderer,
GLX_MESA_multithread_makecurrent, GLX_MESA_query_renderer,
OpenGL renderer string: Mesa DRI Intel(R) Sandybridge Mobile
GL_MESA_texture_signed_rgba, GL_NV_conditional_render, GL_NV_depth_clamp,
GL_NV_conditional_render, GL_NV_depth_clamp, GL_NV_light_max_exponent,
sudo lshw -C display
*-display
description: VGA compatible controller
product: 2nd Generation Core Processor Family Integrated Graphics Controller
vendor: Intel Corporation
physical id: 2
bus info: pci@0000:00:02.0
version: 09
width: 64 bits
clock: 33MHz
capabilities: msi pm vga_controller bus_master cap_list rom
configuration: driver=i915 latency=0
resources: irq:51 memory:f6400000-f67fffff memory:c0000000-cfffffff ioport:f000(size=64)
inxi -F
System: Host: doruk-GE620-GE620DX-FX620DX-FX623 Kernel: 3.13.0-24-generic x86_64 (64 bit)
Desktop: Gnome Distro: Linux Mint 17 Qiana
Machine: System: Micro-Star product: GE620/GE620DX/FX620DX/FX623
Mobo: Micro-Star model: MS-16G5 Bios: American Megatrends version: E16G5IMS V1.0O date: 10/19/2011
CPU: Dual core Intel Core i5-2430M CPU (-HT-MCP-) cache: 3072 KB flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx)
Clock Speeds: 1: 2394.723 MHz 2: 2394.723 MHz 3: 2394.723 MHz 4: 2394.723 MHz
Graphics: Card-1: Intel 2nd Generation Core Processor Family Integrated Graphics Controller
Card-2: NVIDIA GF116M [GeForce GT 555M/635M]
X.Org: 1.15.1 drivers: intel (unloaded: fbdev,vesa) Resolution: 1920x1080@59.9hz
GLX Renderer: Mesa DRI Intel Sandybridge Mobile GLX Version: 3.0 Mesa 10.3.0-devel
Audio: Card: Intel 6 Series/C200 Series Chipset Family High Definition Audio Controller driver: snd_hda_intel
Sound: Advanced Linux Sound Architecture ver: k3.13.0-24-generic
Network: Card-1: Intel Centrino Wireless-N 130 driver: iwlwifi
IF: wlan0 state: up mac: dc:a9:71:84:5c:ba
Card-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller driver: r8169
IF: eth0 state: down mac: 8c:89:a5:00:1d:92
Drives: HDD Total Size: 750.2GB (14.9% used) 1: id: /dev/sda model: TOSHIBA_MK7559GS size: 750.2GB
Partition: ID: / size: 257G used: 12G (5%) fs: ext4 ID: swap-1 size: 6.34GB used: 0.00GB (0%) fs: swap
RAID: No RAID devices detected - /proc/mdstat and md_mod kernel raid module present
Sensors: System Temperatures: cpu: 29.8C mobo: 27.8C
Fan Speeds (in rpm): cpu: N/A
Info: Processes: 187 Uptime: 38 min Memory: 925.6/5876.5MB Client: Shell inxi: 1.8.4
-
Burada (http://forum.linuxmint.net.tr/index.php?topic=78.0) anlatıldığı biçimde Bumblebee'yi kurmuş muydunuz?
-
Başka bi sitenin anlatımıyla kurmuştum bu anlatıma göre silip tekrar kurdum hala aynı .
-
Aşağıdaki komutların çıktılarını paylaşınız.
optirun -vvv glxgears
cat /etc/bumblebee/bumblebee.conf
cat /etc/bumblebee/xorg.conf.nvidia
dpkg -l | egrep 'nvidia|bumblebee'
-
optirun -vvv glxgears
[ 603.219607] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf
[ 603.219898] [INFO]Configured driver: nvidia
[ 603.220026] [DEBUG]optirun version 3.2.1 starting...
[ 603.220040] [DEBUG]Active configuration:
[ 603.220046] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
[ 603.220050] [DEBUG] X display: :8
[ 603.220054] [DEBUG] LD_LIBRARY_PATH: /usr/lib/nvidia-304:/usr/lib32/nvidia-304
[ 603.220057] [DEBUG] Socket path: /var/run/bumblebee.socket
[ 603.220061] [DEBUG] Accel/display bridge: auto
[ 603.220065] [DEBUG] VGL Compression: proxy
[ 603.220068] [DEBUG] VGLrun extra options:
[ 603.220072] [DEBUG] Primus LD Path: /usr/lib/x86_64-linux-gnu/primus:/usr/lib/i386-linux-gnu/primus
[ 603.220113] [DEBUG]Using auto-detected bridge primus
[ 605.409224] [INFO]Response: Yes. X is active.
[ 605.409245] [INFO]Running application using primus.
[ 605.409380] [DEBUG]Process glxgears started, PID 3662.
294 frames in 5.0 seconds = 58.614 FPS
300 frames in 5.0 seconds = 59.964 FPS
300 frames in 5.0 seconds = 59.963 FPS
300 frames in 5.0 seconds = 59.969 FPS
300 frames in 5.0 seconds = 59.965 FPS
300 frames in 5.0 seconds = 59.965 FPS
300 frames in 5.0 seconds = 59.965 FPS
300 frames in 5.0 seconds = 59.961 FPS
300 frames in 5.0 seconds = 59.971 FPS
300 frames in 5.0 seconds = 59.961 FPS
cat /etc/bumblebee/bumblebee.conf
# 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
## 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-current
PMMethod=auto
# colon-separated path to the nvidia libraries
LibraryPath=/usr/lib/nvidia-current:/usr/lib32/nvidia-current
# comma-separated path of the directory containing nvidia_drv.so and the
# default Xorg modules path
XorgModulePath=/usr/lib/nvidia-current/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
cat /etc/bumblebee/xorg.conf.nvidia
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
dpkg -l | egrep 'nvidia|bumblebee'
ii bumblebee 3.2.1-90~trustyppa1 amd64 NVIDIA Optimus support
ii bumblebee-nvidia 3.2.1-90~trustyppa1 amd64 NVIDIA Optimus support using the proprietary NVIDIA driver
ii nvidia-304 304.121-0ubuntu1~xedgers14.04.2 amd64 NVIDIA legacy binary driver - version 304.121
ii nvidia-current 304.121-0ubuntu1~xedgers14.04.2 amd64 Transitional package for nvidia-current
-
Bumblebee sorunsuz çalışıyor görünüyor. Belki Nvidia-304 sürücüsü ile ilgili bir sorun olabilir. İsterseniz aşağıdaki komutlar ile Nvidia-304 sürücüsünü kaldırıp Nvidia-331-updates sürücüleriniz kurmayı deneyebilirsiniz.
sudo apt-get purge nvidia-304 nvidia-current
sudo apt-get purge nvidia-331
Bu durumda aşağıdaki komut ile bumblebee.conf dosyasını açıp,
(Not : Mate masaüstü için gedit yerine pluma yazmalısınız.)
sudo gedit /etc/bumblebee/bumblebee.conf
aşağıdaki satırları,
KernelDriver=nvidia-current
LibraryPath=/usr/lib/nvidia-current:/usr/lib32/nvidia-current
XorgModulePath=/usr/lib/nvidia-current/xorg,/usr/lib/xorg/modules
aşağıdaki şekilde düzenleyip dosyayı kaydediniz.
KernelDriver=nvidia-331-updates
LibraryPath=/usr/lib/nvidia-331-updates:/usr/lib32/nvidia-331-updates
XorgModulePath=/usr/lib/nvidia-331-updates/xorg,/usr/lib/xorg/modules
Düzenleme sonrası aşağıdaki komut ile Bumblebee servisini yeniden başlatınız.
sudo service bumblebeed restart
-
Sorun devam ediyor :\
-
Hangi oyunda yaşanıyor bu sorun?
-
Bir tanesinde değil hepsine aynı sorun var .
-
Oyunları hangi ekran kartı ile açıyorsunuz? Bahsettiğiniz oyunlar hakkında bilgi veriniz, depodan mı kurdunuz, Wine ile Windows oyunlarını mı çalıştırıyorsunuz, bunlar Steam üzerinden yüklü oyunlar mıdır?
-
Software managerdan kurulan oyunlarda bir problem yok fakat portable windows oyunlarında veya playonlinux ile kurulan oyunlarda bu problem var . Oyunları konsoldan çalıştırmak istediğim default olarak onboard kartla açılıyorlar ve bu görüntü hatası meydana geliyor fakat optirun komutuyla açmak istediğimde şu hatayı veriyor ,
[ 1138.627603] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) NVIDIA(0): Failed to initialize the NVIDIA GPU at PCI:1:0:0. Please
[ 1138.627656] [ERROR]Aborting because fallback start is disabled.
-
Komutların çıktılarını tekrar alalım.
optirun -vvv glxgears
cat /etc/bumblebee/bumblebee.conf
cat /etc/bumblebee/xorg.conf.nvidia
dpkg -l | egrep 'nvidia|bumblebee'
-
Son ayarları yapmadan önce çalışıyodu neyse kalsın oyunu da windowsta oynarız .
-
Konu kilitlendi.