Linux Mint Türkiye

Yazılım => Oyun => Konuyu başlatan: Çağrı07 - 22 Kasım 2014, 18:12:24

Başlık: Age of Empires II ve Nvidia Optirun Sorunu
Gönderen: Çağrı07 - 22 Kasım 2014, 18:12:24
Kod: [Seç]
aspire@aspire-V3-571G ~/Desktop $ optirun '/home/aspire/Desktop/Age of Empires II.desktop'
[  756.560542] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) intel(0): [drm] failed to set drm interface version: Permission denied [13].

[  756.560628] [ERROR]Aborting because fallback start is disabled.

Hocam oyun kısayolunu optirun komutu ile terminale sürükleyip yapıştırıyorum ve terminale bir kere fare ile tıkladığımda yukarıdaki çıktıyı veriyor, ama terminale tıklamazsam direk "Enter" tuşuna basarsam bu sefer oyuna giriş yapıyorum.

Ancak oyun sırasında ekran kartımın ısınması gerek ama ısınmıyor hocam ? İşlemci kullanarak oyun oynuyor olabilir miyim ?
Başlık: Ynt: Age of Empires II ve Nvidia Optirun Sorunu
Gönderen: Butterfly - 22 Kasım 2014, 18:20:00
Optirun komutunu direk kısayolu seçerek kullanamazsınız. Kısayola sağ tıklayın ve Özellikleri seçin. Açılan düzenleme alanınında Komut bölümünün başına optirun eklemeyi deneyin.
Başlık: Ynt: Age of Empires II ve Nvidia Optirun Sorunu
Gönderen: Çağrı07 - 22 Kasım 2014, 18:26:13
optirun komutunu başa ekledim ama Fare imleci yerinde dönüyor maalesef ?
Yeni konu açmama gerek var mı hocam ?
Başlık: Ynt: Age of Empires II ve Nvidia Optirun Sorunu
Gönderen: Butterfly - 22 Kasım 2014, 18:28:59
İlgili uygulamayı optirun ile ilişkilendirmek için, konuda anlatıldığı biçimde Bumblebee-ui uygulamasını kurmayı denediniz mi?
Başlık: Ynt: Age of Empires II ve Nvidia Optirun Sorunu
Gönderen: Çağrı07 - 22 Kasım 2014, 18:46:16
Evet kurdum ve bumblebee appilacition servisinden oyunum işaretli hocam
Başlık: Ynt: Age of Empires II ve Nvidia Optirun Sorunu
Gönderen: Butterfly - 22 Kasım 2014, 18:51:55
Oyunun başlatıcı dosyasının Komut bölümünde bulunan oyunu başlatmak için kullanılan satırları paylaşınız.
Başlık: Ynt: Age of Empires II ve Nvidia Optirun Sorunu
Gönderen: Çağrı07 - 22 Kasım 2014, 18:56:55
Kod: [Seç]
optirun env WINEPREFIX="/home/aspire/.wine" wine C:\\Program\ Files\ \(x86\)\\Microsoft\\Age\ of\ Empires\ II\\AGE2_X1\\AGE2_X1.EXE
Başlık: Ynt: Age of Empires II ve Nvidia Optirun Sorunu
Gönderen: Butterfly - 22 Kasım 2014, 19:06:01
Şunu deneyelim; uçbirime "optirun wine" yazıp bir boşlu bırakın ve AGE2_X1.EXE dosyasını uçbirime sürükleyip bırakın.

Kod: [Seç]
optirun wine /AGE2_X1.EXE/dosyasını/sürükle/bırak
Uçbirimde oluşan komut ile oyunu başlatmayı deneyiniz.
AGE2_X1.EXE dosyasına kullanıcı ev dizini altındaki gizli .wine dizini altından ulaşabilirsiniz.
Başlık: Ynt: Age of Empires II ve Nvidia Optirun Sorunu
Gönderen: Çağrı07 - 22 Kasım 2014, 19:07:52
Kod: [Seç]
aspire@aspire-V3-571G ~/Desktop $ optirun wine '/home/aspire/.wine/drive_c/Program Files (x86)/Microsoft/Age of Empires II/AGE2_X1.EXE'
[ 4173.660487] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) intel(0): [drm] failed to set drm interface version: Permission denied [13].

[ 4173.660600] [ERROR]Aborting because fallback start is disabled.
Başlık: Ynt: Age of Empires II ve Nvidia Optirun Sorunu
Gönderen: Butterfly - 22 Kasım 2014, 19:11:12
Aşağıdaki komutların çıktılarını rica edelim.

Kod: [Seç]
optirun -vvv glxgears
cat /etc/bumblebee/bumblebee.conf
cat /etc/bumblebee/xorg.conf.nvidia
dpkg -l | egrep 'nvidia|bumblebee|primus|prime'
Başlık: Ynt: Age of Empires II ve Nvidia Optirun Sorunu
Gönderen: Çağrı07 - 22 Kasım 2014, 19:14:36
Kod: [Seç]
aspire@aspire-V3-571G ~/Desktop $ optirun -vvv glxgears
[ 4464.741667] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf
[ 4464.742039] [INFO]Configured driver: nvidia
[ 4464.742259] [DEBUG]optirun version 3.2.1 starting...
[ 4464.742275] [DEBUG]Active configuration:
[ 4464.742280] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
[ 4464.742284] [DEBUG] X display: :8
[ 4464.742288] [DEBUG] LD_LIBRARY_PATH: /usr/lib/nvidia-340:/usr/lib32/nvidia-340
[ 4464.742293] [DEBUG] Socket path: /var/run/bumblebee.socket
[ 4464.742298] [DEBUG] Accel/display bridge: auto
[ 4464.742302] [DEBUG] VGL Compression: proxy
[ 4464.742306] [DEBUG] VGLrun extra options:
[ 4464.742310] [DEBUG] Primus LD Path: /usr/lib/x86_64-linux-gnu/primus:/usr/lib/i386-linux-gnu/primus
[ 4464.742344] [DEBUG]Using auto-detected bridge virtualgl
[ 4466.980552] [INFO]Response: No - error: [XORG] (EE) intel(0): [drm] failed to set drm interface version: Permission denied [13].

[ 4466.980598] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) intel(0): [drm] failed to set drm interface version: Permission denied [13].

[ 4466.980610] [DEBUG]Socket closed.
[ 4466.980658] [ERROR]Aborting because fallback start is disabled.
[ 4466.980668] [DEBUG]Killing all remaining processes.

Kod: [Seç]
aspire@aspire-V3-571G ~/Desktop $ 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-331
PMMethod=auto
# colon-separated path to the nvidia libraries
LibraryPath=/usr/lib/nvidia-331:/usr/lib32/nvidia-331
# comma-separated path of the directory containing nvidia_drv.so and the
# default Xorg modules path
XorgModulePath=/usr/lib/nvidia-331/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

Kod: [Seç]
aspire@aspire-V3-571G ~/Desktop $ 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

Kod: [Seç]
aspire@aspire-V3-571G ~/Desktop $ dpkg -l | egrep 'nvidia|bumblebee|primus|prime'
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-340                                  340.32-0ubuntu1~xedgers14.04.1                         amd64        NVIDIA binary driver - version 340.32
ii  nvidia-settings                             343.13-0ubuntu1~xedgers14.04.1                         amd64        Tool for configuring the NVIDIA graphics driver
ii  primus                                      20131127-1~trustyppa1                                  amd64        client-side GPU offloading for NVIDIA Optimus
ii  primus-libs:amd64                           20131127-1~trustyppa1                                  amd64        Shared libraries for primus
ii  primus-libs:i386                            20131127-1~trustyppa1                                  i386         Shared libraries for primus
ii  primus-libs-ia32                            20131127-1~trustyppa1                                  i386         Shared libraries for primus (32-bit)
Başlık: Ynt: Age of Empires II ve Nvidia Optirun Sorunu
Gönderen: Butterfly - 22 Kasım 2014, 19:20:25
/etc/bumblebee/bumblebee.conf dosyasındaki nvidia-331 yazan yerleri nvidia-340 olarak değiştirip dosyayı kaydediniz.

KernelDriver=nvidia-331 => KernelDriver=nvidia-340
LibraryPath=/usr/lib/nvidia-331:/usr/lib32/nvidia-331  =>  LibraryPath=/usr/lib/nvidia-340:/usr/lib32/nvidia-340
XorgModulePath=/usr/lib/nvidia-340/xorg,/usr/lib/xorg/modules

Sonrasında aşağıdaki komut ile Bumblebee servisini yeniden başlatmayı deneyiniz.

Kod: [Seç]
sudo service bumblebeed restart
Aşağıdaki komut ile sorun olup olmadığını kontrol edebilirsiniz.

Kod: [Seç]
optirun -vvv glxgears
Başlık: Ynt: Age of Empires II ve Nvidia Optirun Sorunu
Gönderen: Çağrı07 - 22 Kasım 2014, 19:27:21
Kod: [Seç]
sudo gedit /etc/bumblebee/bumblebee.conf
Kod: [Seç]
# 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-340
PMMethod=auto
# colon-separated path to the nvidia libraries
LibraryPath=/usr/lib/nvidia-340:/usr/lib32/nvidia-340
# comma-separated path of the directory containing nvidia_drv.so and the
# default Xorg modules path
XorgModulePath=/usr/lib/nvidia-340/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

Kod: [Seç]
aspire@aspire-V3-571G ~/Desktop $ sudo service bumblebeed restart
bumblebeed stop/waiting
bumblebeed start/running, process 18867
aspire@aspire-V3-571G ~/Desktop $ sudo service bumblebeed restartoptirun -vvv glxgears
Usage: /etc/init.d/bumblebeed {start|stop|status|restart|force-reload}
Başlık: Ynt: Age of Empires II ve Nvidia Optirun Sorunu
Gönderen: Çağrı07 - 22 Kasım 2014, 19:29:30
Kod: [Seç]
aspire@aspire-V3-571G ~/Desktop $ optirun wine '/home/aspire/.wine/drive_c/Program Files (x86)/Microsoft/Age of Empires II/AGE2_X1.EXE'
[ 5466.072300] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) intel(0): [drm] failed to set drm interface version: Permission denied [13].

[ 5466.072370] [ERROR]Aborting because fallback start is disabled.
Başlık: Ynt: Age of Empires II ve Nvidia Optirun Sorunu
Gönderen: Butterfly - 22 Kasım 2014, 19:54:44
Komutları hatalı yazmışsınız. Önce aşağıdaki komutu çalıştırın.

Kod: [Seç]
sudo service bumblebeed restart
Sonra aşağıdaki komutun çıktısını paylaşın.

Kod: [Seç]
optirun -vvv glxgears
Ek olarak aşağıdaki komutun çıktısına da bakalım.

Kod: [Seç]
cat /etc/bumblebee/xorg.conf.nvidia
Kaynak (https://github.com/Bumblebee-Project/Bumblebee/issues/580)
Başlık: Ynt: Age of Empires II ve Nvidia Optirun Sorunu
Gönderen: Çağrı07 - 22 Kasım 2014, 20:49:17
Kod: [Seç]
aspire@aspire-V3-571G ~ $ sudo service bumblebeed restart
[sudo] password for aspire:
bumblebeed stop/waiting
bumblebeed start/running, process 8406
aspire@aspire-V3-571G ~ $ optirun -vvv glxgears
[  115.062883] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf
[  115.063074] [INFO]Configured driver: nvidia
[  115.063189] [DEBUG]optirun version 3.2.1 starting...
[  115.063197] [DEBUG]Active configuration:
[  115.063199] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
[  115.063202] [DEBUG] X display: :8
[  115.063204] [DEBUG] LD_LIBRARY_PATH: /usr/lib/nvidia-340:/usr/lib32/nvidia-340
[  115.063206] [DEBUG] Socket path: /var/run/bumblebee.socket
[  115.063207] [DEBUG] Accel/display bridge: auto
[  115.063209] [DEBUG] VGL Compression: proxy
[  115.063211] [DEBUG] VGLrun extra options:
[  115.063213] [DEBUG] Primus LD Path: /usr/lib/x86_64-linux-gnu/primus:/usr/lib/i386-linux-gnu/primus
[  115.063263] [DEBUG]Using auto-detected bridge virtualgl
[  119.468251] [INFO]Response: No - error: [XORG] (EE) intel(0): [drm] failed to set drm interface version: Permission denied [13].

[  119.468268] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) intel(0): [drm] failed to set drm interface version: Permission denied [13].

[  119.468271] [DEBUG]Socket closed.
[  119.468296] [ERROR]Aborting because fallback start is disabled.
[  119.468300] [DEBUG]Killing all remaining processes.
aspire@aspire-V3-571G ~ $ 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
Başlık: Ynt: Age of Empires II ve Nvidia Optirun Sorunu
Gönderen: Çağrı07 - 23 Kasım 2014, 20:19:06
Hocam son durum şöyle;

Kod: [Seç]
aspire@aspire-V3-571G ~/Desktop $ sudo service bumblebeed restart
[sudo] password for aspire:
bumblebeed stop/waiting
bumblebeed start/running, process 9818


Kod: [Seç]
aspire@aspire-V3-571G ~/Desktop $ optirun -vvv glxgears
[  147.264831] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf
[  147.265407] [INFO]Configured driver: nvidia
[  147.265660] [DEBUG]optirun version 3.2.1 starting...
[  147.265681] [DEBUG]Active configuration:
[  147.265689] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
[  147.265697] [DEBUG] X display: :8
[  147.265703] [DEBUG] LD_LIBRARY_PATH: /usr/lib/nvidia-340:/usr/lib32/nvidia-340
[  147.265710] [DEBUG] Socket path: /var/run/bumblebee.socket
[  147.265715] [DEBUG] Accel/display bridge: auto
[  147.265722] [DEBUG] VGL Compression: proxy
[  147.265729] [DEBUG] VGLrun extra options:
[  147.265737] [DEBUG] Primus LD Path: /usr/lib/x86_64-linux-gnu/primus:/usr/lib/i386-linux-gnu/primus
[  147.265872] [DEBUG]Using auto-detected bridge virtualgl
[  151.088512] [INFO]Response: No - error: [XORG] (EE) intel(0): [drm] failed to set drm interface version: Permission denied [13].

[  151.088552] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) intel(0): [drm] failed to set drm interface version: Permission denied [13].

[  151.088560] [DEBUG]Socket closed.
[  151.088598] [ERROR]Aborting because fallback start is disabled.
[  151.088608] [DEBUG]Killing all remaining processes.



Kod: [Seç]
aspire@aspire-V3-571G ~/Desktop $ 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
Başlık: Ynt: Age of Empires II ve Nvidia Optirun Sorunu
Gönderen: Butterfly - 23 Kasım 2014, 20:46:20
Aşağıdaki komut ile /etc/bumblebee/xorg.conf.nvidia dosyasını açınız,

Kod: [Seç]
sudo gedit /etc/bumblebee/xorg.conf.nvidia
dosyanın en altına burada (https://github.com/Bumblebee-Project/Bumblebee/issues/580) önerildiği biçimde aşağıdaki satırları ekleyip dosyayı kaydetmeyi deneyiniz.

Kod: [Seç]
Section "Screen"
    Identifier "Default Screen"
    Device "DiscreteNvidia"
EndSection


Başlık: Ynt: Age of Empires II ve Nvidia Optirun Sorunu
Gönderen: Çağrı07 - 23 Kasım 2014, 20:49:02
Evet çarklar dönmeye başladı hocam

Kod: [Seç]
aspire@aspire-V3-571G ~/Desktop $ optirun -vvv glxgears
[ 1995.907827] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf
[ 1995.908267] [INFO]Configured driver: nvidia
[ 1995.908485] [DEBUG]optirun version 3.2.1 starting...
[ 1995.908503] [DEBUG]Active configuration:
[ 1995.908509] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
[ 1995.908514] [DEBUG] X display: :8
[ 1995.908520] [DEBUG] LD_LIBRARY_PATH: /usr/lib/nvidia-340:/usr/lib32/nvidia-340
[ 1995.908525] [DEBUG] Socket path: /var/run/bumblebee.socket
[ 1995.908529] [DEBUG] Accel/display bridge: auto
[ 1995.908534] [DEBUG] VGL Compression: proxy
[ 1995.908538] [DEBUG] VGLrun extra options:
[ 1995.908542] [DEBUG] Primus LD Path: /usr/lib/x86_64-linux-gnu/primus:/usr/lib/i386-linux-gnu/primus
[ 1995.908582] [DEBUG]Using auto-detected bridge virtualgl
[ 1998.089772] [INFO]Response: Yes. X is active.

[ 1998.089802] [INFO]Running application using virtualgl.
[ 1998.089994] [DEBUG]Process vglrun started, PID 31275.
11295 frames in 5.0 seconds = 2258.884 FPS
11391 frames in 5.0 seconds = 2278.134 FPS
[VGL] ERROR: in readback--
[VGL]    247: Window has been deleted by window manager
[ 2009.870409] [DEBUG]SIGCHILD received, but wait failed with No child processes
[ 2009.870457] [DEBUG]Socket closed.
[ 2009.870470] [DEBUG]Killing all remaining processes.

Burada ki FPS değeri normal mi ? Normalde 60 FPS olması gerekmez mi ?
Başlık: Ynt: Age of Empires II ve Nvidia Optirun Sorunu
Gönderen: Butterfly - 23 Kasım 2014, 21:09:50
Dikey senkronizasyon (Vsysnc) durumu etkileyebiliyor. Şimdi daha önce belirtilen komutlar ile oyunu başlatmayı deneyebilirsiniz.

Cinnamon 2.4 sürüm ile görüntü birleştirme (compositing) özelliğini kapatıp açma özelliği eklendi. Bu da Cinnamon'da (tam ekran) oyun performansını etikeleyebilecek bir başka husus.

Cinnamon Ayar Yöneticisi => Genel => Tam ekran pencerelerde görüntü birleştirme (compositing) özelliğini pasifleştir.



Başlık: Ynt: Age of Empires II ve Nvidia Optirun Sorunu
Gönderen: Çağrı07 - 23 Kasım 2014, 21:15:17
Yine olmadı hocam

Kod: [Seç]
aspire@aspire-V3-571G ~/Desktop $ optirun wine '/home/aspire/.wine/drive_c/Program Files (x86)/Microsoft/Age of Empires II/AGE2_X1.EXE'
ERROR: ld.so: object 'libdlfaker.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
ERROR: ld.so: object 'librrfaker.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
ERROR: ld.so: object 'libdlfaker.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
ERROR: ld.so: object 'librrfaker.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
fixme:ntdll:find_reg_tz_info Can't find matching timezone information in the registry for bias -120, std (d/m/y): 26/10/2014, dlt (d/m/y): 31/03/2014
wine: Unhandled page fault on write access to 0xb961e703 at address 0x40d77c (thread 0009), starting debugger...
ERROR: ld.so: object 'libdlfaker.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
ERROR: ld.so: object 'librrfaker.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
Unhandled exception: page fault on write access to 0xb961e703 in 32-bit code (0x0040d77c).
Register dump:
 CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
 EIP:0040d77c ESP:0032fce8 EBP:0032fdd4 EFLAGS:00010293(  R- --  I S -A- -C)
 EAX:00400000 EBX:c90c9300 ECX:0032fcec EDX:00000067
 ESI:00126ef0 EDI:00419fe1
Stack dump:
0x0032fce8:  00410db5 00000000 00400000 00000067
0x0032fcf8:  00419fe0 00126ef0 7b8ba000 00000000
0x0032fd08:  00001302 7bc3cdc9 4d430003 00000000
0x0032fd18:  004615c0 00000000 00000018 00000065
0x0032fd28:  00000000 00400000 00000067 00000000
0x0032fd38:  4d430001 00000094 00000005 00000001
Backtrace:
=>0 0x0040d77c in age2_x1 (+0xd77c) (0x0032fdd4)
  1 0x0041a132 in age2_x1 (+0x1a131) (0x0032fe60)
  2 0x7b85fa7c call_process_entry+0xb() in kernel32 (0x0032fe78)
  3 0x7b860b43 in kernel32 (+0x50b42) (0x0032feb8)
  4 0x7bc80840 call_thread_func_wrapper+0xb() in ntdll (0x0032fed8)
  5 0x7bc83a0d call_thread_func+0x7c() in ntdll (0x0032ffa8)
  6 0x7bc8081e RtlRaiseException+0x21() in ntdll (0x0032ffc8)
  7 0x7bc5456e call_dll_entry_point+0x3fd() in ntdll (0x0032ffe8)
  8 0xf75d165d wine_call_on_stack+0x1c() in libwine.so.1 (0x00000000)
  9 0xf75d171b wine_switch_to_stack+0x2a() in libwine.so.1 (0xff9bdce8)
  10 0x7bc5a0d9 LdrInitializeThunk+0x238() in ntdll (0xff9bdd28)
  11 0x7b867393 __wine_kernel_init+0xa12() in kernel32 (0xff9bee48)
  12 0x7bc5b003 __wine_process_init+0x192() in ntdll (0xff9beed8)
  13 0xf75cedc8 wine_init+0x327() in libwine.so.1 (0xff9bef38)
  14 0x7bf0100c main+0xfb() in <wine-loader> (0xff9bf388)
  15 0xf740fa83 __libc_start_main+0xf2() in libc.so.6 (0x00000000)
0x0040d77c: xorl %eax,0xb9204722(%edi)
Modules:
Module Address Debug info Name (52 modules)
PE   400000-  459000 Export          age2_x1
PE 10000000-1000c000 Deferred        drvmgt
ELF 7b800000-7ba60000 Dwarf           kernel32<elf>
  \-PE 7b810000-7ba60000 \               kernel32
ELF 7bc00000-7bce6000 Dwarf           ntdll<elf>
  \-PE 7bc10000-7bce6000 \               ntdll
ELF 7bf00000-7bf04000 Dwarf           <wine-loader>
ELF 7e5c7000-7e64a000 Deferred        rpcrt4<elf>
  \-PE 7e5d0000-7e64a000 \               rpcrt4
ELF 7e68c000-7e692000 Deferred        libxfixes.so.3
ELF 7e692000-7e69d000 Deferred        libxcursor.so.1
ELF 7e69d000-7e6ae000 Deferred        libxi.so.6
ELF 7e6ae000-7e6b2000 Deferred        libxcomposite.so.1
ELF 7e6b2000-7e6bd000 Deferred        libxrandr.so.2
ELF 7e6bd000-7e6c8000 Deferred        libxrender.so.1
ELF 7e6c8000-7e6ce000 Deferred        libxxf86vm.so.1
ELF 7e6ce000-7e6d2000 Deferred        libxinerama.so.1
ELF 7e6d2000-7e6d9000 Deferred        libxdmcp.so.6
ELF 7e6d9000-7e6dd000 Deferred        libxau.so.6
ELF 7e6dd000-7e6ff000 Deferred        libxcb.so.1
ELF 7e6ff000-7e833000 Deferred        libx11.so.6
ELF 7e833000-7e846000 Deferred        libxext.so.6
ELF 7e86a000-7e8fe000 Deferred        winex11<elf>
  \-PE 7e870000-7e8fe000 \               winex11
ELF 7e8fe000-7e923000 Deferred        imm32<elf>
  \-PE 7e900000-7e923000 \               imm32
ELF 7e96b000-7e994000 Deferred        libexpat.so.1
ELF 7e994000-7e9cf000 Deferred        libfontconfig.so.1
ELF 7e9cf000-7e9f7000 Deferred        libpng12.so.0
ELF 7e9f7000-7ea11000 Deferred        libz.so.1
ELF 7ea11000-7eab1000 Deferred        libfreetype.so.6
ELF 7eab1000-7ead3000 Deferred        libtinfo.so.5
ELF 7ead3000-7eaf8000 Deferred        libncurses.so.5
ELF 7eb1c000-7eb8f000 Deferred        advapi32<elf>
  \-PE 7eb30000-7eb8f000 \               advapi32
ELF 7eb8f000-7ecae000 Deferred        gdi32<elf>
  \-PE 7eba0000-7ecae000 \               gdi32
ELF 7ecae000-7ee0a000 Deferred        user32<elf>
  \-PE 7ecc0000-7ee0a000 \               user32
ELF 7ef5b000-7ef68000 Deferred        libnss_files.so.2
ELF 7ef68000-7ef74000 Deferred        libnss_nis.so.2
ELF 7ef74000-7ef8d000 Deferred        libnsl.so.1
ELF 7ef8d000-7ef96000 Deferred        libnss_compat.so.2
ELF 7ef96000-7efdc000 Deferred        libm.so.6
ELF 7efde000-7eff8000 Deferred        version<elf>
  \-PE 7efe0000-7eff8000 \               version
ELF f73f6000-f75a6000 Dwarf           libc.so.6
ELF f75a6000-f75ab000 Deferred        libdl.so.2
ELF f75ab000-f75c7000 Deferred        libpthread.so.0
ELF f75c8000-f777e000 Dwarf           libwine.so.1
ELF f77a4000-f77c6000 Deferred        ld-linux.so.2
ELF f77c8000-f77c9000 Deferred        [vdso].so
Threads:
process  tid      prio (all id:s are in hex)
00000008 (D) C:\Program Files (x86)\Microsoft\Age of Empires II\AGE2_X1.EXE
00000009    0 <==
0000000e services.exe
00000023    0
0000001c    0
00000016    0
00000014    0
00000010    0
0000000f    0
00000012 winedevice.exe
0000001b    0
00000018    0
00000017    0
00000013    0
00000019 plugplay.exe
0000001f    0
0000001e    0
0000001a    0
00000020 explorer.exe
00000021    0
Başlık: Ynt: Age of Empires II ve Nvidia Optirun Sorunu
Gönderen: Butterfly - 23 Kasım 2014, 21:58:56
32 bitlik uygulamalar için "optirun" komutu yerine "optirun32" komutunu kullanmayı deneyebilirsiniz.

Kod: [Seç]
optirun32 wine '/home/aspire/.wine/drive_c/Program Files (x86)/Microsoft/Age of Empires II/AGE2_X1.EXE'
Başlık: Ynt: Age of Empires II ve Nvidia Optirun Sorunu
Gönderen: Çağrı07 - 23 Kasım 2014, 22:04:26
Kod: [Seç]
aspire@aspire-V3-571G ~/Desktop $ optirun32 wine '/home/aspire/.wine/drive_c/Program Files (x86)/Microsoft/Age of Empires II/AGE2_X1.EXE'
optirun32: komut bulunamadı
Başlık: Ynt: Age of Empires II ve Nvidia Optirun Sorunu
Gönderen: Butterfly - 24 Kasım 2014, 21:18:05
Aşağıdaki şekilde deneyelim, bakalım bir değişiklik olacak mı?

Kod: [Seç]
primusrun wine '/home/aspire/.wine/drive_c/Program Files (x86)/Microsoft/Age of Empires II/AGE2_X1.EXE'
Başlık: Ynt: Age of Empires II ve Nvidia Optirun Sorunu
Gönderen: Çağrı07 - 24 Kasım 2014, 22:06:34
Kod: [Seç]
aspire@aspire-V3-571G ~/Desktop $ primusrun wine '/home/aspire/.wine/drive_c/Program Files (x86)/Microsoft/Age of Empires II/AGE2_X1.EXE'
fixme:ntdll:find_reg_tz_info Can't find matching timezone information in the registry for bias -120, std (d/m/y): 26/10/2014, dlt (d/m/y): 31/03/2014
wine: Unhandled page fault on write access to 0xb961e703 at address 0x40d77c (thread 0009), starting debugger...
Unhandled exception: page fault on write access to 0xb961e703 in 32-bit code (0x0040d77c).
Register dump:
 CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
 EIP:0040d77c ESP:0032fce8 EBP:0032fdd4 EFLAGS:00010293(  R- --  I S -A- -C)
 EAX:00400000 EBX:c90c9300 ECX:0032fcec EDX:00000067
 ESI:00126ef0 EDI:00419fe1
Stack dump:
0x0032fce8:  00410db5 00000000 00400000 00000067
0x0032fcf8:  00419fe0 00126ef0 7b8ba000 00000000
0x0032fd08:  00001302 7bc3cdc9 4d430003 00000000
0x0032fd18:  004614f0 00000000 00000018 00000065
0x0032fd28:  00000000 00400000 00000067 00000000
0x0032fd38:  4d430001 00000094 00000005 00000001
000c: sel=0067 base=00000000 limit=00000000 32-bit r-x
Backtrace:
=>0 0x0040d77c in age2_x1 (+0xd77c) (0x0032fdd4)
  1 0x0041a132 in age2_x1 (+0x1a131) (0x0032fe60)
  2 0x7b85fa7c call_process_entry+0xb() in kernel32 (0x0032fe78)
  3 0x7b860b43 in kernel32 (+0x50b42) (0x0032feb8)
  4 0x7bc80840 call_thread_func_wrapper+0xb() in ntdll (0x0032fed8)
  5 0x7bc83a0d call_thread_func+0x7c() in ntdll (0x0032ffa8)
  6 0x7bc8081e RtlRaiseException+0x21() in ntdll (0x0032ffc8)
  7 0x7bc5456e call_dll_entry_point+0x3fd() in ntdll (0x0032ffe8)
  8 0xf761965d wine_call_on_stack+0x1c() in libwine.so.1 (0x00000000)
  9 0xf761971b wine_switch_to_stack+0x2a() in libwine.so.1 (0xffd9e928)
  10 0x7bc5a0d9 LdrInitializeThunk+0x238() in ntdll (0xffd9e968)
  11 0x7b867393 __wine_kernel_init+0xa12() in kernel32 (0xffd9fa88)
  12 0x7bc5b003 __wine_process_init+0x192() in ntdll (0xffd9fb18)
  13 0xf7616dc8 wine_init+0x327() in libwine.so.1 (0xffd9fb78)
  14 0x7bf0100c main+0xfb() in <wine-loader> (0xffd9ffc8)
  15 0xf7433a83 __libc_start_main+0xf2() in libc.so.6 (0x00000000)
0x0040d77c: xorl %eax,0xb9204722(%edi)
Modules:
Module Address Debug info Name (52 modules)
PE   400000-  459000 Export          age2_x1
PE 10000000-1000c000 Deferred        drvmgt
ELF 7b800000-7ba60000 Dwarf           kernel32<elf>
  \-PE 7b810000-7ba60000 \               kernel32
ELF 7bc00000-7bce6000 Dwarf           ntdll<elf>
  \-PE 7bc10000-7bce6000 \               ntdll
ELF 7bf00000-7bf04000 Dwarf           <wine-loader>
ELF 7e5cb000-7e64e000 Deferred        rpcrt4<elf>
  \-PE 7e5e0000-7e64e000 \               rpcrt4
ELF 7e690000-7e696000 Deferred        libxfixes.so.3
ELF 7e696000-7e6a1000 Deferred        libxcursor.so.1
ELF 7e6a1000-7e6b2000 Deferred        libxi.so.6
ELF 7e6b2000-7e6b6000 Deferred        libxcomposite.so.1
ELF 7e6b6000-7e6c1000 Deferred        libxrandr.so.2
ELF 7e6c1000-7e6cc000 Deferred        libxrender.so.1
ELF 7e6cc000-7e6d2000 Deferred        libxxf86vm.so.1
ELF 7e6d2000-7e6d6000 Deferred        libxinerama.so.1
ELF 7e6d6000-7e6dd000 Deferred        libxdmcp.so.6
ELF 7e6dd000-7e6e1000 Deferred        libxau.so.6
ELF 7e6e1000-7e703000 Deferred        libxcb.so.1
ELF 7e703000-7e837000 Deferred        libx11.so.6
ELF 7e837000-7e84a000 Deferred        libxext.so.6
ELF 7e86e000-7e902000 Deferred        winex11<elf>
  \-PE 7e880000-7e902000 \               winex11
ELF 7e902000-7e927000 Deferred        imm32<elf>
  \-PE 7e910000-7e927000 \               imm32
ELF 7e95a000-7e983000 Deferred        libexpat.so.1
ELF 7e983000-7e9be000 Deferred        libfontconfig.so.1
ELF 7e9be000-7e9e6000 Deferred        libpng12.so.0
ELF 7e9e6000-7ea00000 Deferred        libz.so.1
ELF 7ea00000-7eaa0000 Deferred        libfreetype.so.6
ELF 7eaa0000-7eac2000 Deferred        libtinfo.so.5
ELF 7eac2000-7eae7000 Deferred        libncurses.so.5
ELF 7eb0b000-7eb25000 Deferred        version<elf>
  \-PE 7eb10000-7eb25000 \               version
ELF 7eb25000-7eb98000 Deferred        advapi32<elf>
  \-PE 7eb30000-7eb98000 \               advapi32
ELF 7eb98000-7ecb7000 Deferred        gdi32<elf>
  \-PE 7eba0000-7ecb7000 \               gdi32
ELF 7ecb7000-7ee13000 Deferred        user32<elf>
  \-PE 7ecd0000-7ee13000 \               user32
ELF 7ef64000-7ef71000 Deferred        libnss_files.so.2
ELF 7ef71000-7ef7d000 Deferred        libnss_nis.so.2
ELF 7ef7d000-7ef96000 Deferred        libnsl.so.1
ELF 7ef96000-7efdc000 Deferred        libm.so.6
ELF f7410000-f7419000 Deferred        libnss_compat.so.2
ELF f741a000-f75ca000 Dwarf           libc.so.6
ELF f75ca000-f75cf000 Deferred        libdl.so.2
ELF f75cf000-f75eb000 Deferred        libpthread.so.0
ELF f7610000-f77c6000 Dwarf           libwine.so.1
ELF f77c8000-f77ea000 Deferred        ld-linux.so.2
ELF f77ec000-f77ed000 Deferred        [vdso].so
Threads:
process  tid      prio (all id:s are in hex)
00000008 (D) C:\Program Files (x86)\Microsoft\Age of Empires II\AGE2_X1.EXE
00000009    0 <==
0000000e services.exe
00000023    0
0000001c    0
00000016    0
00000014    0
00000010    0
0000000f    0
00000012 winedevice.exe
0000001b    0
00000018    0
00000017    0
00000013    0
00000019 plugplay.exe
0000001f    0
0000001e    0
0000001a    0
00000020 explorer.exe
00000021    0

Program Hatası dedi hocam
Başlık: Ynt: Age of Empires II ve Nvidia Optirun Sorunu
Gönderen: Butterfly - 24 Kasım 2014, 22:29:20
Aşağıdaki kmutun çıktısını rica edelim.

Kod: [Seç]
dpkg -l | grep ia32
Başlık: Ynt: Age of Empires II ve Nvidia Optirun Sorunu
Gönderen: Çağrı07 - 24 Kasım 2014, 22:31:35
Kod: [Seç]
aspire@aspire-V3-571G ~/Desktop $ dpkg -l | grep ia32
ii  ia32-libs                                   2014.05.14                                             amd64       
ii  primus-libs-ia32                            20131127-1~trustyppa1                                  i386         Shared libraries for primus (32-bit)