update hammerhead to 5.2_rc3 and make freedreno work again
Thanks to @masneyb's amazing work, we can update the kernel to 5.2_r3. I've taken his patches, and created a separate mesa-freedreno package, so there is no conflict with other devices (mesa master is currently breaking lima etc.).
TODO:
-
fix usb networking => #312 (closed) -
get logs, to see if it is really using freedreno instead of swrast (See "OpenGL vendor string" "freedreno" in Martijn's log below) -
fix initramfs hack (see last commit) to properly wait until whatever needed device appears before doing setup_mdev, instead of doing "sleep 1"
CC: @MartijnBraam, @pparent, @minlexx, @julian-goldsmith, @unrznbl, @bshah
I'm still pretty busy with blogging, would be great if you guys could take it from here.
Fixes #221 (closed).
Merge request reports
Activity
mentioned in issue #221 (closed)
By Oliver Smith on 2019-06-20T13:09:07
added 1 commit
- 7980c1b0 - HACK: sleep one second before setup_mdev in initfs
By Oliver Smith on 2019-06-20T13:10:26
- Resolved by Administrator
The scaling looks the same as on my samsung-klte with framebuffer
I can test it on my hammerhead tonight or tomorrow
By Alexey Min on 2019-06-22T18:36:30
Edited by Ghost User
- Resolved by Administrator
Thank's a lot for this!
Unfortunately, I'm sorry but it is going to be hard for me to make some tests on my Nexus5 in the next months, because my old basic phone just died, and I have to use Ubports on my nexus 5 as a daily driver for few months before I receive my librem5.
Did anyone test if apps based on qtwebengine like Angelfish, worked better with this graphic driver?
By Pierre Parent on 2019-06-22T13:51:35
Edited by Administrator
mentioned in issue #222 (closed)
By Bart Ribbers on 2019-06-25T12:19:33
@MartijnBraam: what's the status here? I think you were looking into it and pushed stuff to the other branch
feature/hammerhead-update
(which existed before of course). Would you mind updating this MR if you've made an improvement?Also I recall that you mentioned mesa-freedreno conflicting with mesa while building. Adding
pmb:strict
to the options forces pmbootstrap to build it in strict mode, therefore uninstalling everything unrelated beforehand. I have not tested it, but that might help? If so, it would be a good idea to use it in the APKBUILD.By Oliver Smith on 2019-06-26T22:10:20
Edited by AdministratorI have the kernel in my branch compiling in a more postmarketos-y way. but still can't get usb-serial to work.
The current issue with usb networking is that there's no usb device controller in
/sys/class/udc
, maybe @masneyb knows what's going wrong with that?also got the plasma logs for @bshah:
- logread: https://paste.sr.ht/%7Emartijnbraam/e166fe2d6012394684908ac92ee7c41f5ed8a856
- plasma log: https://paste.sr.ht/%7Emartijnbraam/7189c145bad82d2b5900c8b9fe6cc117f528595e
By Martijn Braam on 2019-06-27T11:35:24
Edited by Administratoradded 1 commit
- d15cd373 - main/linux-postmarketos-qcom: Add back config system with new config
By Martijn Braam on 2019-06-27T12:15:39
added 1 commit
- 475b0751 - Revert "HACK: sleep one second before setup_mdev in initfs"
By Martijn Braam on 2019-06-27T12:21:41
added 1 commit
- 2f9dd011 - Move postmarketos-qcom devices to ARMv7
By Martijn Braam on 2019-06-27T12:28:43
I moved all the stuff for the hammerhead from my branch into this one but didn't merge the commits for them yet so you can still see what's what.
There's also the issue of the other postmarketos-qcom devices still being armhf, I'm pretty sure this will work but it needs to be tested.
I also moved my initfs debugging stuff to a seperate MR instead of this one (!468 (merged)) and removed the initfs hacks here.
By Martijn Braam on 2019-06-27T12:33:02
Edited by Administratormentioned in commit cfe24353
By Oliver Smith on 2019-06-30T10:27:57
mentioned in commit 150bef80
By Martijn Braam on 2019-06-30T10:27:57
mentioned in commit c3516e24
By Oliver Smith on 2019-06-30T10:27:57
mentioned in commit 1955db20
By Oliver Smith on 2019-06-30T10:27:58
added 47 commits
-
2f9dd011...74ac6819 - 43 commits from branch
master
- 1955db20 - temp/mesa-freedreno: current mesa master (!450 (merged))
- cfe24353 - main/linux-postmarketos-qcom: update: 5.2_rc3, disable armhf (!450 (merged))
- 150bef80 - lg-hammerhead: mesa-freedreno, serial tty0, fix X (!450 (merged))
- c3516e24 - asus-flo/sony-{sirius,castor-windy}: mesa-freedreno, armv7 (!450 (merged))
By Oliver Smith on 2019-06-30T10:27:58
Toggle commit list-
2f9dd011...74ac6819 - 43 commits from branch