Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #69183 > unrolled thread

Bug#968181: linux-image-5.7.0-2-arm64: DRM unavailable on Rapsberry Pi 4B

Started byRyutaroh Matsumoto <ryutaroh@ict.e.titech.ac.jp>
First post2021-01-20 06:40 +0100
Last post2021-01-20 07:10 +0100
Articles 2 — 1 participant

Back to article view | Back to linux.debian.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Bug#968181: linux-image-5.7.0-2-arm64: DRM unavailable on Rapsberry Pi 4B Ryutaroh Matsumoto <ryutaroh@ict.e.titech.ac.jp> - 2021-01-20 06:40 +0100
    Bug#968181: linux-image-5.7.0-2-arm64: DRM unavailable on Rapsberry Pi 4B Ryutaroh Matsumoto <ryutaroh@ict.e.titech.ac.jp> - 2021-01-20 07:10 +0100

#69183 — Bug#968181: linux-image-5.7.0-2-arm64: DRM unavailable on Rapsberry Pi 4B

FromRyutaroh Matsumoto <ryutaroh@ict.e.titech.ac.jp>
Date2021-01-20 06:40 +0100
SubjectBug#968181: linux-image-5.7.0-2-arm64: DRM unavailable on Rapsberry Pi 4B
Message-ID<BzenL-3fT-1@gated-at.bofh.it>
Hi all,

This is an update to
Bug#968181: linux-image-5.7.0-2-arm64: DRM unavailable on Rapsberry Pi 4B

I compiled Linux 5.10.9 by myself, and xinit starts fine without installing
the Debian package xserver-xorg-video-fbdev. When I originally reported this
#968181, the graphics on my raspi can only be used through xserver-xorg-video-fbdev.

X server works fine by using
/dev/dri/card0 on my raspi 4B 8GB model.
DRI/DRM on raspi started to partially work.

On the other hand, gdm3 and weston gives the following error in dmesg,
"kernel: [drm:vc4_bo_create [vc4]] *ERROR* Failed to allocate from CMA:"
and no graphics come. Rendering by wayland does not work at all with
vc4.ko in 5.10.9.

Best regards, Ryutaroh

[toc] | [next] | [standalone]


#69185

FromRyutaroh Matsumoto <ryutaroh@ict.e.titech.ac.jp>
Date2021-01-20 07:10 +0100
Message-ID<BzeQN-3F7-1@gated-at.bofh.it>
In reply to#69183
Control: forwarded -1 https://github.com/raspberrypi/firmware/issues/1247
Control: tags -1 + fixed-upstream

> On the other hand, gdm3 and weston gives the following error in dmesg,
> "kernel: [drm:vc4_bo_create [vc4]] *ERROR* Failed to allocate from CMA:"
> and no graphics come. Rendering by wayland does not work at all with
> vc4.ko in 5.10.9.

The above symptom is "fixed" by adding
CMA=256M@128M
to the kernel command line.

Then the gdm3 display manager starts up well, and I have
# grep -i cma /proc/meminfo 
CmaTotal:         262144 kB
CmaFree:          143008 kB

Best regards, Ryutaroh Matsumoto

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.kernel


csiph-web