Re: Testing VC4 on rpi2 with wayland and weston, weston fail to start with drm

Eric Anholt <[email protected]>
Newsgroups gmane.comp.video.mesa3d.user
Message-ID <[email protected]>
Fabio Fantoni <[email protected]> writes:

> Hi, I want try VC4 on rpi2 with wayland on debian (I used Sid).
> Following this howto:
> http://dri.freedesktop.org/wiki/VC4/
> I rebuild the kernel from 
> https://github.com/anholt/linux/tree/vc4-kms-v3d-rpi2
> Base config modified with: CONFIG_DRM_VC4=y and 
> CONFIG_CMA_SIZE_MBYTES=128, full .config in attachment.
> I did the 2 additions to rpi2 config.txt (full in attachment).
> New kernel is working, in kern.log about drm I saw only this about drm:
> Oct  1 11:11:16 jessie-rpi kernel: [    1.577017] [drm] Initialized drm 
> 1.1.0 20060810
> I suppose that compiling with CONFIG_DRM_VC4=y should be present but I 
> not saw line about.

You should also have various lines in dmesg about:

[    3.185410] vc4-drm soc:vc4@7e4c0000: bound 20902000.hdmi (ops vc4_hdmi_ops)
[    3.200606] vc4-drm soc:vc4@7e4c0000: bound 20206000.pixelvalve (ops vc4_crtc_ops)
[    3.220583] vc4-drm soc:vc4@7e4c0000: bound 20207000.pixelvalve (ops vc4_crtc_ops)
[    3.232884] vc4-drm soc:vc4@7e4c0000: bound 20807000.pixelvalve (ops vc4_crtc_ops)
[    3.250938] vc4-drm soc:vc4@7e4c0000: bound 20400000.hvs (ops vc4_hvs_ops)
[    3.263385] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    3.270162] [drm] No driver support for vblank timestamp query.
[    3.470743] Console: switching to colour frame buffer device 240x67
[    3.540179] vc4-drm soc:vc4@7e4c0000: fb0:  frame buffer device

so something is going wrong and keeping you from probing.  There's at
least one problem in your config -- you can't have

CONFIG_FB_BCM2708=y

since you're trying to run a proper graphics driver, instead.  I don't
think that would keep vc4 from probing, though.  Maybe you wouldn't have
hit any of those "bound" messages because HDMI fails first due to your
config being missing:

CONFIG_I2C_BCM2835=y

I've added that to the wiki page.

_______________________________________________
mesa-users mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-users
signature.asc (application/pgp-signature, 818 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCgAGBQJWDwobAAoJELXWKTbR/J7ogDMQAKjqziX5GmLSMKqwHP4MCRig
vvf4gXQ4QnF4ehkV71ppn6TLOvJE4tMtJMruMa1FhhPDO3QkEutyLBOf7vboAoY0
9b/dXI2nGEqF/JlFsCitnwHiLTVG6QA3bh+t4/8f5o5zW+9iAdiRJJiTP6dnbFD1
XVCrGDAHEoZTRBqgMRxvmnO4Q5ke/f80yuiEM2Uxcui9SHqCvQaxMpZgrrUXZ3yL
4md5PKtfON8MbDgns13WXskdVouRVraO0QdeBkyTsc7EW1YKWriNfH8t5H9Cp1g3
5i/7sVo289JGhxnlQhlp1HQ08/niD9rkiywmjfEBbmuGwrkgVsdM0ydpxOp89UuF
GEeCyqjD8nwMuzqoOafc9rT+00JR1yfPvS6MixolHRyZgHDkrwxqL8/G7N3cFdGT
izw2E5ezsNQig9ApmHOpgwUCtbfn8lsrGG7p8tTstAfPXFe/MeyslzlZ94MIZI3C
LZBA1A46jIB05cqYjVItMtFnVH+Y5oJI7GAoTzXaYmSvu6tpl4PziGgYY8bQfNC/
BFueX/aMkgq1q02Rl7MBx5L/N86LqBftggP//YSqY1b5RGpAygJ8ftGMUs0IVy/2
Chj+UUd1JJKaJMIVYLEVvQtK1M8oncD7xKTS3zJRLhYH7ufEi2MoIhMndsArL1S9
VnfvxonOXFxDv1swIXeO
=nwx0
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.