mesa icon indicating copy to clipboard operation
mesa copied to clipboard

depthSize for TF101

Open mnidza opened this issue 3 years ago • 4 comments

[I got the impression that this project uses GitHub issues as a support channel. If not, please direct me to a more appropriate channel.]

I'm running Ubuntu 20.10 on Asus EeePad Transformer TF101 (based on Tegra 20). I'm trying to use grate-driver to get acceleration for OpenGL. Currently I'm getting depthSize 16 for all visuals, but the OpenGL application that I'm trying to run requires at least 24. Is this a fundamental limitation of TF101's hardware, or can it be improved with better (or more properly installed) drivers?

Output of apt list --installed: here.

Output of glxinfo: here.

My kernel is slightly modified compared to 5.11.0-rc7 from the mainline, but I don't think the modifications affect this issue at all.

tf101@localhost:~$ uname -a
Linux localhost.localdomain 5.11.0-rc7-00012-g472c2db86b4 #42 SMP PREEMPT Tue Feb 23 18:24:09 UTC 2021 armv7l armv7l armv7l GNU/Linux

tf101@localhost:~$ lsb_release -a
LSB Version:    core-11.1.0ubuntu2-noarch:security-11.1.0ubuntu2-noarch
Distributor ID: Ubuntu
Description:    Ubuntu 20.10
Release:        20.10
Codename:       groovy

mnidza avatar Mar 18 '21 15:03 mnidza

We still don't have a Mesa driver capable of more than running glxgears, which isn't upstream in mesa, so you'd need to build our Mesa fork if you want accelerated glxgears.

But don't hold your breath, because it's capable of much more than that ATM.

kusma avatar Mar 18 '21 16:03 kusma

@mnidza we may add TF101 support to the grate-kernel and try to upstream it if you have time and will.

@fuzzy7k Also has TF101 working using upstream kernel, although few things were not working IIRC, like touchscreen for example.

digetx avatar Mar 18 '21 17:03 digetx

FWIW Xorg.log

Touchscreen is working with that patch you mentioned. There are some ancillary things not working, like als & some other sensors. Those are mostly dts related I believe. The other major thing not working is the touchpad, which isn't missed much with the touchscreen.

I'm kinda curious if you run into any problems with missing neon instructions in that distro?

fuzzy7k avatar Mar 20 '21 02:03 fuzzy7k

A self-built mesa driver likely shouldn't suffer from the lack of neon.

Guys, if you have a working/usable TF101 device-tree which we could add to grate-kernel, then please create a pull request and I will be happy to merge it.

digetx avatar Mar 21 '21 02:03 digetx