[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#939633: marked as done (Raspberry Pi 2/3 graphics regressions starting with 5.2)



Your message dated Sun, 27 Nov 2022 16:55:45 +0100 (CET)
with message-id <20221127155545.0759ABE2DE0@eldamar.lan>
and subject line Closing this bug (BTS maintenance for src:linux bugs)
has caused the Debian Bug report #935456,
regarding Raspberry Pi 2/3 graphics regressions starting with 5.2
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
935456: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=935456
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: linux-image-armmp
Version: 5.2.0-2

Hello,

I have made a guide for Debian on Rpi here:
https://github.com/evasjo/DebianSbcRaspberry

I have 1 device (Rpi3+) and 2 environments (cards).

            armhfCard	arm64Card
4.19.0-5    Success     Success
5.2.0-2     Failure     Failure

New firmware for armhfCard	2018-08-05 -> 2019-08-17	// It did not help.
New firmware for arm64Card	2018-12-25 -> 2019-08-17	// It did not help.

# cat cmdline.txt
dwc_otg.lpm_enable=0 console=tty0 root=/dev/mmcblk0p3 rootfstype=f2fs
elevator=deadline fsck.repair=yes rootwait cma=416M

# cat config.txt   // armhfCard
device_tree=bcm2837-rpi-3-b-plus.dtb.5.2
kernel=vmlinuz-5.2.0-2-armmp
initramfs initrd.img-5.2.0-2-armmp followkernel

# cat config.txt    // arm64Card
arm_control=0x200
device_tree=bcm2837-rpi-3-b-plus.dtb.5.2
kernel=vmlinuz-5.2.0-2-arm64
initramfs initrd.img-5.2.0-2-arm64 followkernel

# cat /etc/apt/sources.list
deb http://ftp.fi.debian.org/debian sid main contrib non-free

# cat /etc/initramfs-tools/modules
crc32
crc32c
f2fs

# cat /etc/modules
f2fs
vc4

# cat /etc/dphys-swapfile
 CONF_SWAPSIZE=1024     // This row is uncommented

# uname -a      // armhfCard
Linux irena 5.2.0-2-armmp #1 SMP Debian 5.2.9-2 (2019-08-21) armv7l GNU/Linux

# uname -a      // arm64Card
Linux atlas 5.2.0-2-arm64 #1 SMP Debian 5.2.9-2 (2019-08-21) aarch64 GNU/Linux

# less /var/log/syslog.1| grep "bcm2835-power"  // No new errors (ASB)
# zcat /var/log/syslog.2.gz| grep "bcm2835-power"    // No new errors (ASB)
# zcat /var/log/syslog.3.gz| grep "bcm2835-power"    // No new errors (ASB)

Error cases below are with 5.2 kernel and its device_tree.
"Hangs" below means that you cannot do anything more with your mouse
or keyboard. You have to switch off and on the electricity.

Reproducible errors:

ReprodError1 week35:  // armhfCard  // Intermittent error week36
a. Start the computer and wait for the SDDM display manager
b. Give Ctrl + Alt + F2 and wait approximately 5 seconds
c. It writes below the login row: "bcm2835-power bcm2835-power: Failed
to disable ASB master for v3d"    // Hangs.

ReprodErrorAvoid1 week35:  // armhfCard
a. Start the computer and wait for the SDDM display manager
b. Give Ctrl + Alt + F2
c. Login with root
d. # tail -f /var/log/syslog

ReprodError2:  // arm64Card
a. Start the computer and wait for the SDDM display manager
b. Login with the keyboard, but do not touch the mouse.
c. Kde start normally and everything is visible.  // Hangs.

ReprodErrorAvoid2:  // arm64Card.
a. Start the computer and wait for the SDDM display manager
b. Login with the keyboard and move the mouse (little is enough).
c. Kde start normally and works for the time being.

ReprodError3 week36:  // armhfCard
a. Start the computer and wait for the SDDM display manager
b. Wait for the cursor to blink in the input field 40-45 seconds. // Hangs

Intermittent errors:

IntermError1:  // arm64Card and armhfCard
a. Start Kde
b. Push the Window key and write for example fakon
c. Backspace (try correct it to falkon)     // Hangs

IntermError2:  // armhfCard.
a. Start Kde
b. Start Konsole and # tail -f /var/log/syslog  // No additonal
(error) rows after the computer was hanged
c. Start editor Kate and a file and arrow key down  // Hangs. The
mouse cursor was gone.

IntermError3:  // armhfCard.
a. Start Kde
b. Start Konsole and # tail -f /var/log/syslog  // No additonal
(error) rows after the computer was hanged
c. Start browser Falkon  // Hangs. The Falkon window, the mouse cursor
and everything else, were visible.

IntermError4:  // armhfCard.
a. Start the computer and wait for the SDDM display manager
b. Give password and enter  // Hangs

IntermError5:  // ar64fCard.
a. Start Kde
b. Start browser Falkon
c. Give url address and choose arrow down to the right in the window.  // Hangs.


Graphic in kernel 4.19.0-5 works without any problem (maybe locks few
times per month and a break of electricity is needed).
Graphic in kernel 5.2 with its device_tree, locks few times per hour
and a break of electricity is needed.

I have a feeling that the culprit is the error message "bcm2835-power
bcm2835-power: Failed to disable ASB master for v3d" which I got for
"ReprodError1" for armhfCard.

This configuration works (device_tree from kernel 4.19), but then
"bcm2835-power" is not used:
# cat config.txt
device_tree=bcm2837-rpi-3-b-plus.dtb.4.19
kernel=vmlinuz-5.2.0-2-armmp
initramfs initrd.img-5.2.0-2-armmp followkernel

Best Regards,
Evald

--- End Message ---
--- Begin Message ---
Hi

This bug was filed for a very old kernel or the bug is old itself
without resolution.

If you can reproduce it with

- the current version in unstable/testing
- the latest kernel from backports

please reopen the bug, see https://www.debian.org/Bugs/server-control
for details.

Regards,
Salvatore

--- End Message ---

Reply to: