http://bugzilla.opensuse.org/show_bug.cgi?id=1117095 Bug ID: 1117095 Summary: vc4: Failed to allocate from CMA, graphics freezes Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: aarch64 OS: openSUSE Factory Status: NEW Severity: Normal Priority: P5 - None Component: Kernel Assignee: firstname.lastname@example.org Reporter: email@example.com QA Contact: firstname.lastname@example.org Found By: --- Blocker: --- On a Raspberry Pi 3B (not plus) with OpenSuSE Tumbleweed openSUSE-release-20181101-934.1.aarch64 and kernel-default-4.18.15-1.2.aarch64. Kernel command line (/proc/cmdline): BOOT_IMAGE=/boot/Image-4.18.15-1-default root=UUID=38fbf451-5579-43d1-bdd2-84cfd886ad00 loglevel=3 splash=silent plymouth.enable=0 swiotlb=512 cma=300M console=ttyS1,115200n8 console=tty resume=/dev/mmcblk0p3 /boot/efi/config.txt (minus comments): kernel=u-boot.bin gpu_mem=32 force_turbo=0 initial_turbo=30 over_voltage=0 enable_uart=1 avoid_warnings=1 dtoverlay=upstream +upstream-mmc +upstreame-aux-interrupt include ubootconfig.txt arm_control=0x200 include extraconfig.txt dtparam=audio=on dtoverlay=vc4-kms-v3d (similar symptom with vc4-fkms-v3d) /etc/X11/xorg.conf.d/20-kms.conf says: Section "Device" Identifier "kms gfx" Driver "modesetting" #Option "AccelMethod" "none" [Commented out] EndSection /var/log/Xorg.0.log says: modeset(0): [DRI2] DRI driver: vc4 AIGLX: Loaded and initialized vc4 GLX: Initialized DRI2 GL provider for screen 0 In this configuration, glmark2-0.0+git.20180608-1.1.aarch64 runs without freezing or crashing and gets an overall score of 74, whereas with software rendering the score is 17, so GPU acceleration is really happening.
From the LightDM greeter I log in and start the default XFCE desktop. I start various programs and eventually get the symptom complained about; in the simplest case I start one xterm, one xload -update 2 (secs), and xscreensaver-5.37-4.3.aarch64 is active, blanking the screen only, DPMS off after 20 min. I let it incubate overnight.
http://bugzilla.opensuse.org/show_bug.cgi?id=1117095 http://bugzilla.opensuse.org/show_bug.cgi?id=1117095#c3 Mykola Krachkovsky <email@example.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED CC| |firstname.lastname@example.org Resolution|FIXED |--- OS|openSUSE Factory |All --- Comment #3 from Mykola Krachkovsky <email@example.com> --- Seems like this bug is still relevant. Installed latest image from  and got this error (slightly different, instead of `from CMA` there is `from GEM DMA helper`, but overall seems worth reopening, not new bug, sorry, if I'm wrong): ``` Mar 16 00:02:12 localhost.localdomain kernel: [drm:vc4_bo_create [vc4]] *ERROR* Failed to allocate from GEM DMA helper: Mar 16 00:02:12 localhost.localdomain kernel: vc4-drm soc:gpu: [drm] V3D: 47008kb BOs (17) Mar 16 00:02:12 localhost.localdomain kernel: vc4-drm soc:gpu: [drm] V3D shader: 24kb BOs (6) Mar 16 00:02:12 localhost.localdomain kernel: vc4-drm soc:gpu: [drm] dumb: 4116kb BOs (5) Mar 16 00:02:12 localhost.localdomain kernel: vc4-drm soc:gpu: [drm] binner: 16384kb BOs (1) ``` After removing Mesa-dri-vc4 graphics works. Though some non permanent glitches are present when moving cursor or windows, don't remember if they were present with old image. But that's outside of this bug.  https://en.opensuse.org/HCL:Raspberry_Pi3 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1117095 http://bugzilla.opensuse.org/show_bug.cgi?id=1117095#c4 --- Comment #4 from Mykola Krachkovsky <firstname.lastname@example.org> --- Created attachment 865877 --> http://bugzilla.opensuse.org/attachment.cgi?id=865877&action=edit Full `journalctl -b0` log -- You are receiving this mail because: You are on the CC list for the bug.