Troubles with GPU drivers
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Troubles with GPU drivers
Hi Minters,
I have trouble setting up my GPU drivers.
After setting up my VM, I've installed the virtio drivers. But in the VM device manager i see that my GPU is not recognised yet.
I went on amd official website to dl the drivers, but whenever i try to install it, it fails.
Do you have any ideas ?
I'm keep doing research on it but any help could be great
Thanks
I have trouble setting up my GPU drivers.
After setting up my VM, I've installed the virtio drivers. But in the VM device manager i see that my GPU is not recognised yet.
I went on amd official website to dl the drivers, but whenever i try to install it, it fails.
Do you have any ideas ?
I'm keep doing research on it but any help could be great
Thanks
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Re: Troubles with GPU drivers
A VM virtualizes all hardware, so you'll never see your GPU.
Re: Troubles with GPU drivers
Sorry my english is not very good.
I meant that my device is seen by the Windows device manager but seen as "Unknown Device". (see picture)
https://imgur.com/a/DLHWrcW
I know this is my GPU because when i right click and ask to install the driver automatically it says that this is the AMD Radeon R7 but it can't install the driver due to an unknown error.
I've tried many times to install it manually but it keep failing, I don't know why.
I hope I made myself clearer
I meant that my device is seen by the Windows device manager but seen as "Unknown Device". (see picture)
https://imgur.com/a/DLHWrcW
I know this is my GPU because when i right click and ask to install the driver automatically it says that this is the AMD Radeon R7 but it can't install the driver due to an unknown error.
I've tried many times to install it manually but it keep failing, I don't know why.
I hope I made myself clearer
Re: Troubles with GPU drivers
OK, so the VM is Windows, correct? What VM software are you using?
Re: Troubles with GPU drivers
Right.
I use qemu-kvm and virt-manager.
Just asking, it might come from this but I can't test for few days, is it possible that the problem is that my Radeon GPU is connected via DVI to an other screen ?
I use qemu-kvm and virt-manager.
Just asking, it might come from this but I can't test for few days, is it possible that the problem is that my Radeon GPU is connected via DVI to an other screen ?
-
- Level 6
- Posts: 1144
- Joined: Thu May 03, 2012 3:54 am
- Location: Israel
- Contact:
Re: Troubles with GPU drivers
Well, I don't use virt-manager as it causes more problems than it solves. In order to debug your WIndows VM, convert the xml config file as follows:
Converting from domain XML to QEMU args:
or:
Can you post the resulting qemu-argv file here?
Make sure iommu is enabled on your machine:
I assume you attempt to do GPU passthrough.
I've written a tutorial on that where you may find more information and troubleshooting. See: Running Windows 10 on Linux using KVM with VGA Passthrough.
Converting from domain XML to QEMU args:
Code: Select all
virsh domxml-to-native qemu-argv win10.xml
Code: Select all
virsh domxml-to-native qemu-argv --domain win10
Make sure iommu is enabled on your machine:
Code: Select all
printf "IOMMU Status: "; if cat /proc/cmdline|grep -i iommu; then printf "enabled\n";else printf "disabled\n";fi
I've written a tutorial on that where you may find more information and troubleshooting. See: Running Windows 10 on Linux using KVM with VGA Passthrough.
Subjects of interest: Linux, vfio passthrough virtualization, photography
See my blog on virtualization, including tutorials: https://www.heiko-sieger.info/category/ ... alization/
See my blog on virtualization, including tutorials: https://www.heiko-sieger.info/category/ ... alization/
-
- Level 6
- Posts: 1144
- Joined: Thu May 03, 2012 3:54 am
- Location: Israel
- Contact:
Re: Troubles with GPU drivers
That doesn't matter. See my last post and do the steps in Part 9 - Check Configuration.
Subjects of interest: Linux, vfio passthrough virtualization, photography
See my blog on virtualization, including tutorials: https://www.heiko-sieger.info/category/ ... alization/
See my blog on virtualization, including tutorials: https://www.heiko-sieger.info/category/ ... alization/
Re: Troubles with GPU drivers
I've tried with the W7 VM.
I'll install a Windows 10 VM instead, following your advices and guide (again )
I'll install a Windows 10 VM instead, following your advices and guide (again )
-
- Level 6
- Posts: 1144
- Joined: Thu May 03, 2012 3:54 am
- Location: Israel
- Contact:
Re: Troubles with GPU drivers
W7 doesn't support UEFI out of the box, so my tutorial doesn't work with W7.
Windows 10 supports UEFI which is generally the better option.
You can follow my tutorial also for W7, but need to make some modifications to load Seabios. Haven't done it for a while, but it's easy and there is plenty of documentation on that too.
Windows 10 supports UEFI which is generally the better option.
You can follow my tutorial also for W7, but need to make some modifications to load Seabios. Haven't done it for a while, but it's easy and there is plenty of documentation on that too.
Subjects of interest: Linux, vfio passthrough virtualization, photography
See my blog on virtualization, including tutorials: https://www.heiko-sieger.info/category/ ... alization/
See my blog on virtualization, including tutorials: https://www.heiko-sieger.info/category/ ... alization/