-
Notifications
You must be signed in to change notification settings - Fork 74
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
Screen rotation #415
Comments
Have you tried From https://www.raspberrypi.org/documentation/configuration/config-txt/video.md:
|
Hello, thank you for your comment. Yes, I've tried everything. Here is the explanation:
|
Interesting, many thanks for the extra details. Everyday is a school day :) Or possibly higher up the WebKit stack. It's beyond my expertise, maybe @magomez has some pointers? |
Glad to help :) I had to find out the hard way, unfortunately :( but never mind :)
This comes from from some other code I found online, the point here is to pass the DISPMANX_NO_ROTATE settings, or it's alternative:
This is from userland source. I am still a bit lost in layering WPE components (just need to read more about everything basically.. ), maybe the right way is to rotate the userland if that is the underlying layer? Just guessing, and I am very likely totally out at this point :) (https://github.com/raspberrypi/userland/blob/master/interface/vmcs_host/vc_dispmanx_types.h) |
So it's WPEWebKit uses WPEBackend which takes WPEBackend-RDK for graphics/input. I think what you are looking for sits here: You could write a patch against that and see if that rotates it :) |
Oh, great! thanks for that, gonna try it now :) |
Hm, it was fast :( maybe outdated docs? Anyway, keep digging. Following this meta-wpe/wiki/Raspberry-PI Maybe will get back to the builroot, it should use the same bundle (WPEWebKit, backend, backend-rdk), I was quite successful there.
|
oh AAMP shouldn't be in the default dependency chain (tagging @Haseenamol), this is not correct: The quick and dirty route around this, remove the streamer from the entire setup: Just remove L34 and it should continue. |
Now we are talking, cool. Moving forward, thank you! |
Ok, there is one problem left with ccache, which comes from openembeded-core, full log is here. What is interesting, the problem is very old and already fixed. I was trying to fix it by changing the commit id to download, which didn't work. I thought that is because of wrong ccache repo URL stated in openembedded-core/meta/recipes-devtools/ccache/ccache_3.2.5.bb (git://git.samba.org/ccache.git no longer exists), so I tried to replace it with the github one, but then failed again because of some checksum problems. There I left it and tried to disable ccache instead, which worked nicely until the end when the build failed again on wpewebkit, because of missing ccache :) so at least we know this is the only issue. |
Interesting, from which OE core version are you building? Because I do not have this particular issue in Morty. Though yes, I do explicitly stay on Debian 9.x as I know upgrading to 10 will give me similar problems as you're experiencing when it comes down to building the toolchain. If you are on a latest debian / ubuntu few things you can do like trying to take the lowest GCC in your package manager. If that fails I'd suggest taking a VM and install debian 9.x or ubuntu 16.04 for Morty OR take the latest master branch of meta-wpe with Yoe in which any host dependency should not exist (or be dealt with). Another route would be to backport ccache from a newer version of OE-core, typically you can copy the ccache recipes from a newer version that includes the patch you linked. But that might snowball yourself into a chain of these issues. |
I am using this command to initialise: openembedded-core/oe-init-build-env rpi-ml-build, the other one source poky/oe-init-build-env rpi-ml-build doesn't work because of missing poky directory. But anyway, thank you for that OS recommendation. I've been successful and built an image for rpi 3 on ubuntu 16.04. The documentation for RPI, and also the image produced by this build seems to be a little bit outdated though. I've seen some package versions during the process, and they are often from 2017. But the worse problem is that I am not able to boot that image on my RPI 3b+, led error code show deprecated system (or sth like this). So I tried building raspberrypi3-64 target, which unfortunately failed on Cairo log file. I was also particularly successful with joe-distro, which seems to be very recent. I have a working image of the base distro, but so far I can't build wpe-eglfs one. But a better place where to report potential problems is probably there, once I am sure it is not an issue on my side. |
Hi, sorry for sending this question here, I tried to find some better place or documentation, but I wasn't successful. If you can point me to the right place, or some Slack/IRC anything better, it would be appreciated :)
Since this should be fully accelerated environment, I am sure there must be a way to rotate the screen without experiencing negative effect known from a raspberry pi (and maybe other boards), where rotated screen results in expensive software processing instead of accelerated output.
What would be the best place to dig for the configuration options, please?
The text was updated successfully, but these errors were encountered: