Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changed behavior since updates #13

Open
ni-ka opened this issue Jun 27, 2022 · 0 comments
Open

Changed behavior since updates #13

ni-ka opened this issue Jun 27, 2022 · 0 comments

Comments

@ni-ka
Copy link

ni-ka commented Jun 27, 2022

Hey @pedro00dk,

Not sure what triggered this, but when I plug in my laptop now and resume from standby, the Nvidia is powered on. It then also is grabbed by chrome / firefox and thus can't be switched off until I turn off those programs.

Is there any way to prevent this? It wasn't an issue for me in the past.

Here my versions:

  • Kernel: 5.18.6-1-MANJARO
  • Nvidia: 515.48.07-2
  • Gnome: 42.2

i've tried to find some relevant info from logs

Jun 27 07:40:12 nk-zbook systemd-sleep[9125]: /usr/lib/systemd/system-sleep/99_restart_sound: line 6: /sys/bus/pci/devices/0000:00:1f.3
Jun 27 07:40:12 nk-zbook systemd-sleep[9125]: 0000:01:00.1/remove: No such file or directory
Jun 27 07:40:12 nk-zbook kernel: psmouse serio3: synaptics: queried max coordinates: x [..5646], y [..4676]
Jun 27 07:40:12 nk-zbook systemd[1]: Started Snap Daemon.
Jun 27 07:40:12 nk-zbook dbus-daemon[789]: [system] Activating via systemd: service name='org.freedesktop.timedate1' unit='dbus-org.freedesktop.timedate1.service' requested by ':1.184' (uid=0 pid=9053 comm="/usr/lib/snapd/snapd")
Jun 27 07:40:12 nk-zbook kernel: psmouse serio3: synaptics: queried min coordinates: x [1294..], y [1178..]
Jun 27 07:40:12 nk-zbook systemd[1]: Starting Time & Date Service...
Jun 27 07:40:12 nk-zbook kernel: snd_hda_codec_hdmi hdaudioC1D0: Unable to sync register 0x4f0100. -5
Jun 27 07:40:12 nk-zbook kernel: snd_hda_codec_hdmi hdaudioC1D0: HDMI: invalid ELD buf size -1
Jun 27 07:40:12 nk-zbook kernel: snd_hda_codec_hdmi hdaudioC1D0: HDMI: invalid ELD buf size -1
Jun 27 07:40:12 nk-zbook kernel: snd_hda_codec_hdmi hdaudioC1D0: HDMI: invalid ELD buf size -1
Jun 27 07:40:12 nk-zbook kernel: snd_hda_codec_hdmi hdaudioC1D0: HDMI: invalid ELD buf size -1
Jun 27 07:40:12 nk-zbook dbus-daemon[789]: [system] Successfully activated service 'org.freedesktop.timedate1'
Jun 27 07:40:12 nk-zbook systemd[1]: Started Time & Date Service.
Jun 27 07:40:12 nk-zbook kernel: Bluetooth: hci0: Bootloader revision 0.1 build 42 week 52 2015
Jun 27 07:40:12 nk-zbook kernel: Bluetooth: hci0: Device revision is 2
Jun 27 07:40:12 nk-zbook kernel: Bluetooth: hci0: Secure boot is enabled
Jun 27 07:40:12 nk-zbook kernel: Bluetooth: hci0: OTP lock is enabled
Jun 27 07:40:12 nk-zbook kernel: Bluetooth: hci0: API lock is enabled
Jun 27 07:40:12 nk-zbook kernel: Bluetooth: hci0: Debug lock is disabled
Jun 27 07:40:12 nk-zbook kernel: Bluetooth: hci0: Minimum firmware build 1 week 10 2014
Jun 27 07:40:12 nk-zbook kernel: Bluetooth: hci0: Found device firmware: intel/ibt-17-16-1.sfi
Jun 27 07:40:12 nk-zbook kernel: Bluetooth: hci0: Boot Address: 0x40800
Jun 27 07:40:12 nk-zbook kernel: Bluetooth: hci0: Firmware Version: 214-6.22
Jun 27 07:40:12 nk-zbook systemd[1]: Reached target Bluetooth Support.
Jun 27 07:40:12 nk-zbook systemd[847]: Reached target Bluetooth.
Jun 27 07:40:13 nk-zbook kernel: pci 0000:01:00.0: [10de:1cbb] type 00 class 0x030000
Jun 27 07:40:13 nk-zbook kernel: pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x00ffffff]
Jun 27 07:40:13 nk-zbook kernel: pci 0000:01:00.0: reg 0x14: [mem 0x00000000-0x0fffffff 64bit pref]
Jun 27 07:40:13 nk-zbook kernel: pci 0000:01:00.0: reg 0x1c: [mem 0x00000000-0x01ffffff 64bit pref]
Jun 27 07:40:13 nk-zbook kernel: pci 0000:01:00.0: reg 0x24: [io  0x0000-0x007f]
Jun 27 07:40:13 nk-zbook kernel: pci 0000:01:00.0: reg 0x30: [mem 0x00000000-0x0007ffff pref]
Jun 27 07:40:13 nk-zbook kernel: pci 0000:01:00.0: Enabling HDA controller
Jun 27 07:40:13 nk-zbook systemd[1]: systemd-suspend.service: Deactivated successfully.
Jun 27 07:40:13 nk-zbook kernel: pci 0000:01:00.0: vgaarb: bridge control possible
Jun 27 07:40:13 nk-zbook kernel: pci 0000:01:00.0: vgaarb: VGA device added: decodes=io+mem,owns=none,locks=none
Jun 27 07:40:13 nk-zbook kernel: i915 0000:00:02.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=none:owns=io+mem
Jun 27 07:40:13 nk-zbook kernel: pci 0000:01:00.0: BAR 1: assigned [mem 0x80000000-0x8fffffff 64bit pref]
Jun 27 07:40:13 nk-zbook kernel: pci 0000:01:00.0: BAR 3: assigned [mem 0x90000000-0x91ffffff 64bit pref]
Jun 27 07:40:13 nk-zbook kernel: pci 0000:01:00.0: BAR 0: assigned [mem 0xe5000000-0xe5ffffff]
Jun 27 07:40:13 nk-zbook kernel: pci 0000:01:00.0: BAR 6: assigned [mem 0xe6080000-0xe60fffff pref]
Jun 27 07:40:13 nk-zbook kernel: pci 0000:01:00.0: BAR 5: assigned [io  0x4000-0x407f]
Jun 27 07:40:13 nk-zbook systemd[1]: Finished System Suspend.
Jun 27 07:40:13 nk-zbook systemd[1]: Stopped target Sleep.
Jun 27 07:40:13 nk-zbook systemd[1]: Reached target Suspend.
Jun 27 07:40:13 nk-zbook systemd[1]: Stopped target Suspend.
Jun 27 07:41:11 nk-zbook systemd[847]: Started Application launched by gnome-shell.
Jun 27 07:41:12 nk-zbook standard-notes.desktop[10427]: extServer: Server started at http://127.0.0.1:45653
Jun 27 07:41:13 nk-zbook standard-notes.desktop[10427]: 07:41:13.005 › APPIMAGE env is not defined, current application is not an AppImage
Jun 27 07:41:13 nk-zbook standard-notes.desktop[10487]: libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
Jun 27 07:41:13 nk-zbook standard-notes.desktop[10487]: [10487:0627/074113.054309:ERROR:sandbox_linux.cc(377)] InitializeSandbox() called with multiple threads in process gpu-process.
Jun 27 07:41:13 nk-zbook kernel: nvidia: module license 'NVIDIA' taints kernel.
Jun 27 07:41:13 nk-zbook kernel: Disabling lock debugging due to kernel taint
Jun 27 07:41:13 nk-zbook kernel: nvidia-nvlink: Nvlink Core is being initialized, major device number 507
Jun 27 07:41:13 nk-zbook kernel: 
Jun 27 07:41:13 nk-zbook kernel: nvidia 0000:01:00.0: enabling device (0000 -> 0003)
Jun 27 07:41:13 nk-zbook kernel: nvidia 0000:01:00.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=none:owns=none
Jun 27 07:41:13 nk-zbook kernel: NVRM: loading NVIDIA UNIX x86_64 Kernel Module  515.48.07  Fri May 27 03:26:43 UTC 2022
Jun 27 07:41:13 nk-zbook systemd-udevd[10555]: nvidia: Process '/usr/bin/bash -c '/usr/bin/mknod -Z -m 666 /dev/nvidiactl c $(grep nvidia-frontend /proc/devices | cut -d \  -f 1) 255'' failed with exit code 1.
Jun 27 07:41:13 nk-zbook systemd-udevd[10556]: nvidia: Process '/usr/bin/bash -c '/usr/bin/mknod -Z -m 666 /dev/nvidiactl c $(grep nvidia-frontend /proc/devices | cut -d \  -f 1) 255'' failed with exit code 1.
Jun 27 07:41:13 nk-zbook systemd-udevd[10556]: nvidia: Process '/usr/bin/bash -c 'for i in $(cat /proc/driver/nvidia/gpus/*/information | grep Minor | cut -d \  -f 4); do /usr/bin/mknod -Z -m 666 /dev/nvidia${i} c $(grep nvidia-frontend /pr>
Jun 27 07:41:13 nk-zbook kernel: ACPI Warning: \_SB.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20211217/nsarguments-61)
Jun 27 07:41:13 nk-zbook standard-notes.desktop[10427]: 07:41:13.986 › APPIMAGE env is not defined, current application is not an AppImage
Jun 27 07:41:14 nk-zbook gnome-shell[1639]: Ignored exception from dbus method: Gio.DBusError: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name com.system76.Scheduler was not provided by any .service files
Jun 27 07:41:14 nk-zbook systemd-udevd[10555]: nvidia: Process '/usr/bin/bash -c 'for i in $(cat /proc/driver/nvidia/gpus/*/information | grep Minor | cut -d \  -f 4); do /usr/bin/mknod -Z -m 666 /dev/nvidia${i} c $(grep nvidia-frontend /pr>
Jun 27 07:41:14 nk-zbook gnome-shell[1639]: Ignored exception from dbus method: Gio.DBusError: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name com.system76.Scheduler was not provided by any .service files
Jun 27 07:41:14 nk-zbook firefox.desktop[2867]: Unsupported modifier, resource creation failed.
Jun 27 07:41:14 nk-zbook firefox.desktop[2867]: XXX: resource creation failed

Not sure it is related, but I found that even when nvidia plugin is not loaded chromium is able to show the dedicated gpu in chrome://gpu/

Interestingly, if I stop the programs in nvx ps and turn off the gpu with nvx off, if I restart chromium, the gpu stays off.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant