grate-driver / mesa

Mesa fork for open-source NVIDIA Tegra20/30 GL implementation
33 stars 15 forks source link

depthSize for TF101 #12

Open mnidza opened 3 years ago

mnidza commented 3 years ago

[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
kusma commented 3 years ago

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.

digetx commented 3 years ago

@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.

fuzzy7k commented 3 years ago

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?

digetx commented 3 years ago

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.