@Ian,

Did you add dtoverlay=vc4-fkms-v3d in the config.txt?

This is the log on my board, looks like there is no error so far:

ubuntu@ubuntu:~$ uname -a
Linux ubuntu 5.3.0-1027-raspi2 #29++v3dv2 SMP Mon Jun 15 22:26:13 CST 2020 
aarch64 aarch64 aarch64 GNU/Linux

ubuntu@ubuntu:~$ dmesg | grep drm
[    3.759090] [drm] Initialized v3d 1.0.0 20180419 for fec00000.v3d on minor 0
[    3.790362] vc4-drm soc:gpu: bound fe600000.firmwarekms (ops vc4_fkms_ops 
[vc4])
[    3.798578] fb0: switching to vc4drmfb from simple
[    3.809972] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    3.816771] [drm] No driver support for vblank timestamp query.
[    3.822817] [drm] Setting vblank_disable_immediate to false because 
get_vblank_timestamp == NULL
[    3.866028] [drm] Initialized vc4 0.0.0 20140616 for soc:gpu on minor 1
[    3.905537] [drm:vc4_crtc_mode_set_nofb [vc4]] *ERROR* couldn't fill AVI 
infoframe
[    4.031664] vc4-drm soc:gpu: fb0: vc4drmfb frame buffer device


ubuntu@ubuntu:~$ lsmod | grep v3d
v3d                    73728  0
gpu_sched              40960  1 v3d
drm                   516096  5 gpu_sched,drm_kms_helper,v3d,vc4

ubuntu@ubuntu:~$ ls /dev/dri/ -la
total 0
drwxr-xr-x  3 root root        120 Jun 16 12:03 .
drwxr-xr-x 15 root root      18720 Jun 16 12:04 ..
drwxr-xr-x  2 root root        100 Jun 16 12:03 by-path
crw-rw----  1 root video  226,   0 Jun 16 12:03 card0
crw-rw----  1 root video  226,   1 Jun 16 12:03 card1
crw-rw----  1 root render 226, 128 Jun 16 12:03 renderD128

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-raspi2 in Ubuntu.
https://bugs.launchpad.net/bugs/1850876

Title:
  CONFIG_DRM_V3D is disabled for linux-raspi2 of eoan

Status in linux-raspi2 package in Ubuntu:
  Fix Released
Status in linux-raspi2 source package in Eoan:
  Triaged

Bug description:
  We enabled DRM_VC4 in the linux-raspi2 of eoan, but disabled the
  DRM_V3D.

  In fact the DRM_V3D is crucial for graphical applications (such as
  ubuntu-desktop :) as it removes the graphical overhead from the cpu to
  the gpu, making the applications work much faster.

  Please refer to https://bugs.launchpad.net/ubuntu/+source/linux-
  raspi2/+bug/1848703/comments/32

  
  [Impact]
  Users reported that we should enable the DRM_V3D, then the GPU will
  be fully used when running "ubuntu-desktop"

  [Fix]
  Enable the DRM_V3D, the v3d.ko will be built

  [Test Case]
  Users already tested it, it worked well.
  
https://bugs.launchpad.net/ubuntu/+source/linux-raspi2/+bug/1848703/comments/36

  [Regression Risk]
  Low, I already did building test for arm64 and armhf, all passed.
  And uers already tested the kernel module, it worked as expected.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-raspi2/+bug/1850876/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to