Skip to content
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

Hardware support: Ryzen 7000 series / Zen 4 / AM5 #7856

Closed
neowutran opened this issue Nov 2, 2022 · 7 comments
Closed

Hardware support: Ryzen 7000 series / Zen 4 / AM5 #7856

neowutran opened this issue Nov 2, 2022 · 7 comments
Labels
affects-4.1 This issue affects Qubes OS 4.1. C: installer C: Xen diagnosed Technical diagnosis has been performed (see issue comments). hardware support P: default Priority: default. Default priority for new issues, to be replaced given sufficient information. T: bug Type: bug report. A problem or defect resulting in unintended behavior in something that exists.

Comments

@neowutran
Copy link

How to file a helpful issue

Qubes OS release

4.1

Brief summary

Qubes OS does not support Ryzen 7000 series
More specifically, Xen panic saying that it doesn't known the CPU family n° 25
From my understanding, supporting recent hardware would require upgrading xen+libvirt+dom0
( Started few day ago a work to try to upgrade that, but unsure if I will suceed )

Steps to reproduce

Try to run the qubes installer on a computer with a ryzen 7000 serie

Expected behavior

Qubes installer is running

Actual behavior

Xen panic

@neowutran neowutran added P: default Priority: default. Default priority for new issues, to be replaced given sufficient information. T: bug Type: bug report. A problem or defect resulting in unintended behavior in something that exists. labels Nov 2, 2022
@DemiMarie
Copy link

@marmarek can the needed Xen patches be backported?

@andrewdavidwong andrewdavidwong added C: installer C: Xen hardware support needs diagnosis Requires technical diagnosis from developer. Replace with "diagnosed" or remove if otherwise closed. labels Nov 2, 2022
@andrewdavidwong andrewdavidwong added this to the Release 4.1 updates milestone Nov 2, 2022
@0spinboson
Copy link

https://forum.qubes-os.org/t/ryzen-7000-serie/14538/14 < relevant forum thread. Neowutran's made quite some progress, now working on anaconda-qubes patches

@neowutran
Copy link
Author

I have made a lot of progress lately, and I am now confident that I will make it work as I want (A lot of work is still required on my side. And a lot of testing.).
It is a major upgrade of many dependencies (dom0 fc37+, xen 4.16+, libvirt 8.9+, qemu 7.1+, python 3.11+), so lot of breaking changes, lot of repository that need to be modified etc etc.

Is that a work that interest the Qubes projet for a futur major upgrade (5.x ? 4.3+ ? ... ) ?
In case it is of interest for Qubes projet, do you know how you want to proceed ?

@marmarek
Copy link
Member

Qubes 4.2 will include at least Xen 4.17 and libvirt 8.9, part of that is already done here: QubesOS/qubes-vmm-xen#144 QubesOS/qubes-core-libvirt#43. Such major changes will not be supported on 4.1.

@DemiMarie
Copy link

@neowutran could the relevant patches be backported to the versions used in R4.1?

@neowutran
Copy link
Author

I will try to find the set of patches required next week. If I succeed I will post it here.
Before that I am still trying to understand some issue I have with my AM5 motherboard (bios is buggy / unstable & unreliable, but maybe some of the issues could be related to kernel version, will try to rule out that)

marmarek pushed a commit to QubesOS/qubes-vmm-xen that referenced this issue Jan 17, 2023
@andrewdavidwong andrewdavidwong added diagnosed Technical diagnosis has been performed (see issue comments). and removed needs diagnosis Requires technical diagnosis from developer. Replace with "diagnosed" or remove if otherwise closed. labels Jan 17, 2023
@vlad-timofeev
Copy link

Did this work include support for AMD Phoenix CPUs, such as Ryzen 7940HS?

@andrewdavidwong andrewdavidwong added the affects-4.1 This issue affects Qubes OS 4.1. label Aug 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affects-4.1 This issue affects Qubes OS 4.1. C: installer C: Xen diagnosed Technical diagnosis has been performed (see issue comments). hardware support P: default Priority: default. Default priority for new issues, to be replaced given sufficient information. T: bug Type: bug report. A problem or defect resulting in unintended behavior in something that exists.
Projects
None yet
Development

No branches or pull requests

6 participants