Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

c810 support #5

Open
Mia-Rain opened this issue Sep 28, 2021 · 12 comments
Open

c810 support #5

Mia-Rain opened this issue Sep 28, 2021 · 12 comments

Comments

@Mia-Rain
Copy link

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?

hexdump0815 added a commit to hexdump0815/imagebuilder that referenced this issue Sep 30, 2021
@hexdump0815
Copy link
Owner

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:
f5284b9#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5
hexdump0815/imagebuilder@e86da32

best wishes - hexdump

@Mia-Rain
Copy link
Author

it might have a non full hd screen, but idk how I would know this; but I do know it has 4gb of ram

@hexdump0815
Copy link
Owner

the full hd screen has a resolution of 1920x1080 and the regular hd screen something like 1366x768

@Mia-Rain
Copy link
Author

checking Device > Displays the native "Display size" is 1366x768

@hexdump0815
Copy link
Owner

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

@Mia-Rain
Copy link
Author

Mia-Rain commented Oct 3, 2021

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?

@hexdump0815
Copy link
Owner

@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

@hexdump0815
Copy link
Owner

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

@Mia-Rain
Copy link
Author

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

@hexdump0815
Copy link
Owner

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

@Mia-Rain
Copy link
Author

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

@hexdump0815
Copy link
Owner

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 :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants