[Kernel-packages] [Bug 1953235] Re: systemctl suspend stopped working: laptop immeadeately wakes up again

2021-12-06 Thread Ufos92
For whatever reason (old config, or nvidia unreasonable default) the new
driver got installed with `PreserveVideoMemoryAllocations=1`, which
without additional nvidia services doesn't work, and so suspend breaks.

To fix:
```shell
echo 'options nvidia NVreg_PreserveVideoMemoryAllocations=0' | sudo tee 
/etc/modprobe.d/nvidia.conf
sudo update-initramfs -u  # this took a long while to figure out
```

Make sure `/etc/modprobe.d/anything.conf` doesn't have conflicting
options.

Suspend now works, case closed.


https://www.youtube.com/watch?v=_36yNWw_07g

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-signed-hwe-5.11 in Ubuntu.
https://bugs.launchpad.net/bugs/1953235

Title:
  systemctl suspend stopped working: laptop immeadeately wakes up again

Status in linux-signed-hwe-5.11 package in Ubuntu:
  New

Bug description:
  I always suspend my laptop using `systemctl suspend`. It worked for a
  year as expected until today.

  Buggy Behavior: after `systemctl suspend` the seemingly usual suspend
  happens, however the laptop wakes up immediately. Things get more
  weird from here, as I need to input my password twice to get back into
  GNOME.

  Troubleshooting I did:
  1. apt update && apt dist-upgrade 
  2. Disabled nvidia-suspend.service, nvidia-persistenced.service, 
nvidia-resume.service
  3. Booted with an earlier kernel version where it used to work: `5.11.0-40`, 
`5.11.0-38`
  3. Detached all devices, and the power cable
  4. Rebooted into a separate user that has no tweaks, gnome-extensions etc
  5. The issue persists -- I attached relevant parts of `journalctl`: from the 
time when I used `systemctl suspend` till a minute or so after I logged back 
into GNOME. 

  Additionally:

  ```
  user@myLaptop:~$ lspci
  00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Root 
Complex
  00:01.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 
00h-1fh) PCIe Dummy Host Bridge
  00:01.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 PCIe GPP 
Bridge [6:0]
  00:01.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 PCIe GPP 
Bridge [6:0]
  00:01.6 PCI bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 PCIe GPP 
Bridge [6:0]
  00:01.7 PCI bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 PCIe GPP 
Bridge [6:0]
  00:08.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 
00h-1fh) PCIe Dummy Host Bridge
  00:08.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Internal 
PCIe GPP Bridge 0 to Bus A
  00:08.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Internal 
PCIe GPP Bridge 0 to Bus B
  00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 
61)
  00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 51)
  00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 
24: Function 0
  00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 
24: Function 1
  00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 
24: Function 2
  00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 
24: Function 3
  00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 
24: Function 4
  00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 
24: Function 5
  00:18.6 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 
24: Function 6
  00:18.7 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 
24: Function 7
  01:00.0 3D controller: NVIDIA Corporation TU117M [GeForce GTX 1650 Mobile / 
Max-Q] (rev a1)
  02:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd NVMe SSD 
Controller SM981/PM981/PM983
  03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. 
RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 25)
  04:00.0 Network controller: Qualcomm Atheros QCA6174 802.11ac Wireless 
Network Adapter (rev 32)
  05:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] 
Picasso (rev c2)
  05:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] 
Raven/Raven2/Fenghuang HDMI/DP Audio Controller
  05:00.2 Encryption controller: Advanced Micro Devices, Inc. [AMD] Family 17h 
(Models 10h-1fh) Platform Security Processor
  05:00.3 USB controller: Advanced Micro Devices, Inc. [AMD] Raven USB 3.1
  05:00.4 USB controller: Advanced Micro Devices, Inc. [AMD] Raven USB 3.1
  05:00.6 Audio device: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 
10h-1fh) HD Audio Controller
  06:00.0 SATA controller: Advanced Micro Devices, Inc. [AMD] FCH SATA 
Controller [AHCI mode] (rev 61)
  ```

  ```
  user@myLaptop:~$ cat /proc/acpi/wakeup
  DeviceS-state   Status   Sysfs node
  GPP0S4*enabled   pci::00:01.1
  GPP1S4*enabled   pci::00:01.2
  GPP2S4*disabled
  GPP3S4*disabled
  GPP4S4

[Kernel-packages] [Bug 1953235] Re: systemctl suspend stopped working: laptop immeadeately wakes up again

2021-12-06 Thread Ufos92
Installed nvidia drivers


`sudo apt install nvidia-driver-470 --install-recommends`

suspend broke. Did `sudo prime-select on-demand`, but no luck.


```
user@myLaptop:~$ journalctl -b | grep suspend
Dec 06 23:01:18 myLaptop ModemManager[1620]:   [sleep-monitor] system is 
about to suspend
Dec 06 23:01:24 myLaptop kernel: PM: suspend entry (deep)
Dec 06 23:01:25 myLaptop kernel: printk: Suspending console(s) (use 
no_console_suspend to debug)
Dec 06 23:01:25 myLaptop kernel: NVRM: GPU :01:00.0: 
PreserveVideoMemoryAllocations module parameter is set. System Power Management 
attempted without driver procfs suspend interface. Please refer to the 
'Configuring Power Management Support' section in the driver README.
Dec 06 23:01:25 myLaptop kernel: PM: pci_pm_suspend(): 
nv_pmops_suspend+0x0/0x30 [nvidia] returns -5
Dec 06 23:01:25 myLaptop kernel: PM: dpm_run_callback(): 
pci_pm_suspend+0x0/0x170 returns -5
Dec 06 23:01:25 myLaptop kernel: PM: Device :01:00.0 failed to suspend 
async: error -5
Dec 06 23:01:25 myLaptop kernel: PM: Some devices failed to suspend, or early 
wake event detected
Dec 06 23:01:26 myLaptop kernel: PM: suspend exit
Dec 06 23:01:26 myLaptop kernel: PM: suspend entry (s2idle)
Dec 06 23:01:28 myLaptop kernel: printk: Suspending console(s) (use 
no_console_suspend to debug)
Dec 06 23:01:28 myLaptop kernel: NVRM: GPU :01:00.0: 
PreserveVideoMemoryAllocations module parameter is set. System Power Management 
attempted without driver procfs suspend interface. Please refer to the 
'Configuring Power Management Support' section in the driver README.
Dec 06 23:01:28 myLaptop kernel: PM: pci_pm_suspend(): 
nv_pmops_suspend+0x0/0x30 [nvidia] returns -5
Dec 06 23:01:28 myLaptop kernel: PM: dpm_run_callback(): 
pci_pm_suspend+0x0/0x170 returns -5
Dec 06 23:01:28 myLaptop kernel: PM: Device :01:00.0 failed to suspend 
async: error -5
Dec 06 23:01:28 myLaptop kernel: PM: Some devices failed to suspend, or early 
wake event detected
Dec 06 23:01:28 myLaptop systemd-sleep[3748]: Failed to suspend system. System 
resumed again: Input/output error
Dec 06 23:01:28 myLaptop kernel: PM: suspend exit
Dec 06 23:01:29 myLaptop systemd[1]: systemd-suspend.service: Main process 
exited, code=exited, status=1/FAILURE
Dec 06 23:01:29 myLaptop systemd[1]: systemd-suspend.service: Failed with 
result 'exit-code'.
Dec 06 23:01:29 myLaptop systemd[1]: suspend.target: Job suspend.target/start 
failed with result 'dependency'.
```

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-signed-hwe-5.11 in Ubuntu.
https://bugs.launchpad.net/bugs/1953235

Title:
  systemctl suspend stopped working: laptop immeadeately wakes up again

Status in linux-signed-hwe-5.11 package in Ubuntu:
  New

Bug description:
  I always suspend my laptop using `systemctl suspend`. It worked for a
  year as expected until today.

  Buggy Behavior: after `systemctl suspend` the seemingly usual suspend
  happens, however the laptop wakes up immediately. Things get more
  weird from here, as I need to input my password twice to get back into
  GNOME.

  Troubleshooting I did:
  1. apt update && apt dist-upgrade 
  2. Disabled nvidia-suspend.service, nvidia-persistenced.service, 
nvidia-resume.service
  3. Booted with an earlier kernel version where it used to work: `5.11.0-40`, 
`5.11.0-38`
  3. Detached all devices, and the power cable
  4. Rebooted into a separate user that has no tweaks, gnome-extensions etc
  5. The issue persists -- I attached relevant parts of `journalctl`: from the 
time when I used `systemctl suspend` till a minute or so after I logged back 
into GNOME. 

  Additionally:

  ```
  user@myLaptop:~$ lspci
  00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Root 
Complex
  00:01.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 
00h-1fh) PCIe Dummy Host Bridge
  00:01.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 PCIe GPP 
Bridge [6:0]
  00:01.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 PCIe GPP 
Bridge [6:0]
  00:01.6 PCI bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 PCIe GPP 
Bridge [6:0]
  00:01.7 PCI bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 PCIe GPP 
Bridge [6:0]
  00:08.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 
00h-1fh) PCIe Dummy Host Bridge
  00:08.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Internal 
PCIe GPP Bridge 0 to Bus A
  00:08.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Internal 
PCIe GPP Bridge 0 to Bus B
  00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 
61)
  00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 51)
  00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 
24: Function 0
  00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 
24: Function 1
  00:18.2 Host bridge: 

[Kernel-packages] [Bug 1953235] Re: systemctl suspend stopped working: laptop immeadeately wakes up again

2021-12-06 Thread Ufos92
Reverted to the mainline kernel and hwe:

`sudo apt install linux-generic-hwe-20.04 --install-recommends`

suspend still works

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-signed-hwe-5.11 in Ubuntu.
https://bugs.launchpad.net/bugs/1953235

Title:
  systemctl suspend stopped working: laptop immeadeately wakes up again

Status in linux-signed-hwe-5.11 package in Ubuntu:
  New

Bug description:
  I always suspend my laptop using `systemctl suspend`. It worked for a
  year as expected until today.

  Buggy Behavior: after `systemctl suspend` the seemingly usual suspend
  happens, however the laptop wakes up immediately. Things get more
  weird from here, as I need to input my password twice to get back into
  GNOME.

  Troubleshooting I did:
  1. apt update && apt dist-upgrade 
  2. Disabled nvidia-suspend.service, nvidia-persistenced.service, 
nvidia-resume.service
  3. Booted with an earlier kernel version where it used to work: `5.11.0-40`, 
`5.11.0-38`
  3. Detached all devices, and the power cable
  4. Rebooted into a separate user that has no tweaks, gnome-extensions etc
  5. The issue persists -- I attached relevant parts of `journalctl`: from the 
time when I used `systemctl suspend` till a minute or so after I logged back 
into GNOME. 

  Additionally:

  ```
  user@myLaptop:~$ lspci
  00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Root 
Complex
  00:01.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 
00h-1fh) PCIe Dummy Host Bridge
  00:01.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 PCIe GPP 
Bridge [6:0]
  00:01.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 PCIe GPP 
Bridge [6:0]
  00:01.6 PCI bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 PCIe GPP 
Bridge [6:0]
  00:01.7 PCI bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 PCIe GPP 
Bridge [6:0]
  00:08.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 
00h-1fh) PCIe Dummy Host Bridge
  00:08.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Internal 
PCIe GPP Bridge 0 to Bus A
  00:08.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Internal 
PCIe GPP Bridge 0 to Bus B
  00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 
61)
  00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 51)
  00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 
24: Function 0
  00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 
24: Function 1
  00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 
24: Function 2
  00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 
24: Function 3
  00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 
24: Function 4
  00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 
24: Function 5
  00:18.6 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 
24: Function 6
  00:18.7 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 
24: Function 7
  01:00.0 3D controller: NVIDIA Corporation TU117M [GeForce GTX 1650 Mobile / 
Max-Q] (rev a1)
  02:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd NVMe SSD 
Controller SM981/PM981/PM983
  03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. 
RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 25)
  04:00.0 Network controller: Qualcomm Atheros QCA6174 802.11ac Wireless 
Network Adapter (rev 32)
  05:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] 
Picasso (rev c2)
  05:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] 
Raven/Raven2/Fenghuang HDMI/DP Audio Controller
  05:00.2 Encryption controller: Advanced Micro Devices, Inc. [AMD] Family 17h 
(Models 10h-1fh) Platform Security Processor
  05:00.3 USB controller: Advanced Micro Devices, Inc. [AMD] Raven USB 3.1
  05:00.4 USB controller: Advanced Micro Devices, Inc. [AMD] Raven USB 3.1
  05:00.6 Audio device: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 
10h-1fh) HD Audio Controller
  06:00.0 SATA controller: Advanced Micro Devices, Inc. [AMD] FCH SATA 
Controller [AHCI mode] (rev 61)
  ```

  ```
  user@myLaptop:~$ cat /proc/acpi/wakeup
  DeviceS-state   Status   Sysfs node
  GPP0S4*enabled   pci::00:01.1
  GPP1S4*enabled   pci::00:01.2
  GPP2S4*disabled
  GPP3S4*disabled
  GPP4S4*disabled
  GPP5S4*enabled   pci::00:01.6
  GP17S4*enabled   pci::00:08.1
  XHC0S4*enabled   pci::05:00.3
  XHC1S4*enabled   pci::05:00.4
  GP18S4*enabled   pci::00:08.2
  ```

  
  

  Not sure if related, but the bug appeared some time after I installed
  some packages for CUDA support following these instructions:
  

[Kernel-packages] [Bug 1953235] Re: systemctl suspend stopped working: laptop immeadeately wakes up again

2021-12-06 Thread Ufos92
Sorta solved it.

So, after all the above shenanigans `sudo pm-suspend` finally started
working from GNOME.

So I went after `systemctl suspend`.

`journalctl -b | grep suspend`

was throwing a bunch of 
```
 Could not acquire inhibitor lock: 
GDBus.Error:org.freedesktop.DBus.Error.NoReply: Message recipient disconnected 
```

which is very helpful to debug what the issue is /s

Luckily, someone here already managed to debug it: https://www.mail-
archive.com/ubuntu-b...@lists.ubuntu.com/msg5950676.html

`/etc/systemd/system/systemd-suspend.service.requires/` had nvidia left-overs. 
After deleting them
`sudo rm -rf /etc/systemd/system/systemd-suspend.service.requires/` my 
`systemctl suspend` now works. 


Always remember, kids: https://www.youtube.com/watch?v=_36yNWw_07g

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-signed-hwe-5.11 in Ubuntu.
https://bugs.launchpad.net/bugs/1953235

Title:
  systemctl suspend stopped working: laptop immeadeately wakes up again

Status in linux-signed-hwe-5.11 package in Ubuntu:
  New

Bug description:
  I always suspend my laptop using `systemctl suspend`. It worked for a
  year as expected until today.

  Buggy Behavior: after `systemctl suspend` the seemingly usual suspend
  happens, however the laptop wakes up immediately. Things get more
  weird from here, as I need to input my password twice to get back into
  GNOME.

  Troubleshooting I did:
  1. apt update && apt dist-upgrade 
  2. Disabled nvidia-suspend.service, nvidia-persistenced.service, 
nvidia-resume.service
  3. Booted with an earlier kernel version where it used to work: `5.11.0-40`, 
`5.11.0-38`
  3. Detached all devices, and the power cable
  4. Rebooted into a separate user that has no tweaks, gnome-extensions etc
  5. The issue persists -- I attached relevant parts of `journalctl`: from the 
time when I used `systemctl suspend` till a minute or so after I logged back 
into GNOME. 

  Additionally:

  ```
  user@myLaptop:~$ lspci
  00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Root 
Complex
  00:01.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 
00h-1fh) PCIe Dummy Host Bridge
  00:01.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 PCIe GPP 
Bridge [6:0]
  00:01.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 PCIe GPP 
Bridge [6:0]
  00:01.6 PCI bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 PCIe GPP 
Bridge [6:0]
  00:01.7 PCI bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 PCIe GPP 
Bridge [6:0]
  00:08.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 
00h-1fh) PCIe Dummy Host Bridge
  00:08.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Internal 
PCIe GPP Bridge 0 to Bus A
  00:08.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Internal 
PCIe GPP Bridge 0 to Bus B
  00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 
61)
  00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 51)
  00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 
24: Function 0
  00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 
24: Function 1
  00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 
24: Function 2
  00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 
24: Function 3
  00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 
24: Function 4
  00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 
24: Function 5
  00:18.6 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 
24: Function 6
  00:18.7 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 
24: Function 7
  01:00.0 3D controller: NVIDIA Corporation TU117M [GeForce GTX 1650 Mobile / 
Max-Q] (rev a1)
  02:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd NVMe SSD 
Controller SM981/PM981/PM983
  03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. 
RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 25)
  04:00.0 Network controller: Qualcomm Atheros QCA6174 802.11ac Wireless 
Network Adapter (rev 32)
  05:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] 
Picasso (rev c2)
  05:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] 
Raven/Raven2/Fenghuang HDMI/DP Audio Controller
  05:00.2 Encryption controller: Advanced Micro Devices, Inc. [AMD] Family 17h 
(Models 10h-1fh) Platform Security Processor
  05:00.3 USB controller: Advanced Micro Devices, Inc. [AMD] Raven USB 3.1
  05:00.4 USB controller: Advanced Micro Devices, Inc. [AMD] Raven USB 3.1
  05:00.6 Audio device: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 
10h-1fh) HD Audio Controller
  06:00.0 SATA controller: Advanced Micro Devices, Inc. [AMD] FCH SATA 
Controller [AHCI mode] (rev 61)
  ```

  ```
  user@myLaptop:~$ 

[Kernel-packages] [Bug 1953235] Re: systemctl suspend stopped working: laptop immeadeately wakes up again

2021-12-06 Thread Ufos92
Downgraded using bazooka method.

```shell
sudo apt install linux-generic
sudo apt purge '.*-hwe-.*'
dpkg -l | grep -i 5.11.0- | awk '{print $2}' | xargs -n1 sudo apt purge -y
sudo apt autoremove
```

Didn't help.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-signed-hwe-5.11 in Ubuntu.
https://bugs.launchpad.net/bugs/1953235

Title:
  systemctl suspend stopped working: laptop immeadeately wakes up again

Status in linux-signed-hwe-5.11 package in Ubuntu:
  New

Bug description:
  I always suspend my laptop using `systemctl suspend`. It worked for a
  year as expected until today.

  Buggy Behavior: after `systemctl suspend` the seemingly usual suspend
  happens, however the laptop wakes up immediately. Things get more
  weird from here, as I need to input my password twice to get back into
  GNOME.

  Troubleshooting I did:
  1. apt update && apt dist-upgrade 
  2. Disabled nvidia-suspend.service, nvidia-persistenced.service, 
nvidia-resume.service
  3. Booted with an earlier kernel version where it used to work: `5.11.0-40`, 
`5.11.0-38`
  3. Detached all devices, and the power cable
  4. Rebooted into a separate user that has no tweaks, gnome-extensions etc
  5. The issue persists -- I attached relevant parts of `journalctl`: from the 
time when I used `systemctl suspend` till a minute or so after I logged back 
into GNOME. 

  Additionally:

  ```
  user@myLaptop:~$ lspci
  00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Root 
Complex
  00:01.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 
00h-1fh) PCIe Dummy Host Bridge
  00:01.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 PCIe GPP 
Bridge [6:0]
  00:01.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 PCIe GPP 
Bridge [6:0]
  00:01.6 PCI bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 PCIe GPP 
Bridge [6:0]
  00:01.7 PCI bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 PCIe GPP 
Bridge [6:0]
  00:08.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 
00h-1fh) PCIe Dummy Host Bridge
  00:08.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Internal 
PCIe GPP Bridge 0 to Bus A
  00:08.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Internal 
PCIe GPP Bridge 0 to Bus B
  00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 
61)
  00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 51)
  00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 
24: Function 0
  00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 
24: Function 1
  00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 
24: Function 2
  00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 
24: Function 3
  00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 
24: Function 4
  00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 
24: Function 5
  00:18.6 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 
24: Function 6
  00:18.7 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 
24: Function 7
  01:00.0 3D controller: NVIDIA Corporation TU117M [GeForce GTX 1650 Mobile / 
Max-Q] (rev a1)
  02:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd NVMe SSD 
Controller SM981/PM981/PM983
  03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. 
RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 25)
  04:00.0 Network controller: Qualcomm Atheros QCA6174 802.11ac Wireless 
Network Adapter (rev 32)
  05:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] 
Picasso (rev c2)
  05:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] 
Raven/Raven2/Fenghuang HDMI/DP Audio Controller
  05:00.2 Encryption controller: Advanced Micro Devices, Inc. [AMD] Family 17h 
(Models 10h-1fh) Platform Security Processor
  05:00.3 USB controller: Advanced Micro Devices, Inc. [AMD] Raven USB 3.1
  05:00.4 USB controller: Advanced Micro Devices, Inc. [AMD] Raven USB 3.1
  05:00.6 Audio device: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 
10h-1fh) HD Audio Controller
  06:00.0 SATA controller: Advanced Micro Devices, Inc. [AMD] FCH SATA 
Controller [AHCI mode] (rev 61)
  ```

  ```
  user@myLaptop:~$ cat /proc/acpi/wakeup
  DeviceS-state   Status   Sysfs node
  GPP0S4*enabled   pci::00:01.1
  GPP1S4*enabled   pci::00:01.2
  GPP2S4*disabled
  GPP3S4*disabled
  GPP4S4*disabled
  GPP5S4*enabled   pci::00:01.6
  GP17S4*enabled   pci::00:08.1
  XHC0S4*enabled   pci::05:00.3
  XHC1S4*enabled   pci::05:00.4
  GP18S4*enabled   pci::00:08.2
  ```

  
  

  Not sure if related, but the bug appeared some time after I installed
  some packages for 

[Kernel-packages] [Bug 1953235] Re: systemctl suspend stopped working: laptop immeadeately wakes up again

2021-12-06 Thread Ufos92
Decided to get rid of nvidia just in case. Didn't help.

```shell
sudo apt remove --purge '.*nvidia.*'
sudo apt reinstall --install-recommends linux-generic-hwe-20.04
```

---

> `linux-generic-hwe-20.04` this thing being rolling is really not
helpful. Can't even downgrade.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-signed-hwe-5.11 in Ubuntu.
https://bugs.launchpad.net/bugs/1953235

Title:
  systemctl suspend stopped working: laptop immeadeately wakes up again

Status in linux-signed-hwe-5.11 package in Ubuntu:
  New

Bug description:
  I always suspend my laptop using `systemctl suspend`. It worked for a
  year as expected until today.

  Buggy Behavior: after `systemctl suspend` the seemingly usual suspend
  happens, however the laptop wakes up immediately. Things get more
  weird from here, as I need to input my password twice to get back into
  GNOME.

  Troubleshooting I did:
  1. apt update && apt dist-upgrade 
  2. Disabled nvidia-suspend.service, nvidia-persistenced.service, 
nvidia-resume.service
  3. Booted with an earlier kernel version where it used to work: `5.11.0-40`, 
`5.11.0-38`
  3. Detached all devices, and the power cable
  4. Rebooted into a separate user that has no tweaks, gnome-extensions etc
  5. The issue persists -- I attached relevant parts of `journalctl`: from the 
time when I used `systemctl suspend` till a minute or so after I logged back 
into GNOME. 

  Additionally:

  ```
  user@myLaptop:~$ lspci
  00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Root 
Complex
  00:01.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 
00h-1fh) PCIe Dummy Host Bridge
  00:01.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 PCIe GPP 
Bridge [6:0]
  00:01.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 PCIe GPP 
Bridge [6:0]
  00:01.6 PCI bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 PCIe GPP 
Bridge [6:0]
  00:01.7 PCI bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 PCIe GPP 
Bridge [6:0]
  00:08.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 
00h-1fh) PCIe Dummy Host Bridge
  00:08.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Internal 
PCIe GPP Bridge 0 to Bus A
  00:08.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Internal 
PCIe GPP Bridge 0 to Bus B
  00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 
61)
  00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 51)
  00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 
24: Function 0
  00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 
24: Function 1
  00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 
24: Function 2
  00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 
24: Function 3
  00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 
24: Function 4
  00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 
24: Function 5
  00:18.6 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 
24: Function 6
  00:18.7 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 
24: Function 7
  01:00.0 3D controller: NVIDIA Corporation TU117M [GeForce GTX 1650 Mobile / 
Max-Q] (rev a1)
  02:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd NVMe SSD 
Controller SM981/PM981/PM983
  03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. 
RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 25)
  04:00.0 Network controller: Qualcomm Atheros QCA6174 802.11ac Wireless 
Network Adapter (rev 32)
  05:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] 
Picasso (rev c2)
  05:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] 
Raven/Raven2/Fenghuang HDMI/DP Audio Controller
  05:00.2 Encryption controller: Advanced Micro Devices, Inc. [AMD] Family 17h 
(Models 10h-1fh) Platform Security Processor
  05:00.3 USB controller: Advanced Micro Devices, Inc. [AMD] Raven USB 3.1
  05:00.4 USB controller: Advanced Micro Devices, Inc. [AMD] Raven USB 3.1
  05:00.6 Audio device: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 
10h-1fh) HD Audio Controller
  06:00.0 SATA controller: Advanced Micro Devices, Inc. [AMD] FCH SATA 
Controller [AHCI mode] (rev 61)
  ```

  ```
  user@myLaptop:~$ cat /proc/acpi/wakeup
  DeviceS-state   Status   Sysfs node
  GPP0S4*enabled   pci::00:01.1
  GPP1S4*enabled   pci::00:01.2
  GPP2S4*disabled
  GPP3S4*disabled
  GPP4S4*disabled
  GPP5S4*enabled   pci::00:01.6
  GP17S4*enabled   pci::00:08.1
  XHC0S4*enabled   pci::05:00.3
  XHC1S4*enabled   pci::05:00.4
  GP18S4*enabled   pci::00:08.2
  ```

  
  

  Not sure if related, but the bug 

[Kernel-packages] [Bug 1850654] Re: update-initramfs complains of missing amdgpu firmware files

2021-02-24 Thread Ufos92
This bug stills persists!
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1873325

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-firmware in Ubuntu.
https://bugs.launchpad.net/bugs/1850654

Title:
  update-initramfs complains of missing amdgpu firmware files

Status in linux package in Ubuntu:
  Confirmed
Status in linux-firmware package in Ubuntu:
  Fix Released
Status in linux source package in Bionic:
  Invalid
Status in linux-firmware source package in Bionic:
  Fix Released
Status in linux source package in Eoan:
  Confirmed
Status in linux-firmware source package in Eoan:
  Fix Released

Bug description:
  SRU Justification

  Impact: With 5.3 update-initramfs reports several missing amdgpu
  firmware files:

  update-initramfs: Generating /boot/initrd.img-5.3.0-19-generic
  W: Possible missing firmware /lib/firmware/amdgpu/vega20_ta.bin for module 
amdgpu
  W: Possible missing firmware /lib/firmware/amdgpu/raven_kicker_rlc.bin for 
module amdgpu
  W: Possible missing firmware /lib/firmware/amdgpu/navi10_mes.bin for module 
amdgpu

  Of these, only raven_kicker_rlc.bin has been added to upstream linux-
  firmware.

  Fix: Add raven_kicker_rlc.bin to linux firmware, and remove the other
  files from modinfo for amdgpu.

  Test Case: Once fixed, the warnings from update-initramfs should be
  gone.

  Regression Potential: Adding a missing firmware is unlikely to break
  any working hardware. Removing the other missing files from modinfo
  will not cause regressions either, however if the firmware is added
  later update-initramfs will not add the files to the initramfs until
  the firmware is added back to modinfo.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1850654/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1873325] Re: update-initramfs complains of missing amdgpu firmware files

2021-02-24 Thread Ufos92
Still affects me!

```
$ uname -v
#49~20.04.1-Ubuntu SMP Fri Feb 5 09:57:56 UTC 2021
```

```
$ uname -r
5.8.0-43-generic
```

```
$ sudo lshw -c CPU
  *-cpu 
   description: CPU
   product: AMD Ryzen 5 3550H with Radeon Vega Mobile Gfx
```


While `apt dist-upgrade` to the version above, I got tonns of `W: Possible 
missing firmware /lib/firmware/amdgpu/navi`. I thought something got broken!

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1873325

Title:
  update-initramfs complains of missing amdgpu firmware files

Status in linux package in Ubuntu:
  Fix Released
Status in linux source package in Focal:
  Fix Released

Bug description:
  SRU Justification

  Impact: amdgpu references firmware files in modinfo which have not
  been supplied to linux-firmware. This causes update-initramfs to
  generate "Possible missing firmware" warnings.

  Fix: Since the firmware is not available, all we can do is remove the
  files from modinfo.

  Test Case: Confirm that update-initramfs no longer produces the
  warnings.

  Regression Potential: Low. If someone had managed to obtain these
  files they will no longer be added to the initramfs, potentially
  causing regressions for these users. This would be an atypical
  situation.

  ---

  Ubuntu 20.04 during initramfs update reports missing firmware files:
  W: Possible missing firmware /lib/firmware/amdgpu/navi12_vcn.bin for module 
amdgpu
  W: Possible missing firmware /lib/firmware/amdgpu/arcturus_vcn.bin for module 
amdgpu
  W: Possible missing firmware /lib/firmware/amdgpu/navi12_smc.bin for module 
amdgpu
  W: Possible missing firmware /lib/firmware/amdgpu/arcturus_smc.bin for module 
amdgpu

  Kernel: 5.4.0-24-generic
  linux-firmware: 1.187

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1873325/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1785964] Re: Unable to unlock the desktop session: systemd-logind: got pause for 13:69

2019-05-20 Thread Ufos92
`sudo mv /etc/X11/xorg.conf /etc/X11/xorg.conf.bckp`
`sudo apt install nvidia-driver-` (check in GUI "Additional Drivers", 
mine is `430`)
everything works. Even the screen layout wasn't broken. 

Thx to Dmitrii!

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1785964

Title:
  Unable to unlock the desktop session: systemd-logind: got pause for
  13:69

Status in linux package in Ubuntu:
  Incomplete
Status in xorg-server package in Ubuntu:
  Confirmed

Bug description:
  When this issue happens, you won't be able to unlock your desktop session (VT 
works fine).
  This happened twice today for me, one is after a suspend, one is just a 
screen lock. Not sure what is the trigger yet.

  Syndrome:
  On the login screen after typing the correct password, you will see a small 
circle keep spinning and that's it. I need to restart my computer to get it 
back to normal.

  
  In the syslog this error message looks fishy:
  Aug  8 10:44:57 Leggiero gnome-shell[2118]: g_array_unref: assertion 'array' 
failed

  
  This is part of the syslog fetching from a VT after a GUI unlock attempt 
(session 24 is the desktop login attempt):

  Aug  8 10:44:42 Leggiero systemd[1]: Started Session 24 of user sam.
  Aug  8 10:44:55 Leggiero /usr/lib/gdm3/gdm-x-session[1977]: (II) 
systemd-logind: got resume for 226:0
  Aug  8 10:44:55 Leggiero /usr/lib/gdm3/gdm-x-session[1977]: (II) AIGLX: 
Resuming AIGLX clients after VT switch
  Aug  8 10:44:55 Leggiero /usr/lib/gdm3/gdm-x-session[1977]: (II) modeset(0): 
EDID vendor "AUO", prod id 4204
  Aug  8 10:44:55 Leggiero /usr/lib/gdm3/gdm-x-session[1977]: (II) modeset(0): 
Printing DDC gathered Modelines:
  Aug  8 10:44:55 Leggiero /usr/lib/gdm3/gdm-x-session[1977]: (II) modeset(0): 
Modeline "1366x768"x0.0   76.20  1366 1404 1426 1590  768 771 777 798 +hsync 
-vsync (47.9 kHz eP)
  Aug  8 10:44:55 Leggiero /usr/lib/gdm3/gdm-x-session[1977]: (II) modeset(0): 
Modeline "1366x768"x0.0   76.20  1366 1404 1426 1988  768 771 777 798 +hsync 
-vsync (38.3 kHz e)
  Aug  8 10:44:55 Leggiero /usr/lib/gdm3/gdm-x-session[1977]: (II) 
systemd-logind: got resume for 13:78
  Aug  8 10:44:55 Leggiero /usr/lib/gdm3/gdm-x-session[1977]: (II) event14 - 
Dell WMI hotkeys: is tagged by udev as: Keyboard
  Aug  8 10:44:55 Leggiero /usr/lib/gdm3/gdm-x-session[1977]: (II) event14 - 
Dell WMI hotkeys: device is a keyboard
  Aug  8 10:44:55 Leggiero /usr/lib/gdm3/gdm-x-session[1977]: (II) 
systemd-logind: got resume for 13:66
  Aug  8 10:44:55 Leggiero /usr/lib/gdm3/gdm-x-session[1977]: (II) event2  - 
Sleep Button: is tagged by udev as: Keyboard
  Aug  8 10:44:55 Leggiero /usr/lib/gdm3/gdm-x-session[1977]: (II) event2  - 
Sleep Button: device is a keyboard
  Aug  8 10:44:55 Leggiero /usr/lib/gdm3/gdm-x-session[1977]: (II) 
systemd-logind: got resume for 13:79
  Aug  8 10:44:55 Leggiero /usr/lib/gdm3/gdm-x-session[1977]: (II) event15 - 
Integrated_Webcam_HD: Integrate: is tagged by udev as: Keyboard
  Aug  8 10:44:55 Leggiero /usr/lib/gdm3/gdm-x-session[1977]: (II) event15 - 
Integrated_Webcam_HD: Integrate: device is a keyboard
  Aug  8 10:44:55 Leggiero /usr/lib/gdm3/gdm-x-session[1977]: (II) 
systemd-logind: got resume for 13:68
  Aug  8 10:44:55 Leggiero /usr/lib/gdm3/gdm-x-session[1977]: (II) event4  - AT 
Translated Set 2 keyboard: is tagged by udev as: Keyboard
  Aug  8 10:44:55 Leggiero /usr/lib/gdm3/gdm-x-session[1977]: (II) event4  - AT 
Translated Set 2 keyboard: device is a keyboard
  Aug  8 10:44:55 Leggiero /usr/lib/gdm3/gdm-x-session[1977]: (II) 
systemd-logind: got resume for 13:67
  Aug  8 10:44:55 Leggiero /usr/lib/gdm3/gdm-x-session[1977]: (II) event3  - 
Power Button: is tagged by udev as: Keyboard
  Aug  8 10:44:55 Leggiero /usr/lib/gdm3/gdm-x-session[1977]: (II) event3  - 
Power Button: device is a keyboard
  Aug  8 10:44:55 Leggiero /usr/lib/gdm3/gdm-x-session[1977]: (II) 
systemd-logind: got resume for 13:71
  Aug  8 10:44:55 Leggiero /usr/lib/gdm3/gdm-x-session[1977]: (II) event7  - 
AlpsPS/2 ALPS GlidePoint: is tagged by udev as: Touchpad
  Aug  8 10:44:55 Leggiero /usr/lib/gdm3/gdm-x-session[1977]: (II) event7  - 
AlpsPS/2 ALPS GlidePoint: device is a touchpad
  Aug  8 10:44:55 Leggiero /usr/lib/gdm3/gdm-x-session[1977]: (II) 
systemd-logind: got resume for 13:72
  Aug  8 10:44:55 Leggiero /usr/lib/gdm3/gdm-x-session[1977]: (II) event8  - 
DELL Wireless hotkeys: is tagged by udev as: Keyboard
  Aug  8 10:44:55 Leggiero /usr/lib/gdm3/gdm-x-session[1977]: (II) event8  - 
DELL Wireless hotkeys: device is a keyboard
  Aug  8 10:44:55 Leggiero /usr/lib/gdm3/gdm-x-session[1977]: (II) libinput: 
PixArt Microsoft USB Optical Mouse: SetProperty on 286 called but device is 
disabled.
  Aug  8 10:44:55 Leggiero /usr/lib/gdm3/gdm-x-session[1977]: This driver 
cannot change properties on a disabled device
  Aug  8 10:44:55 Leggiero /usr/lib/gdm3/gdm-x-session[1977]: (II) 
systemd-logind: 

[Kernel-packages] [Bug 1785964] Re: Unable to unlock the desktop session: systemd-logind: got pause for 13:69

2019-05-20 Thread Ufos92
Dell Precision 5520 freeze cuz of Nvidia confirmed. 
`sudo apt purge 'nvidia*'` solved it. Let's see what happens after I install it 
again.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1785964

Title:
  Unable to unlock the desktop session: systemd-logind: got pause for
  13:69

Status in linux package in Ubuntu:
  Incomplete
Status in xorg-server package in Ubuntu:
  Confirmed

Bug description:
  When this issue happens, you won't be able to unlock your desktop session (VT 
works fine).
  This happened twice today for me, one is after a suspend, one is just a 
screen lock. Not sure what is the trigger yet.

  Syndrome:
  On the login screen after typing the correct password, you will see a small 
circle keep spinning and that's it. I need to restart my computer to get it 
back to normal.

  
  In the syslog this error message looks fishy:
  Aug  8 10:44:57 Leggiero gnome-shell[2118]: g_array_unref: assertion 'array' 
failed

  
  This is part of the syslog fetching from a VT after a GUI unlock attempt 
(session 24 is the desktop login attempt):

  Aug  8 10:44:42 Leggiero systemd[1]: Started Session 24 of user sam.
  Aug  8 10:44:55 Leggiero /usr/lib/gdm3/gdm-x-session[1977]: (II) 
systemd-logind: got resume for 226:0
  Aug  8 10:44:55 Leggiero /usr/lib/gdm3/gdm-x-session[1977]: (II) AIGLX: 
Resuming AIGLX clients after VT switch
  Aug  8 10:44:55 Leggiero /usr/lib/gdm3/gdm-x-session[1977]: (II) modeset(0): 
EDID vendor "AUO", prod id 4204
  Aug  8 10:44:55 Leggiero /usr/lib/gdm3/gdm-x-session[1977]: (II) modeset(0): 
Printing DDC gathered Modelines:
  Aug  8 10:44:55 Leggiero /usr/lib/gdm3/gdm-x-session[1977]: (II) modeset(0): 
Modeline "1366x768"x0.0   76.20  1366 1404 1426 1590  768 771 777 798 +hsync 
-vsync (47.9 kHz eP)
  Aug  8 10:44:55 Leggiero /usr/lib/gdm3/gdm-x-session[1977]: (II) modeset(0): 
Modeline "1366x768"x0.0   76.20  1366 1404 1426 1988  768 771 777 798 +hsync 
-vsync (38.3 kHz e)
  Aug  8 10:44:55 Leggiero /usr/lib/gdm3/gdm-x-session[1977]: (II) 
systemd-logind: got resume for 13:78
  Aug  8 10:44:55 Leggiero /usr/lib/gdm3/gdm-x-session[1977]: (II) event14 - 
Dell WMI hotkeys: is tagged by udev as: Keyboard
  Aug  8 10:44:55 Leggiero /usr/lib/gdm3/gdm-x-session[1977]: (II) event14 - 
Dell WMI hotkeys: device is a keyboard
  Aug  8 10:44:55 Leggiero /usr/lib/gdm3/gdm-x-session[1977]: (II) 
systemd-logind: got resume for 13:66
  Aug  8 10:44:55 Leggiero /usr/lib/gdm3/gdm-x-session[1977]: (II) event2  - 
Sleep Button: is tagged by udev as: Keyboard
  Aug  8 10:44:55 Leggiero /usr/lib/gdm3/gdm-x-session[1977]: (II) event2  - 
Sleep Button: device is a keyboard
  Aug  8 10:44:55 Leggiero /usr/lib/gdm3/gdm-x-session[1977]: (II) 
systemd-logind: got resume for 13:79
  Aug  8 10:44:55 Leggiero /usr/lib/gdm3/gdm-x-session[1977]: (II) event15 - 
Integrated_Webcam_HD: Integrate: is tagged by udev as: Keyboard
  Aug  8 10:44:55 Leggiero /usr/lib/gdm3/gdm-x-session[1977]: (II) event15 - 
Integrated_Webcam_HD: Integrate: device is a keyboard
  Aug  8 10:44:55 Leggiero /usr/lib/gdm3/gdm-x-session[1977]: (II) 
systemd-logind: got resume for 13:68
  Aug  8 10:44:55 Leggiero /usr/lib/gdm3/gdm-x-session[1977]: (II) event4  - AT 
Translated Set 2 keyboard: is tagged by udev as: Keyboard
  Aug  8 10:44:55 Leggiero /usr/lib/gdm3/gdm-x-session[1977]: (II) event4  - AT 
Translated Set 2 keyboard: device is a keyboard
  Aug  8 10:44:55 Leggiero /usr/lib/gdm3/gdm-x-session[1977]: (II) 
systemd-logind: got resume for 13:67
  Aug  8 10:44:55 Leggiero /usr/lib/gdm3/gdm-x-session[1977]: (II) event3  - 
Power Button: is tagged by udev as: Keyboard
  Aug  8 10:44:55 Leggiero /usr/lib/gdm3/gdm-x-session[1977]: (II) event3  - 
Power Button: device is a keyboard
  Aug  8 10:44:55 Leggiero /usr/lib/gdm3/gdm-x-session[1977]: (II) 
systemd-logind: got resume for 13:71
  Aug  8 10:44:55 Leggiero /usr/lib/gdm3/gdm-x-session[1977]: (II) event7  - 
AlpsPS/2 ALPS GlidePoint: is tagged by udev as: Touchpad
  Aug  8 10:44:55 Leggiero /usr/lib/gdm3/gdm-x-session[1977]: (II) event7  - 
AlpsPS/2 ALPS GlidePoint: device is a touchpad
  Aug  8 10:44:55 Leggiero /usr/lib/gdm3/gdm-x-session[1977]: (II) 
systemd-logind: got resume for 13:72
  Aug  8 10:44:55 Leggiero /usr/lib/gdm3/gdm-x-session[1977]: (II) event8  - 
DELL Wireless hotkeys: is tagged by udev as: Keyboard
  Aug  8 10:44:55 Leggiero /usr/lib/gdm3/gdm-x-session[1977]: (II) event8  - 
DELL Wireless hotkeys: device is a keyboard
  Aug  8 10:44:55 Leggiero /usr/lib/gdm3/gdm-x-session[1977]: (II) libinput: 
PixArt Microsoft USB Optical Mouse: SetProperty on 286 called but device is 
disabled.
  Aug  8 10:44:55 Leggiero /usr/lib/gdm3/gdm-x-session[1977]: This driver 
cannot change properties on a disabled device
  Aug  8 10:44:55 Leggiero /usr/lib/gdm3/gdm-x-session[1977]: (II) 
systemd-logind: got resume for 13:65
  Aug  8 10:44:55 Leggiero 

[Kernel-packages] [Bug 1757008] Re: Broadcom wireless drivers failed to build [error: implicit declaration of function ‘init_timer’]

2018-07-24 Thread Ufos92
WORKAROUND: https://askubuntu.com/a/1052418/308869

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to bcmwl in Ubuntu.
https://bugs.launchpad.net/bugs/1757008

Title:
  Broadcom wireless drivers failed to build [error: implicit declaration
  of function ‘init_timer’]

Status in Broadcom 802.11 Linux STA driver:
  New
Status in bcmwl package in Ubuntu:
  Confirmed
Status in broadcom-sta package in Ubuntu:
  Confirmed

Bug description:
  The module fails to build, as it is missing the necessary patches for
  the latest HWE kernel.

  /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/wl/sys/wl_linux.c: In 
function ‘wl_init_timer’:
  /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/wl/sys/wl_linux.c:2359:2: 
error: implicit declaration of function ‘init_timer’ 
[-Werror=implicit-function-declaration]
init_timer(>timer);
^

  ProblemType: Package
  DistroRelease: Ubuntu 16.04
  Package: bcmwl-kernel-source 6.30.223.271+bdcom-0ubuntu1~1.2
  ProcVersionSignature: Ubuntu 4.13.0-36.40~16.04.1-generic 4.13.13
  Uname: Linux 4.13.0-36-generic x86_64
  NonfreeKernelModules: wl
  ApportVersion: 2.20.1-0ubuntu2.15
  Architecture: amd64
  DKMSKernelVersion: 4.15.0-13-generic
  Date: Mon Mar 19 15:02:46 2018
  DuplicateSignature: 
dkms:bcmwl-kernel-source:6.30.223.271+bdcom-0ubuntu1~1.2:/var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/wl/sys/wl_linux.c:2359:2:
 error: implicit declaration of function ‘init_timer’ 
[-Werror=implicit-function-declaration]
  InstallationDate: Installed on 2017-06-05 (287 days ago)
  InstallationMedia: Ubuntu 16.04.2 LTS "Xenial Xerus" - Release amd64 
(20170215.2)
  PackageVersion: 6.30.223.271+bdcom-0ubuntu1~1.2
  RelatedPackageVersions:
   dpkg 1.18.4ubuntu1.4
   apt  1.2.26
  SourcePackage: bcmwl
  Title: bcmwl-kernel-source 6.30.223.271+bdcom-0ubuntu1~1.2: bcmwl kernel 
module failed to build
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/broadcom-sta/+bug/1757008/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1757008] Re: Broadcom wireless drivers failed to build [error: implicit declaration of function ‘init_timer’]

2018-07-18 Thread Ufos92
WORKAROUND: https://askubuntu.com/a/1052418/308869

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to bcmwl in Ubuntu.
https://bugs.launchpad.net/bugs/1757008

Title:
  Broadcom wireless drivers failed to build [error: implicit declaration
  of function ‘init_timer’]

Status in Broadcom 802.11 Linux STA driver:
  New
Status in bcmwl package in Ubuntu:
  Confirmed
Status in broadcom-sta package in Ubuntu:
  Confirmed

Bug description:
  The module fails to build, as it is missing the necessary patches for
  the latest HWE kernel.

  /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/wl/sys/wl_linux.c: In 
function ‘wl_init_timer’:
  /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/wl/sys/wl_linux.c:2359:2: 
error: implicit declaration of function ‘init_timer’ 
[-Werror=implicit-function-declaration]
init_timer(>timer);
^

  ProblemType: Package
  DistroRelease: Ubuntu 16.04
  Package: bcmwl-kernel-source 6.30.223.271+bdcom-0ubuntu1~1.2
  ProcVersionSignature: Ubuntu 4.13.0-36.40~16.04.1-generic 4.13.13
  Uname: Linux 4.13.0-36-generic x86_64
  NonfreeKernelModules: wl
  ApportVersion: 2.20.1-0ubuntu2.15
  Architecture: amd64
  DKMSKernelVersion: 4.15.0-13-generic
  Date: Mon Mar 19 15:02:46 2018
  DuplicateSignature: 
dkms:bcmwl-kernel-source:6.30.223.271+bdcom-0ubuntu1~1.2:/var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/wl/sys/wl_linux.c:2359:2:
 error: implicit declaration of function ‘init_timer’ 
[-Werror=implicit-function-declaration]
  InstallationDate: Installed on 2017-06-05 (287 days ago)
  InstallationMedia: Ubuntu 16.04.2 LTS "Xenial Xerus" - Release amd64 
(20170215.2)
  PackageVersion: 6.30.223.271+bdcom-0ubuntu1~1.2
  RelatedPackageVersions:
   dpkg 1.18.4ubuntu1.4
   apt  1.2.26
  SourcePackage: bcmwl
  Title: bcmwl-kernel-source 6.30.223.271+bdcom-0ubuntu1~1.2: bcmwl kernel 
module failed to build
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/broadcom-sta/+bug/1757008/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1509556] Re: Kubuntu Wily upgrade screen glitch with 4.2 kernel

2016-05-19 Thread Ufos92
got this bug on xubuntu 14.04.03 with the recent update. The WORKAROUND

--
Edit (or create) as root or sudo a file named /etc/X11/xorg.conf as follows 
(there should be a tab before each line except the first and the last):

Section "Device"
Identifier "Intel Graphics"
Driver "intel"
Option "AccelMethod" "uxa"
EndSection
--

seems to be working, even though it reset my screen resolution, and I
had to fix it manually.

Can we please change the status or open a new bug?

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1509556

Title:
  Kubuntu Wily upgrade screen glitch with  4.2 kernel

Status in linux package in Ubuntu:
  Expired

Bug description:
  On  recent  update   from  15.04   to  15.10, the new  4.2  kernel  is  
associated   withgraphics  instability after  a  few  seconds of   GUI  use 
  with  mouse   and   keyboard making  the  GUI  unusable.  See  another  
person's  same  experience   with  intel   graphics   here:  
  askubuntu.com/questions/688649/kubuntu-wily-upgrade-screen-glitch

  Downgrading  to the  last   15.04kernel   solves  my  issue.
   
  See  result  of   ubuntu-bug linux   from  the  terminal attached.
  --- 
  ApportVersion: 2.19.1-0ubuntu3
  Architecture: i386
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC0:  bryan  2415 F pulseaudio
  CurrentDesktop: LXDE
  DistroRelease: Ubuntu 15.10
  HibernationDevice: RESUME=UUID=29d7b701-8e5f-4cd6-8cfb-be150e1ea27f
  InstallationDate: Installed on 2012-09-26 (1122 days ago)
  InstallationMedia: Lubuntu 12.04 "Precise Pangolin" - Release i386 (20120423)
  IwConfig:
   lono wireless extensions.
   
   eth0  no wireless extensions.
  MachineType: Dell Inc. OptiPlex GX280
  Package: linux (not installed)
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.2.0-16-generic 
root=UUID=5658fec6-3afb-4e3e-b668-812316cc9ca6 ro quiet splash
  ProcVersionSignature: Ubuntu 4.2.0-16.19-generic 4.2.3
  RelatedPackageVersions:
   linux-restricted-modules-4.2.0-16-generic N/A
   linux-backports-modules-4.2.0-16-generic  N/A
   linux-firmware1.149
  RfKill:
   
  Tags:  wily
  Uname: Linux 4.2.0-16-generic i686
  UpgradeStatus: Upgraded to wily on 2015-10-23 (0 days ago)
  UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
  _MarkForUpload: True
  dmi.bios.date: 11/29/2005
  dmi.bios.vendor: Dell Inc.
  dmi.bios.version: A07
  dmi.board.name: 0FG113
  dmi.board.vendor: Dell Inc.
  dmi.chassis.type: 15
  dmi.chassis.vendor: Dell Inc.
  dmi.modalias: 
dmi:bvnDellInc.:bvrA07:bd11/29/2005:svnDellInc.:pnOptiPlexGX280:pvr:rvnDellInc.:rn0FG113:rvr:cvnDellInc.:ct15:cvr:
  dmi.product.name: OptiPlex GX280
  dmi.sys.vendor: Dell Inc.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1509556/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1072672] Re: Mouse freezes from time to time. The touchpad as well as external mouse.

2015-12-05 Thread Ufos92
I am not sure if there is a newer version of the same bug. My mouse
freezes sometimes as well. It happens only when I use the touchpad. I
found a workaround, and will leave it here for the time being.

```
sudo rmmod psmouse
sudo modprobe psmouse
```

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1072672

Title:
  Mouse freezes from time to time. The touchpad as well as external
  mouse.

Status in linux package in Ubuntu:
  Expired
Status in xserver-xorg-input-synaptics package in Ubuntu:
  Expired

Bug description:
  On Lenovo Thinkpad L530 with XUBUNTU 12.10 the mouse randomly freezes.
  (this behavior is reported on Thinkpad L520 and some Dell and Asus devices
  
http://askubuntu.com/questions/127884/touchpad-stops-working-after-suspend-on-lenovo-t520)

  The problem has most likely something to do with this issue
  https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-input-
  synaptics/+bug/896922 where I have been asked to fire new  report.

  I have tried so far...
  The bug occur on Xubuntu 12.04, CrunchBang(debian) as also Xubuntu 12.10

  I found some advices all around like install the gpointing-device-settings 
where some people suggest to turn off "smart mouse selection.. don't remember 
exactly the name. This feature is not found on Xubuntu, but Ubuntu.
  I played bit with the settings, nothing helped so far.

  I also tried use sudo modprobe -r psmouse which seams to help a bit from time 
to time, but not always..
  Sometimes the mouse is unlocked from the total freeze to a shaky slow moves. 
But because this command helps only for touchpads and not external devices, it 
is not much of use.. It doesn't solve the problem completely anyway.
  I found the advice here:
  
http://xpapad.wordpress.com/2009/09/09/dealing-with-mouse-and-touchpad-freezes-in-linux/
  (I got the same errors in log as he mentioned in his post.)

  I also tried disable the touchpad by: xinput -set-prop 'Virtual core XTEST 
pointer' 'Device Enabled' 0
  This loges me out of session in an instant.

  I also found a tread where someone suggested update the kernel above
  3.4.8 so I updated the kernel to 3.6.2-030602-generic, but with no
  luck with that either... though I must say the problem occurs "less
  often".

  Some people say it happens it has something to do with temperature,... or the 
fan .. because it happens quite often when they work in bed... it happens to me 
in such a cases more often then usual, though it might be just quincidence 
..depends where we sit more often :)
  The temperature never went too high.. I think.. it is always about 44-60C

  I have not found any way how to solve this problem, The restart won't
  help either.

  WORKAROUND: I use an external mouse hooked to an external Apple
  Aluminium keyboard and the mouse doesn't freeze.

  WORKAROUND: Unplug the AC adapter.

  ProblemType: Bug
  DistroRelease: Ubuntu 12.10
  Package: xserver-xorg-input-synaptics 1.6.2-1ubuntu5
  Uname: Linux 3.6.2-030602-generic x86_64
  ApportVersion: 2.6.1-0ubuntu6
  Architecture: amd64
  Date: Mon Oct 29 10:44:11 2012
  InstallationDate: Installed on 2012-10-27 (1 days ago)
  InstallationMedia: Xubuntu 12.04 LTS "Precise Pangolin" - Release amd64 
(20120425)
  MarkForUpload: True
  SourcePackage: xserver-xorg-input-synaptics
  UpgradeStatus: Upgraded to quantal on 2012-10-27 (1 days ago)
  ---
  ApportVersion: 2.6.1-0ubuntu6
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC0:  jm 2207 F pulseaudio
    jm 2208 F xfce4-volumed
   /dev/snd/controlC29: jm 2208 F xfce4-volumed
  CRDA:
   country CZ:
    (2400 - 2483 @ 40), (N/A, 20)
    (5150 - 5250 @ 40), (N/A, 23), NO-OUTDOOR
    (5250 - 5350 @ 40), (N/A, 20), NO-OUTDOOR, DFS
    (5470 - 5725 @ 40), (N/A, 26), DFS
  DistroRelease: Ubuntu 12.10
  HibernationDevice: RESUME=UUID=96d932dc-47f8-4ed5-a0b6-24ed1dd5cbc8
  InstallationDate: Installed on 2012-10-27 (12 days ago)
  InstallationMedia: Xubuntu 12.04 LTS "Precise Pangolin" - Release amd64 
(20120425)
  MachineType: LENOVO 24812WG
  MarkForUpload: True
  Package: linux (not installed)
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.5.0-18-generic 
root=UUID=fa2b0ca6-988f-4cbd-962e-ad393886dd81 ro quiet splash vt.handoff=7
  ProcVersionSignature: Ubuntu 3.5.0-18.29-generic 3.5.7
  RelatedPackageVersions:
   linux-restricted-modules-3.5.0-18-generic N/A
   linux-backports-modules-3.5.0-18-generic  N/A
   linux-firmware1.95
  Tags:  quantal
  Uname: Linux 3.5.0-18-generic x86_64
  UpgradeStatus: Upgraded to quantal on 2012-10-27 (12 days ago)
  UserGroups: adm audio cdrom dialout dip fax floppy fuse lpadmin netdev 
plugdev sambashare scanner sudo tape vboxusers video
  dmi.bios.date: 05/28/2012
  dmi.bios.vendor: LENOVO
  dmi.bios.version: