Jump to content

So i'm relatively new to linux and i wan't to make a WIN10 VM via KVM. Right now i'm trying to pass through my RX 5700XT via OVMF and I've run the iommu groups command:

 

[ben@ben-pc ~]$ shopt -s nullglob
[ben@ben-pc ~]$ for g in /sys/kernel/iommu_groups/*; do
>     echo "IOMMU Group ${g##*/}:"
>     for d in $g/devices/*; do
>         echo -e "\t$(lspci -nns ${d##*/})"
>     done;
> done;#

 

But i have loads of groups with AMD all over the place and i'm wondering if ill have to ACS patch my kernel. IOMMU Group.txt

 

Link to comment
https://linustechtips.com/topic/1187246-linux-pci-pass-through/
Share on other sites

Link to post
Share on other sites

you're good.

IOMMU Group 19:
        0a:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Navi 10 [Radeon RX 5600 OEM/5600 XT / 5700/5700 XT] [1002:731f] (rev c1)

 

although for some reason the audio device hor hdmi/displayport audio isn't listed there.

 

what distro are you using and what version?

She/Her

Phone: OnePlus Nord CE 5G | 128GB | 8GB Ram

Main Desktop: Ryzen 5 3600 | GTX 1060 6GB | 32GB Ram
Main Laptop: Acer Aspire V3-771G | Core i7 3612QM | 16GB

Link to comment
https://linustechtips.com/topic/1187246-linux-pci-pass-through/#findComment-13549170
Share on other sites

Link to post
Share on other sites

37 minutes ago, MysticBenjii1 said:

@TwilightIts manjaro KDE 20 kernel version is 56

that's... interesting. why is it not detecting the audio... i really have no clue.

She/Her

Phone: OnePlus Nord CE 5G | 128GB | 8GB Ram

Main Desktop: Ryzen 5 3600 | GTX 1060 6GB | 32GB Ram
Main Laptop: Acer Aspire V3-771G | Core i7 3612QM | 16GB

Link to comment
https://linustechtips.com/topic/1187246-linux-pci-pass-through/#findComment-13549404
Share on other sites

Link to post
Share on other sites

2 hours ago, Twilight said:

that's... interesting. why is it not detecting the audio... i really have no clue.

So i went through with isolating my GPU.

 

I added the new modules to the initramfs config and then regenerated the initramfs.

I then rebooted and i still got a signal from the GPU, as far as i'm aware you're not suppose to get a signal after isolating a GPU. 

 

So i'm a bit confusion at the moment.

Link to comment
https://linustechtips.com/topic/1187246-linux-pci-pass-through/#findComment-13549710
Share on other sites

Link to post
Share on other sites

Just now, MysticBenjii1 said:

So i went through with isolating my GPU.

 

I added the new modules to the initramfs config and then regenerated the initramfs.

I then rebooted and i still got a signal from the GPU, as far as i'm aware you're not suppose to get a signal after isolating a GPU. 

 

So i'm a bit confusion at the moment.

that's odd.

 

if you run "lspci -nnv" without quotes in a terminal what does it display for the gpu?

She/Her

Phone: OnePlus Nord CE 5G | 128GB | 8GB Ram

Main Desktop: Ryzen 5 3600 | GTX 1060 6GB | 32GB Ram
Main Laptop: Acer Aspire V3-771G | Core i7 3612QM | 16GB

Link to comment
https://linustechtips.com/topic/1187246-linux-pci-pass-through/#findComment-13549777
Share on other sites

Link to post
Share on other sites

0a:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Navi 10 [Radeon RX 5600 OEM/5600 XT / 5700/5700 XT] [1002:731f] (rev c1) (prog-if 00 [VGA controller])
        Subsystem: ASUSTeK Computer Inc. Navi 10 [Radeon RX 5600 OEM/5600 XT / 5700/5700 XT] [1043:04e2]
        Flags: bus master, fast devsel, latency 0, IRQ 90
        Memory at e0000000 (64-bit, prefetchable)
        Memory at f0000000 (64-bit, prefetchable)
        I/O ports at d000
        Memory at f6500000 (32-bit, non-prefetchable)
        Expansion ROM at 000c0000 [disabled]
        Capabilities: <access denied>
        Kernel driver in use: amdgpu
        Kernel modules: amdgpu

 

you didn't do it correctly. if you did it would say kernel driver in use: vfio_pci but it doesn't.

She/Her

Phone: OnePlus Nord CE 5G | 128GB | 8GB Ram

Main Desktop: Ryzen 5 3600 | GTX 1060 6GB | 32GB Ram
Main Laptop: Acer Aspire V3-771G | Core i7 3612QM | 16GB

Link to comment
https://linustechtips.com/topic/1187246-linux-pci-pass-through/#findComment-13553072
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×