Missing v3d driver disables 3D support on RPi4

Bug #1876862 reported by Chris Halse Rogers
52
This bug affects 9 people
Affects Status Importance Assigned to Milestone
linux-raspi (Ubuntu)
Fix Released
Undecided
Unassigned
Bionic
Confirmed
Undecided
Unassigned
Focal
Fix Released
Medium
Unassigned

Bug Description

Our raspberry pi kernel builds don't include the v3d drm driver
(The relevant diff between the raspbian kernel config and ours)
-CONFIG_DRM_V3D=m
+# CONFIG_DRM_V3D is not set

This means 3D acceleration is unavailable on our Pi 4 images.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in linux-raspi (Ubuntu Focal):
status: New → Confirmed
Changed in linux-raspi (Ubuntu):
status: New → Confirmed
Revision history for this message
Oliver Grawert (ogra) wrote :

adding bionic since we're supposed to fully support the pi4 there too

Changed in linux-raspi (Ubuntu Focal):
status: Confirmed → Fix Committed
Juerg Haefliger (juergh)
Changed in linux-raspi (Ubuntu):
status: Confirmed → Invalid
Changed in linux-raspi (Ubuntu Focal):
importance: Undecided → Medium
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in linux-raspi (Ubuntu Bionic):
status: New → Confirmed
Revision history for this message
Mark Dunn (mdunn-home) wrote :

Thanks, what version will it appear in please, I would like to test it on (Pi4/arm64)
The last one that got updated/upgraded was 5.4.0-1011-raspi (which I have ignored so far)

NOTE: In order to see this change in the linux config you may want to change
    linux/drivers/gpu/drm/v3d/kconfig

- depends on ARCH_BCM || ARCH_BCMSTB || COMPILE_TEST
+ depends on ARCH_BCM || ARCH_BCMSTB || ARCH_BCM2835 || COMPILE_TEST

ogra, I tried it on bionic originally and it failed:
https://bugs.launchpad.net/ubuntu/+source/linux-raspi2/+bug/1850876
I am willing to test bionic too if you push me :)

Revision history for this message
AlpineCarver (acarv) wrote :

I believe this change is necessary, but not sufficient, to make OpenGL use the GPU on a pi 4 running 20.04. After making the change and trying it, I filed a new bug report:
https://bugs.launchpad.net/ubuntu/+source/linux-raspi/+bug/1880125

Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (42.1 KiB)

This bug was fixed in the package linux-raspi - 5.4.0-1012.12

---------------
linux-raspi (5.4.0-1012.12) focal; urgency=medium

  * focal/linux-raspi: 5.4.0-1012.12 -proposed tracker (LP: #1878791)

  * Focal update: v5.4.36 upstream stable release (LP: #1876361)
    - [Config] raspi: updateconfigs for ARM64_ERRATUM_1542419

  * Raspberry Pi 4B: USB OTG is not working (LP: #1861070)
    - [Config] raspi: Set USB_DWC2_DUAL_ROLE=y

  * Missing v3d driver disables 3D support on RPi4 (LP: #1876862)
    - [Config] raspi: Set DRM_V3D=m

  * focal/linux-raspi: Upstream raspberrypi patchset 2020-05-11 (LP: #1877928)
    - SAUCE: media: bcm2835-unicam: Resync to upstream raspberrypi
    - media: bcm2835-unicam: Add support for mulitple device nodes.
    - media: bcm2835-unicam: Add embedded data node.
    - media: bcm2835-unicam: Use dummy buffer if none have been queued
    - media: bcm2835-unicam: Disable event-related ioctls on metadata node
    - media: bcm2835-unicam: Add support for the FRAME_SYNC event
    - media: imx219: Advertise embedded data node on media pad 1
    - dts: bcm2711: EMMC2 can address the whole first GB
    - driver: char: rpivid: Remove legacy name support
    - driver: char: rpivid: Don't map more than wanted
    - defconfig: Enable I2C_MUX_PINCTRL in all Pi configs
    - dt: Implement an I2C pinctrl mux for BSC0.
    - dtoverlays: Update CSI overlays to use i2c_csi_dsi
    - dt: Update all mainline bcm283x dt files for i2c0 pinctrl mux
    - ARM: dts: Create bcm2708-rpi-b-rev1.dts
    - dts: bcm2711: set #size-cells = <2>
    - dts: bcm2711: add "High Peripheral" mode overlay
    - Revert "spi: spidev: Fix CS polarity if GPIO descriptors are used"
    - spi: use_gpio_descriptor fixup moved to spi_setup
    - overlays: rpivid-v4l2 also needs size-cells = 2
    - media: bcm2835-unicam: Re-fetch mbus code from subdev on a g_fmt call
    - uapi: bcm2835-isp: Add bcm2835-isp uapi header file
    - media: uapi: v4l2-core: Add ISP statistics output V4L2 fourcc type
    - media: uapi: v4l-ctrls: Add CID base for the bcm2835-isp driver
    - staging: mmal-vchiq: Fix formatting errors in mmal_parameters.h
    - staging: vc04_services: ISP: Add a more complex ISP processing component
    - staging: vchiq: Load bcm2835_isp driver from vchiq
    - configs: Add VIDEO_ISP_BCM2835 to all Pi defconfigs
    - vc4_hvs: Mark core clock as optional
    - vc4_hdmi: BCM2835 requires a fixed hsm clock for CEC to work
    - configs: Enable CONFIG_DRM_VC4_HDMI_CEC
    - media: i2c: imx219: Implement get_selection
    - media: i2c: ov5647: Add support for g_selection to reflect cropping/binning
    - media: i2c: ov5467: Fixup error path to release mutex
    - media: i2c: ov5647: Support V4L2_CID_PIXEL_RATE
    - media: i2c: ov5647: Set V4L2_SUBDEV_FL_HAS_EVENTS flag
    - media: i2c: ov5647: Add support for V4L2_CID_VBLANK
    - media: i2c: ov5647: Neither analogue gain nor exposure need EXECUTE_ON_WRITE
    - media: i2c: ov5647: Use member names in mode tables
    - media: i2c: ov5647: Advertise the correct exposure range
    - media: i2c: imx219: Declare that the driver can create events
    - media: bcm2835-unicam: Add support for VIDIOC_[S|G]_...

Changed in linux-raspi (Ubuntu Focal):
status: Fix Committed → Fix Released
Changed in linux-raspi (Ubuntu):
status: Invalid → Fix Released
Revision history for this message
smita bhave sovani (smitaso) wrote :

 Any plans / schedule for fixing 1876862 on Core18?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.