Gönderen Konu: Nvidia prime ekran kartı değişim problemi  (Okunma sayısı 5667 defa)

Çevrimdışı ssri

  • Yeni Penguen
  • *
  • İleti: 49
  • Dağıtım: Ubuntu 14.04 LTS 64-bit
  • Masaüstü Ortamı: Unity
Nvidia prime ekran kartı değişim problemi
« : 31 Temmuz 2015, 18:16:53 »
Dünden beri nvidia prime'la ekran kartımı değiştirirken sorun yaşıyorum. nvidia'dan intele çevirirken herşey yolunda gidiyor.tam tersini yaparken intel'den nvidia'ya geçişte sorun yaşıyorum.oturum tekrar açıldığında hala geçerli kart intel oluyor.aynı işlemi tekrar tekrar yapsam da değişmiyor.sonrasında sistemi yeniden başlatıyorum.açılış ekranından sonra siyah ekranda kalıyor bilgisayar.Hiçbir şekilde tekrar açamıyorum.Eğer recovery modda başlatırsam sistem düzelmiş bir şekilde nvidia ekran kartıyla açılıyor.Bir çözüm öneriniz var mı?


Düzenleme : Çözüldü etiketi kaldırıldı
« Son Düzenleme: 01 Ağustos 2015, 09:43:41 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
Ynt: Nvidia prime ekran kartı değişim problemi
« Yanıtla #1 : 31 Temmuz 2015, 18:23:35 »
Sorun oluşmadan önce güncellme vb. işlemler yaptınız mı?

Aşağıdaki komutların çıktılarını paylaşınız.

Kod: [Seç]
dpkg -l | egrep 'nvidia|primus'
inxi -Fxz
Elimizden geldiğince dilimizin döndüğünce...

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

Çevrimdışı ssri

  • Yeni Penguen
  • *
  • İleti: 49
  • Dağıtım: Ubuntu 14.04 LTS 64-bit
  • Masaüstü Ortamı: Unity
Ynt: Nvidia prime ekran kartı değişim problemi
« Yanıtla #2 : 31 Temmuz 2015, 18:32:09 »
herhangi bir güncelleme yapmadım ekran kartıyla alakalı sadece sisteme lilypond ve frescobaldi paketlerini yükledim.ek olarak da pycharm ide'sini yükledim.başka bir değişiklik yapmadım.
dpkg -l | egrep 'nvidia|primus'
Kod: [Seç]
ii  nvidia-352                                  352.30-0ubuntu0~xedgers14.04.1                      amd64        NVIDIA binary driver - version 352.30
ii  nvidia-prime                                0.6.2linuxmint1                                     amd64        Tools to enable NVIDIA's Prime
ii  nvidia-prime-applet                         1.0.3                                               all          An applet for NVIDIA Prime
ii  nvidia-settings                             346.72-0ubuntu1                                     amd64        Tool for configuring the NVIDIA graphics driver
inxi -Fxz
Kod: [Seç]
System:    Host: asus-X550JK Kernel: 4.0.9-040009-generic x86_64 (64 bit, gcc: 4.8.4)
           Desktop: Cinnamon 2.6.13  Distro: Linux Mint 17.2 Rafaela
Machine:   Mobo: ASUSTeK model: X550JK version: 1.0 Bios: American Megatrends version: X550JK.302 date: 07/09/2014
CPU:       Dual core Intel Core i5-4200H CPU (-HT-MCP-) cache: 3072 KB flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 11174.6
           Clock Speeds: 1: 1428.656 MHz 2: 1495.265 MHz 3: 2800.328 MHz 4: 2820.562 MHz
Graphics:  Card: Intel 4th Gen Core Processor Integrated Graphics Controller bus-ID: 00:02.0
           X.Org: 1.15.1 driver: nvidia Resolution: 1366x768@60.0hz
           GLX Renderer: GeForce GTX 850M/PCIe/SSE2 GLX Version: 4.5.0 NVIDIA 352.30 Direct Rendering: Yes
Audio:     Card-1: Intel 8 Series/C220 Series High Definition Audio Controller driver: snd_hda_intel bus-ID: 00:1b.0
           Card-2: Intel Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller driver: snd_hda_intel bus-ID: 00:03.0
           Sound: Advanced Linux Sound Architecture ver: k4.0.9-040009-generic
Network:   Card-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
           driver: r8169 ver: 2.3LK-NAPI port: d000 bus-ID: 04:00.1
           IF: eth0 state: down mac: <filter>
           Card-2: Broadcom BCM43142 802.11b/g/n driver: wl bus-ID: 03:00.0
           IF: wlan0 state: up mac: <filter>
Drives:    HDD Total Size: 500.1GB (4.8% used) 1: id: /dev/sda model: HGST_HTS545050A7 size: 500.1GB
Partition: ID: / size: 19G used: 6.1G (35%) fs: ext4 ID: /home size: 37G used: 17G (48%) fs: ext4
           ID: swap-1 size: 4.00GB used: 0.00GB (0%) fs: swap
RAID:      No RAID devices detected - /proc/mdstat and md_mod kernel raid module present
Sensors:   System Temperatures: cpu: 52.0C mobo: N/A gpu: 0.0:48C
           Fan Speeds (in rpm): cpu: N/A
Info:      Processes: 198 Uptime: 4 min Memory: 897.1/7867.7MB Runlevel: 2 Gcc sys: 4.8.4
           Client: Shell (bash 4.3.11) inxi: 1.9.17
kullanıcı-adı@asus-X550JK ~ $
« Son Düzenleme: 10 Ocak 2019, 14:03:29 Gönderen: Danny »

Ç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
Ynt: Nvidia prime ekran kartı değişim problemi
« Yanıtla #3 : 31 Temmuz 2015, 20:25:56 »
GPU arasındaki geçişleri aşağıdaki komutlar ile yapmayı deneyiniz.  Eğer uçbirimde hata alırsanız paylaşınız.

Nvidia GPU'ya geçiş

Kod: [Seç]
sudo prime-select nvidia
Intel GPU'ya geçiş

Kod: [Seç]
sudo prime-select intel
Elimizden geldiğince dilimizin döndüğünce...

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

Çevrimdışı ssri

  • Yeni Penguen
  • *
  • İleti: 49
  • Dağıtım: Ubuntu 14.04 LTS 64-bit
  • Masaüstü Ortamı: Unity
Ynt: Nvidia prime ekran kartı değişim problemi
« Yanıtla #4 : 31 Temmuz 2015, 21:06:49 »
değişen birşey yok maalesef.aynı sorun devam ediyor.

Ç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
Ynt: Nvidia prime ekran kartı değişim problemi
« Yanıtla #5 : 31 Temmuz 2015, 21:11:03 »
Aşağıdaki komutlarla paketleri yeniden yapılandırmayı dener misiniz?

Kod: [Seç]
sudo dpkg-reconfigure nvidia-351
Kod: [Seç]
sudo dpkg-reconfigure nvidia-prime
Birde aşağıdaki komutun çıktısına bakalım.

Kod: [Seç]
dpkg -l | grep bumblebee
Elimizden geldiğince dilimizin döndüğünce...

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

Çevrimdışı ssri

  • Yeni Penguen
  • *
  • İleti: 49
  • Dağıtım: Ubuntu 14.04 LTS 64-bit
  • Masaüstü Ortamı: Unity
Ynt: Nvidia prime ekran kartı değişim problemi
« Yanıtla #6 : 31 Temmuz 2015, 22:06:50 »
maalesef ben prime uygulamasından vazgeçip bumblebee kullanmaya karar verdim.sanırım onda da problem yaşıyorum :D o konuda yardımcı olabilirseniz çok sevinirim.istenilen çıktıları paylaşayım ben isterseniz.
optirun -vvv glxgears
Kod: [Seç]
[  403.350652] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf
[  403.350820] [INFO]Configured driver: nvidia
[  403.350902] [DEBUG]optirun version 3.2.1 starting...
[  403.350907] [DEBUG]Active configuration:
[  403.350909] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
[  403.350911] [DEBUG] X display: :8
[  403.350912] [DEBUG] LD_LIBRARY_PATH: /usr/lib/nvidia-352:/usr/lib32/nvidia-352
[  403.350914] [DEBUG] Socket path: /var/run/bumblebee.socket
[  403.350915] [DEBUG] Accel/display bridge: auto
[  403.350917] [DEBUG] VGL Compression: proxy
[  403.350919] [DEBUG] VGLrun extra options:
[  403.350920] [DEBUG] Primus LD Path: /usr/lib/x86_64-linux-gnu/primus:/usr/lib/i386-linux-gnu/primus
[  403.350945] [DEBUG]Using auto-detected bridge primus
[  404.403127] [INFO]Response: Yes. X is active.

[  404.403140] [INFO]Running application using primus.
[  404.403230] [DEBUG]Process glxgears started, PID 3170.
294 frames in 5.0 seconds = 58.764 FPS
301 frames in 5.0 seconds = 60.035 FPS
301 frames in 5.0 seconds = 60.034 FPS
301 frames in 5.0 seconds = 60.034 FPS
301 frames in 5.0 seconds = 60.036 FPS
301 frames in 5.0 seconds = 60.035 FPS
301 frames in 5.0 seconds = 60.035 FPS
cat /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-352
PMMethod=auto
# colon-separated path to the nvidia libraries
LibraryPath=/usr/lib/nvidia-352:/usr/lib32/nvidia-352
# comma-separated path of the directory containing nvidia_drv.so and the
# default Xorg modules path
XorgModulePath=/usr/lib/nvidia-352/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
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
cat /etc/X11/xorg.conf
Kod: [Seç]
cat: /etc/X11/xorg.conf: Böyle bir dosya ya da dizin yok
dpkg -l | egrep 'nvidia|bumblebee|primus|prime'
Kod: [Seç]
ii  bumblebee                                   3.2.1-5+xedgers14.04.1                              amd64        NVIDIA Optimus support for Linux
ii  bumblebee-nvidia                            3.2.1-5+xedgers14.04.1                              amd64        NVIDIA Optimus support using the proprietary NVIDIA driver
ii  nvidia-352                                  352.30-0ubuntu0~xedgers14.04.1                      amd64        NVIDIA binary driver - version 352.30
rc  nvidia-prime                                0.6.2linuxmint1                                     amd64        Tools to enable NVIDIA's Prime
rc  nvidia-prime-applet                         1.0.3                                               all          An applet for NVIDIA Prime
ii  nvidia-settings                             346.72-0ubuntu1                                     amd64        Tool for configuring the NVIDIA graphics driver
rc  prime-indicator                             0.1-1+git20150211~webupd8~1                         all          PRIME Indicator
ii  primus                                      0~20131127-2                                        amd64        client-side GPU offloading for NVIDIA Optimus
ii  primus-libs:amd64                           0~20131127-2                                        amd64        Shared libraries for primus
ii  primus-libs:i386                            0~20131127-2                                        i386         Shared libraries for primus
ii  primus-libs-ia32                            0~20131127-2                                        i386         Shared libraries for primus (32-bit)
lspci | egrep 'VGA|3D|Display'
Kod: [Seç]
00:02.0 VGA compatible controller: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller (rev 06)
01:00.0 3D controller: NVIDIA Corporation GM107M [GeForce GTX 850M] (rev ff)

Ç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
Ynt: Nvidia prime ekran kartı değişim problemi
« Yanıtla #7 : 31 Temmuz 2015, 22:18:57 »
Bumblebee ile ilgili herhangibir sorun görünmüyor. Bumblebee kullanırken nvidia-prime ile ilgili paketleri kaldırmanızgerekir.

Kod: [Seç]
sudo apt-get purge nvidia-prime nvidia-prime-applet prime-indicator
Nvidia Prime ile ilgili sorun Bumblebee kurduktan sonra mı ortaya çıktı?
Elimizden geldiğince dilimizin döndüğünce...

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

Çevrimdışı ssri

  • Yeni Penguen
  • *
  • İleti: 49
  • Dağıtım: Ubuntu 14.04 LTS 64-bit
  • Masaüstü Ortamı: Unity
Ynt: Nvidia prime ekran kartı değişim problemi
« Yanıtla #8 : 31 Temmuz 2015, 22:26:41 »
hayır bumblebee'yi prime'dan vazgeçtiğim için kurdum.bumblebee'de bir sorun gözükmüyorsa böylesi daha kolay olucak galiba.teşekkür ederim ilginiz için.son bir soru sorucam müsaadenizle.ben uçbirimden optirun steam komutunu girmek yerine sh -c 'STEAM_FRAME_FORCE_CLOSE=1 steam' %U buraya girebilir miyim? girebilirsem nasıl olucak son hali?teşekkür ederim tekrar

Düzenleme:Hocam ilginiz için çok teşekkür ederim.Bumblebee kurarak sorunumu hallettim.Şu an istediğim verimi alıyorum ekran kartından.Böylece gir çık yapmaya da gerek kalmadı.
« Son Düzenleme: 01 Ağustos 2015, 01:58:36 Gönderen: ssri »

Ç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
Ynt: Nvidia prime ekran kartı değişim problemi
« Yanıtla #9 : 01 Ağustos 2015, 09:42:25 »
Rica ederiz.

Nvidia Prime ile ilgili sorun çözülmediği, çözüme alternatif yoldan ulaşaıldığı için, konu başlığından [Çözüldü] etiketini kaldırıp konuyu kilitleyelim.
Elimizden geldiğince dilimizin döndüğünce...

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