01-28-2020, 08:10 PM
Works fine on Debian bullseye aarch64, and installing mesa git seems to have fixed video playback in Firefox. Thanks for the script!
mesa-git build script for latest panfrost
|
01-28-2020, 08:10 PM
Works fine on Debian bullseye aarch64, and installing mesa git seems to have fixed video playback in Firefox. Thanks for the script!
01-28-2020, 08:40 PM
@xmixahlx Thanks for your effort in this!
Success with my build on @danielt stock arch64 Bullseye. Using your minimal lines for config knocked out the pesky dependencies for nVidia and unused external integrations. I found that I didn't have a whole X11 development installation, and that the arm64 build from debbootstrap left out some Python3 goodies that I thought were covered. I can supply those as dependency checks, if you like. First impressions are it's VERY snappy now. Switching to the Gnome3 overview is crisper and use of a transparent terminal Gnome Extension renders very smooth and quickly. My page-tearing when scrolling a full-screen Firefox goes away. Anecdotally, this is a number of great improvements, if not a formal benchmark. A+
— Jeremiah Cornelius
"Be the first person not to do something, that no one has thought of not doing before’’ — Brian Eno, "Oblique Strategies"
01-28-2020, 09:27 PM
(01-28-2020, 08:40 PM)Jeremiah Cornelius Wrote: @xmixahlx Thanks for your effort in this! definitely please share any steps needed for the script to work as intended. others will benefit. glad this is working so well for you.
01-29-2020, 04:09 PM
(01-28-2020, 09:27 PM)xmixahlx Wrote:(01-28-2020, 08:40 PM)Jeremiah Cornelius Wrote: @xmixahlx Thanks for your effort in this! The deps required by any good build environment, not included in build-essential are: bison flex Missing Python deps from a base install are: python3-setuptools python3-mako X11 and Wayland build dependencies are: wayland-protocols wayland-dev libx11-dev xorg-dev The last two meta-packages include a large number of libraries that would have to be tracked as some dozen or much more individual dependencies. Because most users are starting with a debbootstrap and a couple simple tasksel items, plugging these holes should get them off the ground!
— Jeremiah Cornelius
"Be the first person not to do something, that no one has thought of not doing before’’ — Brian Eno, "Oblique Strategies"
01-29-2020, 04:55 PM
interesting. I expected the build-dep mesa to install most of these. I will add to the script.
01-29-2020, 05:39 PM
(01-29-2020, 04:55 PM)xmixahlx Wrote: interesting. I expected the build-dep mesa to install most of these. I will add to the script. Yeah, me too. After apt search for the 3rd libxxx-dev, I got the other meta-packages instead of cherry-picking and passed config.
— Jeremiah Cornelius
"Be the first person not to do something, that no one has thought of not doing before’’ — Brian Eno, "Oblique Strategies"
01-31-2020, 01:33 AM
I recommend adding "set -e" to the top of the script, so that e.g. a failure to cd to $DEVDIR won't result in mesa getting plopped into the working directory. ("set -e" is good shell scripting practice in general.) Also, I recommend replacing:
Code: git clone --depth=1 https://gitlab.freedesktop.org/mesa/mesa.git with: Code: test -d mesa || git clone --depth=1 https://gitlab.freedesktop.org/mesa/mesa.git so that it won't try to clone mesa if it's already been cloned. Neither of these are major issues, and apart from the inevitable "what packages are actually needed" problem any script like this will face, this seems pretty good.
great. thanks. if the git directly exists it just displays an error and moves on. i agree your input is the preferred non-lazy approach.
I also see I failed to mkdir -p $DEVDIR here at the top which is my usual approach.
02-01-2020, 01:54 AM
I hope I didn't come across as knocking your scripting—far from it, I found the script refreshingly well-structured and commented for a shell script.
Finally had the chance to try it in depth myself. I can confirm increase in stability and performance, including the ability to use GTK+3 apps under X11. Wayland broke, but 1) I don't care and 2) I'm pretty sure it was because of something I did during the "which packages does this actually need" stage.
02-01-2020, 04:09 AM
np. love the input, it's how we all expand our knowledge.
i've updated the script to to require minimal dependencies after some confirmations, as well as fixed a build issue on debian unstable. also confirmed working well for stable/buster on a separate install. cheers. |
Possibly Related Threads… | |||||
Thread | Author | Replies | Views | Last Post | |
kernel build script for latest mainline manjaro kernel | xmixahlx | 42 | 64,459 |
07-11-2020, 09:01 PM Last Post: xmixahlx |
|
sway-git build script for latest wayland wm | xmixahlx | 2 | 6,002 |
03-27-2020, 02:46 PM Last Post: xmixahlx |
|
openarena build script | xmixahlx | 4 | 7,342 |
03-20-2020, 10:25 PM Last Post: xmixahlx |
|
i3blocks Manjaro battery status script | Gerhard | 0 | 3,143 |
01-05-2020, 02:35 PM Last Post: Gerhard |