-
Notifications
You must be signed in to change notification settings - Fork 24
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
possible wrong handling of memory on aarch64 for mesa-dri-drivers #144
Comments
32 and 64 have no difference in their CMA requirements. I would guess that your 32 and 64 builds are getting different cma amounts chosen by the kernel, though (look for a dmesg line like "cma: Reserved 384 MiB at 0x20000000"). You'll need 256 or so for things to generally work, though if you do a lot of graphics-related stuff (open many applications, do stuff in gnome-shell, or run games), you may still run out and there's not much we can do about that. |
I've not tested aarch64 widely on graphical use cases, F-29 Workstation works fine on ARMv7 on the 3B and 3B+, I was running it the other day for 8 hours with a, albeit none accelerated, h264 video without any crashes. It wasn't fast but then as a presentation on a conference booth that was fine. I have tested aarch64 a lot with "minimal text" images, I wonder if the 64 bit allocation mechanisms might have an effect on memory usage here. I will try to do some basic testing this week on aarch64 if I get a chance. @judovana please provide more information than "it doesn't work" |
"it doesn't work" - where I have wrote it? I think the https://bugzilla.redhat.com/show_bug.cgi?id=1643484 is describing situation pretty well. HW is raspberry pi 3 b+; reproducer is to install mesa-dri on "low" cma (as 192) and run 720p or bigger movie, or an more "Advanced" desktop. It will stop redrawing, and you will see the memory errors in dmesg ( know it is not exactly minimalistical reproducer) Anyway, thanx all for cooperation. Looking forward for resolution. |
hi! |
Maybe this is related to the following pull request: raspberrypi#2699 |
It looks promising, @lategoodbye is there an upstream patch series for this too? |
In the end it's only a single patch, so i think the porting to current linux-next should be easy. But the first question: is this issue still reproducible? |
The "is it reproducible" question is definitely for @judovana |
Yes it is. reproducible. I should be able to selfbuild fedora kernel. Can you point me to the direct patch(es)? |
@judovana reach out if you have issues and I can assist with a scratch build. |
Application og raspberrypi@67d41b9 should be enogh, right? |
Reproducible with which kernel version? Since there has been a lot of fixes on vchiq, it would be nice to try at least 4.20 or staging-next. So i suggest this: raspberrypi@74da962 |
That was 4.18. Fedroa now have 4.19 for f29, so I wonted to try it there. |
You can try this version, but i think it's a waste of your time. |
Hi!
I had noticed, that - compared to 32 raspberry, 64b raspberry, mesa-dri-drivers requires enormous CMA to work properly.
See https://bugzilla.redhat.com/show_bug.cgi?id=1643484 for details. Feel free to ping for any more details, the I have the setup working.
The text was updated successfully, but these errors were encountered: