13.04 Kurulum Sonrası Bumblebee Çalışmıyor

Başlatan Herakleitos, 25 Nisan 2013 - 21:33:21

« önceki - sonraki »

0 Üyeler ve 1 Ziyaretçi konuyu incelemekte.

Herakleitos

13.04 yükledikten sonra, Bumblebee'yi aşağıdaki şekilde yükledim:

https://wiki.ubuntu.com/Bumblebee

josephus@Josephus-Lenovo-Z580:~$ optirun glxspheres
[  368.296257] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) No devices detected.

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

agritux

Ben oradaki 32 bit paketleri yüzünden kurulumdan vazgeçtim. İntel ile şu an iyi gibi. Ayrıca "virtualgl" paketi nedir bilmiyorum. Önceki sürümlerde kurmuyorduk o paketi.

Herakleitos

https://wiki.archlinux.org/index.php/Bumblebee#.5BERROR.5DCannot_access_secondary_GPU

Burada böyle bir şey var; ama çok karışık. Bir de eski sürümde böyle bir sorun yoktu bilemiyorum.

if

Çözüm 1: xorg.conf.nvid içerisine doğru BUSID'yi girmek. lspci | grep VGA
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)
çıktısı için BusId = 00:02.0

Çözüm 2: https://github.com/Bumblebee-Project/bumblebee-ppa/commit/7c212ab4a859dbac5f8a7591daf1ead1eeff87bd
Yani Bumblebee 3.2 ile düzeltilecek.

Herakleitos

josephus@Josephus-Lenovo-Z580:~$ lspci | grep VGA
00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09)
01:00.0 VGA compatible controller: NVIDIA Corporation GF108M [GeForce GT 630M] (rev ff)


Böyle bir şey diyor, değeri nereye gireceğimi anlamadım; ama 3.2'de çözülecekse beklerim o zaman acelesi yok.

if

Nvidia'nın busid = 01:00.0
Değeri /etc/bumblebee/xorg.nvidia.conf içine gireceksiniz.

istanbul

#6
/etc/bumblebee/xorg.nvidia.conf bende yok onun yerine /etc/bumblebee/xorg.conf.nvidia var onunda icinde busid var
   BusID "PCI:01:00:0" degerini girdim çalıştı ama 13.04 de ısınma gözle görülür artış içinde.

meda

Benzer durumu bende yaşıyorum.Ama bende ısınma çok fazla değil ama olması gerektiği gibi de değil. busid = 01:00.0 çözümü fayda etmedi.
"BEDAVA Bedava yaşıyoruz, bedava;Hava bedava, bulut bedava;
Dere tepe bedava;Yağmur çamur bedava;Otomobillerin dışı,Sinemaların kapısı,Camekanlar bedava; Peynir ekmek değil ama Acı su bedava;Kelle fiyatına hürriyet, Esirlik bedava; Bedava yaşıyoruz, bedava. Orhan VELİ"

Yedionbir

sorun bendede var busid değişitme çözüm getirmedi..sıcaklık gerekenden 15-20 derece daha fazla ve fan rahatsız edici.bence sorun kernelde 3.8 ile sanırım uyum sağlanamadı...çözüm bulan yazarsa sevinirim

meda

Yedionbir Farklı bir çekirdek ile denedin mi ?
"BEDAVA Bedava yaşıyoruz, bedava;Hava bedava, bulut bedava;
Dere tepe bedava;Yağmur çamur bedava;Otomobillerin dışı,Sinemaların kapısı,Camekanlar bedava; Peynir ekmek değil ama Acı su bedava;Kelle fiyatına hürriyet, Esirlik bedava; Bedava yaşıyoruz, bedava. Orhan VELİ"

Yedionbir

hayır aslında aklıma bile gelmeden 12.04 e döndüm şuan ve 14.04 e kadarda bir değişiklik yapmayı düşünmüyorum artık...deneyen arkadaş varsa sonucu bende merak ediyorum suan 3.5.0-27 çekirdeğindeyim bumblebee sorunsuz çalıyor.

Herakleitos


istanbul

#12
lspci | grep VGA komutu ile busid görünüyormuş herkesde farklı olma ihtimali varmış.
Birde bu çıktıda 01:00.0 görnüyor ama ben ayar dosyasına 01:00:0 şeklinde yazınca çalışıyor. Yani en sondan ikinci karakter nokta degil iki nokta yapınca çalışıyor.

dosya /etc/bumblebee/xorg.conf.nvidia

eklenecek değer tam olarak BusID "PCI:01:00:0"

zaten o ayar dosyasında ortalarda bir yerde kapalı olarak bu ayar var.

ekledikten sonra sudo service bumblebeed restart iyi gelebilir sanırım.

vede optirun firefox bende çalışır hale geldi.

Herakleitos

@istanbul, eğer geditle eklenecekse her şeyi dediğin gibi yaptım, ama çalışmıyor.

istanbul

#14
Bendeki lspci | grep VGA çıktısı aşağıdaki gibi.
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)
01:00.0 VGA compatible controller: NVIDIA Corporation GF119M [GeForce GT 520M] (rev ff)


Bende kurulumu http://forum.ubuntu-tr.net/index.php?topic=29186.0;topicseen adresin de yazdığı gibi aşağıdaki komutlarla yaptım

sudo bumblebee-uninstall
sudo apt-get install ppa-purge
sudo ppa-purge ppa:ubuntu-x-swat/x-updates
sudo ppa-purge ppa:xorg-edgers/ppa
sudo add-apt-repository ppa:bumblebee/stable
sudo apt-get update
sudo apt-get install bumblebee bumblebee-nvidia
sudo usermod -a -G bumblebee $USER


yukardaki komutlardan sonra bilgisayarı yeniden başlattım

sudo gedit /etc/bumblebee/xorg.conf.nvidia yapıp editledim BusID "PCI:01:00:0"   tırnaklar dahil yazıp kaydettim ve sudo service bumblebeed restart  komutunu bir kerelik verdim bende çözüm oldu.

Herakleitos

Az önce bumblebee güncellemesi çıkmış onu yükleyince düzeldi. Teşekkürler.

if

Arkadaşlar, @istanbul'un işaret ettiği gibi busid için benim verdiğim 01:00:0'ı girmeyin. Kendi Nvidia ekran kartınız için ne yazıyorsa onu geçmeniz gerek.

Bu hatanın bir diğer çözümü burda[1] ama tavsiye etmem. Sorun X sunucusundaymış[2]. Çözülmesi uzun sürmeyecekti inşallah.

Ben yazarken @Herakletios yazmış. @Herakleitos, bumblebee sürümü kaç görünüyor sizde?

[1] https://github.com/Bumblebee-Project/Bumblebee/issues/367#issuecomment-15677863
[2] https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/1163404/comments/10

Herakleitos

@if bumblebee 3.2.1-1~raringppa1 görünüyor. Busid'yi değiştirip değiştirmediğimi nasıl anlayabilirim?

if

@Herakleitos, eğer /etc/bumblebee/xorg.conf.nvidia dosyası içerisindeki "#BusID" satırının önünde # işareti varsa değiştirmemişsinizdir.

Herakleitos

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


Bu değişmiş mi oluyor?

istanbul

evet degismis oluyor ama aynısından birde xorg.conf.nouveau içinde varmış.

Benm çalışan ayarları buraya ekleyelim örnek olsun.


lspci | grep VGA çıktısı
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)
01:00.0 VGA compatible controller: NVIDIA Corporation GF119M [GeForce GT 520M] (rev ff)


/etc/bumblebee/bumblebee.conf içeriği
# 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




/etc/bumblebee/xorg.conf.nouveau içeriği
Section "ServerLayout"
    Identifier  "Layout0"
    Option      "AutoAddDevices" "false"
    Option      "AutoAddGPU" "false"
EndSection

Section "Device"
    Identifier  "DiscreteNvidia"
    Driver      "nouveau"

#   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 is needed on Ubuntu 13.04.
    BusID "PCI:01:00:0"

EndSection



/etc/bumblebee/xorg.conf.nvidia içerği
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



Herakleitos

Alıntı yapılan: Herakleitos - 25 Nisan 2013 - 23:39:49
josephus@Josephus-Lenovo-Z580:~$ lspci | grep VGA
00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09)
01:00.0 VGA compatible controller: NVIDIA Corporation GF108M [GeForce GT 630M] (rev ff)


Böyle bir şey diyor, değeri nereye gireceğimi anlamadım; ama 3.2'de çözülecekse beklerim o zaman acelesi yok.

En baştaki değerler buydu şimdi de aynısını veriyor, gerçi ben değiştirdiğimi hatırlıyorum; ya 0'ken ya da 2'yken 1 yapmıştım. Ama sonra güncelleme sırasında bir kaç ayar dosyası değişikliği istedi, ben de onay verdim. Sanırım içinde o da vardı, belki orada düzelmiş olabilir. Orijinal değeri nasıl öğreneceğimi bilemiyorum.