Fenix commit hash d2f0c3562475b74baaf6f97b33cb04e12f35bae4, debian buster build with xfce desktop.
Took me a while to get glmark2 built on Debian, as itâs Ubuntu package by default and has a number of annoying dependencies. I can upload .debs if anyone cares
Which kernel did you use? Can you share the kernel source? I just built one from @balbes150 Banch 5.7-rc1 and finally display manager loaded without needing fbturbo driver.
But still its not making use of panfrost.
What kernel config was needed other than panfrost? I have built kernel with panfrost and it works well on edge-v but amlogic devices always have problem with panfrost and lima.
Link to full image build in the first post. I didnât do any changes to source, i just ran Fenix stock build, git hash in first post, as of yesterday it was trunk/master latest. I made no modifications of my own.
I can dump kernel config it generated in a pastebin in a bit as well.
I have same (even slightly better) glmark2 results and similar Xorg and dmesg output, but I have one annoying artifact: X does not refresh well when moving windows and leaves some traces until I run âxrefreshâ.
Would you mind posting output of:
lsmod
I do have
panfrost d00c0000.gpu: GPU Fault 0x00000088 (UNKNOWN) at 0x000000965f38c5c0
Thanks for providing pastebin !
Basically: I do not see much deviating between our systems.
But, for example: Kodi (finally) works extremely well in X11 (and, of course, it does only uses one window). The X11 âtravelling windowsâ refresh artifact must be something specfic to my (very personal) gentoo build.
actually it turns out:
card0 is not panfrost accelerated (vendor Mesa), presumably framebuffer
(or maybe lima ?)
card1 is panfrost accelerated (vendor Panfrost)
I see card0, card1 and renderD128 in my dri
Also the graphic driver is panfrost as shown in inxi but opengl renderer is llvmpipe which is software rendering.
It should show Mali T820 (Panfrost) instead.
When I try to do this and reboot then it gets back to normal as it was before.
Perhaps we have other kernel and xorg modules
maybe my card0 is lima ?
maybe your card1 is panfrost?
I first noticed odd behavior by looking at Xorg.log which referred to both card0 and card1
therefore I either rename card0 or card1 as hack
I guess you said you were using kernel fron khadas fenix branch.
Mainline 5.6 kernel with khadas patches?
Ive build that thinking it should solve all my problems in all the vim devices but it doesnt look like it makes use of panfrost for opengl nor lima for vim1 and no fan support for vim2 either.
Ive used the config from their repo itself no changes to the config. Is there any changes required in userspace?
I use mainline 5.6 with config based on balbes git kernel repo (and adjust to my needs).
I fact, I use few modifications I assembled over the years (but none of them might still be needed nor relevant). I have not gone for fenix or ubuntu path in general. I try to focus on gentoo. Of course I pick up information from khadas and armbian and meson (and other) forums or channels.
I have the same on linux-vim package but it doesnât help.
I use the whole balbes git kernel repo on 5.6 but never got to run panfrost over modesetting.
Maybe I should try now with latest mesa.
UPDATE:
Tried latest Mesa release and still its using LLVMpipe also I added 01-panfrost.conf to xorg and still not luck. @tasinofan Any advice?
Ill move back to linux-vim-5.6.2 with panfrost.conf in xorg to see if DM loads
UPDATE2: Got it to work on 5.6.2 with Panfrost conf in xorg. So hopefully can build an image for vim2 yeayy
UPDATE3: glmark2 -s 1920x1080 score=19 glmark2 with small screen score = 55
Not bad.
Tried Chromium inside docker with armv7 widevine to test now well it works. Works smooth with Netflix 1080p but with a bit on lag in ui and not in video playback.
Will try out few builds tomorrow and release a preview version soon. BTW the 01-panfrost.conf is needed for the DM to work with panfrost on Amlogic Soc.
@Spikerguy, good to hear it works for you too, and, yes, no doubt one needs 01-panfrost.conf with appropriate ServerFlags and OutputClass section content.