Ekran Kartı Sorunu

Başlatan VoSToK, 03 Eylül 2016 - 16:13:56

« önceki - sonraki »

0 Üyeler ve 1 Ziyaretçi konuyu incelemekte.

VoSToK

Merhaba; Ubuntu 16.04 LTS'yi kurdum. Çift ekran sorunu vardı. İki ekran varmış gibi gözüküyordu. Bumblebee'yi kurdum. Çift ekran sorunu çözüldü. Ancak nvida ekran kartınımı kullanıyorum yoksa intel ekran kartını mı kullanıyorum bilmiyorum. Bunu nasıl öğrenebilirim.

Sistem ayrıntılarında Grafik olarak "Intel® Ironlake Mobile " yazıyor.

lspci | grep VGA
Çıktısı:
00:02.0 VGA compatible controller: Intel Corporation Core Processor Integrated Graphics Controller (rev 02)
01:00.0 VGA compatible controller: NVIDIA Corporation GF108M [GeForce GT 420M] (rev ff)

ata1

Normal kullanımda intel kullanıp gerekli olduğunda  nvida'ya geçiş yapıyor.  Bumblebee amacı budur.

mendirec

İlk komutu uyguladığında Firefox açılacak. Ayrı bir uçbirim açıp 2. komutu yürüt ve çıktıyı buraya geç lütfen.
optirun firefox
lspci | grep "VGA\|3D\|Display"



VoSToK

Alıntı yapılan: ata1 - 03 Eylül 2016 - 16:18:51
Normal kullanımda intel kullanıp gerekli olduğunda  nvida'ya geçiş yapıyor.  Bumblebee amacı budur.
Cevap için teşekkürler
Alıntı yapılan: mendirec - 03 Eylül 2016 - 16:29:16
İlk komutu uyguladığında Firefox açılacak. Ayrı bir uçbirim açıp 2. komutu yürüt ve çıktıyı buraya geç lütfen.
optirun firefox
lspci | grep "VGA\|3D\|Display"

İlk kodu çalışrırdığım da hata alıyorum.
[EROR] Cannot acsess secondary GPU - error: Cloud not loaf GPU driver
[EROR]Aborting because fallback start is disabled.

mendirec

Bumlebee doğru çalışmıyor. Komutların çıktılarına bakalım.optirun -vvv glxgears
cat /etc/bumblebee/bumblebee.conf
cat /etc/bumblebee/xorg.conf.nvidia
cat /etc/X11/xorg.conf
dpkg -l | egrep 'nvidia|bumblebee|primus|prime|virtualgl'
lspci | egrep 'VGA|3D|Display'

VoSToK

Çıktılar;
optirun -vvv glxgears
[  252.789276] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf
[  252.789802] [DEBUG]optirun version 3.2.1 starting...
[  252.789820] [DEBUG]Active configuration:
[  252.789827] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
[  252.789833] [DEBUG] X display: :8
[  252.789839] [DEBUG] LD_LIBRARY_PATH:
[  252.789846] [DEBUG] Socket path: /var/run/bumblebee.socket
[  252.789855] [DEBUG] Accel/display bridge: auto
[  252.789862] [DEBUG] VGL Compression: proxy
[  252.789876] [DEBUG] VGLrun extra options:
[  252.789896] [DEBUG] Primus LD Path: /usr/lib/x86_64-linux-gnu/primus:/usr/lib/i386-linux-gnu/primus
[  252.809879] [DEBUG]Using auto-detected bridge primus
[  253.131691] [INFO]Response: No - error: Could not load GPU driver

[  253.131723] [ERROR]Cannot access secondary GPU - error: Could not load GPU driver

[  253.131740] [DEBUG]Socket closed.
[  253.131770] [ERROR]Aborting because fallback start is disabled.
[  253.131784] [DEBUG]Killing all remaining processes.
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=
# 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
cat /etc/X11/xorg.conf
cat: /etc/X11/xorg.conf: Böyle bir dosya ya da dizin yok
dpkg -l | egrep 'nvidia|bumblebee|primus|prime|virtualgl'
ii  bumblebee                                     3.2.1-10                                            amd64        NVIDIA Optimus support for Linux
ii  bumblebee-nvidia                              3.2.1-10                                            amd64        NVIDIA Optimus support using the proprietary NVIDIA driver
ii  nvidia-331                                    340.96-0ubuntu3                                     amd64        Transitional package for nvidia-331
ii  nvidia-340                                    340.96-0ubuntu3                                     amd64        NVIDIA binary driver - version 340.96
ii  nvidia-opencl-icd-340                         340.96-0ubuntu3                                     amd64        NVIDIA OpenCL ICD
ii  nvidia-settings                               361.42-0ubuntu1                                     amd64        Tool for configuring the NVIDIA graphics driver
ii  primus                                        0~20150328-1                                        amd64        client-side GPU offloading for NVIDIA Optimus
ii  primus-libs:amd64                             0~20150328-1                                        amd64        Shared libraries for primus
ii  primus-libs:i386                              0~20150328-1                                        i386         Shared libraries for primus
ii  primus-libs-ia32:i386                         0~20150328-1                                        i386         Shared libraries for primus (32-bit)
lspci | egrep 'VGA|3D|Display'
00:02.0 VGA compatible controller: Intel Corporation Core Processor Integrated Graphics Controller (rev 02)
01:00.0 VGA compatible controller: NVIDIA Corporation GF108M [GeForce GT 420M] (rev a1)

mendirec

@VoSToK, iki tane sürücü yüklemişsin. Bir tanesini kaldıralım. sudo apt-get purge nvidia-331

bumblebee.conf dosyasının içeriğini değiştirmemişsin. Şu komutla gelen penceredeki bütün girdileri sil ve aşağıdaki ile değiştir.
sudo -H gedit /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-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


Sistemi yeniden başlatıp şu çıktıyı geçer misin?
optirun firefox

VoSToK

Aynı bir değişiklik olmadı.
optirun firefox
[  400.943575] [ERROR]Cannot access secondary GPU - error: Could not load GPU driver

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


Birde Ubuntu 16.04'ü kurduğumdan beri sudo ile komutlarda şu yazı çıkıyor hep
sudo: unable to resolve host vostok

heartsmagic

@mendirec'in şurada istediği çıktıları tekrar geç, duruma tekrar bir bakılsın:
https://forum.ubuntu-tr.net/index.php?topic=53550.msg603808#msg603808
Hayattan çıkarı olmayanların, ölümden de çıkarı olmayacaktır.
Hayatlarıyla yanlış olanların ölümleriyle doğru olmalarına imkân var mıdır?


Böylece yalan, dünyanın düzenine dönüştürülüyor.

VoSToK

Çıktılar:
$ optirun -vvv glxgears
[  187.092058] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf
[  187.092409] [INFO]Configured driver: nvidia
[  187.092668] [DEBUG]optirun version 3.2.1 starting...
[  187.092686] [DEBUG]Active configuration:
[  187.092709] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
[  187.092721] [DEBUG] X display: :8
[  187.092735] [DEBUG] LD_LIBRARY_PATH: /usr/lib/nvidia-340:/usr/lib32/nvidia-340
[  187.092763] [DEBUG] Socket path: /var/run/bumblebee.socket
[  187.092777] [DEBUG] Accel/display bridge: auto
[  187.092792] [DEBUG] VGL Compression: proxy
[  187.092803] [DEBUG] VGLrun extra options:
[  187.092813] [DEBUG] Primus LD Path: /usr/lib/x86_64-linux-gnu/primus:/usr/lib/i386-linux-gnu/primus
[  187.112385] [DEBUG]Using auto-detected bridge primus
[  188.030154] [INFO]Response: No - error: [XORG] (EE)

[  188.030185] [ERROR]Cannot access secondary GPU - error: [XORG] (EE)

[  188.030199] [DEBUG]Socket closed.
[  188.030235] [ERROR]Aborting because fallback start is disabled.
[  188.030247] [DEBUG]Killing all remaining processes.
~$ 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-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
ali@vostok:~$ 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
~$ cat /etc/X11/xorg.conf
cat: /etc/X11/xorg.conf: Böyle bir dosya ya da dizin yok
ali@vostok:~$ dpkg -l | egrep 'nvidia|bumblebee|primus|prime|virtualgl'
ii  bumblebee                                     3.2.1-10                                            amd64        NVIDIA Optimus support for Linux
ii  bumblebee-nvidia                              3.2.1-10                                            amd64        NVIDIA Optimus support using the proprietary NVIDIA driver
ii  nvidia-340                                    340.96-0ubuntu3                                     amd64        NVIDIA binary driver - version 340.96
ii  nvidia-opencl-icd-340                         340.96-0ubuntu3                                     amd64        NVIDIA OpenCL ICD
ii  nvidia-settings                               361.42-0ubuntu1                                     amd64        Tool for configuring the NVIDIA graphics driver
ii  primus                                        0~20150328-1                                        amd64        client-side GPU offloading for NVIDIA Optimus
ii  primus-libs:amd64                             0~20150328-1                                        amd64        Shared libraries for primus
ii  primus-libs:i386                              0~20150328-1                                        i386         Shared libraries for primus
ii  primus-libs-ia32:i386                         0~20150328-1                                        i386         Shared libraries for primus (32-bit)
~$ lspci | egrep 'VGA|3D|Display'
00:02.0 VGA compatible controller: Intel Corporation Core Processor Integrated Graphics Controller (rev 02)
01:00.0 VGA compatible controller: NVIDIA Corporation GF108M [GeForce GT 420M] (rev a1)

heartsmagic

grep nvidia-340 /etc/modprobe.d/bumblebee.conf
update-alternatives --display i386-linux-gnu_gl_conf


ne diyor?
Hayattan çıkarı olmayanların, ölümden de çıkarı olmayacaktır.
Hayatlarıyla yanlış olanların ölümleriyle doğru olmalarına imkân var mıdır?


Böylece yalan, dünyanın düzenine dönüştürülüyor.

VoSToK

Çıktılar;
~$ grep nvidia-340 /etc/modprobe.d/bumblebee.conf
blacklist nvidia-340
blacklist nvidia-340-updates


~$ update-alternatives --display i386-linux-gnu_gl_conf
i386-linux-gnu_gl_conf - elle ayarlanmış kip
  bağ için en iyi sürüm /usr/lib/nvidia-340/alt_ld.so.conf
  mevcut bağ /usr/lib/i386-linux-gnu/mesa/ld.so.conf konumuna işaret ediyor
  i386-linux-gnu_gl_conf bağı /etc/ld.so.conf.d/i386-linux-gnu_GL.conf konumuna işaret ediyor
  bağımlı i386-linux-gnu_xorg_extra_modules bağı /usr/lib/i386-linux-gnu/xorg/extra-modules konumuna işaret ediyor
/usr/lib/i386-linux-gnu/mesa/ld.so.conf - öncelik 500
  bağımlı i386-linux-gnu_xorg_extra_modules: /usr/lib/i386-linux-gnu/xorg/x11-extra-modules
/usr/lib/nvidia-340-prime/alt_ld.so.conf - öncelik 8603
/usr/lib/nvidia-340/alt_ld.so.conf - öncelik 8604

heartsmagic

sudo update-alternatives --config i386-linux-gnu_gl_conf

Burada ilk sırada /usr/lib/nvidia-340/alt_ld.so.conf olacaktır muhtemelen onu seç. 0 ile gösteriliyordur yeri muhtemelen.

sudo update-alternatives --config x86_64-linux-gnu_egl_conf

Burada da ilk sırada 340'lı bir şeyler vardır, yine 0 ile onu seç.

sudo update-alternatives --config x86_64-linux-gnu_gl_conf

Buradaysa muhtemelen en altta /usr/lib/x86_64-linux-gnu/mesa/ld.so.conf olmalı, onu seç. Sonra sistemi yenide başlatırsın.
Hayattan çıkarı olmayanların, ölümden de çıkarı olmayacaktır.
Hayatlarıyla yanlış olanların ölümleriyle doğru olmalarına imkân var mıdır?


Böylece yalan, dünyanın düzenine dönüştürülüyor.

VoSToK

Söylediklerinizi yaptım. Yine olmadı. İlk verdiğiniz yolda seçtiğimiz otomatik kip olarak ayarlı idi. Bir öyle denedim olmadım. Sonra 3. sırada elle ayarlanmış kipe getirdim yine olmadı. İkinci verdiğiniz komutta yapılandırılacak birşey yok çıkıyor.
:~$ sudo update-alternatives --config x86_64-linux-gnu_egl_conf
x86_64-linux-gnu_egl_conf bağ grubunda (/etc/ld.so.conf.d/x86_64-linux-gnu_EGL.conf alternatifini sağlayan) sadece bir alternatif var: /usr/lib/x86_64-linux-gnu/mesa-egl/ld.so.conf
Yapılandırılacak bir şey yok.


Son komuttada verdiğinizi seçtim ancak olmadı. Ubuntu 14.04'te böyle bir sorun ile karşılaşmamıştım.

mendirec

@VoSToK, şu komutların çıktılarına bakabilir miyiz? Komutları uyguladığında senden seçim yapmanı isteyecek, "mesa" kelimesinin geçtiği parametleri seç lütfen.
sudo update-alternatives --config i386-linux-gnu_gl_conf
sudo update-alternatives --config x86_64-linux-gnu_egl_conf
sudo update-alternatives --config x86_64-linux-gnu_gl_conf

Bu adımdan sonra sistemi yeniden başlat.
sudo reboot
Gpu yöneticisini devre dışı bırakalım.

Aşağıdaki komut ilgili dosyayı aç.
sudo -H gedit /etc/default/grub

Karşınıza gelen pencerede şu satırı bul.
GRUB_CMDLINE_LINUX=""

Aşağıdaki gibi değiştirdikten sonra kaydedip çık.
GRUB_CMDLINE_LINUX="nogpumanager"

Aşağıdaki komut ile Grub'u güncelle.
sudo update-grub

bbswitch ve nvidia modüllerini yeniden yapılandır
sudo dpkg-reconfigure bbswitch-dkms
sudo dpkg-reconfigure nvidia-340

Tekrar sistemi yeniden başlat.
sudo reboot
Son olarak şu komutun çıktısına bakalım.
optirun glxgears

heartsmagic

Aklımızda bulunsun, kart 370 sürücüsünde destekleniyor. Benzer bir sorunu ben de yaşıyordum, tek çözüm 370 sürümlü Nvidia + bumblee'nin PPA'sından alınan sürüm + nvidia-prime ile intel seçimi oldu.

@mendirec'in önerisini denersin, çözülmezse duruma bakarız.
Hayattan çıkarı olmayanların, ölümden de çıkarı olmayacaktır.
Hayatlarıyla yanlış olanların ölümleriyle doğru olmalarına imkân var mıdır?


Böylece yalan, dünyanın düzenine dönüştürülüyor.

VoSToK

#16
 Yine olmadı   :'(
Çıktı:
[  137.589508] [ERROR]Cannot access secondary GPU - error: [XORG] (EE)

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


VoSToK

Başka çözüm yolu kalmadı mı?

VoSToK

Farklı bir linux dağıtımı yüklesem yine bu sorunla karşılaşırmıyım. Zorin; manjaro, mint vs gibi?

VoSToK

Bu işin bir çözümü yok mu?

mendirec

@VoSToK, Prime yöntemini denemiş miydin?

XT1033 cihazımdan Tapatalk kullanılarak gönderildi


VoSToK

Yapmaya çalıştım ancak sahipli drivera geçtikten sonra yeniden başlattım daha sonra oturum açılmadı yeniden bende direk ubuntuyu yeniden yükledim.

mendirec

@VoSToK, bağlantıdaki anlatımı uygulayıp geri bildirim yapar mısın?
https://forum.ubuntu-tr.net/index.php?topic=53903.0

VoSToK

@mendirec çıktılar;

a@VoSToK:~$ lspci | grep -E 'VGA|3D|Display'
00:02.0 VGA compatible controller: Intel Corporation Core Processor Integrated Graphics Controller (rev 02)
01:00.0 VGA compatible controller: NVIDIA Corporation GF108M [GeForce GT 420M] (rev a1)
a@VoSToK:~$ dpkg -l | grep -E 'nvidia|bumblebee|primus|prime'
rc  bumblebee                                  3.2.1-10                                                    amd64        NVIDIA Optimus support for Linux
rc  bumblebee-nvidia                           3.2.1-10                                                    amd64        NVIDIA Optimus support using the proprietary NVIDIA driver
rc  nvidia-361                                 361.42-0ubuntu2                                             amd64        NVIDIA binary driver - version 361.42
rc  nvidia-opencl-icd-361                      361.42-0ubuntu2                                             amd64        NVIDIA OpenCL ICD
rc  nvidia-settings                            361.42-0ubuntu1                                             amd64        Tool for configuring the NVIDIA graphics driver
rc  primus                                     0~20150328-1                                                amd64        client-side GPU offloading for NVIDIA Optimus
ii  primus-libs:amd64                          0~20150328-1                                                amd64        Shared libraries for primus
ii  primus-libs:i386                           0~20150328-1                                                i386         Shared libraries for primus
ii  primus-libs-ia32:i386                      0~20150328-1                                                i386         Shared libraries for primus (32-bit)
a@VoSToK:~$ optirun -vvv glxgears
'optirun' programı şu anda kurulu değil. Kurulumunu şunu yazarak yapabilirsiniz:
sudo apt install bumblebee
a@VoSToK:~$ 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-361
PMMethod=auto
# colon-separated path to the nvidia libraries
LibraryPath=/usr/lib/nvidia-361:/usr/lib32/nvidia-361
# comma-separated path of the directory containing nvidia_drv.so and the
# default Xorg modules path
XorgModulePath=/usr/lib/nvidia-361/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

a@VoSToK:~$ 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

mendirec

#24
@VoSToK, sırasıyla komutları uygulayıp çıktıları geçelim lütfen.
sudo apt purge bumblebee* nvidia* primus*
sudo apt update
sudo apt dist-upgrade
ubuntu-drivers list