[Çözüldü] Nvidia Sürücü Sorunu

Başlatan Nwzarc, 29 Kasım 2021 - 23:51:40

« önceki - sonraki »

0 Üyeler ve 1 Ziyaretçi konuyu incelemekte.

Nwzarc

[mention=657463]@speakerXXL[/mention]

Teşekkür ederim açıldı. Yarın sizi tekrardan rahatsız ederim, vaktinizi ayırdığınız için teşekkürler.

speakerXXL

Şunların çıktısını paylaş.

sudo prime-select nvidia
cat /lib/modprobe.d/nvidia-runtimepm.conf
cat /lib/modprobe.d/blacklist-nvidia.conf
sudo prime-select intel
cat /var/log/gpu-manager.log
cat /var/log/gpu-manager-switch.log


Bir de BIOS ayarlarında "Switchable Graphics" ya da "Nvidia Optimus" benzeri bir seçenek varsa etkinleştirmeyi denersin.


Nwzarc

#27
[mention=657467]@speakerXXL[/mention]

$ sudo prime-select nvidia         
Info: the nvidia profile is already set


$ cat /lib/modprobe.d/nvidia-runtimepm.conf
cat: /lib/modprobe.d/nvidia-runtimepm.conf: Böyle bir dosya ya da dizin yok


$ cat /lib/modprobe.d/blacklist-nvidia.conf
cat: /lib/modprobe.d/blacklist-nvidia.conf: Böyle bir dosya ya da dizin yok


$ sudo prime-select intel
Info: selecting the intel profile
Updating the initramfs. Please wait for the operation to complete:
Done


$ cat /var/log/gpu-manager.log
log_file: /var/log/gpu-manager.log
last_boot_file: /var/lib/ubuntu-drivers-common/last_gfx_boot
new_boot_file: /var/lib/ubuntu-drivers-common/last_gfx_boot
can't access /run/u-d-c-nvidia-was-loaded file
can't access /opt/amdgpu-pro/bin/amdgpu-pro-px
Looking for nvidia modules in /lib/modules/5.4.0-90-generic/kernel
Looking for nvidia modules in /lib/modules/5.4.0-90-generic/updates/dkms
Looking for amdgpu modules in /lib/modules/5.4.0-90-generic/kernel
Looking for amdgpu modules in /lib/modules/5.4.0-90-generic/updates/dkms
Is nvidia loaded? no
Was nvidia unloaded? no
Is nvidia blacklisted? yes
Is intel loaded? yes
Is radeon loaded? no
Is radeon blacklisted? no
Is amdgpu loaded? no
Is amdgpu blacklisted? no
Is amdgpu versioned? no
Is amdgpu pro stack? no
Is nouveau loaded? no
Is nouveau blacklisted? yes
Is nvidia kernel module available? no
Is amdgpu kernel module available? no
Vendor/Device Id: 8086:9a60
BusID "PCI:0@0:2:0"
Is boot vga? yes
Error: can't access /sys/bus/pci/devices/0000:00:02.0/driver
The device is not bound to any driver.
Vendor/Device Id: 10de:25a5
BusID "PCI:1@0:0:0"
can't open /sys/bus/pci/devices/0000:01:00.0/boot_vga
Is boot vga? no
Error: can't access /sys/bus/pci/devices/0000:01:00.0/driver
The device is not bound to any driver.
can't open /sys/bus/pci/devices/0000:01:00.0/boot_vga
can't access /etc/u-d-c-nvidia-runtimepm-override file
can't open /sys/module/nvidia/version
Warning: cannot check the NVIDIA driver major version
Support for runtimepm not detected.
You can override this check at your own risk by creating the /etc/u-d-c-nvidia-runtimepm-override file.
Is nvidia runtime pm supported for "0x25a5"? yes
Trying to create new file: /run/nvidia_runtimepm_supported
Checking power status in /proc/driver/nvidia/gpus/0000:01:00.0/power
Error while opening /proc/driver/nvidia/gpus/0000:01:00.0/power
Is nvidia runtime pm enabled for "0x25a5"? no
Error : Failed to open /dev/dri
Error : Failed to open /dev/dri
Error : Failed to open /dev/dri
Error : Failed to open /dev/dri
Does it require offloading? no
last cards number = 2
Has amd? no
Has intel? yes
Has nvidia? yes
How many cards? 2
Has the system changed? No
Intel IGP detected
Desktop system detected
or laptop with open drivers
Nothing to do


$ cat /var/log/gpu-manager-switch.log
log_file: /var/log/gpu-manager-switch.log
last_boot_file: /var/lib/ubuntu-drivers-common/last_gfx_boot
new_boot_file: /var/lib/ubuntu-drivers-common/last_gfx_boot
can't access /run/u-d-c-nvidia-was-loaded file
can't access /opt/amdgpu-pro/bin/amdgpu-pro-px
Looking for nvidia modules in /lib/modules/5.4.0-90-generic/kernel
Looking for nvidia modules in /lib/modules/5.4.0-90-generic/updates/dkms
Looking for amdgpu modules in /lib/modules/5.4.0-90-generic/kernel
Looking for amdgpu modules in /lib/modules/5.4.0-90-generic/updates/dkms
Is nvidia loaded? no
Was nvidia unloaded? no
Is nvidia blacklisted? yes
Is intel loaded? yes
Is radeon loaded? no
Is radeon blacklisted? no
Is amdgpu loaded? no
Is amdgpu blacklisted? no
Is amdgpu versioned? no
Is amdgpu pro stack? no
Is nouveau loaded? no
Is nouveau blacklisted? yes
Is nvidia kernel module available? no
Is amdgpu kernel module available? no
Vendor/Device Id: 8086:9a60
BusID "PCI:0@0:2:0"
Is boot vga? yes
Error: can't access /sys/bus/pci/devices/0000:00:02.0/driver
The device is not bound to any driver.
Vendor/Device Id: 10de:25a5
BusID "PCI:1@0:0:0"
can't open /sys/bus/pci/devices/0000:01:00.0/boot_vga
Is boot vga? no
Error: can't access /sys/bus/pci/devices/0000:01:00.0/driver
The device is not bound to any driver.
can't open /sys/bus/pci/devices/0000:01:00.0/boot_vga
can't access /etc/u-d-c-nvidia-runtimepm-override file
can't open /sys/module/nvidia/version
Warning: cannot check the NVIDIA driver major version
Support for runtimepm not detected.
You can override this check at your own risk by creating the /etc/u-d-c-nvidia-runtimepm-override file.
Is nvidia runtime pm supported for "0x25a5"? yes
Trying to create new file: /run/nvidia_runtimepm_supported
Checking power status in /proc/driver/nvidia/gpus/0000:01:00.0/power
Error while opening /proc/driver/nvidia/gpus/0000:01:00.0/power
Is nvidia runtime pm enabled for "0x25a5"? no
Error : Failed to open /dev/dri
Error : Failed to open /dev/dri
Error : Failed to open /dev/dri
Error : Failed to open /dev/dri
Does it require offloading? no
last cards number = 2
Has amd? no
Has intel? yes
Has nvidia? yes
How many cards? 2
Has the system changed? No
Intel IGP detected
Desktop system detected
or laptop with open drivers
Nothing to do


"Switchable Graphics" ya da  "Nvidia Optimus" bulamadım BIOS ayarlarında

speakerXXL

Nvidia-prime paketine yakın zamanda bir güncelleme geliyor. Şurada bulunan bu güncellemeyi PPA depomda paket haline getirdim. https://github.com/tseliot/nvidia-prime/tree/focal

Paketi şuradan indirip Gdebi ile kurmayı denersin. https://launchpad.net/~kelebek333/+archive/ubuntu/nvidia-prime/+build/22576985/+files/nvidia-prime_0.8.16~0.20.04.2+klbkfocal_all.deb

Belki sorun bu güncelleme ile çözülebilir.

Eğer çözülmezse, şunun çıktısını paylaşırsın.

cat /proc/cmdline

Nwzarc

[mention=657471]@speakerXXL[/mention]

Kurulum sonrası bir değişiklik olmadı,buyrun kodları paylaşıyorum:

$ cat /proc/cmdline
BOOT_IMAGE=/boot/vmlinuz-5.4.0-90-generic root=UUID=bdb04959-e2aa-4459-9f6f-92c7d3b0632b ro quiet splash

speakerXXL

Son komutun çıktısını, açılışa nomodeset gibi değişken ekleyip eklemediğini görmek için istedim. Bunu elemiş olduk.

Sorunun LightDM ile ilgili olma olasılığı geliyor aklıma. Aşağıdaki komutlarla LightDM yerine GDM3 kurmayı deneyebilirsin. Ardından sistemini yeniden başlatıp, GPU değişimi deneyebilirsin.

sudo apt install gdm3
sudo dpkg-reconfigure gdm3
sudo systemctl disable lightdm

Nwzarc

[mention=657476]@speakerXXL[/mention]

İlk kod ile kurulumu yaptım ve sonrasında karşıma LightDM ile GDM3 arasında seçim yapmam gereken bir pencere çıkarttı GDM3'ü seçtim.İkinci kodu çalıştırdığımda aşağıdaki sonucu aldım

$ sudo dpkg-reconfigure gdm3
gdm.service is not active, cannot reload.
invoke-rc.d: initscript gdm3, action "reload" failed.


Üçüncü kod sonrası çıktı:

$ sudo systemctl disable lightdm
Synchronizing state of lightdm.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install disable lightdm


Yeniden başlattım ve Mint simgesi ile açıldı, eskisinden farklı olarak mor bir açılış ekranında kullanıcı şifremi yazdım. (sanırım bu LightDM ile GDM3 farkından kaynaklanıyor) Ama GPU seçimi yine yapamıyorum.