-
Notifications
You must be signed in to change notification settings - Fork 68
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
Update Weston #205
Update Weston #205
Conversation
Bounty is locked! I'll have to take some time to review the approach and make sure it hits all the things we want to do. |
Thanks! Sure, take your time. I will putting this on hold for at least a couple of days. Current progress is that all
After At the end, any private changes you have on the current |
If you need it, the entire
And to build:
This is from where I extracted manually all the compile phases. By hand. |
…e atomic modesetting assert; QT_WAYLAND_DISABLE_WINDOWDECORATION=1
Last commits pack Weston now loads fine, UI works except there is a lot of tearing because What I'm currently trying to do, is finding/making a "fix" so that Keep in mind that if you build from this branch, weston debs are not installed automatically (they are placed in |
Which version does 24.04 use? Should we just go straight to that version? |
Ubuntu 24.04 uses the latest Weston 13.0.0. We can probably go straight to the latest. The only issue right now is with the kernel drm to support atomic modesetting:
The next thing I'm trying is to patch the current kernel. Mainlining the kernel will probably take more time than using a Linaro "downstream" msm kernel. But, there is some effort here https://github.com/robin-reckmann/linux / #16 (comment) that needs to be tested/compared, since I have no idea if the "msm" specific stuff we need is already in mainline (and what isn't). My effort is towards using the sdm/drm adreno drivers (not freedreno). |
I'm hesitant to put more effort into the current kernel, since we'd like to go to mainline soon-ish. For mainline, the very latest or the 24.04 kernel are probably what we'd want to go with. |
Current tentative target kernel for 24.04 is 6.8. |
Just so you know, I am/was very hesitant in doing any work to make things work on anything except Ubuntu 24.04 / latest. Indeed, I tried some easy fixes to see weston work 100% but spent little time actually doing this. As for this branch, it has very little backward compatibility fixes (just some missing include files in kernel 4.9). They can be easily deleted. You can check the diff. Next, I would see the following get done:
And this should be done, or close to done, in the Ubuntu 24.04 release window aka until April 25, 2024. |
The last conclusion of this PR on “old” 4.9 kernel is that it works but with lots of tearing, since there is no atomic modesetting which this version of weston with backend-sdm needs. |
Closing this PR, since changes in this PR, as they are, should not be needed anymore in mainline. More will be seen when weston is getting some work in mainline. |
@adeebshihadeh this is my proposal for #16
This will update
weston
to the Linaro latest downstream (based on weston 8.0.0) for Ubuntu 20.04, used in Qualcomm Robotics RB5 Dev Kit / QRB5165. The manifest (and tag) used is LU.UM.3.3.1.r1-25900-QRB5165.0.My proposal comes for a couple of reasons:
Please let me know what you think.