[Bug 1946368] Re: HDMI output freezes under current/proposed impish kernels

2022-02-02 Thread Launchpad Bug Tracker
This bug was fixed in the package linux-raspi - 5.15.0-1002.2

---
linux-raspi (5.15.0-1002.2) jammy; urgency=medium

  * jammy/linux-raspi: 5.15.0-1002.2 -proposed tracker (LP: #1958834)

  * Packaging resync (LP: #1786013)
- [Packaging] update Ubuntu.md
- debian/dkms-versions -- update from kernel-versions (main/master)

  * Kernel fails to boot in ScalingStack (LP: #1959102)
- [Config] raspi: Set VIRTIO_PCI=m
- [Config] raspi: Set ACPI=y

  * jammy/linux-raspi: Update to upstream raspberrypi rpi-5.15.y (2022-01-24)
(LP: #1958854)
- brcmfmac: firmware: Fix crash in brcm_alt_fw_path
- ARM: dts: Remove VL805 USB node from CM4 dts
- mfd: simple-mfd-i2c: Add configuration for RPi POE HAT
- pwm: raspberrypi-poe: Add option of being created by MFD or FW
- power: rpi-poe: Drop CURRENT_AVG as it is not hardware averaged
- power: rpi-poe: Add option of being created by MFD or FW
- defconfigs: Add MFD_RASPBERRYPI_POE_HAT to Pi defconfigs.
- dtoverlays: Add option for PoE HAT to use Linux I2C instead of FW.
- drivers: bcm2835_unicam: Disable trigger mode operation
- arm: Remove spurious .fnend directive
- drm/vc4: Fix deadlock on DSI device attach error
- drm/vc4: dsi: Correct max divider to 255 (not 7)
- defconfig: Add BACKLIGHT_PWM to bcm2709 and bcmrpi defconfigs
- dtoverlays: Add pwm backlight option to vc4-kms-dpi-generic
- dtoverlays: Correct [h|v]sync_invert config in vc4-kms-dpi-generic
- ARM: dts: BCM2711 AON_INTR2 generates IRQ edges
- update rpi-display-overlay.dts pins for 5.10+

  [ Ubuntu: 5.15.0-18.18 ]

  * jammy/linux: 5.15.0-18.18 -proposed tracker (LP: #1958638)
  * CVE-2021-4155
- xfs: map unwritten blocks in XFS_IOC_{ALLOC, FREE}SP just like fallocate
  * CVE-2022-0185
- SAUCE: vfs: test that one given mount param is not larger than PAGE_SIZE
  * [UBUNTU 20.04] KVM hardware diagnose data improvements for guest kernel -
kernel part (LP: #1953334)
- KVM: s390: add debug statement for diag 318 CPNC data
  * OOB write on BPF_RINGBUF (LP: #1956585)
- SAUCE: bpf: prevent helper argument PTR_TO_ALLOC_MEM to have offset other
  than 0
  * Miscellaneous Ubuntu changes
- [Config] re-enable shiftfs
- [SAUCE] shiftfs: support kernel 5.15
- [Config] update toolchain versions
  * Miscellaneous upstream changes
- vfs: fs_context: fix up param length parsing in legacy_parse_param

linux-raspi (5.15.0-1001.1) jammy; urgency=medium

  * Missing overlays/README (LP: #1954757)
- SAUCE: Install overlays/README

  * dtoverlay=uart4 breaks Raspberry Pi 4B boot (LP: #1875454)
- SAUCE: arm: dts: Add 'brcm,bcm2835-pl011' compatible for uart2-5

  * jammy/linux-raspi: Update to upstream raspberrypi rpi-5.15.y (2022-01-14)
(LP: #1958146)
- clk: bcm-2835: Pick the closest clock rate
- clk: bcm-2835: Remove rounding up the dividers
- drm/vc4: hdmi: Set a default HSM rate
- drm/vc4: hdmi: Move the HSM clock enable to runtime_pm
- drm/vc4: hdmi: Make sure the controller is powered in detect
- drm/vc4: hdmi: Make sure the controller is powered up during bind
- drm/vc4: hdmi: Rework the pre_crtc_configure error handling
- drm/vc4: hdmi: Split the CEC disable / enable functions in two
- drm/vc4: hdmi: Make sure the device is powered with CEC
- drm/vc4: hdmi: Warn if we access the controller while disabled
- drm/vc4: crtc: Make sure the HDMI controller is powered when disabling
- drm/vc4: crtc: Drop feed_txp from state
- drm/vc4: Fix non-blocking commit getting stuck forever
- drm/vc4: crtc: Copy assigned channel to the CRTC
- drm/vc4: hdmi: Add a spinlock to protect register access
- drm/vc4: hdmi: Use a mutex to prevent concurrent framework access
- drm/vc4: hdmi: Prevent access to crtc->state outside of KMS
- drm/vc4: hdmi: Check the device state in prepare()
- drm/vc4: hdmi: Introduce an output_enabled flag
- drm/vc4: hdmi: Introduce a scdc_enabled flag
- drm/vc4: hdmi: Remove the DDC probing for status detection
- drm/vc4: hdmi: Fix HPD GPIO detection
- drm/vc4: Make vc4_crtc_get_encoder public
- drm/vc4: crtc: Add encoder to vc4_crtc_config_pv prototype
- drm/vc4: crtc: Rework the encoder retrieval code (again)
- drm/vc4: crtc: Add some logging
- drm/vc4: Leverage the load tracker on the BCM2711
- drm/vc4: hdmi: Raise the maximum clock rate
- drm/vc4: hdmi: Enable the scrambler on reconnection
- drm/vc4: Increase the core clock based on HVS load
- drm/vc4: select PM
- drm/probe-helper: Create a HPD IRQ event helper for a single connector
- drm/vc4: hdmi: Actually check for the connector status in hotplug
- firmware: raspberrypi: Add RPI_FIRMWARE_NOTIFY_DISPLAY_DONE
- drm/vc4: Remove conflicting framebuffers before callind bind_all
- drm/vc4: Notify the firmware when DRM is in charge
- arm: partially revert 

[Bug 1946368] Re: HDMI output freezes under current/proposed impish kernels

2021-11-17 Thread Launchpad Bug Tracker
This bug was fixed in the package linux-raspi - 5.13.0-1010.12

---
linux-raspi (5.13.0-1010.12) impish; urgency=medium

  * impish/linux-raspi: 5.13.0-1010.12 -proposed tracker (LP: #1950142)

  * [Impish] Unable to boot rpi3b and cm3+ after upgrade to kernel
5.13.0-1010.11-raspi (LP: #1950117)
- firmware: raspberrypi: Partially revert 'firmware: bcm2835: Support
  ARCH_BCM270x'

  * Packaging resync (LP: #1786013)
- [Packaging] update Ubuntu.md

  * HDMI output freezes under current/proposed impish kernels (LP: #1946368)
- Revert "drm/vc4: Increase the core clock to a minimum of 500MHz"
- Revert "drm/vc4: Increase the core clock based on HVS load"
- Revert "drm/vc4: fix vc4_atomic_commit_tail() logic"
- Revert "drm: Introduce a drm_crtc_commit_wait helper"
- Revert "drm/vc4: kms: Convert to atomic helpers"
- Revert "drm/vc4: kms: Remove async modeset semaphore"
- Revert "drm/vc4: kms: Remove unassigned_channels from the HVS state"
- Revert "drm/vc4: kms: Wait on previous FIFO users before a commit"
- drm/vc4: Increase the core clock based on HVS load
- drm/vc4: Increase the core clock to a minimum of 500MHz

  [ Ubuntu: 5.13.0-21.21 ]

  * impish/linux: 5.13.0-21.21 -proposed tracker (LP: #1947347)
  * It hangs while booting up with AMD W6800 [1002:73A3] (LP: #1945553)
- drm/amdgpu: Rename flag which prevents HW access
- drm/amd/pm: Fix a bug communicating with the SMU (v5)
- drm/amd/pm: Fix a bug in semaphore double-lock
  * Add final-checks to check certificates (LP: #1947174)
- [Packaging] Add system trusted and revocation keys final check
  * No sound on Lenovo laptop models Legion 15IMHG05, Yoga 7 14ITL5, and 13s
Gen2 (LP: #1939052)
- ALSA: hda/realtek: Quirks to enable speaker output for Lenovo Legion 7i
  15IMHG05, Yoga 7i 14ITL5/15ITL5, and 13s Gen2 laptops.
- ALSA: hda/realtek: Fix for quirk to enable speaker output on the Lenovo 
13s
  Gen2
  * Check for changes relevant for security certifications (LP: #1945989)
- [Packaging] Add a new fips-checks script
- [Packaging] Add fips-checks as part of finalchecks
  * BCM57800 SRIOV bug causes interfaces to disappear (LP: #1945707)
- bnx2x: Fix enabling network interfaces without VFs
  * CVE-2021-3759
- memcg: enable accounting of ipc resources
  * [impish] Remove the downstream xr-usb-uart driver (LP: #1945938)
- SAUCE: xr-usb-serial: remove driver
- [Config] update modules list
  * Fix A yellow screen pops up in an instant (< 1 second) and then disappears
before loading the system (LP: #1945932)
- drm/i915: Stop force enabling pipe bottom color gammma/csc
  * Impish update: v5.13.18 upstream stable release (LP: #1946249)
- Linux 5.13.18
  * Impish update: v5.13.17 upstream stable release (LP: #1946247)
- locking/mutex: Fix HANDOFF condition
- regmap: fix the offset of register error log
- regulator: tps65910: Silence deferred probe error
- crypto: mxs-dcp - Check for DMA mapping errors
- sched/deadline: Fix reset_on_fork reporting of DL tasks
- power: supply: axp288_fuel_gauge: Report register-address on readb / 
writeb
  errors
- crypto: omap-sham - clear dma flags only after omap_sham_update_dma_stop()
- sched/deadline: Fix missing clock update in migrate_task_rq_dl()
- rcu/tree: Handle VM stoppage in stall detection
- EDAC/mce_amd: Do not load edac_mce_amd module on guests
- hrtimer: Avoid double reprogramming in __hrtimer_start_range_ns()
- hrtimer: Ensure timerfd notification for HIGHRES=n
- udf: Check LVID earlier
- udf: Fix iocharset=utf8 mount option
- isofs: joliet: Fix iocharset=utf8 mount option
- bcache: add proper error unwinding in bcache_device_init
- nbd: add the check to prevent overflow in __nbd_ioctl()
- blk-throtl: optimize IOPS throttle for large IO scenarios
- nvme-tcp: don't update queue count when failing to set io queues
- nvme-rdma: don't update queue count when failing to set io queues
- nvmet: pass back cntlid on successful completion
- power: supply: smb347-charger: Add missing pin control activation
- power: supply: max17042_battery: fix typo in MAx17042_TOFF
- s390/cio: add dev_busid sysfs entry for each subchannel
- s390/zcrypt: fix wrong offset index for APKA master key valid state
- libata: fix ata_host_start()
- sched/topology: Skip updating masks for non-online nodes
- crypto: omap - Fix inconsistent locking of device lists
- crypto: qat - do not ignore errors from enable_vf2pf_comms()
- crypto: qat - handle both source of interrupt in VF ISR
- crypto: qat - fix reuse of completion variable
- crypto: qat - fix naming for init/shutdown VF to PF notifications
- crypto: qat - do not export adf_iov_putmsg()
- crypto: hisilicon/sec - fix the abnormal exiting process
- crypto: hisilicon/sec - modify the hardware endian configuration
- 

[Bug 1946368] Re: HDMI output freezes under current/proposed impish kernels

2021-11-07 Thread Costin Botescu
Write fkms to config.txt from boot partition before inserting the sd
card. Then install linux-raspi from proposed or wait for updates. Then
revert to kms.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1946368

Title:
  HDMI output freezes under current/proposed impish kernels

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1946368] Re: HDMI output freezes under current/proposed impish kernels

2021-11-06 Thread Lloyd E James
To make life easier, on the problem Ubuntu machine, I installed ssh server:
   sudo apt install openssh-server
and left an open ssh connection to it from another RPi.
When the Ubuntu machine display froze, the OS itself was still running, and 
from other machine, I unlocked the Ubuntu lockup with
   sudo service gdm restart
I don't like rebooting a machine by cutting power for ... reasons.
I've not tried the s/kms/fkms trick yet,  but I am doing daily updates.  I'm 
also getting a lot up uptime between freezes.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1946368

Title:
  HDMI output freezes under current/proposed impish kernels

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1946368] Re: HDMI output freezes under current/proposed impish kernels

2021-11-06 Thread ko4la
Thx a lot.

Same here therefore I used this :
$ sudo apt-add-repository -p proposed
$ sudo apt install linux-raspi
$ sudo apt-add-repository -r -p proposed
$ sudo reboot

No more issue.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1946368

Title:
  HDMI output freezes under current/proposed impish kernels

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1946368] Re: HDMI output freezes under current/proposed impish kernels

2021-11-02 Thread Dennis Golden
Okay, I started with fresh desktop install. It hung one time before I
was able to update the kernel. So far it's running as it should.

Thank you all for your comments and guidance.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1946368

Title:
  HDMI output freezes under current/proposed impish kernels

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1946368] Re: HDMI output freezes under current/proposed impish kernels

2021-11-02 Thread Dennis Golden
BTW: I should say that I am using the plasma desktop, but this is is
failing before anything is running. The network is up and will respond
to ping, but won't accept a connection.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1946368

Title:
  HDMI output freezes under current/proposed impish kernels

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1946368] Re: HDMI output freezes under current/proposed impish kernels

2021-11-02 Thread Dennis Golden
Either I did something wrong, or it doesn't work for me. I followed these steps:
$ sudo apt-add-repository -p proposed
$ sudo apt install linux-raspi

uname -a output:
Linux ubuntu 5.13.0-1010-raspi #11-Ubuntu SMP PREEMPT Thu Oct 28 08:32:52 UTC 
2021 aarch64 aarch64 aarch64 GNU/Linux

After the rainbow splash, cursor blinking waiting for boot the screen
goes black and shows no signal.

Output of ls -l boot and rpi-eeprom-update:
ubuntu@ubuntu:~$ ls -l /boot
total 66888
-rw--- 1 root root  5112454 Oct 25 08:22 System.map-5.13.0-1009-raspi
-rw--- 1 root root  5110476 Oct 28 02:59 System.map-5.13.0-1010-raspi
-rw-r--r-- 1 root root   241336 Oct 25 08:22 config-5.13.0-1009-raspi
-rw-r--r-- 1 root root   241266 Oct 28 02:59 config-5.13.0-1010-raspi
lrwxrwxrwx 1 root root   44 Nov  1 20:14 dtb -> 
dtbs/5.13.0-1010-raspi/./bcm2711-rpi-4-b.dtb
lrwxrwxrwx 1 root root   44 Oct 31 20:22 dtb-5.13.0-1009-raspi -> 
dtbs/5.13.0-1009-raspi/./bcm2711-rpi-4-b.dtb
lrwxrwxrwx 1 root root   44 Nov  1 20:14 dtb-5.13.0-1010-raspi -> 
dtbs/5.13.0-1010-raspi/./bcm2711-rpi-4-b.dtb
drwxr-xr-x 4 root root 4096 Nov  1 20:14 dtbs
drwxr-xr-x 4 root root 7680 Dec 31  1969 firmware
lrwxrwxrwx 1 root root   28 Nov  1 20:13 initrd.img -> 
initrd.img-5.13.0-1010-raspi
-rw-r--r-- 1 root root 19391282 Oct 31 20:21 initrd.img-5.13.0-1009-raspi
-rw-r--r-- 1 root root 19390433 Nov  1 20:14 initrd.img-5.13.0-1010-raspi
lrwxrwxrwx 1 root root   28 Nov  1 20:13 initrd.img.old -> 
initrd.img-5.13.0-1009-raspi
lrwxrwxrwx 1 root root   25 Nov  1 20:13 vmlinuz -> 
vmlinuz-5.13.0-1010-raspi
-rw--- 1 root root  9491368 Oct 25 08:22 vmlinuz-5.13.0-1009-raspi
-rw--- 1 root root  9489364 Oct 28 02:59 vmlinuz-5.13.0-1010-raspi
lrwxrwxrwx 1 root root   25 Nov  1 20:13 vmlinuz.old -> 
vmlinuz-5.13.0-1009-raspi
ubuntu@ubuntu:~$ sudo rpi-eeprom-update 
BOOTLOADER: up to date
   CURRENT: Thu Apr 29 16:11:25 UTC 2021 (1619712685)
LATEST: Thu Apr 29 16:11:25 UTC 2021 (1619712685)
   RELEASE: default (/lib/firmware/raspberrypi/bootloader/default)
Use raspi-config to change the release.

  VL805_FW: Using bootloader EEPROM
 VL805: up to date
   CURRENT: 000138a1
LATEST: 000138a1


** Attachment added: "config.text for test"
   
https://bugs.launchpad.net/ubuntu/+source/linux-raspi/+bug/1946368/+attachment/5537761/+files/config.txt_5_13_1010_11

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1946368

Title:
  HDMI output freezes under current/proposed impish kernels

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1946368] Re: HDMI output freezes under current/proposed impish kernels

2021-11-01 Thread Viktor G.
I think 8th november.
(Link: 
https://bugs.launchpad.net/ubuntu/+source/linux-raspi/+bug/1946368/comments/46 )

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1946368

Title:
  HDMI output freezes under current/proposed impish kernels

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1946368] Re: HDMI output freezes under current/proposed impish kernels

2021-11-01 Thread Ak
When it will be published to the updates channel? Can't find any
information about the release cycle.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1946368

Title:
  HDMI output freezes under current/proposed impish kernels

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1946368] Re: HDMI output freezes under current/proposed impish kernels

2021-10-30 Thread Daniel Johnsen
Knoedel: Thank you, i actually just downloaded the 2 deb files from
https://kernel.ubuntu.com/~juergh/lp1946368/ and rebooted my pi, and
havnt ran into any freezing issues after this.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1946368

Title:
  HDMI output freezes under current/proposed impish kernels

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1946368] Re: HDMI output freezes under current/proposed impish kernels

2021-10-30 Thread knoedel fan
Daniel: You have to activate the development option inside the update 
management. Only then, you get the update from propose canal! A normal update 
does not help without a development option.
After switch on development option new package are reading into your system. 
After ending this download you can click ok from update management to start a 
search for new updates inside propose canal.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1946368

Title:
  HDMI output freezes under current/proposed impish kernels

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1946368] Re: HDMI output freezes under current/proposed impish kernels

2021-10-30 Thread Daniel Johnsen
Anyone who can explain to a noob how to install the kernel? i run Ubuntu
desktop 21.10 on raspberry pi 400. Im pretty new to all this.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1946368

Title:
  HDMI output freezes under current/proposed impish kernels

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1946368] Re: HDMI output freezes under current/proposed impish kernels

2021-10-29 Thread wendellgee
Confirming, the problem seems to be solved.

Tested:

driver: dtoverlay=vc4-kms-v3d

uname -a
Linux u2110rpi 5.13.0-1010-raspi #11-Ubuntu SMP PREEMPT Thu Oct 28 08:32:52 UTC 
2021 aarch64 aarch64 aarch64 GNU/Linux

No freeze for both Wayland and X11.

Big thank you Ubuntu Team!

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1946368

Title:
  HDMI output freezes under current/proposed impish kernels

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1946368] Re: HDMI output freezes under current/proposed impish kernels

2021-10-29 Thread fprietog
Tested: 
Linux fpgrpi 5.13.0-1010-raspi #11-Ubuntu SMP PREEMPT Thu Oct 28 08:32:52 UTC 
2021 aarch64 aarch64 aarch64 GNU/Linux

Environments tested: X11 and wayland

Problem is solved!

** Tags removed: verification-needed-impish
** Tags added: verification-done-impish

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1946368

Title:
  HDMI output freezes under current/proposed impish kernels

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1946368] Re: HDMI output freezes under current/proposed impish kernels

2021-10-29 Thread knoedel fan
robert@rw-rpi0:~$ uname -a
Linux rw-rpi0 5.13.0-1010-raspi #11-Ubuntu SMP PREEMPT Thu Oct 28 08:32:52 UTC 
2021 aarch64 aarch64 aarch64 GNU/Linux

Update for Ubuntu-Budgie 21.10 Raspberry Pi 4B 8GB.

config.txt in kms-mode

Video and audio run synchronously in kms mode. Without issue. 
Bug is fixed.
Test in Mozilla Firefox. Video and audio run synchronously in kms mode without 
issue.
Bug is fixed.

Many thanks to the Team from Ubuntu!

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1946368

Title:
  HDMI output freezes under current/proposed impish kernels

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1946368] Re: HDMI output freezes under current/proposed impish kernels

2021-10-29 Thread Ubuntu Kernel Bot
This bug is awaiting verification that the linux-raspi/5.13.0-1010.11
kernel in -proposed solves the problem. Please test the kernel and
update this bug with the results. If the problem is solved, change the
tag 'verification-needed-impish' to 'verification-done-impish'. If the
problem still exists, change the tag 'verification-needed-impish' to
'verification-failed-impish'.

If verification is not done by 5 working days from today, this fix will
be dropped from the source code, and this bug will be closed.

See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how
to enable and use -proposed. Thank you!


** Tags added: verification-needed-impish

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1946368

Title:
  HDMI output freezes under current/proposed impish kernels

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1946368] Re: HDMI output freezes under current/proposed impish kernels

2021-10-28 Thread knoedel fan
Vielen Dank Juerg für diese Info!

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1946368

Title:
  HDMI output freezes under current/proposed impish kernels

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1946368] Re: HDMI output freezes under current/proposed impish kernels

2021-10-28 Thread Juerg Haefliger
-1009 does not include the HDMI fix. That's just an in-between release
to support the new Pi Zero 2 device that was just announced today. -1010
is the fixed version. It's currently building and should reach proposed
later today or tomorrow.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1946368

Title:
  HDMI output freezes under current/proposed impish kernels

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1946368] Re: HDMI output freezes under current/proposed impish kernels

2021-10-28 Thread Viktor G.
5.13.0.1009.15 unfortunately does not improve the problem.
(fresh installed ubuntu 21.10 desktop and rpi4 4gb)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1946368

Title:
  HDMI output freezes under current/proposed impish kernels

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1946368] Re: HDMI output freezes under current/proposed impish kernels

2021-10-28 Thread knoedel fan
Do you mean the problem with fkms vs. kms?
I installed an update this morning.
Ubuntu-Budgie 21. 10 proposed.

Then switched to kms and the Raspi Pi 4 restarted.

Video started and after 3 seconds the video freezes, BT audio output
stops, mouse pointer freezes.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1946368

Title:
  HDMI output freezes under current/proposed impish kernels

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1946368] Re: HDMI output freezes under current/proposed impish kernels

2021-10-27 Thread Andy Valley
Just upgraded, still crashes same as before.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1946368

Title:
  HDMI output freezes under current/proposed impish kernels

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1946368] Re: HDMI output freezes under current/proposed impish kernels

2021-10-27 Thread fossfreedom
I have no idea why the status has changed ... the fix hasn't entered the
archive yet.

** Changed in: linux-raspi (Ubuntu Impish)
   Status: Fix Released => Fix Committed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1946368

Title:
  HDMI output freezes under current/proposed impish kernels

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1946368] Re: HDMI output freezes under current/proposed impish kernels

2021-10-27 Thread Ganesh Chandar Devulapalli
** Changed in: linux-raspi (Ubuntu Impish)
   Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1946368

Title:
  HDMI output freezes under current/proposed impish kernels

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1946368] Re: HDMI output freezes under current/proposed impish kernels

2021-10-23 Thread Tim Halloran
Also having this problem, it seems to trigger immediately on dual
monitors on a pi 4 (8G). I can get it to go for a bit on one monitor.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1946368

Title:
  HDMI output freezes under current/proposed impish kernels

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1946368] Re: HDMI output freezes under current/proposed impish kernels

2021-10-22 Thread Costin Botescu
@knoedelfan
The fix is not already there.
You have "5.13.0-1008-raspi #9-Ubuntu" released on 2021-10-11.
When you "install" now you see "linux-raspi is already the newest version".

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1946368

Title:
  HDMI output freezes under current/proposed impish kernels

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1946368] Re: HDMI output freezes under current/proposed impish kernels

2021-10-22 Thread knoedel fan
I reinstalled my Ubuntu-Budgie 21.10.
All updates are on October 22. 2021.
Proposed channel is activated.

Executed this order!

$ sudo apt install linux-raspi
$ sudo reboot

Unfortunately, no improvement!
In fkms mode the video playback works.
With kms mode, the system, the video, the mouse pointer in spite of update 
freezes again and only Power-Off gets the Raspi 4b 8GB running again.

$ uname -a 
Linux rw-rpi0 5.13.0-1008-raspi #9-Ubuntu SMP PREEMPT Wed Sep 29 08:27:44 UTC 
2021 aarch64 aarch64 aarch64 GNU/Linux

$ rpi-eeprom-update
BOOTLOADER: up to date
   CURRENT: Do 29. Apr 16:11:25 UTC 2021 (1619712685)
LATEST: Do 29. Apr 16:11:25 UTC 2021 (1619712685)
   RELEASE: stable (/lib/firmware/raspberrypi/bootloader/stable)
Use raspi-config to change the release.

  VL805_FW: Using bootloader EEPROM
 VL805: up to date
   CURRENT: 000138a1
LATEST: 000138a1

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1946368

Title:
  HDMI output freezes under current/proposed impish kernels

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Re: [Bug 1946368] Re: HDMI output freezes under current/proposed impish kernels

2021-10-22 Thread fossfreedom
The fix is not yet in proposed.

Everyone will be notified when it is via a post on this thread asking for
it to be tested.

On Fri, 22 Oct 2021, 16:25 knoedel fan, <1946...@bugs.launchpad.net>
wrote:

> I reinstalled my Ubuntu-Budgie 21.10.
> All updates are on October 22. 2021.
> Proposed channel is activated.
>
> Executed this order!
>
> $ sudo apt install linux-raspi
>
> Unfortunately, no improvement!
> In fkms mode the video playback works.
> With kms mode, the system, the video, the mouse pointer in spite of update
> freezes again and only Power-Off gets the Raspi 4b 8GB running again.
>
> $ uname -a
> Linux rw-rpi0 5.13.0-1008-raspi #9-Ubuntu SMP PREEMPT Wed Sep 29 08:27:44
> UTC 2021 aarch64 aarch64 aarch64 GNU/Linux
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1946368
>
> Title:
>   HDMI output freezes under current/proposed impish kernels
>
> Status in linux-raspi package in Ubuntu:
>   Confirmed
> Status in linux-raspi source package in Impish:
>   Fix Committed
>
> Bug description:
>   [Impact]
>
>   The UI of Impish desktop for raspi occasionally freezes which can be
>   triggered by playing videos and moving windows around. Seems to happen
>   more frequently when using higher resolutions and/or higher refresh
>   rates (higher than 1920x1080@60Hz).
>
>   Kernel errors are along the lines of:
>   [  513.762138] [drm:drm_crtc_commit_wait [drm]] *ERROR* flip_done timed
> out
>   [  513.762288] [drm:drm_atomic_helper_wait_for_dependencies
> [drm_kms_helper]] *ERROR* [CRTC:76:crtc-3] co
>   mmit wait timed out
>   [  513.762381] [drm:drm_atomic_helper_wait_for_flip_done
> [drm_kms_helper]] *ERROR* [CRTC:76:crtc-3] flip_
>   done timed out
>
>   [Test Case]
>
>   Install current Impish desktop for raspi on a Pi 4. Use a high-
>   refresh/resolution monitor. Play videos, move windows around.
>
>   [Fix]
>
>   The Pi foundation identified a couple of upstream vc4 commits that
>   seem to interfere with their downstream patches. Revert those to match
>   the Pi foundations currently released 5.10 kernel.
>
>   [Where Problems Could Occur]
>
>   The changes are confined to the vc4 driver, so problems would only
>   show up if that driver is in use. Which is only the case for the
>   Ubuntu raspi desktop image, so server images should not be impacted at
>   all.
>
>   [Original Description]
>
>   Under the current (5.13.0-1007.8) or proposed (5.13.0-1008.9) kernels
>   for the Ubuntu Pi pre-installed desktop impish release, the HDMI
>   output occasionally freezes. A known workaround at this time is to
>   change the following line in /boot/firmware/config.txt:
>
>   dtoverlay=vc4-kms-v3d
>
>   To the following:
>
>   dtoverlay=vc4-fkms-v3d
>
>   In other words, to use the "fake" KMS overlay (fkms) instead of the
>   "full" KMS overlay (kms).
>
>   I've been unable to determine a reliable method of guaranteeing a
>   freeze, but it appears to occur much more readily when video playback
>   is occurring, and when other interactions (especially moving windows
>   around, minimizing, restoring) occurs simultaneously.  Display suspend
>   also periodically causes the same hang, which made me suspect this
>   might be related to #1944397 but it appears that had a separate cause
>   (now resolved).
>
>   The following dmesg outputs have been observed immediately after the
>   display hang; this one from 1007.8:
>
>   [  513.762138] [drm:drm_crtc_commit_wait [drm]] *ERROR* flip_done timed
> out
>   [  513.762288] [drm:drm_atomic_helper_wait_for_dependencies
> [drm_kms_helper]] *ERROR* [CRTC:76:crtc-3] co
>   mmit wait timed out
>   [  513.762381] [drm:drm_atomic_helper_wait_for_flip_done
> [drm_kms_helper]] *ERROR* [CRTC:76:crtc-3] flip_
>   done timed out
>   [  524.002211] [drm:drm_crtc_commit_wait [drm]] *ERROR* flip_done timed
> out
>   [  524.002404] [drm:drm_atomic_helper_wait_for_dependencies
> [drm_kms_helper]] *ERROR* [PLANE:205:plane-25
>   ] commit wait timed out
>   [  534.242499] [drm:drm_crtc_commit_wait [drm]] *ERROR* flip_done timed
> out
>   [  534.242657] vc4-drm gpu: [drm] *ERROR* Timed out waiting for commit
>   [  534.250685] [ cut here ]
>   [  534.250701] refcount_t: underflow; use-after-free.
>   [  534.250735] WARNING: CPU: 1 PID: 120 at lib/refcount.c:87
> refcount_dec_not_one+0xa0/0xbc
>   [  534.250758] Modules linked in: rfcomm cmac algif_hash algif_skcipher
> af_alg hci_uart btqca btrtl btbcm
>btintel bnep snd_soc_hdmi_codec vc4 btsdio snd_soc_core input_leds
> bluetooth snd_compress snd_bcm2835(C)
>snd_pcm_dmaengine ecdh_generic ecc snd_pcm brcmfmac snd_seq_midi
> snd_seq_midi_event bcm2835_codec(C) bcm
>   2835_isp(C) bcm2835_v4l2(C) brcmutil snd_rawmidi v4l2_mem2mem
> bcm2835_mmal_vchiq(C) videobuf2_dma_contig
>   videobuf2_vmalloc cfg80211 videobuf2_memops videobuf2_v4l2 snd_seq
> videobuf2_common videodev snd_seq_devi
>   ce mc snd_timer vc_sm_cma(C) 

[Bug 1946368] Re: HDMI output freezes under current/proposed impish kernels

2021-10-22 Thread knoedel fan
I reinstalled my Ubuntu-Budgie 21.10.
All updates are on October 22. 2021.
Proposed channel is activated.

Executed this order!

$ sudo apt install linux-raspi

Unfortunately, no improvement!
In fkms mode the video playback works.
With kms mode, the system, the video, the mouse pointer in spite of update 
freezes again and only Power-Off gets the Raspi 4b 8GB running again.

$ uname -a 
Linux rw-rpi0 5.13.0-1008-raspi #9-Ubuntu SMP PREEMPT Wed Sep 29 08:27:44 UTC 
2021 aarch64 aarch64 aarch64 GNU/Linux

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1946368

Title:
  HDMI output freezes under current/proposed impish kernels

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1946368] Re: HDMI output freezes under current/proposed impish kernels

2021-10-22 Thread Juerg Haefliger
Once it's in proposed:
$ sudo apt-add-repository -p proposed
$ sudo apt install linux-raspi

And then if you want to remove proposed again:
$ sudo apt-add-repository -r -p proposed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1946368

Title:
  HDMI output freezes under current/proposed impish kernels

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1946368] Re: HDMI output freezes under current/proposed impish kernels

2021-10-22 Thread Benjamin Lupton
Thanks. Could you post back with step by step instructions for a semi-
technical user on how to install the fix kernel when it lands in
proposed?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1946368

Title:
  HDMI output freezes under current/proposed impish kernels

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1946368] Re: HDMI output freezes under current/proposed impish kernels

2021-10-19 Thread Juerg Haefliger
@balupton, the plan is to roll the fixes into the current SRU cycle with
a release to -updates on 8 Nov (per https://kernel.ubuntu.com/). Kernel
prep is this week so you can expect something in -proposed by the end of
this week.

** Changed in: linux-raspi (Ubuntu Impish)
   Status: In Progress => Fix Committed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1946368

Title:
  HDMI output freezes under current/proposed impish kernels

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1946368] Re: HDMI output freezes under current/proposed impish kernels

2021-10-19 Thread Juerg Haefliger
@andrum99, my test kernel doesn't include zfs modules. The final release
kernel will do though.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1946368

Title:
  HDMI output freezes under current/proposed impish kernels

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1946368] Re: HDMI output freezes under current/proposed impish kernels

2021-10-18 Thread andrum99
@fprietog Thanks for the heads up.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1946368

Title:
  HDMI output freezes under current/proposed impish kernels

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1946368] Re: HDMI output freezes under current/proposed impish kernels

2021-10-18 Thread fprietog
@andrum99

Probably not related to the missing zfs module in the testing package
but be warned that there is a warning for the current impish zfs kennel
module:

=== Attention: ZFS kernel panic mitigation ===

"The version of the ZFS driver included in the 5.13.0-19 kernel contains
a bug that can result in filesystem corruption. Users of ZFS are advised
to wait until the first Stable Release Update of the kernel in 21.10
before upgrading." Trent Lloyd's long standing bug report of the ZFS
kernel panic is mitigated with the 5.13.0-20 impish-proposed kernel.

https://bugs.launchpad.net/ubuntu/+source/zfs-linux/+bug/1906476

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1946368

Title:
  HDMI output freezes under current/proposed impish kernels

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1946368] Re: HDMI output freezes under current/proposed impish kernels

2021-10-18 Thread andrum99
Can you tell me how to get ZFS back? Installing the kernel packages from
https://kernel.ubuntu.com/~juergh/lp1946368/ results in the ZFS modules
being deleted from my system. It looks like the modules are missing from
the version of the linux-modules-5.13.0-1008-raspi package at
https://kernel.ubuntu.com/~juergh/lp1946368/.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1946368

Title:
  HDMI output freezes under current/proposed impish kernels

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1946368] Re: HDMI output freezes under current/proposed impish kernels

2021-10-18 Thread andrum99
Apologies - the problem with my Pi 4B desktop reverting to X11 when I
installed the kernel packages from
https://kernel.ubuntu.com/~juergh/lp1946368/ was caused by a problem
with my boot/root drive, which is an SSD in a USB 3 enclosure. For some
reason it doesn't work quite right with UAS mode, having worked fine
with spinning rust (hard disk) previously in UAS mode.

Setting the relevant quirk to disable UAS mode before booting Ubuntu
21.10 on the Pi 4B fixes the problem, and once the kernel from
https://kernel.ubuntu.com/~juergh/lp1946368/ is installed the desktop
stops freezing  and uses wayland 

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1946368

Title:
  HDMI output freezes under current/proposed impish kernels

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1946368] Re: HDMI output freezes under current/proposed impish kernels

2021-10-18 Thread Benjamin Lupton
I'm also experiencing this on a non-critical raspberry pi 400 setup. I'm
pondering whether I can wait for the test kernel fix to be released in a
more mainstream way - are we talking days, weeks, or months for those
changes to get out to mainstream?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1946368

Title:
  HDMI output freezes under current/proposed impish kernels

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1946368] Re: HDMI output freezes under current/proposed impish kernels

2021-10-18 Thread Juerg Haefliger
** Changed in: linux-raspi (Ubuntu Impish)
   Status: Confirmed => In Progress

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1946368

Title:
  HDMI output freezes under current/proposed impish kernels

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1946368] Re: HDMI output freezes under current/proposed impish kernels

2021-10-18 Thread Juerg Haefliger
** Description changed:

  [Impact]
  
  The UI of Impish desktop for raspi occasionally freezes which can be
  triggered by playing videos and moving windows around. Seems to happen
- more frequently when using higher resolution and/or higher refresh rates
- (higher than 1920x1080@60Hz).
- 
+ more frequently when using higher resolutions and/or higher refresh
+ rates (higher than 1920x1080@60Hz).
  
  Kernel errors are along the lines of:
  [  513.762138] [drm:drm_crtc_commit_wait [drm]] *ERROR* flip_done timed out
  [  513.762288] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] 
*ERROR* [CRTC:76:crtc-3] co
  mmit wait timed out
  [  513.762381] [drm:drm_atomic_helper_wait_for_flip_done [drm_kms_helper]] 
*ERROR* [CRTC:76:crtc-3] flip_
  done timed out
- 
  
  [Test Case]
  
  Install current Impish desktop for raspi on a Pi 4. Use a high-
  refresh/resolution monitor. Play videos, move windows around.
  
  [Fix]
  
  The Pi foundation identified a couple of upstream vc4 commits that seem
  to interfere with their downstream patches. Revert those to match the Pi
  foundations currently released 5.10 kernel.
  
  [Where Problems Could Occur]
  
  The changes are confined to the vc4 driver, so problems would only show
  up if that driver is in use. Which is only the case for the Ubuntu raspi
- desktop image, so sever images should not be impacted at all.
+ desktop image, so server images should not be impacted at all.
  
  [Original Description]
  
  Under the current (5.13.0-1007.8) or proposed (5.13.0-1008.9) kernels
  for the Ubuntu Pi pre-installed desktop impish release, the HDMI output
  occasionally freezes. A known workaround at this time is to change the
  following line in /boot/firmware/config.txt:
  
  dtoverlay=vc4-kms-v3d
  
  To the following:
  
  dtoverlay=vc4-fkms-v3d
  
  In other words, to use the "fake" KMS overlay (fkms) instead of the
  "full" KMS overlay (kms).
  
  I've been unable to determine a reliable method of guaranteeing a
  freeze, but it appears to occur much more readily when video playback is
  occurring, and when other interactions (especially moving windows
  around, minimizing, restoring) occurs simultaneously.  Display suspend
  also periodically causes the same hang, which made me suspect this might
  be related to #1944397 but it appears that had a separate cause (now
  resolved).
  
  The following dmesg outputs have been observed immediately after the
  display hang; this one from 1007.8:
  
  [  513.762138] [drm:drm_crtc_commit_wait [drm]] *ERROR* flip_done timed out
  [  513.762288] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] 
*ERROR* [CRTC:76:crtc-3] co
  mmit wait timed out
  [  513.762381] [drm:drm_atomic_helper_wait_for_flip_done [drm_kms_helper]] 
*ERROR* [CRTC:76:crtc-3] flip_
  done timed out
  [  524.002211] [drm:drm_crtc_commit_wait [drm]] *ERROR* flip_done timed out
  [  524.002404] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] 
*ERROR* [PLANE:205:plane-25
  ] commit wait timed out
  [  534.242499] [drm:drm_crtc_commit_wait [drm]] *ERROR* flip_done timed out
  [  534.242657] vc4-drm gpu: [drm] *ERROR* Timed out waiting for commit
  [  534.250685] [ cut here ]
  [  534.250701] refcount_t: underflow; use-after-free.
  [  534.250735] WARNING: CPU: 1 PID: 120 at lib/refcount.c:87 
refcount_dec_not_one+0xa0/0xbc
  [  534.250758] Modules linked in: rfcomm cmac algif_hash algif_skcipher 
af_alg hci_uart btqca btrtl btbcm
   btintel bnep snd_soc_hdmi_codec vc4 btsdio snd_soc_core input_leds bluetooth 
snd_compress snd_bcm2835(C)
   snd_pcm_dmaengine ecdh_generic ecc snd_pcm brcmfmac snd_seq_midi 
snd_seq_midi_event bcm2835_codec(C) bcm
  2835_isp(C) bcm2835_v4l2(C) brcmutil snd_rawmidi v4l2_mem2mem 
bcm2835_mmal_vchiq(C) videobuf2_dma_contig
  videobuf2_vmalloc cfg80211 videobuf2_memops videobuf2_v4l2 snd_seq 
videobuf2_common videodev snd_seq_devi
  ce mc snd_timer vc_sm_cma(C) raspberrypi_hwmon snd bcm2835_gpiomem rpivid_mem 
uio_pdrv_genirq uio sch_fq_
  codel ip_tables x_tables autofs4 btrfs blake2b_generic xor xor_neon 
zstd_compress hid_generic usbhid raid
  6_pq libcrc32c dm_mirror dm_region_hash dm_log spidev dwc2 v3d roles udc_core 
gpu_sched crct10dif_ce i2c_
  brcmstb i2c_bcm2835 spi_bcm2835 drm_kms_helper syscopyarea xhci_pci 
xhci_pci_renesas sysfillrect sysimgbl
  t fb_sys_fops cec drm phy_generic ac97_bus aes_arm64
  [  534.251066] CPU: 1 PID: 120 Comm: kworker/1:2 Tainted: GWC
5.13.0-1007-raspi #8-Ubuntu
  [  534.251076] Hardware name: Raspberry Pi 400 Rev 1.1 (DT)
  [  534.251083] Workqueue: events drm_mode_rmfb_work_fn [drm]
  [  534.251239] pstate: 6045 (nZCv daif +PAN -UAO -TCO BTYPE=--)
  [  534.251248] pc : refcount_dec_not_one+0xa0/0xbc
  [  534.251257] lr : refcount_dec_not_one+0xa0/0xbc
  [  534.251265] sp : 8000118cbb50
  [  534.251269] x29: 8000118cbb50 x28: 6cf7ee894400 x27: 
6cf80502e000
  [  534.251285] x26: 

[Bug 1946368] Re: HDMI output freezes under current/proposed impish kernels

2021-10-18 Thread Juerg Haefliger
** Description changed:

+ [Impact]
+ 
+ The UI of Impish desktop for raspi occasionally freezes which can be
+ triggered by playing videos and moving windows around. Seems to happen
+ more frequently when using higher resolution and/or higher refresh rates
+ (higher than 1920x1080@60Hz).
+ 
+ 
+ Kernel errors are along the lines of:
+ [  513.762138] [drm:drm_crtc_commit_wait [drm]] *ERROR* flip_done timed out
+ [  513.762288] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] 
*ERROR* [CRTC:76:crtc-3] co
+ mmit wait timed out
+ [  513.762381] [drm:drm_atomic_helper_wait_for_flip_done [drm_kms_helper]] 
*ERROR* [CRTC:76:crtc-3] flip_
+ done timed out
+ 
+ 
+ [Test Case]
+ 
+ Install current Impish desktop for raspi on a Pi 4. Use a high-
+ refresh/resolution monitor. Play videos, move windows around.
+ 
+ [Fix]
+ 
+ The Pi foundation identified a couple of upstream vc4 commits that seem
+ to interfere with their downstream patches. Revert those to match the Pi
+ foundations currently released 5.10 kernel.
+ 
+ [Where Problems Could Occur]
+ 
+ The changes are confined to the vc4 driver, so problems would only show
+ up if that driver is in use. Which is only the case for the Ubuntu raspi
+ desktop image, so sever images should not be impacted at all.
+ 
+ [Original Description]
+ 
  Under the current (5.13.0-1007.8) or proposed (5.13.0-1008.9) kernels
  for the Ubuntu Pi pre-installed desktop impish release, the HDMI output
  occasionally freezes. A known workaround at this time is to change the
  following line in /boot/firmware/config.txt:
  
  dtoverlay=vc4-kms-v3d
  
  To the following:
  
  dtoverlay=vc4-fkms-v3d
  
  In other words, to use the "fake" KMS overlay (fkms) instead of the
  "full" KMS overlay (kms).
  
  I've been unable to determine a reliable method of guaranteeing a
  freeze, but it appears to occur much more readily when video playback is
  occurring, and when other interactions (especially moving windows
  around, minimizing, restoring) occurs simultaneously.  Display suspend
  also periodically causes the same hang, which made me suspect this might
  be related to #1944397 but it appears that had a separate cause (now
  resolved).
  
  The following dmesg outputs have been observed immediately after the
  display hang; this one from 1007.8:
  
  [  513.762138] [drm:drm_crtc_commit_wait [drm]] *ERROR* flip_done timed out
  [  513.762288] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] 
*ERROR* [CRTC:76:crtc-3] co
- mmit wait timed out 
+ mmit wait timed out
  [  513.762381] [drm:drm_atomic_helper_wait_for_flip_done [drm_kms_helper]] 
*ERROR* [CRTC:76:crtc-3] flip_
- done timed out  
+ done timed out
  [  524.002211] [drm:drm_crtc_commit_wait [drm]] *ERROR* flip_done timed out
  [  524.002404] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] 
*ERROR* [PLANE:205:plane-25
  ] commit wait timed out
  [  534.242499] [drm:drm_crtc_commit_wait [drm]] *ERROR* flip_done timed out
  [  534.242657] vc4-drm gpu: [drm] *ERROR* Timed out waiting for commit
  [  534.250685] [ cut here ]
  [  534.250701] refcount_t: underflow; use-after-free.
  [  534.250735] WARNING: CPU: 1 PID: 120 at lib/refcount.c:87 
refcount_dec_not_one+0xa0/0xbc
  [  534.250758] Modules linked in: rfcomm cmac algif_hash algif_skcipher 
af_alg hci_uart btqca btrtl btbcm
-  btintel bnep snd_soc_hdmi_codec vc4 btsdio snd_soc_core input_leds bluetooth 
snd_compress snd_bcm2835(C)
-  snd_pcm_dmaengine ecdh_generic ecc snd_pcm brcmfmac snd_seq_midi 
snd_seq_midi_event bcm2835_codec(C) bcm
- 2835_isp(C) bcm2835_v4l2(C) brcmutil snd_rawmidi v4l2_mem2mem 
bcm2835_mmal_vchiq(C) videobuf2_dma_contig 
+  btintel bnep snd_soc_hdmi_codec vc4 btsdio snd_soc_core input_leds bluetooth 
snd_compress snd_bcm2835(C)
+  snd_pcm_dmaengine ecdh_generic ecc snd_pcm brcmfmac snd_seq_midi 
snd_seq_midi_event bcm2835_codec(C) bcm
+ 2835_isp(C) bcm2835_v4l2(C) brcmutil snd_rawmidi v4l2_mem2mem 
bcm2835_mmal_vchiq(C) videobuf2_dma_contig
  videobuf2_vmalloc cfg80211 videobuf2_memops videobuf2_v4l2 snd_seq 
videobuf2_common videodev snd_seq_devi
  ce mc snd_timer vc_sm_cma(C) raspberrypi_hwmon snd bcm2835_gpiomem rpivid_mem 
uio_pdrv_genirq uio sch_fq_
  codel ip_tables x_tables autofs4 btrfs blake2b_generic xor xor_neon 
zstd_compress hid_generic usbhid raid
  6_pq libcrc32c dm_mirror dm_region_hash dm_log spidev dwc2 v3d roles udc_core 
gpu_sched crct10dif_ce i2c_
  brcmstb i2c_bcm2835 spi_bcm2835 drm_kms_helper syscopyarea xhci_pci 
xhci_pci_renesas sysfillrect sysimgbl
- t fb_sys_fops cec drm phy_generic ac97_bus aes_arm64 
+ t fb_sys_fops cec drm phy_generic ac97_bus aes_arm64
  [  534.251066] CPU: 1 PID: 120 Comm: kworker/1:2 Tainted: GWC
5.13.0-1007-raspi #8-Ubuntu
  [  534.251076] Hardware name: Raspberry Pi 400 Rev 1.1 (DT)
  [  534.251083] Workqueue: events drm_mode_rmfb_work_fn [drm]
  [  

[Bug 1946368] Re: HDMI output freezes under current/proposed impish kernels

2021-10-18 Thread Juerg Haefliger
I like these answers :-) Thanks for helping to nail this down.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1946368

Title:
  HDMI output freezes under current/proposed impish kernels

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1946368] Re: HDMI output freezes under current/proposed impish kernels

2021-10-18 Thread William Wilson
It seems changing the power supply (along with the test kernel provided
by juergh) has resolved my issues as well.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1946368

Title:
  HDMI output freezes under current/proposed impish kernels

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1946368] Re: HDMI output freezes under current/proposed impish kernels

2021-10-18 Thread fossfreedom
@juergh - apologies - I've diagnosed my boot freeze issue - it was a
power supply issue.  Changing to a brand new supply makes the boot work.
KMS must have just tipped the voltage available.

The good news is that installing the 6 debs from the test kernel no
longer causes freezes.  So congrats on resolving this.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1946368

Title:
  HDMI output freezes under current/proposed impish kernels

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1946368] Re: HDMI output freezes under current/proposed impish kernels

2021-10-18 Thread Juerg Haefliger
@andrum99, that is certainly not intentional. My Pi 4 continues to
happily run wayland with that test kernel.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1946368

Title:
  HDMI output freezes under current/proposed impish kernels

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1946368] Re: HDMI output freezes under current/proposed impish kernels

2021-10-18 Thread andrum99
Just noticed that with the kernel from
https://kernel.ubuntu.com/~juergh/lp1946368/ my Pi 4B is no longer using
wayland - Xorg is used instead. Not sure if this is intentional. Ideally
wayland would be used for desktop compositing, since there is
considerable screen tearing with Xorg.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1946368

Title:
  HDMI output freezes under current/proposed impish kernels

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1946368] Re: HDMI output freezes under current/proposed impish kernels

2021-10-17 Thread fossfreedom
Unfortunately there doesnt appear to be any logs produced with the kms
boot - just the fkms boot.

I presume logs are not immediately written to the SDCard - checked this
via journalctl --list-boots that only shows the fkms session boots

anyway - enc the edid of the monitor

** Attachment added: "fossfreedom edid monitor"
   
https://bugs.launchpad.net/ubuntu/+source/linux-raspi/+bug/1946368/+attachment/5533679/+files/edid

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1946368

Title:
  HDMI output freezes under current/proposed impish kernels

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1946368] Re: HDMI output freezes under current/proposed impish kernels

2021-10-16 Thread Juerg Haefliger
@fossfreedom, can you also post the binary edid of your monitor?
/sys/class/drm/card1-HDMI-A-1/edid

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1946368

Title:
  HDMI output freezes under current/proposed impish kernels

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1946368] Re: HDMI output freezes under current/proposed impish kernels

2021-10-15 Thread Juerg Haefliger
@fossfreedom, that is weird. Can you post the log from the failed boot?
journalctrl -b -1 or something.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1946368

Title:
  HDMI output freezes under current/proposed impish kernels

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1946368] Re: HDMI output freezes under current/proposed impish kernels

2021-10-14 Thread andrum99
Test kernel from https://kernel.ubuntu.com/~juergh/lp1946368/ fixes it
for me 

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1946368

Title:
  HDMI output freezes under current/proposed impish kernels

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1946368] Re: HDMI output freezes under current/proposed impish kernels

2021-10-14 Thread andrum99
I'm seeing this on Impish on my machine. Kernel is  5.13.0-1008-raspi
#9-Ubuntu. Desktop comes up but then randomly freezes with the following
in dmesg:

[  283.872220] [drm:drm_atomic_helper_wait_for_flip_done [drm_kms_helper]] 
*ERROR* [CRTC:83:crtc-4] flip_done timed out
[  283.872223] [drm:drm_crtc_commit_wait [drm]] *ERROR* flip_done timed out
[  283.872490] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] 
*ERROR* [CRTC:83:crtc-4] commit wait timed out
[  294.112288] [drm:drm_crtc_commit_wait [drm]] *ERROR* flip_done timed out
[  294.112576] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] 
*ERROR* [PLANE:211:plane-26] commit wait timed out
[  304.352387] [drm:drm_crtc_commit_wait [drm]] *ERROR* flip_done timed out
[  304.352664] vc4-drm gpu: [drm] *ERROR* Timed out waiting for commit
[  304.369388] [ cut here ]
[  304.369406] refcount_t: underflow; use-after-free.
[  304.369447] WARNING: CPU: 1 PID: 22 at lib/refcount.c:87 
refcount_dec_not_one+0xa0/0xbc
[  304.369478] Modules linked in: nfnetlink rfcomm cmac algif_hash 
algif_skcipher af_alg hci_uart btqca btrtl btbcm btintel bnep 
snd_soc_hdmi_codec btsdio bluetooth ecdh_generic ecc vc4 brcmfmac brcmutil 
input_leds snd_soc_core cfg80211 snd_compress snd_pcm_dmaengine snd_bcm2835(C) 
snd_pcm snd_seq_midi snd_seq_midi_event snd_rawmidi raspberrypi_hwmon snd_seq 
bcm2835_v4l2(C) bcm2835_codec(C) videobuf2_vmalloc snd_seq_device 
bcm2835_isp(C) v4l2_mem2mem bcm2835_mmal_vchiq(C) videobuf2_dma_contig 
snd_timer videobuf2_memops vc_sm_cma(C) videobuf2_v4l2 videobuf2_common 
videodev snd bcm2835_gpiomem mc rpivid_mem uio_pdrv_genirq uio sch_fq_codel 
ip_tables x_tables autofs4 btrfs blake2b_generic xor xor_neon zstd_compress 
raid6_pq libcrc32c hid_generic usbhid dm_mirror dm_region_hash dm_log spidev 
v3d crct10dif_ce gpu_sched dwc2 i2c_brcmstb drm_kms_helper roles udc_core 
i2c_bcm2835 syscopyarea sysfillrect sysimgblt fb_sys_fops spi_bcm2835 cec drm 
xhci_pci xhci_pci_renesas phy_generic ac97_bus
[  304.369880]  aes_arm64
[  304.369891] CPU: 1 PID: 22 Comm: kworker/1:0 Tainted: G C
5.13.0-1008-raspi #9-Ubuntu
[  304.369902] Hardware name: Raspberry Pi 4 Model B Rev 1.1 (DT)
[  304.369909] Workqueue: events drm_mode_rmfb_work_fn [drm]
[  304.370077] pstate: 6045 (nZCv daif +PAN -UAO -TCO BTYPE=--)
[  304.370087] pc : refcount_dec_not_one+0xa0/0xbc
[  304.370098] lr : refcount_dec_not_one+0xa0/0xbc
[  304.370106] sp : 8000100ebb50
[  304.370110] x29: 8000100ebb50 x28: 5d76a5c53a00 x27: 5d7644e78000
[  304.370129] x26: 5d7644e78000 x25: 0006 x24: 5d7691b91a80
[  304.370145] x23: deb5d3dda018 x22: 5d76a4ff2980 x21: 5d764f18f480
[  304.370161] x20: 5d76a5d835ac x19: 5d76a5d83400 x18: 
[  304.370177] x17:  x16: deb62d842574 x15: 
[  304.370192] x14:  x13: 0030 x12: 4000
[  304.370208] x11: deb62e8fdfd0 x10: f000 x9 : deb62d309f64
[  304.370223] x8 : efff x7 : deb62e8fdfd0 x6 : 
[  304.370239] x5 : 5d76f799f948 x4 :  x3 : 0027
[  304.370254] x2 :  x1 :  x0 : 5d76402add00
[  304.370270] Call trace:
[  304.370274]  refcount_dec_not_one+0xa0/0xbc
[  304.370283]  vc4_bo_dec_usecnt+0x2c/0x120 [vc4]
[  304.370340]  vc4_cleanup_fb+0x3c/0x4c [vc4]
[  304.370389]  drm_atomic_helper_cleanup_planes+0x74/0xa0 [drm_kms_helper]
[  304.370479]  vc4_atomic_commit_tail+0x24c/0x36c [vc4]
[  304.370528]  commit_tail+0xac/0x190 [drm_kms_helper]
[  304.370612]  drm_atomic_helper_commit+0x168/0x380 [drm_kms_helper]
[  304.370692]  drm_atomic_commit+0x58/0x70 [drm]
[  304.370847]  atomic_remove_fb+0x2a8/0x2f4 [drm]
[  304.370998]  drm_framebuffer_remove+0x164/0x18c [drm]
[  304.371148]  drm_mode_rmfb_work_fn+0x50/0x70 [drm]
[  304.371297]  process_one_work+0x200/0x4d0
[  304.371311]  worker_thread+0x2c8/0x470
[  304.371319]  kthread+0x12c/0x140
[  304.371328]  ret_from_fork+0x10/0x3c
[  304.371339] ---[ end trace 6ac80fe19eebcafd ]---

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1946368

Title:
  HDMI output freezes under current/proposed impish kernels

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Re: [Bug 1946368] Re: HDMI output freezes under current/proposed impish kernels

2021-10-14 Thread fossfreedom
Similar here to William Wilson's observation - I've now done a clean
install - installed openssh-server - autologin.  With KMS and no
monitor attached the raspi hangs before any network is established -
confirmed via nmap scan.  With fkms & no monitor attached, boot occurs
ok and I can find the raspi IP via nmap and connect via ssh.

On Thu, 14 Oct 2021 at 17:10, knoedel fan <1946...@bugs.launchpad.net> wrote:
>
> #25
> No problem for me.
> Ubuntu Budgie 21.10 is only release candidate. So, if there is the final out 
> coming, I install this fresh.
> It's only my Test-System, and normally I use Ubuntu budgie 21.04.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1946368
>
> Title:
>   HDMI output freezes under current/proposed impish kernels
>
> Status in linux-raspi package in Ubuntu:
>   Confirmed
> Status in linux-raspi source package in Impish:
>   Confirmed
>
> Bug description:
>   Under the current (5.13.0-1007.8) or proposed (5.13.0-1008.9) kernels
>   for the Ubuntu Pi pre-installed desktop impish release, the HDMI
>   output occasionally freezes. A known workaround at this time is to
>   change the following line in /boot/firmware/config.txt:
>
>   dtoverlay=vc4-kms-v3d
>
>   To the following:
>
>   dtoverlay=vc4-fkms-v3d
>
>   In other words, to use the "fake" KMS overlay (fkms) instead of the
>   "full" KMS overlay (kms).
>
>   I've been unable to determine a reliable method of guaranteeing a
>   freeze, but it appears to occur much more readily when video playback
>   is occurring, and when other interactions (especially moving windows
>   around, minimizing, restoring) occurs simultaneously.  Display suspend
>   also periodically causes the same hang, which made me suspect this
>   might be related to #1944397 but it appears that had a separate cause
>   (now resolved).
>
>   The following dmesg outputs have been observed immediately after the
>   display hang; this one from 1007.8:
>
>   [  513.762138] [drm:drm_crtc_commit_wait [drm]] *ERROR* flip_done timed out
>   [  513.762288] [drm:drm_atomic_helper_wait_for_dependencies 
> [drm_kms_helper]] *ERROR* [CRTC:76:crtc-3] co
>   mmit wait timed out
>   [  513.762381] [drm:drm_atomic_helper_wait_for_flip_done [drm_kms_helper]] 
> *ERROR* [CRTC:76:crtc-3] flip_
>   done timed out
>   [  524.002211] [drm:drm_crtc_commit_wait [drm]] *ERROR* flip_done timed out
>   [  524.002404] [drm:drm_atomic_helper_wait_for_dependencies 
> [drm_kms_helper]] *ERROR* [PLANE:205:plane-25
>   ] commit wait timed out
>   [  534.242499] [drm:drm_crtc_commit_wait [drm]] *ERROR* flip_done timed out
>   [  534.242657] vc4-drm gpu: [drm] *ERROR* Timed out waiting for commit
>   [  534.250685] [ cut here ]
>   [  534.250701] refcount_t: underflow; use-after-free.
>   [  534.250735] WARNING: CPU: 1 PID: 120 at lib/refcount.c:87 
> refcount_dec_not_one+0xa0/0xbc
>   [  534.250758] Modules linked in: rfcomm cmac algif_hash algif_skcipher 
> af_alg hci_uart btqca btrtl btbcm
>btintel bnep snd_soc_hdmi_codec vc4 btsdio snd_soc_core input_leds 
> bluetooth snd_compress snd_bcm2835(C)
>snd_pcm_dmaengine ecdh_generic ecc snd_pcm brcmfmac snd_seq_midi 
> snd_seq_midi_event bcm2835_codec(C) bcm
>   2835_isp(C) bcm2835_v4l2(C) brcmutil snd_rawmidi v4l2_mem2mem 
> bcm2835_mmal_vchiq(C) videobuf2_dma_contig
>   videobuf2_vmalloc cfg80211 videobuf2_memops videobuf2_v4l2 snd_seq 
> videobuf2_common videodev snd_seq_devi
>   ce mc snd_timer vc_sm_cma(C) raspberrypi_hwmon snd bcm2835_gpiomem 
> rpivid_mem uio_pdrv_genirq uio sch_fq_
>   codel ip_tables x_tables autofs4 btrfs blake2b_generic xor xor_neon 
> zstd_compress hid_generic usbhid raid
>   6_pq libcrc32c dm_mirror dm_region_hash dm_log spidev dwc2 v3d roles 
> udc_core gpu_sched crct10dif_ce i2c_
>   brcmstb i2c_bcm2835 spi_bcm2835 drm_kms_helper syscopyarea xhci_pci 
> xhci_pci_renesas sysfillrect sysimgbl
>   t fb_sys_fops cec drm phy_generic ac97_bus aes_arm64
>   [  534.251066] CPU: 1 PID: 120 Comm: kworker/1:2 Tainted: GWC   
>  5.13.0-1007-raspi #8-Ubuntu
>   [  534.251076] Hardware name: Raspberry Pi 400 Rev 1.1 (DT)
>   [  534.251083] Workqueue: events drm_mode_rmfb_work_fn [drm]
>   [  534.251239] pstate: 6045 (nZCv daif +PAN -UAO -TCO BTYPE=--)
>   [  534.251248] pc : refcount_dec_not_one+0xa0/0xbc
>   [  534.251257] lr : refcount_dec_not_one+0xa0/0xbc
>   [  534.251265] sp : 8000118cbb50
>   [  534.251269] x29: 8000118cbb50 x28: 6cf7ee894400 x27: 
> 6cf80502e000
>   [  534.251285] x26: 6cf80502e000 x25: 0006 x24: 
> 6cf7ee94c500
>   [  534.251300] x23: a94dff246018 x22: 6cf833068880 x21: 
> 6cf805027c80
>   [  534.251314] x20: 6cf88ead75ac x19: 6cf88ead7400 x18: 
> 
>   [  534.251328] x17:  x16: a94e0a243314 x15: 
> 
>   [  534.251342] x14:  x13: 0030 x12: 
> 

[Bug 1946368] Re: HDMI output freezes under current/proposed impish kernels

2021-10-14 Thread knoedel fan
#25
No problem for me.
Ubuntu Budgie 21.10 is only release candidate. So, if there is the final out 
coming, I install this fresh.
It's only my Test-System, and normally I use Ubuntu budgie 21.04.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1946368

Title:
  HDMI output freezes under current/proposed impish kernels

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1946368] Re: HDMI output freezes under current/proposed impish kernels

2021-10-14 Thread William Wilson
@juergh with this new kernel I no longer see the flip_done timed out
message, but HDMI still dies and the boot process hangs right after
plymouth starts up.

```
ext4
Thu Jan  1 00:00:09 UTC 1970
writable: recovering journal
writable: clean, 159978/929200 files, 1595477/3751163 blocks
-.mount
blk-availability.service
dev-hugepages.mount
dev-mqueue.mount
sys-kernel-debug.mount
sys-kernel-tracing.mount
kmod-static-nodes.service
systemd-modules-load.service
systemd-remount-fs.service
ufw.service
swapfile.swap
systemd-journald.service
sys-fs-fuse-connections.mount
sys-kernel-config.mount
systemd-growfs@-.service
systemd-random-seed.service
systemd-sysusers.service
systemd-sysctl.service
systemd-tmpfiles-setup-dev.service
keyboard-setup.service
systemd-journal-flush.service
lvm2-monitor.service
snap-bare-5.mount
snap-core-11803.mount
snap-core20-1171.mount
snap-firefox-633.mount
snap-gnome\x2d3\x2d38\x2d2004-78.mount
snap-gtk\x2dcommon\x2dthemes-1519.mount
snap-snap\x2dstore-555.mount
systemd-udevd.service
systemd-udev-trigger.service
plymouth-start.service
[   15.442712] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43456-sdio 
for chip BCM4345/9
[   15.725950] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43456-sdio 
for chip BCM4345/9
[   15.738824] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43456-sdio 
for chip BCM4345/9
[   15.760840] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4345/9 wl0: May 14 
2020 17:26:08 version 7.84.17.1 (r871554) FWID 01-3d9e1d87
```

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1946368

Title:
  HDMI output freezes under current/proposed impish kernels

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1946368] Re: HDMI output freezes under current/proposed impish kernels

2021-10-14 Thread Juerg Haefliger
@fossfreedom, can you SSH to the system if you boot without a monitor attached? 
Then you could (untested):
- systemctl set-default multi-user
- reattach monitor
- reboot
- SSH to system
- systemctl isolate graphical (to fire up X)
- pull logs (assuming the system stays up)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1946368

Title:
  HDMI output freezes under current/proposed impish kernels

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1946368] Re: HDMI output freezes under current/proposed impish kernels

2021-10-14 Thread Juerg Haefliger
@knoedelfan, then you'll never get kernel updates again since the test
kernel's version will always be higher. Your call.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1946368

Title:
  HDMI output freezes under current/proposed impish kernels

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1946368] Re: HDMI output freezes under current/proposed impish kernels

2021-10-14 Thread fprietog
@fossfreedom, apart from the wm used (you budgie-wm and me gnome-shell)
I see that your HDMI devices are identified as brcm:soc while mines are
identified as fef00700 and fef05700.

Maybe we are using different eeprom version. I'm using latest stable from here:
https://github.com/raspberrypi/rpi-eeprom

root@fpgrpi:~# rpi-eeprom-update

BOOTLOADER: up to date
   CURRENT: mar 06 jul 2021 10:44:53 UTC (1625568293)
LATEST: jue 29 abr 2021 16:11:25 UTC (1619712685)
   RELEASE: stable (/lib/firmware/raspberrypi/bootloader/stable)
Use raspi-config to change the release.

  VL805_FW: Using bootloader EEPROM
 VL805: up to date
   CURRENT: 000138a1
LATEST: 000138a1

Which one are you using? Maybe you can update it to the newest version
just to try.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1946368

Title:
  HDMI output freezes under current/proposed impish kernels

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1946368] Re: HDMI output freezes under current/proposed impish kernels

2021-10-14 Thread knoedel fan
#21

Because the two *. deb from https://kernel. ubuntu. com/~juergh/impish-
raspi/ work, I don’t see any reason to make any further changes at the
moment.

Had installed both with "Software" Application installation.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1946368

Title:
  HDMI output freezes under current/proposed impish kernels

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Re: [Bug 1946368] Re: HDMI output freezes under current/proposed impish kernels

2021-10-14 Thread fossfreedom
Graphics:
  Device-1: bcm2711-vc5 driver: vc4_drm v: N/A bus-ID: N/A chip-ID: brcm:gpu
  class-ID: gpu
  Device-2: bcm2711-hdmi0 driver: N/A bus-ID: N/A chip-ID: brcm:soc
  class-ID: hdmi
  Device-3: bcm2711-hdmi1 driver: N/A bus-ID: N/A chip-ID: brcm:soc
  class-ID: hdmi
  Display: x11 server: X.Org 1.20.13 compositor: budgie-wm driver:
  loaded: modesetting unloaded: fbdev display-ID: :0 screens: 1
  Screen-1: 0 s-res: 1440x900 s-dpi: 96 s-size: 381x238mm (15.0x9.4")
  s-diag: 449mm (17.7")
  Monitor-1: HDMI-1 res: 1440x900 hz: 60 dpi: 90
  size: 408x255mm (16.1x10.0") diag: 481mm (18.9")
  OpenGL: renderer: V3D 4.2 v: 2.1 Mesa 21.2.2 direct render: Yes


The hang is at boot stage - so it hasnt got to lightDM/desktop - so
its not possible to SSH - I scanned via nmap and it isnt seen on the
network.  I just see the initial date text after the splash screen,
followed by writable blocks and seeing briefly the load of the
broadcom driver - at that stage the monitor turns off.  Switching back
to fkms via a separate computer, reinserting into the pi allows the
boot to be ok to the lightdm & desktop.

If my issues are different from others then maybe I should raise a
separate bug report.
On Thu, 14 Oct 2021 at 14:35, knoedel fan <1946...@bugs.launchpad.net> wrote:
>
> I have installed this 2 *.deb from here:
> https://kernel.ubuntu.com/~juergh/impish-raspi/
>
> Setting is now kms instead fkms
>
> uname -a
> Linux RW-RPI2 5.13.14-9004-raspi #1+git9545d93d SMP PREEMPT Thu Oct 14 
> 11:12:19 CEST 2021 aarch64 aarch64 aarch64 GNU/Linux
>
> Ubuntu Budgie 21.10
>
> Starting Video with "Kylin" (setting is Mplayer) and it works fine without 
> freeze.
> Testing with DELL 19" 1600x900. Video playing in Fullscreen or Windows 
> without issue.
> Video playing in Firefox-Browser without issue.
>
> I had installed all 6 *.deb from  https://kernel.ubuntu.com/~juergh/lp1946368/
> but that don´t helps out. So, i remove all of them again.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1946368
>
> Title:
>   HDMI output freezes under current/proposed impish kernels
>
> Status in linux-raspi package in Ubuntu:
>   Confirmed
> Status in linux-raspi source package in Impish:
>   Confirmed
>
> Bug description:
>   Under the current (5.13.0-1007.8) or proposed (5.13.0-1008.9) kernels
>   for the Ubuntu Pi pre-installed desktop impish release, the HDMI
>   output occasionally freezes. A known workaround at this time is to
>   change the following line in /boot/firmware/config.txt:
>
>   dtoverlay=vc4-kms-v3d
>
>   To the following:
>
>   dtoverlay=vc4-fkms-v3d
>
>   In other words, to use the "fake" KMS overlay (fkms) instead of the
>   "full" KMS overlay (kms).
>
>   I've been unable to determine a reliable method of guaranteeing a
>   freeze, but it appears to occur much more readily when video playback
>   is occurring, and when other interactions (especially moving windows
>   around, minimizing, restoring) occurs simultaneously.  Display suspend
>   also periodically causes the same hang, which made me suspect this
>   might be related to #1944397 but it appears that had a separate cause
>   (now resolved).
>
>   The following dmesg outputs have been observed immediately after the
>   display hang; this one from 1007.8:
>
>   [  513.762138] [drm:drm_crtc_commit_wait [drm]] *ERROR* flip_done timed out
>   [  513.762288] [drm:drm_atomic_helper_wait_for_dependencies 
> [drm_kms_helper]] *ERROR* [CRTC:76:crtc-3] co
>   mmit wait timed out
>   [  513.762381] [drm:drm_atomic_helper_wait_for_flip_done [drm_kms_helper]] 
> *ERROR* [CRTC:76:crtc-3] flip_
>   done timed out
>   [  524.002211] [drm:drm_crtc_commit_wait [drm]] *ERROR* flip_done timed out
>   [  524.002404] [drm:drm_atomic_helper_wait_for_dependencies 
> [drm_kms_helper]] *ERROR* [PLANE:205:plane-25
>   ] commit wait timed out
>   [  534.242499] [drm:drm_crtc_commit_wait [drm]] *ERROR* flip_done timed out
>   [  534.242657] vc4-drm gpu: [drm] *ERROR* Timed out waiting for commit
>   [  534.250685] [ cut here ]
>   [  534.250701] refcount_t: underflow; use-after-free.
>   [  534.250735] WARNING: CPU: 1 PID: 120 at lib/refcount.c:87 
> refcount_dec_not_one+0xa0/0xbc
>   [  534.250758] Modules linked in: rfcomm cmac algif_hash algif_skcipher 
> af_alg hci_uart btqca btrtl btbcm
>btintel bnep snd_soc_hdmi_codec vc4 btsdio snd_soc_core input_leds 
> bluetooth snd_compress snd_bcm2835(C)
>snd_pcm_dmaengine ecdh_generic ecc snd_pcm brcmfmac snd_seq_midi 
> snd_seq_midi_event bcm2835_codec(C) bcm
>   2835_isp(C) bcm2835_v4l2(C) brcmutil snd_rawmidi v4l2_mem2mem 
> bcm2835_mmal_vchiq(C) videobuf2_dma_contig
>   videobuf2_vmalloc cfg80211 videobuf2_memops videobuf2_v4l2 snd_seq 
> videobuf2_common videodev snd_seq_devi
>   ce mc snd_timer vc_sm_cma(C) raspberrypi_hwmon snd bcm2835_gpiomem 
> rpivid_mem uio_pdrv_genirq uio sch_fq_
>   codel ip_tables x_tables autofs4 btrfs 

[Bug 1946368] Re: HDMI output freezes under current/proposed impish kernels

2021-10-14 Thread Juerg Haefliger
@knoedelfan, Oh, you might need to force flash-kernel if you have test
kernels installed because their versions might be higher.

Install linux-image and linux-modules from
https://kernel.ubuntu.com/~juergh/lp1946368/ and then 'flash-kernel
--force 5.13.0-1008-raspi'.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1946368

Title:
  HDMI output freezes under current/proposed impish kernels

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1946368] Re: HDMI output freezes under current/proposed impish kernels

2021-10-14 Thread Juerg Haefliger
@knoedelfan, what doesn't help? `uname -a` will just show you the
version of the running kernel.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1946368

Title:
  HDMI output freezes under current/proposed impish kernels

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1946368] Re: HDMI output freezes under current/proposed impish kernels

2021-10-14 Thread Juerg Haefliger
@fossfredom can you ssh to the system and pull the kernel log?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1946368

Title:
  HDMI output freezes under current/proposed impish kernels

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1946368] Re: HDMI output freezes under current/proposed impish kernels

2021-10-14 Thread knoedel fan
I have installed this 2 *.deb from here:
https://kernel.ubuntu.com/~juergh/impish-raspi/

Setting is now kms instead fkms

uname -a
Linux RW-RPI2 5.13.14-9004-raspi #1+git9545d93d SMP PREEMPT Thu Oct 14 11:12:19 
CEST 2021 aarch64 aarch64 aarch64 GNU/Linux

Ubuntu Budgie 21.10

Starting Video with "Kylin" (setting is Mplayer) and it works fine without 
freeze.
Testing with DELL 19" 1600x900. Video playing in Fullscreen or Windows without 
issue.
Video playing in Firefox-Browser without issue.

I had installed all 6 *.deb from  https://kernel.ubuntu.com/~juergh/lp1946368/
but that don´t helps out. So, i remove all of them again.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1946368

Title:
  HDMI output freezes under current/proposed impish kernels

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1946368] Re: HDMI output freezes under current/proposed impish kernels

2021-10-14 Thread Ubuntu QA Website
This bug has been reported on the Ubuntu ISO testing tracker.

A list of all reports related to this bug can be found here:
http://iso.qa.ubuntu.com/qatracker/reports/bugs/1946368

** Tags added: iso-testing

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1946368

Title:
  HDMI output freezes under current/proposed impish kernels

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1946368] Re: HDMI output freezes under current/proposed impish kernels

2021-10-14 Thread fprietog
@fossfreedom sorry to read this. It's still working for me even triyng
to force it dragging icons, playing video and doing gpu benchmarks...

Please, publish here the result of inxi -Faz command in order to see if
there is a difference between your and my graphics system:

Wayland, inxi graphics section:
---
Graphics:  Device-1: bcm2711-hdmi0 driver: vc4_hdmi v: N/A bus-ID: N/A chip-ID: 
brcm:fef00700 class-ID: hdmi 
   Device-2: bcm2711-hdmi1 driver: vc4_hdmi v: N/A bus-ID: N/A chip-ID: 
brcm:fef05700 class-ID: hdmi 
   Device-3: bcm2711-vc5 driver: vc4_drm v: N/A bus-ID: N/A chip-ID: 
brcm:gpu class-ID: gpu 
   Display: wayland server: X.Org 1.21.1.2 compositor: gnome-shell 
driver: loaded: modesetting unloaded: fbdev 
   display-ID: :0 screens: 1 
   Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x286mm 
(20.0x11.3") s-diag: 583mm (23") 
   Monitor-1: XWAYLAND0 res: 1920x1080 hz: 60 dpi: 102 size: 480x270mm 
(18.9x10.6") diag: 551mm (21.7") 
   OpenGL: renderer: V3D 4.2 v: 2.1 Mesa 21.2.2 direct render: Yes 

X11, inxi graphics section:
---
Graphics:  Device-1: bcm2711-hdmi0 driver: vc4_hdmi v: N/A bus-ID: N/A chip-ID: 
brcm:fef00700 class-ID: hdmi 
   Device-2: bcm2711-hdmi1 driver: vc4_hdmi v: N/A bus-ID: N/A chip-ID: 
brcm:fef05700 class-ID: hdmi 
   Device-3: bcm2711-vc5 driver: vc4_drm v: N/A bus-ID: N/A chip-ID: 
brcm:gpu class-ID: gpu 
   Display: x11 server: X.Org 1.20.13 compositor: gnome-shell driver: 
loaded: modesetting unloaded: fbdev 
   display-ID: :0 screens: 1 
   Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm 
(20.0x11.2") s-diag: 582mm (22.9") 
   Monitor-1: HDMI-1 res: 1920x1080 hz: 60 dpi: 102 size: 476x268mm 
(18.7x10.6") diag: 546mm (21.5") 
   OpenGL: renderer: V3D 4.2 v: 2.1 Mesa 21.2.2 direct render: Yes

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1946368

Title:
  HDMI output freezes under current/proposed impish kernels

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Re: [Bug 1946368] Re: HDMI output freezes under current/proposed impish kernels

2021-10-14 Thread fossfreedom
'fraid its not working here.

Confirmed uname -a - rebooted, ok.  Switched to kms and on reboot it
hangs.

Here using budgie-desktop installed on the current 21.10 release image
with gnome-shell removed.  Thus using X11.


On Thu, 14 Oct 2021 at 13:01, fprietog <1946...@bugs.launchpad.net> wrote:
>
> Quick test done:
>
> root@fpgrpi:~# uname -a
> Linux fpgrpi 5.13.0-1008-raspi #9+20211014.git9545d93d SMP PREEMPT Thu Oct 14 
> 09:46:28 UTC 2021 aarch64 aarch64 aarch64 GNU/Linux
>
> Tested dtoverlay=vc4-kms-v3d on both wayland and X11 with no HDMI
> freezes at all. I'll have it keep running (on wayland) to make sure, but
> this fix seems to be really promising. Thanks.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1946368
>
> Title:
>   HDMI output freezes under current/proposed impish kernels
>
> Status in linux-raspi package in Ubuntu:
>   Confirmed
> Status in linux-raspi source package in Impish:
>   Confirmed
>
> Bug description:
>   Under the current (5.13.0-1007.8) or proposed (5.13.0-1008.9) kernels
>   for the Ubuntu Pi pre-installed desktop impish release, the HDMI
>   output occasionally freezes. A known workaround at this time is to
>   change the following line in /boot/firmware/config.txt:
>
>   dtoverlay=vc4-kms-v3d
>
>   To the following:
>
>   dtoverlay=vc4-fkms-v3d
>
>   In other words, to use the "fake" KMS overlay (fkms) instead of the
>   "full" KMS overlay (kms).
>
>   I've been unable to determine a reliable method of guaranteeing a
>   freeze, but it appears to occur much more readily when video playback
>   is occurring, and when other interactions (especially moving windows
>   around, minimizing, restoring) occurs simultaneously.  Display suspend
>   also periodically causes the same hang, which made me suspect this
>   might be related to #1944397 but it appears that had a separate cause
>   (now resolved).
>
>   The following dmesg outputs have been observed immediately after the
>   display hang; this one from 1007.8:
>
>   [  513.762138] [drm:drm_crtc_commit_wait [drm]] *ERROR* flip_done timed out
>   [  513.762288] [drm:drm_atomic_helper_wait_for_dependencies 
> [drm_kms_helper]] *ERROR* [CRTC:76:crtc-3] co
>   mmit wait timed out
>   [  513.762381] [drm:drm_atomic_helper_wait_for_flip_done [drm_kms_helper]] 
> *ERROR* [CRTC:76:crtc-3] flip_
>   done timed out
>   [  524.002211] [drm:drm_crtc_commit_wait [drm]] *ERROR* flip_done timed out
>   [  524.002404] [drm:drm_atomic_helper_wait_for_dependencies 
> [drm_kms_helper]] *ERROR* [PLANE:205:plane-25
>   ] commit wait timed out
>   [  534.242499] [drm:drm_crtc_commit_wait [drm]] *ERROR* flip_done timed out
>   [  534.242657] vc4-drm gpu: [drm] *ERROR* Timed out waiting for commit
>   [  534.250685] [ cut here ]
>   [  534.250701] refcount_t: underflow; use-after-free.
>   [  534.250735] WARNING: CPU: 1 PID: 120 at lib/refcount.c:87 
> refcount_dec_not_one+0xa0/0xbc
>   [  534.250758] Modules linked in: rfcomm cmac algif_hash algif_skcipher 
> af_alg hci_uart btqca btrtl btbcm
>btintel bnep snd_soc_hdmi_codec vc4 btsdio snd_soc_core input_leds 
> bluetooth snd_compress snd_bcm2835(C)
>snd_pcm_dmaengine ecdh_generic ecc snd_pcm brcmfmac snd_seq_midi 
> snd_seq_midi_event bcm2835_codec(C) bcm
>   2835_isp(C) bcm2835_v4l2(C) brcmutil snd_rawmidi v4l2_mem2mem 
> bcm2835_mmal_vchiq(C) videobuf2_dma_contig
>   videobuf2_vmalloc cfg80211 videobuf2_memops videobuf2_v4l2 snd_seq 
> videobuf2_common videodev snd_seq_devi
>   ce mc snd_timer vc_sm_cma(C) raspberrypi_hwmon snd bcm2835_gpiomem 
> rpivid_mem uio_pdrv_genirq uio sch_fq_
>   codel ip_tables x_tables autofs4 btrfs blake2b_generic xor xor_neon 
> zstd_compress hid_generic usbhid raid
>   6_pq libcrc32c dm_mirror dm_region_hash dm_log spidev dwc2 v3d roles 
> udc_core gpu_sched crct10dif_ce i2c_
>   brcmstb i2c_bcm2835 spi_bcm2835 drm_kms_helper syscopyarea xhci_pci 
> xhci_pci_renesas sysfillrect sysimgbl
>   t fb_sys_fops cec drm phy_generic ac97_bus aes_arm64
>   [  534.251066] CPU: 1 PID: 120 Comm: kworker/1:2 Tainted: GWC   
>  5.13.0-1007-raspi #8-Ubuntu
>   [  534.251076] Hardware name: Raspberry Pi 400 Rev 1.1 (DT)
>   [  534.251083] Workqueue: events drm_mode_rmfb_work_fn [drm]
>   [  534.251239] pstate: 6045 (nZCv daif +PAN -UAO -TCO BTYPE=--)
>   [  534.251248] pc : refcount_dec_not_one+0xa0/0xbc
>   [  534.251257] lr : refcount_dec_not_one+0xa0/0xbc
>   [  534.251265] sp : 8000118cbb50
>   [  534.251269] x29: 8000118cbb50 x28: 6cf7ee894400 x27: 
> 6cf80502e000
>   [  534.251285] x26: 6cf80502e000 x25: 0006 x24: 
> 6cf7ee94c500
>   [  534.251300] x23: a94dff246018 x22: 6cf833068880 x21: 
> 6cf805027c80
>   [  534.251314] x20: 6cf88ead75ac x19: 6cf88ead7400 x18: 
> 
>   [  534.251328] x17:  x16: a94e0a243314 x15: 
> 
>   [  534.251342] 

[Bug 1946368] Re: HDMI output freezes under current/proposed impish kernels

2021-10-14 Thread fprietog
Quick test done:

root@fpgrpi:~# uname -a
Linux fpgrpi 5.13.0-1008-raspi #9+20211014.git9545d93d SMP PREEMPT Thu Oct 14 
09:46:28 UTC 2021 aarch64 aarch64 aarch64 GNU/Linux

Tested dtoverlay=vc4-kms-v3d on both wayland and X11 with no HDMI
freezes at all. I'll have it keep running (on wayland) to make sure, but
this fix seems to be really promising. Thanks.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1946368

Title:
  HDMI output freezes under current/proposed impish kernels

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1946368] Re: HDMI output freezes under current/proposed impish kernels

2021-10-14 Thread Juerg Haefliger
A test kernel is available here:
https://kernel.ubuntu.com/~juergh/lp1946368/

I'd appreciate it if people who suffer from this problem could take it
for a spin and report back.

Make sure to use full kms, i.e., dtoverlay=vc4-kms-v3d and also verify
that you're actually running the test kernel:

$ uname -a
Linux rpi-4b-rev1d4-d9f5 5.13.0-1008-raspi #9+20211014.git9545d93d SMP PREEMPT 
Thu Oct 14 09:46:28 UTC 2021 aarch64 aarch64 aarch64 GNU/Linux

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1946368

Title:
  HDMI output freezes under current/proposed impish kernels

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1946368] Re: HDMI output freezes under current/proposed impish kernels

2021-10-13 Thread Juerg Haefliger
Not sure if this is yet another different issue. Setting GNOME to
1920x1080@120Hz and rebooting consistently yields the below crash when X
starts:

[   35.852282] Unable to handle kernel paging request at virtual address 
dead0108
[   35.860416] Mem abort info:
[   35.863282]   ESR = 0x9644
[   35.866382]   EC = 0x25: DABT (current EL), IL = 32 bits
[   35.871847]   SET = 0, FnV = 0
[   35.875059]   EA = 0, S1PTW = 0
[   35.878266] Data abort info:
[   35.881231]   ISV = 0, ISS = 0x0044
[   35.885156]   CM = 0, WnR = 1
[   35.888185] [dead0108] address between user and kernel address ranges
[   35.895469] Internal error: Oops: 9644 [#1] PREEMPT SMP
[   35.901128] Modules linked in: rfcomm cmac algif_hash aes_arm64 
algif_skcipher af_alg hci_uart btqca btrtl btbcm btintel bnep 
snd_soc_hdmi_codec btsdio bluetooth vc4 snd_soc_core ecdh_generic ecc 
snd_bcm2835(C) snd_pcm_dmaengine snd_pcm_oss bcm2835_codec(C) bcm2835_isp(C) 
brcmfmac snd_pcm v4l2_mem2mem videobuf2_dma_contig bcm2835_v4l2(C) 
bcm2835_mmal_vchiq(C) cfg80211 snd_seq videobuf2_vmalloc v3d gpu_sched 
snd_seq_device crct10dif_ce videobuf2_memops rfkill videobuf2_v4l2 brcmutil 
raspberrypi_hwmon videobuf2_common snd_timer vc_sm_cma(C) videodev snd 
drm_kms_helper mc syscopyarea sysfillrect sysimgblt bcm2835_gpiomem fb_sys_fops 
cec rpivid_mem nvmem_rmem uio_pdrv_genirq uio squashfs sch_fq_codel fuse drm 
ip_tables x_tables ipv6 autofs4 btrfs blake2b_generic libcrc32c xor xor_neon 
zstd_compress raid6_pq dm_mod uas usb_storage spidev i2c_brcmstb dwc2 udc_core 
i2c_bcm2835 xhci_pci roles xhci_pci_renesas spi_bcm2835 phy_generic
[   35.984579] CPU: 1 PID: 1068 Comm: gnome-shell Tainted: G C
5.13.14-9001-raspi #1+git1294b741
[   35.994553] Hardware name: Raspberry Pi 4 Model B Rev 1.4 (DT)
[   36.000466] pstate: 6045 (nZCv daif +PAN -UAO -TCO BTYPE=--)
[   36.006561] pc : clk_request_done+0x34/0xe0
[   36.010810] lr : clk_request_done+0x30/0xe0
[   36.015050] sp : 8000122bba10
[   36.018406] x29: 8000122bba10 x28: 8000122bbd48 x27: 
[   36.025655] x26: 6b77cae94000 x25: 0038 x24: 6b77d4f82c00
[   36.032902] x23: 6b77d08afc80 x22: 1dcd6500 x21: 6b77e0eb8200
[   36.040148] x20: 6b77c3575200 x19: 6b77d0a8a780 x18: 
[   36.047393] x17:  x16: aaafc2cfcdc0 x15: c55ddcb0
[   36.054638] x14:  x13:  x12: 
[   36.061882] x11: aaafc352e4d0 x10: 0b20 x9 : aaafc2cf409c
[   36.069127] x8 : 6b77e6ce4980 x7 :  x6 : dead0100
[   36.076372] x5 :  x4 : 6b77e6ce3e00 x3 : aaafc3c49238
[   36.083617] x2 : dead0100 x1 : dead0122 x0 : 0001
[   36.090862] Call trace:
[   36.093338]  clk_request_done+0x34/0xe0
[   36.097227]  vc4_atomic_commit_tail+0x550/0x6b4 [vc4]
[   36.102403]  commit_tail+0xac/0x190 [drm_kms_helper]
[   36.107524]  drm_atomic_helper_commit+0x16c/0x380 [drm_kms_helper]
[   36.113867]  drm_atomic_commit+0x58/0x70 [drm]
[   36.118529]  drm_atomic_helper_set_config+0xe0/0x120 [drm_kms_helper]
[   36.125136]  drm_mode_setcrtc+0x1b4/0x7f0 [drm]
[   36.129870]  drm_ioctl_kernel+0xd0/0x120 [drm]
[   36.134514]  drm_ioctl+0x2a4/0x560 [drm]
[   36.138630]  __arm64_sys_ioctl+0xb4/0x100
[   36.142700]  invoke_syscall+0x50/0x120
[   36.146505]  el0_svc_common.constprop.0+0x6c/0x1a0
[   36.151367]  do_el0_svc+0x30/0x94
[   36.154729]  el0_svc+0x2c/0x54
[   36.157828]  el0_sync_handler+0x1a4/0x1b0
[   36.161893]  el0_sync+0x19c/0x1c0
[   36.165259] Code: f9400800 f9400014 97ffdca1 a9400662 (f9000441) 
[   36.171440] ---[ end trace e46e53e469b2ff21 ]---

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1946368

Title:
  HDMI output freezes under current/proposed impish kernels

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1946368] Re: HDMI output freezes under current/proposed impish kernels

2021-10-12 Thread Xinle Yao
After some testing, I found that restarting the monitor unfreezes the
HDMI output. The monitor is an LG smart tv.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1946368

Title:
  HDMI output freezes under current/proposed impish kernels

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1946368] Re: HDMI output freezes under current/proposed impish kernels

2021-10-11 Thread Dave Jones
** Changed in: linux-raspi (Ubuntu Impish)
   Importance: Undecided => Critical

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1946368

Title:
  HDMI output freezes under current/proposed impish kernels

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1946368] Re: HDMI output freezes under current/proposed impish kernels

2021-10-11 Thread Xinle Yao
Dragging icons around on the dock makes the HDMI outputs freeze reliably
on my monitor.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1946368

Title:
  HDMI output freezes under current/proposed impish kernels

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1946368] Re: HDMI output freezes under current/proposed impish kernels

2021-10-11 Thread fprietog
@fossfreedom

Well, in fact the ubuntu-release-upgrader is doing just the the opposite
that you want...

In hirsute I was using "vc4-fkms-v3d" so I didn't suffer this problem.
But during the upgrade to impish my config.txt file was automatically
changed from this:

   dtoverlay=vc4-fkms-v3d

To

   # changed by do-release-upgrade (LP: #1923673)
   dtoverlay=vc4-kms-v3d

This is the related bug:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1923673

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1946368

Title:
  HDMI output freezes under current/proposed impish kernels

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Re: [Bug 1946368] Re: HDMI output freezes under current/proposed impish kernels

2021-10-11 Thread fossfreedom
Question - should the default be changed from KMS to FKMS for the
impish release?  It seems that freezing is severe enough either not to
ship / or ship with a less than perfect default until more time can be
devoted to investigate and resolve.

On Mon, 11 Oct 2021 at 15:50, Dave Jones <1946...@bugs.launchpad.net> wrote:
>
> To summarize the current findings after several days of testing:
>
> * In all monitors the freeze manifests the same, with the same dmesg output
> * Some monitors, in particular it seems higher-frame-rate (100+Hz) monitors 
> (but by no means exclusive to these) trigger the freeze quite easily, often 
> before the login screen even appears
> * Other monitors, in particular lower-frame-rate (60Hz) monitors do trigger 
> the freeze, but only after some activity
> * A few monitor(s) (so far only a 60Hz one) don't trigger the freeze at all 
> (thanks to brian-murray for additional testing on this)
>
> Over the weekend I tested the 5.11.0-1019 and 5.11.0-1021 linux-raspi
> kernels from hirsute, installing them onto the impish image. With my
> (60Hz) monitor, I was unable to reproduce the crash with either of
> these, but jawn-smith *did* reproduce the issue with the hirsute kernel
> on his high-frame-rate monitor.
>
> In other words, even rolling all the way back to the hirsute kernel
> won't eliminate the freeze for everyone. The good news is that fkms does
> appear to reliably work around the issue (thanks for knoedelfan and
> fprietog for the reports in #3 and #4), although that in itself comes
> with its own issues (though none as severe as the display freezing).
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1946368
>
> Title:
>   HDMI output freezes under current/proposed impish kernels
>
> Status in linux-raspi package in Ubuntu:
>   Confirmed
> Status in linux-raspi source package in Impish:
>   Confirmed
>
> Bug description:
>   Under the current (5.13.0-1007.8) or proposed (5.13.0-1008.9) kernels
>   for the Ubuntu Pi pre-installed desktop impish release, the HDMI
>   output occasionally freezes. A known workaround at this time is to
>   change the following line in /boot/firmware/config.txt:
>
>   dtoverlay=vc4-kms-v3d
>
>   To the following:
>
>   dtoverlay=vc4-fkms-v3d
>
>   In other words, to use the "fake" KMS overlay (fkms) instead of the
>   "full" KMS overlay (kms).
>
>   I've been unable to determine a reliable method of guaranteeing a
>   freeze, but it appears to occur much more readily when video playback
>   is occurring, and when other interactions (especially moving windows
>   around, minimizing, restoring) occurs simultaneously.  Display suspend
>   also periodically causes the same hang, which made me suspect this
>   might be related to #1944397 but it appears that had a separate cause
>   (now resolved).
>
>   The following dmesg outputs have been observed immediately after the
>   display hang; this one from 1007.8:
>
>   [  513.762138] [drm:drm_crtc_commit_wait [drm]] *ERROR* flip_done timed out
>   [  513.762288] [drm:drm_atomic_helper_wait_for_dependencies 
> [drm_kms_helper]] *ERROR* [CRTC:76:crtc-3] co
>   mmit wait timed out
>   [  513.762381] [drm:drm_atomic_helper_wait_for_flip_done [drm_kms_helper]] 
> *ERROR* [CRTC:76:crtc-3] flip_
>   done timed out
>   [  524.002211] [drm:drm_crtc_commit_wait [drm]] *ERROR* flip_done timed out
>   [  524.002404] [drm:drm_atomic_helper_wait_for_dependencies 
> [drm_kms_helper]] *ERROR* [PLANE:205:plane-25
>   ] commit wait timed out
>   [  534.242499] [drm:drm_crtc_commit_wait [drm]] *ERROR* flip_done timed out
>   [  534.242657] vc4-drm gpu: [drm] *ERROR* Timed out waiting for commit
>   [  534.250685] [ cut here ]
>   [  534.250701] refcount_t: underflow; use-after-free.
>   [  534.250735] WARNING: CPU: 1 PID: 120 at lib/refcount.c:87 
> refcount_dec_not_one+0xa0/0xbc
>   [  534.250758] Modules linked in: rfcomm cmac algif_hash algif_skcipher 
> af_alg hci_uart btqca btrtl btbcm
>btintel bnep snd_soc_hdmi_codec vc4 btsdio snd_soc_core input_leds 
> bluetooth snd_compress snd_bcm2835(C)
>snd_pcm_dmaengine ecdh_generic ecc snd_pcm brcmfmac snd_seq_midi 
> snd_seq_midi_event bcm2835_codec(C) bcm
>   2835_isp(C) bcm2835_v4l2(C) brcmutil snd_rawmidi v4l2_mem2mem 
> bcm2835_mmal_vchiq(C) videobuf2_dma_contig
>   videobuf2_vmalloc cfg80211 videobuf2_memops videobuf2_v4l2 snd_seq 
> videobuf2_common videodev snd_seq_devi
>   ce mc snd_timer vc_sm_cma(C) raspberrypi_hwmon snd bcm2835_gpiomem 
> rpivid_mem uio_pdrv_genirq uio sch_fq_
>   codel ip_tables x_tables autofs4 btrfs blake2b_generic xor xor_neon 
> zstd_compress hid_generic usbhid raid
>   6_pq libcrc32c dm_mirror dm_region_hash dm_log spidev dwc2 v3d roles 
> udc_core gpu_sched crct10dif_ce i2c_
>   brcmstb i2c_bcm2835 spi_bcm2835 drm_kms_helper syscopyarea xhci_pci 
> xhci_pci_renesas sysfillrect sysimgbl
>   t fb_sys_fops cec drm phy_generic ac97_bus 

[Bug 1946368] Re: HDMI output freezes under current/proposed impish kernels

2021-10-11 Thread Dave Jones
To summarize the current findings after several days of testing:

* In all monitors the freeze manifests the same, with the same dmesg output
* Some monitors, in particular it seems higher-frame-rate (100+Hz) monitors 
(but by no means exclusive to these) trigger the freeze quite easily, often 
before the login screen even appears
* Other monitors, in particular lower-frame-rate (60Hz) monitors do trigger the 
freeze, but only after some activity
* A few monitor(s) (so far only a 60Hz one) don't trigger the freeze at all 
(thanks to brian-murray for additional testing on this)

Over the weekend I tested the 5.11.0-1019 and 5.11.0-1021 linux-raspi
kernels from hirsute, installing them onto the impish image. With my
(60Hz) monitor, I was unable to reproduce the crash with either of
these, but jawn-smith *did* reproduce the issue with the hirsute kernel
on his high-frame-rate monitor.

In other words, even rolling all the way back to the hirsute kernel
won't eliminate the freeze for everyone. The good news is that fkms does
appear to reliably work around the issue (thanks for knoedelfan and
fprietog for the reports in #3 and #4), although that in itself comes
with its own issues (though none as severe as the display freezing).

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1946368

Title:
  HDMI output freezes under current/proposed impish kernels

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1946368] Re: HDMI output freezes under current/proposed impish kernels

2021-10-10 Thread fprietog
In my case I use a 1920x1080@60 monitor: 
- Using wayland session if I just try to move an app in the apps drawer it 
hangs inmediately.
- Using X11 session it takes more time to hang, but it's just a matter of time.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1946368

Title:
  HDMI output freezes under current/proposed impish kernels

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1946368] Re: HDMI output freezes under current/proposed impish kernels

2021-10-10 Thread William Wilson
I have found some more detail about this bug. When I am on a high
resolution/frame rate monitor (2560x1440@144Hz) I see this bug on just
about every single boot. I can't get past the plymouth screen before
HDMI crashes with the flip_done error message. This is the case on both
hirsute and impish. I have tried kernels from 5.11.0-1007 to the
mainline 5.15 and get the same error. Switching to fake kms resolves the
issue regardless of kernel.

When I switch to using my TV (1920x1080@60) I have a hard time
recreating this issue. It takes playing multiple videos simultaneously
and dragging them around all over the screen to trigger the flip_done
crash.

Interestingly, I tried a third monitor that is 2560x1440 but with a
lower max refresh rate (60Hz). It displayed behavior similar to the
1080p TV I used. That is, this issue was difficult to recreate.

So the only thing I can think of that is different with the monitor
where I am able to recreate this easily is the max refresh rate. I find
that odd as I think the Pi doesn't go over 60 Hz anyway, but that's
about the only difference I can see.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1946368

Title:
  HDMI output freezes under current/proposed impish kernels

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1946368] Re: HDMI output freezes under current/proposed impish kernels

2021-10-10 Thread knoedel fan
Setting fkms instead of kms bypasses the problem and is a solution at the 
moment.
However, the error with kms is not fixed.
Ubuntu Budgie 21.10 offers this change from kms to fkms with the tool "Budgie 
ARM and Pi" and you don’t have to edit the entry via config.txt.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1946368

Title:
  HDMI output freezes under current/proposed impish kernels

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1946368] Re: HDMI output freezes under current/proposed impish kernels

2021-10-09 Thread fprietog
I can confirm this -nasty- bug. It happens in X11 and wayland sessions.

The workaround of changing in /boot/firmware/config.txt:
  dtoverlay=vc4-kms-v3d

To:
  dtoverlay=vc4-fkms-v3d

Solves the problem for me.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1946368

Title:
  HDMI output freezes under current/proposed impish kernels

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1946368] Re: HDMI output freezes under current/proposed impish kernels

2021-10-07 Thread Daniel van Vugt
If the issue is specific to atomic KMS then you can turn that off in
/etc/environment:

  MUTTER_DEBUG_ENABLE_ATOMIC_KMS=0

which might provide a workaround.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1946368

Title:
  HDMI output freezes under current/proposed impish kernels

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1946368] Re: HDMI output freezes under current/proposed impish kernels

2021-10-07 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: linux-raspi (Ubuntu)
   Status: New => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1946368

Title:
  HDMI output freezes under current/proposed impish kernels

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs