[Ubuntu-x-swat] [Bug 1788044] Re: task kworker blocked for more than 120 seconds nouveau

2024-04-21 Thread Rick Sayre
I have found a fix.
First I tried adding "nouveau.modeset=0" to bootflags, which got me to boot but 
no greeter.
sddm appeared to be happily running but it failed to start the display server
restarting it did not help
"startx" worked, which gave me hope

It appeared the session "seat" had been determined by systemd to have
"CanGraphical" false

Then I found this:
https://github.com/mikhailnov/systemd/commit/c00bf275fdfbad3a9db8934b5e266b6abbdb8443

There's a heuristic hack which sets CanGraphical when the kernel starts
w/o graphics, but only if this is done via "nomodeset" rather than the
driver-specific ".modeset" flags

So I just added "nomodeset" to boot flags, and now not only does
6.5.0-28 boot and land at a working greeter again, but all the weird
sddm graphics bugs i'd been encountering since 6.5 are gone.

Hope this helps someone else...   And maybe this kernel issue will get
fixed, some day

-- 
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xserver-xorg-video-nouveau in Ubuntu.
https://bugs.launchpad.net/bugs/1788044

Title:
  task kworker blocked for more than 120 seconds nouveau

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


___
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-x-swat] [Bug 1788044] Re: task kworker blocked for more than 120 seconds nouveau

2024-04-21 Thread Rick Sayre
This is the closest, most recent report I could find with something which also 
appears kernel related
Kernel 6.5.0-27  -- works fine
Kernel 6.5.0-28  -- graphics hard-hangs - sddm never displays, vtty can't be 
activated
   shh works, sddm and x11 processes can not be killed, reboot hangs, hard 
power cycle required


I see reports like this literally for years, yet seemingly no resolution.  Now 
I'm bit, in a way suspiciously kernel version related
Common internet "use nvidia drivers" wisdom is unworkable as old nvidia 
hardware is not supported on 22.04
04:00.0 VGA compatible controller: NVIDIA Corporation MCP89 [GeForce 320M] (rev 
a2)

Again, for me, this is with 22.04, kernel 6.5.0-28

All the various combinations of nouveau flags to kernel boot which have
helped reduce garbage or sddm troubles don't help.

Here's a relevant boot log:
Apr 20 21:06:29 Konnekt sddm-greeter[922]: Adding view for "LVDS-1" QRect(0,0 
1280x800)
Apr 20 21:06:29 Konnekt kernel: nouveau :04:00.0: fifo: DMA_PUSHER - ch 3 
[sddm-greeter[922]] get 216004 put 216088 ib_get 0007 ib_put 
0007 state 800081a4 (err: INVALID_CMD) push 00400040
Apr 20 21:06:29 Konnekt kernel: nouveau :04:00.0: fifo: DMA_PUSHER - ch 3 
[sddm-greeter[922]] get 21608c put 217b7c ib_get 0009 ib_put 
000a state 8000 (err: INVALID_CMD) push 00400040
Apr 20 21:06:29 Konnekt kernel: nouveau :04:00.0: fifo: DMA_PUSHER - ch 3 
[sddm-greeter[922]] get 218ff0 put 21932c ib_get 000d ib_put 
0012 state 8000 (err: INVALID_CMD) push 00400040
Apr 20 21:06:29 Konnekt kernel: nouveau :04:00.0: fifo: DMA_PUSHER - ch 3 
[sddm-greeter[922]] get 219a48 put 219a64 ib_get 001f ib_put 
0024 state 8000 (err: INVALID_CMD) push 00400040
Apr 20 21:06:29 Konnekt kernel: nouveau :04:00.0: fifo: DMA_PUSHER - ch 3 
[sddm-greeter[922]] get 219a64 put 219a7c ib_get 0021 ib_put 
0024 state 8024 (err: INVALID_CMD) push 00400040
Apr 20 21:06:29 Konnekt kernel: nouveau :04:00.0: fifo: DMA_PUSHER - ch 3 
[sddm-greeter[922]] get 219a7c put 219a8c ib_get 0023 ib_put 
0024 state 8000 (err: INVALID_CMD) push 00400040
Apr 20 21:06:29 Konnekt kernel: nouveau :04:00.0: fifo: DMA_PUSHER - ch 3 
[sddm-greeter[922]] get 219a8c put 219ccc ib_get 0025 ib_put 
002a state 8024 (err: INVALID_CMD) push 00400040
Apr 20 21:06:29 Konnekt kernel: nouveau :04:00.0: fifo: DMA_PUSHER - ch 3 
[sddm-greeter[922]] get 219de8 put 219df8 ib_get 002f ib_put 
0030 state 4004 (err: INVALID_MTHD) push 00400040
Apr 20 21:06:29 Konnekt kernel: nouveau :04:00.0: fifo: CACHE_ERROR - ch 3 
[sddm-greeter[922]] subc 0 mthd  data 2000
Apr 20 21:06:29 Konnekt kernel: nouveau :04:00.0: fifo: DMA_PUSHER - ch 3 
[sddm-greeter[922]] get 219ef0 put 21a2f0 ib_get 0033 ib_put 
0038 state 8000 (err: INVALID_CMD) push 00400040
Apr 20 21:06:29 Konnekt kernel: nouveau :04:00.0: fifo: DMA_PUSHER - ch 3 
[sddm-greeter[922]] get 0020b10960 put 0020b10ac8 ib_get 0042 ib_put 
0044 state 8000 (err: INVALID_CMD) push 00400040
Apr 20 21:06:29 Konnekt kernel: nouveau :04:00.0: fifo: DMA_PUSHER - ch 3 
[sddm-greeter[922]] get 21aff8 put 21bdf4 ib_get 004b ib_put 
004c state 8000 (err: INVALID_CMD) push 00400040
Apr 20 21:06:29 Konnekt kernel: nouveau :04:00.0: fifo: DMA_PUSHER - ch 3 
[sddm-greeter[922]] get 21c248 put 21c620 ib_get 004d ib_put 
004e state 8000 (err: INVALID_CMD) push 00400040
Apr 20 21:06:29 Konnekt kernel: nouveau :04:00.0: fifo: DMA_PUSHER - ch 3 
[sddm-greeter[922]] get 417a40 put 417a4c ib_get 0056 ib_put 
0058 state 8000 (err: INVALID_CMD) push 00400040
Apr 20 21:06:29 Konnekt kernel: nouveau :04:00.0: fifo: DMA_PUSHER - ch 3 
[sddm-greeter[922]] get 417b54 put 417b5c ib_get 005c ib_put 
005e state 8000 (err: INVALID_CMD) push 00400040
Apr 20 21:06:29 Konnekt kernel: nouveau :04:00.0: fifo: DMA_PUSHER - ch 3 
[sddm-greeter[922]] get 4d3370 put 4d33f4 ib_get 0062 ib_put 
0064 state 8000 (err: INVALID_CMD) push 00400040
Apr 20 21:06:29 Konnekt kernel: nouveau :04:00.0: fifo: DMA_PUSHER - ch 3 
[sddm-greeter[922]] get 4db3c0 put 4db450 ib_get 0068 ib_put 
006a state 8000 (err: INVALID_CMD) push 00400040
Apr 20 21:06:29 Konnekt kernel: nouveau :04:00.0: fifo: DMA_PUSHER - ch 3 
[sddm-greeter[922]] get 21d000 put 21d150 ib_get 006b ib_put 
006c state 8000 (err: INVALID_CMD) push 00400040
Apr 20 21:06:29 Konnekt kernel: nouveau :04:00.0: fifo: DMA_PUSHER - ch 3 
[sddm-greeter[922]] get 417c50 put 417c5c ib_get 006e ib_put 
0070 state 8000 (err: INVALID_CMD) push 00400040
Apr 20 21:06:29 Konnekt kernel: nouveau :04:00.0: fifo: DMA_PUSHER - ch 3 
[sddm-greeter[922]] get 4d3630 put 4d3684 ib_get 007a