[Bug 1023783] New: RPi3: vc4 fails and reboot system when a few apps windows are opened
http://bugzilla.suse.com/show_bug.cgi?id=1023783
Bug ID: 1023783
Summary: RPi3: vc4 fails and reboot system when a few apps
windows are opened
Classification: openSUSE
Product: openSUSE Distribution
Version: Leap 42.2
Hardware: aarch64
OS: openSUSE 42.2
Status: NEW
Severity: Critical
Priority: P5 - None
Component: Kernel
Assignee: kernel-maintainers@forge.provo.novell.com
Reporter: david.patino@ext.mpsa.com
QA Contact: qa-bugs@suse.de
Found By: ---
Blocker: ---
Created attachment 713016
--> http://bugzilla.suse.com/attachment.cgi?id=713016&action=edit
Journalctl -f shows vc4 issue
I've not realized this issue until now but since last year, at least, openSUSE
42.2 versions for RPi3 have an issue with vc4 driver as I'll explain next.
I've downloaded an openSUSE 42.2 image for RPi3 from the
https://en.opensuse.org/HCL:Raspberry_Pi3 source web, and write it in SD card.
After boot the system and whitout changing anything I've launched Firefox and
I've started to open links in new windows then, sometimes when first window is
open, sometimes anothers, but always happen (later or earlier), the system
crashes and provokes a reboot or logout, .
To show the problem, I've started a <
http://bugzilla.suse.com/show_bug.cgi?id=1023783
Takashi Iwai
http://bugzilla.suse.com/show_bug.cgi?id=1023783
http://bugzilla.suse.com/show_bug.cgi?id=1023783#c1
Max Staudt
http://bugzilla.suse.com/show_bug.cgi?id=1023783
http://bugzilla.suse.com/show_bug.cgi?id=1023783#c2
--- Comment #2 from Fabian Vogt
I've not realized this issue until now but since last year, at least, openSUSE 42.2 versions for RPi3 have an issue with vc4 driver as I'll explain next. I've downloaded an openSUSE 42.2 image for RPi3 from the https://en.opensuse.org/HCL:Raspberry_Pi3 source web, and write it in SD card.
When did you download it? Temporarily the config.sh in the image had a bug with exact this symptom. Maybe you just got hit by that.
After boot the system and whitout changing anything I've launched Firefox and I've started to open links in new windows then, sometimes when first window is open, sometimes anothers, but always happen (later or earlier), the system crashes and provokes a reboot or logout, . To show the problem, I've started a <
> though an ssh connection before launch firefox and I've seen an vc4 buffer allocation error as the attached file. That issue makes the system unusable.
This happens as the vc4 driver keeps buffer objects in memory unnecessarily (or something like that, mstaudt knows more about it) and it's the reason 3d acceleration (and also 2d accel using glamor, which is currently interconnected) are disabled by default in openSUSE and SLES. In the future this should be fixed by using CMA and then there's enough space for more BOs.
Any idea how to fix it? Ive tried disable vc4 module adding it to the 50-blacklist.conf file in udev rules but with vc4 disabled the desktop colours are wrong...
That way you disabled the vc4 kernel driver which forces the system to use efifb instead, which is known to be broken. You only need to disable hw acceleration by writing this into /etc/X11/xorg.conf.d/20-kms.conf: Section "Device" Identifier "kms gfx" Driver "modesetting" Option "AccelMethod" "none" EndSection
Thanks for your help
-- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1023783
http://bugzilla.suse.com/show_bug.cgi?id=1023783#c3
--- Comment #3 from Max Staudt
That way you disabled the vc4 kernel driver which forces the system to use efifb instead, which is known to be broken. You only need to disable hw acceleration by writing this into /etc/X11/xorg.conf.d/20-kms.conf:
Section "Device" Identifier "kms gfx" Driver "modesetting" Option "AccelMethod" "none" EndSection
After doing the above, please also delete /etc/X11/xorg.conf.d/20-fbdev.conf in order to not confuse the system with contradictory settings. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1023783
http://bugzilla.suse.com/show_bug.cgi?id=1023783#c4
--- Comment #4 from David Patiño
http://bugzilla.suse.com/show_bug.cgi?id=1023783
http://bugzilla.suse.com/show_bug.cgi?id=1023783#c5
--- Comment #5 from David Patiño
2. Can you please attach /var/log/Xorg.0.log to this bug, so we can check for GLAMOR in your setup?
ok, it's done.
3. Can you please post the output of ls /etc/X11/xorg.conf.d/
test50:~# ls /etc/X11/xorg.conf.d/ 00-keyboard.conf 10-evdev.conf 11-evdev.conf 50-extensions.conf 50-screen.conf 70-wacom.conf 03-serverFlags.conf 10-quirks.conf 50-device.conf 50-monitor.conf 60-libinput.conf -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1023783
http://bugzilla.suse.com/show_bug.cgi?id=1023783#c6
--- Comment #6 from David Patiño
(In reply to Fabian Vogt from comment #2)
That way you disabled the vc4 kernel driver which forces the system to use efifb instead, which is known to be broken. You only need to disable hw acceleration by writing this into /etc/X11/xorg.conf.d/20-kms.conf:
Section "Device" Identifier "kms gfx" Driver "modesetting" Option "AccelMethod" "none" EndSection
After doing the above, please also delete /etc/X11/xorg.conf.d/20-fbdev.conf in order to not confuse the system with contradictory settings.
OMG! That seems to fix the problem when vc4 is enabled. Thank you very much. On the other hand, I dont have /etc/X11/xorg.conf.d/20-fbdev.conf file. I've downloaded my current image file around November'16, but the last image I've tested is from January'17. Many thanks, also for the explanation. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1023783
http://bugzilla.suse.com/show_bug.cgi?id=1023783#c7
Max Staudt
participants (1)
-
bugzilla_noreply@novell.com