Open Mia-Rain opened 3 years ago
hi @ThatGeekyWeeb
thanks for reporting this - this model is not available in this region here, but i ran across this version while researching about the nyan big some time ago ... the u-boot flickering sounds like what i see on the 2gb/non full hd model too - do yours have the non full hd screen as well maybe?
changes: https://github.com/hexdump0815/linux-mainline-tegra-k1-kernel/commit/f5284b9559d1a27a55104b40ae43f322c1ae410b#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5 https://github.com/hexdump0815/imagebuilder/commit/e86da32f0b60ae9dd782313abce5c11bff0fcd7e
best wishes - hexdump
it might have a non full hd screen, but idk how I would know this; but I do know it has 4gb of ram
the full hd screen has a resolution of 1920x1080 and the regular hd screen something like 1366x768
checking Device > Displays the native "Display size" is 1366x768
ok - that fits my assumption - here i so far only saw 2gb regular hd and 4gb full hd models (others might exist, but i never saw one) - looks like the c810 is 4gb regular hd then
Also, @hexdump0815; if you don't mind, could you tell me how you got xorg with hardware acceleration working? I've had little luck there since alot of the info is conflicting;
There seems to be a patch to make it work, but it also seems like glamor is disabled even with the patch And then it seems like the patch isn't need for 5.10 kernels, but those kernels seem to have console issues
So what is the process for the current kernel release? Does 5.4.125 work with open gl at all? Is this something that only works with uboot?
@ThatGeekyWeeb - sorry for the delay, i was offline for a while ... a good start is this mesa issue: https://gitlab.freedesktop.org/mesa/mesa/-/issues/3505#note_972731 ... you can either use the older xorg server which comes with most distributions nowadays and this hack: https://github.com/hexdump0815/mesa-etc-build/blob/master/tegra-hack.patch to at least get mesa halfway working (i.e. it sometimes renders things wrong for some content but ok for other content) ... or you can combine a recent mesa release with a self built newer xorg server (see: https://github.com/hexdump0815/imagebuilder/blob/main/systems/chromebook_nyan/get-files.sh for files i got it working with and: https://github.com/hexdump0815/mesa-etc-build/blob/master/misc-build.txt for some more hints about building and running it) - with this i got it mostly working with some problems still left on the 4gb model (see more at the end of the mesa issue mnetioned above
good luck and best wishes - hexdump
oh - and if you got it working somehow this way, then you can increase the gpu freq a bit with this: https://github.com/hexdump0815/imagebuilder/blob/main/systems/chromebook_nyan/rc-local-additions.txt#L12-L15 for better preformance
Thanks a ton for the pointers, I'll see what I can do, if I manage to get it working, I'll make a lil write up about it in my c810-info repo
I'll be doing my testing from alpine edge, heres to hoping everything works; I plan to go the hand built xorg with new mesa release since I would rather not compile mesa, don't think I'll go for the overclocking tho, since I've never had the gpu on this thing working in the 3 years that I've been attempting to get it working
building mesa is actually quite easy (see the notes in my mesa repo), it only can on some dists be complicated to use another and not the default installed mesa for xorg though ... the gpu clock thing is not overclocking, its more bringing the clock to a useful value as nouveau by default is using the lowest gpu possible, which means nearly unuseable performance ...
My main issue is that I either have to build everything from the c810 itself, or crosscomp from the pubnix I'm in, building should be easy since I use build scripts normally, crosscomp or compile time are the issues
i'm building everything usually naively on the machines themself (and never really cross compile) - the nyan systems are fast enough for this - iirc a full mesa build on nyan is less than an hour. just starting it and having lunch or so :)
there are a few devices the use the nyan board, that you don't have listed; one of which being the Acer 13 c810.
It's nearly identical to the cb5 311, I own a few of them and basically everything built here I have tested on one; everything other than uboot seems to work perfectly; which just loads and then the screen flashes alot
otherwise everything seems to work; any chance it could be added to the support list?