# Upgrading mesa on dGPU only setups

**URL:** https://forums.sifive.com/t/upgrading-mesa-on-dgpu-only-setups/7166
**Category:** HiFive Premier P550
**Created:** [March 24, 2025, 5:47am UTC](https://forums.sifive.com/t/upgrading-mesa-on-dgpu-only-setups/7166 "2025-03-24T05:47:30Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![Vixea](https://avatars.discourse-cdn.com/v4/letter/v/3ec8ea/32.png) [@Vixea](https://forums.sifive.com/u/Vixea)
#### Post date: [March 24, 2025, 5:47am UTC](https://forums.sifive.com/t/upgrading-mesa-on-dgpu-only-setups/7166/1 "2025-03-24T05:47:30Z")

</div>

I’ve yet to find a clean way of doing this with sifives ubuntu, I’ll get back to this thread when I do or maybe eswin or sifive will mention a solution

---

<div class="post-metadata">

### Author: ![hiten](https://avatars.discourse-cdn.com/v4/letter/h/c57346/32.png) [@hiten](https://forums.sifive.com/u/hiten)
#### Post date: [March 27, 2025, 1:00pm UTC](https://forums.sifive.com/t/upgrading-mesa-on-dgpu-only-setups/7166/2 "2025-03-27T13:00:43Z")

</div>

Hi Vixea,  
Can you please mention which version of ubuntu you are using for this ? Please help me with release number and also your reproduction steps in details.

Thanks.

---

<div class="post-metadata">

### Author: ![Vixea](https://avatars.discourse-cdn.com/v4/letter/v/3ec8ea/32.png) [@Vixea](https://forums.sifive.com/u/Vixea)
#### Post date: [March 27, 2025, 4:33pm UTC](https://forums.sifive.com/t/upgrading-mesa-on-dgpu-only-setups/7166/3 "2025-03-27T16:33:59Z")

</div>

Ubuntu primier-10 yes I know it has the breaks mesa bit but I would love to keep a backup kernel that I know works.

---

<div class="post-metadata">

### Author: ![hiten](https://avatars.discourse-cdn.com/v4/letter/h/c57346/32.png) [@hiten](https://forums.sifive.com/u/hiten)
#### Post date: [March 28, 2025, 12:24pm UTC](https://forums.sifive.com/t/upgrading-mesa-on-dgpu-only-setups/7166/4 "2025-03-28T12:24:17Z")

</div>

Hi Vixea,  
I’m still not clear with your version details. Kindly help me with below questions.

1. How you are trying to upgrade mesa drivers (steps)?
2. Give me version details using below steps.  
1.Kernel version - $ uname -a  
2. PVR DDK version - $ cat /sys/kernel/debug/pvr/version
3. Try to do full upgrade using below command and verify. This will upgrade all the packages to latest version.  
1. sudo apt update  
2. sudo apt upgrade
4. By default imagination GPU is selected, If user wants to switch to external GPU. Follow the instruction from latest release note [Release 2025.02.00 · sifiveinc/hifive-premier-p550-ubuntu · GitHub](https://github.com/sifiveinc/hifive-premier-p550-ubuntu/releases/tag/2025.02.00). Kindly use this release for your test.

Thanks.

---

<div class="post-metadata">

### Author: ![Vixea](https://avatars.discourse-cdn.com/v4/letter/v/3ec8ea/32.png) [@Vixea](https://forums.sifive.com/u/Vixea)
#### Post date: [March 28, 2025, 1:41pm UTC](https://forums.sifive.com/t/upgrading-mesa-on-dgpu-only-setups/7166/5 "2025-03-28T13:41:20Z")

</div>

Unfortunately none of those would be useful as I’m using a rx6700xt which needs [GitHub - sifive/riscv-linux at dev/sholland/hifive-premier-p550-amdgpu](https://github.com/sifive/riscv-linux/tree/dev/sholland/hifive-premier-p550-amdgpu)  
With the onboard IMG(driver) disabled.

But the other installed kernel would be

> <https://github.com/sifive/riscv-linux/commit/c25a91c16ef256866e083b7f67fa96bb35e4a529>
>
> Signed-off-by: Pinkesh Vaghela \<pinkesh.vaghela@einfochips.com\>

The version of mesa is 22.3.5 as in the ppa, I would like to be able to use 24.3 which is in the main repository

---

<div class="post-metadata">

### Author: ![Vixea](https://avatars.discourse-cdn.com/v4/letter/v/3ec8ea/32.png) [@Vixea](https://forums.sifive.com/u/Vixea)
#### Post date: [March 28, 2025, 1:46pm UTC](https://forums.sifive.com/t/upgrading-mesa-on-dgpu-only-setups/7166/6 "2025-03-28T13:46:15Z")

</div>

Oh and well for upgrading mesa I don’t have the exact command on hand but it looks something like  
`sudo apt install mesa=upstream-ubuntu-version`  
The problem being is it likes to remove everything and the backup kernel which is the release you provide in the ppa
