Gönderen Konu: [Nasıl] Linux Mint 17.x - Intel + Nvidia Hibrit GPU İçin Bumblebee Kurulumu  (Okunma sayısı 190196 defa)

Çevrimdışı sogukgece

  • Çok Yeni Penguen
  • *
  • İleti: 8
    • yok
  • Dağıtım: Linux Mint 17 Cinnamon
Kod: [Seç]
sudo apt-get purge nvidia-331
verdiğiniz kodu

Kod: [Seç]
sudo apt-get install nvidia-331
olarak değiştirdim.
Dediklerinizi yaptım ve işe yaradı.Fakat optirun glxgears ile glxgears arasındaki fps değerleri aynı.

optirun glxgears

Kod: [Seç]
hr harun # optirun glxgears
292 frames in 5.0 seconds = 58.386 FPS
301 frames in 5.0 seconds = 60.007 FPS
301 frames in 5.0 seconds = 60.007 FPS
301 frames in 5.0 seconds = 60.006 FPS
301 frames in 5.0 seconds = 60.007 FPS
301 frames in 5.0 seconds = 60.006 FPS
XIO:  fatal IO error 11 (Resource temporarily unavailable) on X server ":0"
      after 37 requests (37 known processed) with 0 events remaining.
X Error of failed request:  BadDrawable (invalid Pixmap or Window parameter)
  Major opcode of failed request:  154 (DRI2)
  Minor opcode of failed request:  7 (DRI2GetBuffersWithFormat    )
  Resource id in failed request:  0x2a00002
  Serial number of failed request:  5756
  Current serial number in output stream:  5756
glxgears

Kod: [Seç]
hr harun # glxgears
Running synchronized to the vertical refresh.  The framerate should be
approximately the same as the monitor refresh rate.
306 frames in 5.0 seconds = 61.096 FPS
301 frames in 5.0 seconds = 60.006 FPS
301 frames in 5.0 seconds = 60.007 FPS
301 frames in 5.0 seconds = 60.006 FPS
301 frames in 5.0 seconds = 60.006 FPS
XIO:  fatal IO error 11 (Resource temporarily unavailable) on X server ":0"
      after 4660 requests (4660 known processed) with 0 events remaining.
"optirun glxgears" ın fps si fazla olması gerekmiyor mu?

Çevrimdışı Butterfly

  • Proje Sorumlusu
  • Guru
  • *****
  • İleti: 18863
  • Linux Mint Türkiye
  • Dağıtım: Linux Mint 20 & LMDE 4
  • Masaüstü Ortamı: Cinnamon 4.6 & Xfce 4.14
  • Grafik Kartı: Nvidia GF 9500
  • İşlemci: AMD X3
"optirun glxgears" ın fps si fazla olması gerekmiyor mu?

Çıktılarım şöyle ve bir sorun olduğunu düşünüyorum. Çünkü 2 komut çıktısı arasında herhangi bir fark yok.


FPS değerinin 60 civarı görünmesi Vsync (Vertical synchronization; yani dikey senkronizasyon) özelliğinin etkin olmasından kaynaklanıyor.

Aradaki farkı aşağıdaki komutlar ile görebilirsiniz.

Entegre GPU için

Kod: [Seç]
glxgears
vblank_mode=0 glxgears

Nvidia Optimus GPU için

Kod: [Seç]
optirun glxgears
vblank_mode=0 optirun glxgears
Elimizden geldiğince dilimizin döndüğünce...

[info] Konu Açarken Dikkat Edilmesi Gerekenler  |  Forum Kuralları  |  Kod Etiketi Kullanımı[/info]

Çevrimdışı sogukgece

  • Çok Yeni Penguen
  • *
  • İleti: 8
    • yok
  • Dağıtım: Linux Mint 17 Cinnamon
Yardımınız için teşekkür ederim.

Bir sorum daha olacak:

"glxgears" yazınca çıkan fps
Kod: [Seç]
harun@hr ~ $ vblank_mode=0 glxgears
ATTENTION: default value of option vblank_mode overridden by environment.
ATTENTION: default value of option vblank_mode overridden by environment.
33311 frames in 5.0 seconds = 6662.076 FPS
33995 frames in 5.0 seconds = 6798.937 FPS
35010 frames in 5.0 seconds = 7001.828 FPS
34061 frames in 5.0 seconds = 6812.077 FPS
35688 frames in 5.0 seconds = 7137.554 FPS
XIO:  fatal IO error 11 (Resource temporarily unavailable) on X server ":0"
      after 350901 requests (350901 known processed) with 0 events remaining.
"optirun glxgears" yazınca çıkan fps den daha fazla
Kod: [Seç]
harun@hr ~ $ vblank_mode=0 optirun glxgears
ATTENTION: default value of option vblank_mode overridden by environment.
ATTENTION: default value of option vblank_mode overridden by environment.
ATTENTION: default value of option vblank_mode overridden by environment.
ATTENTION: default value of option vblank_mode overridden by environment.
ATTENTION: default value of option vblank_mode overridden by environment.
ATTENTION: default value of option vblank_mode overridden by environment.
13374 frames in 5.0 seconds = 2674.797 FPS
14604 frames in 5.0 seconds = 2920.645 FPS
14609 frames in 5.0 seconds = 2921.672 FPS
14616 frames in 5.0 seconds = 2923.103 FPS
14605 frames in 5.0 seconds = 2920.994 FPS
XIO:  fatal IO error 11 (Resource temporarily unavailable) on X server ":0"
      after 37 requests (37 known processed) with 0 events remaining.
X Error of failed request:  BadDrawable (invalid Pixmap or Window parameter)
  Major opcode of failed request:  154 (DRI2)
  Minor opcode of failed request:  8 (DRI2SwapBuffers        )
  Resource id in failed request:  0x2e00002
  Serial number of failed request:  149362
  Current serial number in output stream:  149363
windowstayken nvidia ekran kartımın performansı intel ekran kartından kat kat iyidi
linux da neden böyle oldu?

Çevrimdışı Butterfly

  • Proje Sorumlusu
  • Guru
  • *****
  • İleti: 18863
  • Linux Mint Türkiye
  • Dağıtım: Linux Mint 20 & LMDE 4
  • Masaüstü Ortamı: Cinnamon 4.6 & Xfce 4.14
  • Grafik Kartı: Nvidia GF 9500
  • İşlemci: AMD X3
windowstayken nvidia ekran kartımın performansı intel ekran kartından kat kat iyidi
linux da neden böyle oldu?

Bir de aşağıdaki şekilde deneyin bakalım ne olacak)

Kod: [Seç]
vblank_mode=0 primusrun glxgears
Elimizden geldiğince dilimizin döndüğünce...

[info] Konu Açarken Dikkat Edilmesi Gerekenler  |  Forum Kuralları  |  Kod Etiketi Kullanımı[/info]

Çevrimdışı adgn

  • Çok Yeni Penguen
  • *
  • İleti: 2
  • Dağıtım: Debian Wheezy
Merhaba,  henüz yeniyim. Debian Wheezy kullanıyorum. Lenovo z580 Laptop'ta kurulum yapmaya çalışıyorum. Normalde Intel HD Graphics 4000 + GT630M var.
Kod: [Seç]
lspci | egrep 'VGA|3D|Display'çalıştırdığımda her iki device da 'VGA' olarak görünüyor aşağıdaki gibi. Bu bir sorun mu bimiyorum ;
Kod: [Seç]
00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09)
01:00.0 VGA compatible controller: NVIDIA Corporation GF108 [GeForce GT 630M] (rev a1)
Asıl sorunum ise package seçimini doğru yapamamam. source.list'e BURADAKİ gibi backports deposunu eklediğimde aldığım hata;
Kod: [Seç]
W: Failed to fetch http://http.debian.org/debian/dists/wheezy-backports/Release.gpg  Could not resolve 'http.debian.org'

W: Some index files failed to download. They have been ignored, or old ones used instead.
"add-apt-repository ppa:bumblebee/stable" yazıp "apt-get update" yaptığımda aldığım hata;
Kod: [Seç]
Err http://ppa.launchpad.net wheezy/main Sources
  404  Not Found
Err http://ppa.launchpad.net wheezy/main amd64 Packages
  404  Not Found
Err http://ppa.launchpad.net wheezy/main i386 Packages
  404  Not Found
Ign http://ppa.launchpad.net wheezy/main Translation-en_US
Ign http://ppa.launchpad.net wheezy/main Translation-en
W: Failed to fetch http://ppa.launchpad.net/bumblebee/stable/ubuntu/dists/wheezy/main/source/Sources  404  Not Found

W: Failed to fetch http://ppa.launchpad.net/bumblebee/stable/ubuntu/dists/wheezy/main/binary-amd64/Packages  404  Not Found

W: Failed to fetch http://ppa.launchpad.net/bumblebee/stable/ubuntu/dists/wheezy/main/binary-i386/Packages  404  Not Found

E: Some index files failed to download. They have been ignored, or old ones used instead.
Sorun nedir anlamıyorum denemediğim package link kalmadı. Yeni olduğum için gözden kaçırıyorum basit birşeyi sanırım.

Çevrimdışı Butterfly

  • Proje Sorumlusu
  • Guru
  • *****
  • İleti: 18863
  • Linux Mint Türkiye
  • Dağıtım: Linux Mint 20 & LMDE 4
  • Masaüstü Ortamı: Cinnamon 4.6 & Xfce 4.14
  • Grafik Kartı: Nvidia GF 9500
  • İşlemci: AMD X3
Alıntı
W: Failed to fetch http://http.debian.org/debian/dists/wheezy-backports/Release.gpg  Could not resolve 'http.debian.org'

Sanırım Backport deposunu yanlış eklemişsiniz, depoyu aşağıdaki gibi değiştirmeyi deneyiniz.

Kod: [Seç]
deb http://ftp.debian.org/debian wheezy-backports main contrib non-free
Ek olarak aşağıdaki komutlar ile eklediğiniz PPA deposunu kaldırınız.

Kod: [Seç]
su
rm -rf /etc/apt/sources.list.d/*bumblebee*
apt-get update

Şimdi konunun başında LMDE için anlatıldığı biçimde Bumblebe'yi kurmayı deneyebilirsiniz.
Elimizden geldiğince dilimizin döndüğünce...

[info] Konu Açarken Dikkat Edilmesi Gerekenler  |  Forum Kuralları  |  Kod Etiketi Kullanımı[/info]

Çevrimdışı adgn

  • Çok Yeni Penguen
  • *
  • İleti: 2
  • Dağıtım: Debian Wheezy
[member=8]Butterfly[/member], çok teşekkür ederim verdiğin depo işe yaradı kurulumu hatasız tamamladım. Test aşamasında -[member=538]sogukgece[/member]' nin de karşılaştığı gibi- optirun ile çalıştırdığımda normalden daha düşük FPS alıyorum. Son postunuzda bahsettiğiniz "vblank_mode=0 primusrun glxgears" ile de optirun ile aynı sonuçları alıyorum yani normal FPS'den daha düşük bu da.

Çevrimdışı sogukgece

  • Çok Yeni Penguen
  • *
  • İleti: 8
    • yok
  • Dağıtım: Linux Mint 17 Cinnamon


Bir de aşağıdaki şekilde deneyin bakalım ne olacak)

Kod: [Seç]
vblank_mode=0 primusrun glxgears[/quote]
Verdiğiniz koddaki değerler optirundaki değerleriyle aynı.

Çevrimdışı Butterfly

  • Proje Sorumlusu
  • Guru
  • *****
  • İleti: 18863
  • Linux Mint Türkiye
  • Dağıtım: Linux Mint 20 & LMDE 4
  • Masaüstü Ortamı: Cinnamon 4.6 & Xfce 4.14
  • Grafik Kartı: Nvidia GF 9500
  • İşlemci: AMD X3
Aşağıdaki komut ile Nividia Ayar Yöneticisini açıp OpenGL ayarları altından Sync to Vblank seçeneği önündeki işareti kaldırmayı deneyebilirsiniz.

Kod: [Seç]
optirun nvidia-settings -c :8
Sisteminizi yeniden başlatmak denebilir.
« Son Düzenleme: 10 Temmuz 2014, 22:10:41 Gönderen: Butterfly »
Elimizden geldiğince dilimizin döndüğünce...

[info] Konu Açarken Dikkat Edilmesi Gerekenler  |  Forum Kuralları  |  Kod Etiketi Kullanımı[/info]

Çevrimdışı ergi.ertugrul

  • Yeni Penguen
  • *
  • İleti: 30
[ 1474.447792] [ERROR]You've no permission to communicate with the Bumblebee daemon. Try adding yourself to the 'bumblebee' group
[ 1474.447880] [ERROR]Could not connect to bumblebee daemon - is it running?


bir türlü hatayı çözemedim

Çevrimdışı Butterfly

  • Proje Sorumlusu
  • Guru
  • *****
  • İleti: 18863
  • Linux Mint Türkiye
  • Dağıtım: Linux Mint 20 & LMDE 4
  • Masaüstü Ortamı: Cinnamon 4.6 & Xfce 4.14
  • Grafik Kartı: Nvidia GF 9500
  • İşlemci: AMD X3
Aşağıdaki komutu deneyiniz.

Kod: [Seç]
sudo adduser $USER bumblebee
Sonrasında sisteminizi yeniden başlatmanız gerekebilir.
Elimizden geldiğince dilimizin döndüğünce...

[info] Konu Açarken Dikkat Edilmesi Gerekenler  |  Forum Kuralları  |  Kod Etiketi Kullanımı[/info]

Çevrimdışı ergi.ertugrul

  • Yeni Penguen
  • *
  • İleti: 30
Cannot access secondary gpu error failed to initialize the Nvdia gpu at pc:1:0:0. Please
Aborting because fallback start is disable


O işlemden sonra şimdi de bu hatayı verdi. kusura bakmayın telefondan yazmak zorunda kaldım.



Cannot access secondary GPU  arkadaşlar hatayı forumda buldum. Ama orada yapılan işlemleri yaptım ayarlar aynı çıktı hala bi çözüm bulamadım.



Düzenleme : Mesajlar birleştirildi.

« Son Düzenleme: 09 Temmuz 2014, 18:33:35 Gönderen: Butterfly »

Çevrimdışı Butterfly

  • Proje Sorumlusu
  • Guru
  • *****
  • İleti: 18863
  • Linux Mint Türkiye
  • Dağıtım: Linux Mint 20 & LMDE 4
  • Masaüstü Ortamı: Cinnamon 4.6 & Xfce 4.14
  • Grafik Kartı: Nvidia GF 9500
  • İşlemci: AMD X3
Aşağıdaki komutların çıktılarını paylaşınız.

Kod: [Seç]
cat /etc/lsb-release
optirun -vvv glxgears
cat /etc/bumblebee/bumblebee.conf
cat /etc/bumblebee/xorg.conf.nvidia
dpkg -l | egrep 'nvidia|bumblebee'
Elimizden geldiğince dilimizin döndüğünce...

[info] Konu Açarken Dikkat Edilmesi Gerekenler  |  Forum Kuralları  |  Kod Etiketi Kullanımı[/info]

Çevrimdışı ergi.ertugrul

  • Yeni Penguen
  • *
  • İleti: 30
Kod: [Seç]
DISTRIB_ID=LinuxMint
DISTRIB_RELEASE=17
DISTRIB_CODENAME=qiana
DISTRIB_DESCRIPTION="Linux Mint 17 Qiana"


Kod: [Seç]
[  163.304662] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf
[  163.305118] [DEBUG]optirun version 3.2.1 starting...
[  163.305125] [DEBUG]Active configuration:
[  163.305128] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
[  163.305141] [DEBUG] X display: :8
[  163.305155] [DEBUG] LD_LIBRARY_PATH: /usr/lib/nvidia-304:/usr/lib32/nvidia-304
[  163.305159] [DEBUG] Socket path: /var/run/bumblebee.socket
[  163.305162] [DEBUG] Accel/display bridge: auto
[  163.305166] [DEBUG] VGL Compression: proxy
[  163.305169] [DEBUG] VGLrun extra options:
[  163.305172] [DEBUG] Primus LD Path: /usr/lib/x86_64-linux-gnu/primus:/usr/lib/i386-linux-gnu/primus
[  163.317362] [DEBUG]Using auto-detected bridge primus
[  164.942963] [INFO]Response: No - error: [XORG] (EE) NVIDIA(0): Failed to initialize the NVIDIA GPU at PCI:1:0:0.  Please

[  164.943004] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) NVIDIA(0): Failed to initialize the NVIDIA GPU at PCI:1:0:0.  Please

[  164.943017] [DEBUG]Socket closed.
[  164.943064] [ERROR]Aborting because fallback start is disabled.
[  164.943078] [DEBUG]Killing all remaining processes.

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=
# 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


Kod: [Seç]
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ç]
ii  bumblebee                                   3.2.1-5                                             amd64        NVIDIA Optimus support for Linux
ii  bumblebee-nvidia                            3.2.1-5                                             amd64        NVIDIA Optimus support using the proprietary NVIDIA driver
ii  nvidia-304                                  304.117-0ubuntu1                                    amd64        NVIDIA legacy binary driver - version 304.117
ii  nvidia-current                              304.117-0ubuntu1                                    amd64        Transitional package for nvidia-current


çıktılar bunlar



Düzenleme: Kod etiketi.
Lütfen çıktıları aşağıdaki şekilde kod etiketi içinde paylaşınız.
[code]Kodlar[/code]
« Son Düzenleme: 09 Temmuz 2014, 19:33:49 Gönderen: Butterfly »

Çevrimdışı ergi.ertugrul

  • Yeni Penguen
  • *
  • İleti: 30
düzeltim hocam