You are not logged in.

#1 2022-01-17 06:15:22

huntermint
Member
Registered: 2022-01-17
Posts: 15

QEMU with Nvidia GPU not work

I try use vm with nvidia gpu 1060,  but error like this, If try run intel hd no problem, vm doesn't support  nvidia gpu 1060?
I try to running Androidx86

Spec
CPU I7 7700HQ
GPU intel HD 630
GPU Nvidia 1060

Error QEMU
https://i.imgur.com/CyS4j0Q.png

Neofetch
https://i.imgur.com/e4DcPN8.png

Last edited by huntermint (2022-01-17 06:16:20)

Offline

#2 2022-01-17 07:39:26

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,293

Re: QEMU with Nvidia GPU not work

lib32-nvidia-utils installed? Have you tried running the corresponding daemon process explicitly with prime-run ?

Offline

#3 2022-01-17 09:13:52

huntermint
Member
Registered: 2022-01-17
Posts: 15

Re: QEMU with Nvidia GPU not work

I think I found problem on my laptop
https://i.imgur.com/qktoxl2.png

I search on youtube for tutorial video, but just found fix to manjaro, can help me to fix this.
Im sorry my english so bad

Offline

#4 2022-01-17 12:30:46

huntermint
Member
Registered: 2022-01-17
Posts: 15

Re: QEMU with Nvidia GPU not work

V1del wrote:

lib32-nvidia-utils installed? Have you tried running the corresponding daemon process explicitly with prime-run ?

Oh my god, after I follow step pasthrough gpu, Arch can't boot

https://imgur.com/a/GKeI3bt

Can this fix?
Ohh Im very confused

Offline

#5 2022-01-17 12:35:28

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,293

Re: QEMU with Nvidia GPU not work

Why are you configuring a passthrough in the first place? You don't want to passthrough, I find it unlikely that your x86 Android system has a nvidia driver available. To fix this depending on what you actually changed you'll need to boot a live disk and revert your changes.

What is your end goal here, do you want to run an Android VM for the heck of it? Do you want to run specific Android application for a certain purpose?

Last edited by V1del (2022-01-17 12:37:33)

Offline

#6 2022-01-17 12:58:14

huntermint
Member
Registered: 2022-01-17
Posts: 15

Re: QEMU with Nvidia GPU not work

V1del wrote:

Why are you configuring a passthrough in the first place? You don't want to passthrough, I find it unlikely that your x86 Android system has a nvidia driver available. To fix this depending on what you actually changed you'll need to boot a live disk and revert your changes.

What is your end goal here, do you want to run an Android VM for the heck of it? Do you want to run specific Android application for a certain purpose?

Enabling IOMMU success, and I next step to gpu.

I revert all, but same stuck on boot. I just want run android, sometime on avd android studio aplication crash

I've also done this command "mkinitcpio -p linux" , and I've completed all the orders passthrough gpu

Offline

#7 2022-01-17 13:00:42

huntermint
Member
Registered: 2022-01-17
Posts: 15

Re: QEMU with Nvidia GPU not work

Do I have to format an SSD? And reinstall arch linux?

I try remove quiet from grup parameter, but not success still on boot

Offline

#8 2022-01-17 13:39:11

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,293

Re: QEMU with Nvidia GPU not work

You shouldn't need to reinstall Arch Linux but you provide zero information as to what you actually did and the general way you go about this make me doubt you followed our installation instructions. Which instructions did you actually follow? To fix "this" you need to undo all the steps you did in an attempt to configure passthrough since that was the entirely wrong way to go about this in the first place.

FWIW to get some actual sense into this after such a failed boot, boot into a live system, chroot into your actual install and post the output of

journalctl -b

https://wiki.archlinux.org/title/List_o … n_services

Last edited by V1del (2022-01-17 13:41:26)

Offline

#9 2022-01-17 14:54:54

huntermint
Member
Registered: 2022-01-17
Posts: 15

Re: QEMU with Nvidia GPU not work

V1del wrote:

You shouldn't need to reinstall Arch Linux but you provide zero information as to what you actually did and the general way you go about this make me doubt you followed our installation instructions. Which instructions did you actually follow? To fix "this" you need to undo all the steps you did in an attempt to configure passthrough since that was the entirely wrong way to go about this in the first place.

FWIW to get some actual sense into this after such a failed boot, boot into a live system, chroot into your actual install and post the output of

journalctl -b

https://wiki.archlinux.org/title/List_o … n_services

After Enabling IOMMU success,
I follow instructions Isolate GPU

[liveuser@archlinuxgui ~]$ sudo mount /dev/sda2 /mnt
[liveuser@archlinuxgui ~]$ sudo arch-chroot /mnt
[root@archlinuxgui /]# cd boot
[root@archlinuxgui boot]# ls
amd-ucode.img  grub			     initramfs-linux.img
efi	       initramfs-linux-fallback.img  vmlinuz-linux
[root@archlinuxgui grub]# cd ..
[root@archlinuxgui boot]# cd ..
[root@archlinuxgui /]# journalctl -b
Jan 17 21:14:05 archlinuxgui kernel: microcode: microcode updated early to revi>
Jan 17 21:14:05 archlinuxgui kernel: Linux version 5.15.10-arch1-1 (linux@archl>
Jan 17 21:14:05 archlinuxgui kernel: Command line: initrd=\arch\boot\intel-ucod>
Jan 17 21:14:05 archlinuxgui kernel: x86/fpu: Supporting XSAVE feature 0x001: '>
Jan 17 21:14:05 archlinuxgui kernel: x86/fpu: Supporting XSAVE feature 0x002: '>
Jan 17 21:14:05 archlinuxgui kernel: x86/fpu: Supporting XSAVE feature 0x004: '>
Jan 17 21:14:05 archlinuxgui kernel: x86/fpu: Supporting XSAVE feature 0x008: '>
Jan 17 21:14:05 archlinuxgui kernel: x86/fpu: Supporting XSAVE feature 0x010: '>
Jan 17 21:14:05 archlinuxgui kernel: x86/fpu: xstate_offset[2]:  576, xstate_si>
Jan 17 21:14:05 archlinuxgui kernel: x86/fpu: xstate_offset[3]:  832, xstate_si>
Jan 17 21:14:05 archlinuxgui kernel: x86/fpu: xstate_offset[4]:  896, xstate_si>
Jan 17 21:14:05 archlinuxgui kernel: x86/fpu: Enabled xstate features 0x1f, con>
Jan 17 21:14:05 archlinuxgui kernel: signal: max sigframe size: 2032
Jan 17 21:14:05 archlinuxgui kernel: BIOS-provided physical RAM map:
Jan 17 21:14:05 archlinuxgui kernel: BIOS-e820: [mem 0x0000000000000000-0x00000>
Jan 17 21:14:05 archlinuxgui kernel: BIOS-e820: [mem 0x0000000000058000-0x00000>
Jan 17 21:14:05 archlinuxgui kernel: BIOS-e820: [mem 0x0000000000059000-0x00000>
Jan 17 21:14:05 archlinuxgui kernel: BIOS-e820: [mem 0x000000000009e000-0x00000>
Jan 17 21:14:05 archlinuxgui kernel: BIOS-e820: [mem 0x0000000000100000-0x00000>
Jan 17 21:14:05 archlinuxgui kernel: BIOS-e820: [mem 0x0000000073665000-0x00000>
Jan 17 21:14:05 archlinuxgui kernel: BIOS-e820: [mem 0x0000000073666000-0x00000>
Jan 17 21:14:05 archlinuxgui kernel: BIOS-e820: [mem 0x0000000073667000-0x00000>
Jan 17 21:14:05 archlinuxgui kernel: BIOS-e820: [mem 0x0000000079d95000-0x00000>
lines 1-23...skipping...
Jan 17 21:14:05 archlinuxgui kernel: microcode: microcode updated early to revision 0xea, date = 2021-01-05
Jan 17 21:14:05 archlinuxgui kernel: Linux version 5.15.10-arch1-1 (linux@archlinux) (gcc (GCC) 11.1.0, GNU ld (GNU Binutils) 2.36.1) #1 SMP PREEMPT Fri,>
Jan 17 21:14:05 archlinuxgui kernel: Command line: initrd=\arch\boot\intel-ucode.img initrd=\arch\boot\amd-ucode.img initrd=\arch\boot\x86_64\initramfs-l>
Jan 17 21:14:05 archlinuxgui kernel: x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point registers'
Jan 17 21:14:05 archlinuxgui kernel: x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers'
Jan 17 21:14:05 archlinuxgui kernel: x86/fpu: Supporting XSAVE feature 0x004: 'AVX registers'
Jan 17 21:14:05 archlinuxgui kernel: x86/fpu: Supporting XSAVE feature 0x008: 'MPX bounds registers'
Jan 17 21:14:05 archlinuxgui kernel: x86/fpu: Supporting XSAVE feature 0x010: 'MPX CSR'
Jan 17 21:14:05 archlinuxgui kernel: x86/fpu: xstate_offset[2]:  576, xstate_sizes[2]:  256
Jan 17 21:14:05 archlinuxgui kernel: x86/fpu: xstate_offset[3]:  832, xstate_sizes[3]:   64
Jan 17 21:14:05 archlinuxgui kernel: x86/fpu: xstate_offset[4]:  896, xstate_sizes[4]:   64
Jan 17 21:14:05 archlinuxgui kernel: x86/fpu: Enabled xstate features 0x1f, context size is 960 bytes, using 'compacted' format.
Jan 17 21:14:05 archlinuxgui kernel: signal: max sigframe size: 2032
Jan 17 21:14:05 archlinuxgui kernel: BIOS-provided physical RAM map:
Jan 17 21:14:05 archlinuxgui kernel: BIOS-e820: [mem 0x0000000000000000-0x0000000000057fff] usable
Jan 17 21:14:05 archlinuxgui kernel: BIOS-e820: [mem 0x0000000000058000-0x0000000000058fff] reserved
Jan 17 21:14:05 archlinuxgui kernel: BIOS-e820: [mem 0x0000000000059000-0x000000000009dfff] usable
Jan 17 21:14:05 archlinuxgui kernel: BIOS-e820: [mem 0x000000000009e000-0x00000000000fffff] reserved
Jan 17 21:14:05 archlinuxgui kernel: BIOS-e820: [mem 0x0000000000100000-0x0000000073664fff] usable
Jan 17 21:14:05 archlinuxgui kernel: BIOS-e820: [mem 0x0000000073665000-0x0000000073665fff] ACPI NVS
Jan 17 21:14:05 archlinuxgui kernel: BIOS-e820: [mem 0x0000000073666000-0x0000000073666fff] reserved
Jan 17 21:14:05 archlinuxgui kernel: BIOS-e820: [mem 0x0000000073667000-0x0000000079d94fff] usable
Jan 17 21:14:05 archlinuxgui kernel: BIOS-e820: [mem 0x0000000079d95000-0x000000007a877fff] reserved
Jan 17 21:14:05 archlinuxgui kernel: BIOS-e820: [mem 0x000000007a878000-0x000000007a8bafff] ACPI data
Jan 17 21:14:05 archlinuxgui kernel: BIOS-e820: [mem 0x000000007a8bb000-0x000000007acf2fff] ACPI NVS
Jan 17 21:14:05 archlinuxgui kernel: BIOS-e820: [mem 0x000000007acf3000-0x000000007b3fdfff] reserved
Jan 17 21:14:05 archlinuxgui kernel: BIOS-e820: [mem 0x000000007b3fe000-0x000000007b3fefff] usable
Jan 17 21:14:05 archlinuxgui kernel: BIOS-e820: [mem 0x000000007b3ff000-0x000000007fffffff] reserved
Jan 17 21:14:05 archlinuxgui kernel: BIOS-e820: [mem 0x00000000e0000000-0x00000000efffffff] reserved
Jan 17 21:14:05 archlinuxgui kernel: BIOS-e820: [mem 0x00000000fe000000-0x00000000fe010fff] reserved
Jan 17 21:14:05 archlinuxgui kernel: BIOS-e820: [mem 0x00000000fec00000-0x00000000fec00fff] reserved
Jan 17 21:14:05 archlinuxgui kernel: BIOS-e820: [mem 0x00000000fee00000-0x00000000fee00fff] reserved
Jan 17 21:14:05 archlinuxgui kernel: BIOS-e820: [mem 0x00000000ff000000-0x00000000ffffffff] reserved
Jan 17 21:14:05 archlinuxgui kernel: BIOS-e820: [mem 0x0000000100000000-0x000000047effffff] usable
Jan 17 21:14:05 archlinuxgui kernel: NX (Execute Disable) protection: active
Jan 17 21:14:05 archlinuxgui kernel: e820: update [mem 0x726b0018-0x726d8057] usable ==> usable
Jan 17 21:14:05 archlinuxgui kernel: e820: update [mem 0x726b0018-0x726d8057] usable ==> usable
Jan 17 21:14:05 archlinuxgui kernel: extended physical RAM map:
Jan 17 21:14:05 archlinuxgui kernel: reserve setup_data: [mem 0x0000000000000000-0x0000000000057fff] usable
lines 1-39




































Jan 17 21:14:05 archlinuxgui kernel: microcode: microcode updated early to revision 0xea, date = 2021-01-05
Jan 17 21:14:05 archlinuxgui kernel: Linux version 5.15.10-arch1-1 (linux@archlinux) (gcc (GCC) 11.1.0, GNU ld (GNU Binutils) 2.36.1) #1 SMP PREE>
Jan 17 21:14:05 archlinuxgui kernel: Command line: initrd=\arch\boot\intel-ucode.img initrd=\arch\boot\amd-ucode.img initrd=\arch\boot\x86_64\ini>
Jan 17 21:14:05 archlinuxgui kernel: x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point registers'
Jan 17 21:14:05 archlinuxgui kernel: x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers'
Jan 17 21:14:05 archlinuxgui kernel: x86/fpu: Supporting XSAVE feature 0x004: 'AVX registers'
Jan 17 21:14:05 archlinuxgui kernel: x86/fpu: Supporting XSAVE feature 0x008: 'MPX bounds registers'
Jan 17 21:14:05 archlinuxgui kernel: x86/fpu: Supporting XSAVE feature 0x010: 'MPX CSR'
Jan 17 21:14:05 archlinuxgui kernel: x86/fpu: xstate_offset[2]:  576, xstate_sizes[2]:  256
Jan 17 21:14:05 archlinuxgui kernel: x86/fpu: xstate_offset[3]:  832, xstate_sizes[3]:   64
Jan 17 21:14:05 archlinuxgui kernel: x86/fpu: xstate_offset[4]:  896, xstate_sizes[4]:   64
Jan 17 21:14:05 archlinuxgui kernel: x86/fpu: Enabled xstate features 0x1f, context size is 960 bytes, using 'compacted' format.
Jan 17 21:14:05 archlinuxgui kernel: signal: max sigframe size: 2032
Jan 17 21:14:05 archlinuxgui kernel: BIOS-provided physical RAM map:
Jan 17 21:14:05 archlinuxgui kernel: BIOS-e820: [mem 0x0000000000000000-0x0000000000057fff] usable
Jan 17 21:14:05 archlinuxgui kernel: BIOS-e820: [mem 0x0000000000058000-0x0000000000058fff] reserved
Jan 17 21:14:05 archlinuxgui kernel: BIOS-e820: [mem 0x0000000000059000-0x000000000009dfff] usable
Jan 17 21:14:05 archlinuxgui kernel: BIOS-e820: [mem 0x000000000009e000-0x00000000000fffff] reserved
Jan 17 21:14:05 archlinuxgui kernel: BIOS-e820: [mem 0x0000000000100000-0x0000000073664fff] usable
Jan 17 21:14:05 archlinuxgui kernel: BIOS-e820: [mem 0x0000000073665000-0x0000000073665fff] ACPI NVS
Jan 17 21:14:05 archlinuxgui kernel: BIOS-e820: [mem 0x0000000073666000-0x0000000073666fff] reserved
Jan 17 21:14:05 archlinuxgui kernel: BIOS-e820: [mem 0x0000000073667000-0x0000000079d94fff] usable
Jan 17 21:14:05 archlinuxgui kernel: BIOS-e820: [mem 0x0000000079d95000-0x000000007a877fff] reserved
Jan 17 21:14:05 archlinuxgui kernel: BIOS-e820: [mem 0x000000007a878000-0x000000007a8bafff] ACPI data
Jan 17 21:14:05 archlinuxgui kernel: BIOS-e820: [mem 0x000000007a8bb000-0x000000007acf2fff] ACPI NVS
Jan 17 21:14:05 archlinuxgui kernel: BIOS-e820: [mem 0x000000007acf3000-0x000000007b3fdfff] reserved
Jan 17 21:14:05 archlinuxgui kernel: BIOS-e820: [mem 0x000000007b3fe000-0x000000007b3fefff] usable
Jan 17 21:14:05 archlinuxgui kernel: BIOS-e820: [mem 0x000000007b3ff000-0x000000007fffffff] reserved
Jan 17 21:14:05 archlinuxgui kernel: BIOS-e820: [mem 0x00000000e0000000-0x00000000efffffff] reserved
Jan 17 21:14:05 archlinuxgui kernel: BIOS-e820: [mem 0x00000000fe000000-0x00000000fe010fff] reserved
Jan 17 21:14:05 archlinuxgui kernel: BIOS-e820: [mem 0x00000000fec00000-0x00000000fec00fff] reserved
Jan 17 21:14:05 archlinuxgui kernel: BIOS-e820: [mem 0x00000000fee00000-0x00000000fee00fff] reserved
Jan 17 21:14:05 archlinuxgui kernel: BIOS-e820: [mem 0x00000000ff000000-0x00000000ffffffff] reserved
Jan 17 21:14:05 archlinuxgui kernel: BIOS-e820: [mem 0x0000000100000000-0x000000047effffff] usable
Jan 17 21:14:05 archlinuxgui kernel: NX (Execute Disable) protection: active
...skipping...
Jan 17 21:14:05 archlinuxgui kernel: microcode: microcode updated early to revision 0xea, date = 2021-01-05
Jan 17 21:14:05 archlinuxgui kernel: Linux version 5.15.10-arch1-1 (linux@archlinux) (gcc (GCC) 11.1.0, GNU ld (GNU Binutils) 2.36.1) #1 SMP PREE>
Jan 17 21:14:05 archlinuxgui kernel: Command line: initrd=\arch\boot\intel-ucode.img initrd=\arch\boot\amd-ucode.img initrd=\arch\boot\x86_64\ini>
Jan 17 21:14:05 archlinuxgui kernel: x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point registers'
Jan 17 21:14:05 archlinuxgui kernel: x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers'
Jan 17 21:14:05 archlinuxgui kernel: x86/fpu: Supporting XSAVE feature 0x004: 'AVX registers'
Jan 17 21:14:05 archlinuxgui kernel: x86/fpu: Supporting XSAVE feature 0x008: 'MPX bounds registers'
Jan 17 21:14:05 archlinuxgui kernel: x86/fpu: Supporting XSAVE feature 0x010: 'MPX CSR'
Jan 17 21:14:05 archlinuxgui kernel: x86/fpu: xstate_offset[2]:  576, xstate_sizes[2]:  256
Jan 17 21:14:05 archlinuxgui kernel: x86/fpu: xstate_offset[3]:  832, xstate_sizes[3]:   64
Jan 17 21:14:05 archlinuxgui kernel: x86/fpu: xstate_offset[4]:  896, xstate_sizes[4]:   64
Jan 17 21:14:05 archlinuxgui kernel: x86/fpu: Enabled xstate features 0x1f, context size is 960 bytes, using 'compacted' format.
Jan 17 21:14:05 archlinuxgui kernel: signal: max sigframe size: 2032
Jan 17 21:14:05 archlinuxgui kernel: BIOS-provided physical RAM map:
Jan 17 21:14:05 archlinuxgui kernel: BIOS-e820: [mem 0x0000000000000000-0x0000000000057fff] usable
Jan 17 21:14:05 archlinuxgui kernel: BIOS-e820: [mem 0x0000000000058000-0x0000000000058fff] reserved
Jan 17 21:14:05 archlinuxgui kernel: BIOS-e820: [mem 0x0000000000059000-0x000000000009dfff] usable
Jan 17 21:14:05 archlinuxgui kernel: BIOS-e820: [mem 0x000000000009e000-0x00000000000fffff] reserved
Jan 17 21:14:05 archlinuxgui kernel: BIOS-e820: [mem 0x0000000000100000-0x0000000073664fff] usable
Jan 17 21:14:05 archlinuxgui kernel: BIOS-e820: [mem 0x0000000073665000-0x0000000073665fff] ACPI NVS
Jan 17 21:14:05 archlinuxgui kernel: BIOS-e820: [mem 0x0000000073666000-0x0000000073666fff] reserved
Jan 17 21:14:05 archlinuxgui kernel: BIOS-e820: [mem 0x0000000073667000-0x0000000079d94fff] usable
Jan 17 21:14:05 archlinuxgui kernel: BIOS-e820: [mem 0x0000000079d95000-0x000000007a877fff] reserved
Jan 17 21:14:05 archlinuxgui kernel: BIOS-e820: [mem 0x000000007a878000-0x000000007a8bafff] ACPI data
Jan 17 21:14:05 archlinuxgui kernel: BIOS-e820: [mem 0x000000007a8bb000-0x000000007acf2fff] ACPI NVS
Jan 17 21:14:05 archlinuxgui kernel: BIOS-e820: [mem 0x000000007acf3000-0x000000007b3fdfff] reserved
Jan 17 21:14:05 archlinuxgui kernel: BIOS-e820: [mem 0x000000007b3fe000-0x000000007b3fefff] usable
Jan 17 21:14:05 archlinuxgui kernel: BIOS-e820: [mem 0x000000007b3ff000-0x000000007fffffff] reserved
Jan 17 21:14:05 archlinuxgui kernel: BIOS-e820: [mem 0x00000000e0000000-0x00000000efffffff] reserved
Jan 17 21:14:05 archlinuxgui kernel: BIOS-e820: [mem 0x00000000fe000000-0x00000000fe010fff] reserved
Jan 17 21:14:05 archlinuxgui kernel: BIOS-e820: [mem 0x00000000fec00000-0x00000000fec00fff] reserved
Jan 17 21:14:05 archlinuxgui kernel: BIOS-e820: [mem 0x00000000fee00000-0x00000000fee00fff] reserved
Jan 17 21:14:05 archlinuxgui kernel: BIOS-e820: [mem 0x00000000ff000000-0x00000000ffffffff] reserved
Jan 17 21:14:05 archlinuxgui kernel: BIOS-e820: [mem 0x0000000100000000-0x000000047effffff] usable
Jan 17 21:14:05 archlinuxgui kernel: NX (Execute Disable) protection: active
[root@archlinuxgui /]# 
[root@archlinuxgui /]# journalctl -b
Jan 17 21:14:05 archlinuxgui kernel: microcode: microcode updated early to revision 0xea, date = 2021-01-05
Jan 17 21:14:05 archlinuxgui kernel: Linux version 5.15.10-arch1-1 (linux@archlinux) (gcc (GCC) 11.1.0, GNU ld (GNU Binutils) 2.36.1) #1 SMP PREE>
Jan 17 21:14:05 archlinuxgui kernel: Command line: initrd=\arch\boot\intel-ucode.img initrd=\arch\boot\amd-ucode.img initrd=\arch\boot\x86_64\ini>
Jan 17 21:14:05 archlinuxgui kernel: x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point registers'
Jan 17 21:14:05 archlinuxgui kernel: x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers'
Jan 17 21:14:05 archlinuxgui kernel: x86/fpu: Supporting XSAVE feature 0x004: 'AVX registers'
Jan 17 21:14:05 archlinuxgui kernel: x86/fpu: Supporting XSAVE feature 0x008: 'MPX bounds registers'
Jan 17 21:14:05 archlinuxgui kernel: x86/fpu: Supporting XSAVE feature 0x010: 'MPX CSR'
Jan 17 21:14:05 archlinuxgui kernel: x86/fpu: xstate_offset[2]:  576, xstate_sizes[2]:  256
Jan 17 21:14:05 archlinuxgui kernel: x86/fpu: xstate_offset[3]:  832, xstate_sizes[3]:   64
Jan 17 21:14:05 archlinuxgui kernel: x86/fpu: xstate_offset[4]:  896, xstate_sizes[4]:   64
Jan 17 21:14:05 archlinuxgui kernel: x86/fpu: Enabled xstate features 0x1f, context size is 960 bytes, using 'compacted' format.
Jan 17 21:14:05 archlinuxgui kernel: signal: max sigframe size: 2032
Jan 17 21:14:05 archlinuxgui kernel: BIOS-provided physical RAM map:
Jan 17 21:14:05 archlinuxgui kernel: BIOS-e820: [mem 0x0000000000000000-0x0000000000057fff] usable
Jan 17 21:14:05 archlinuxgui kernel: BIOS-e820: [mem 0x0000000000058000-0x0000000000058fff] reserved
Jan 17 21:14:05 archlinuxgui kernel: BIOS-e820: [mem 0x0000000000059000-0x000000000009dfff] usable
Jan 17 21:14:05 archlinuxgui kernel: BIOS-e820: [mem 0x000000000009e000-0x00000000000fffff] reserved
Jan 17 21:14:05 archlinuxgui kernel: BIOS-e820: [mem 0x0000000000100000-0x0000000073664fff] usable
Jan 17 21:14:05 archlinuxgui kernel: BIOS-e820: [mem 0x0000000073665000-0x0000000073665fff] ACPI NVS
Jan 17 21:14:05 archlinuxgui kernel: BIOS-e820: [mem 0x0000000073666000-0x0000000073666fff] reserved
Jan 17 21:14:05 archlinuxgui kernel: BIOS-e820: [mem 0x0000000073667000-0x0000000079d94fff] usable
Jan 17 21:14:05 archlinuxgui kernel: BIOS-e820: [mem 0x0000000079d95000-0x000000007a877fff] reserved
Jan 17 21:14:05 archlinuxgui kernel: BIOS-e820: [mem 0x000000007a878000-0x000000007a8bafff] ACPI data
Jan 17 21:14:05 archlinuxgui kernel: BIOS-e820: [mem 0x000000007a8bb000-0x000000007acf2fff] ACPI NVS
Jan 17 21:14:05 archlinuxgui kernel: BIOS-e820: [mem 0x000000007acf3000-0x000000007b3fdfff] reserved
Jan 17 21:14:05 archlinuxgui kernel: BIOS-e820: [mem 0x000000007b3fe000-0x000000007b3fefff] usable
Jan 17 21:14:05 archlinuxgui kernel: BIOS-e820: [mem 0x000000007b3ff000-0x000000007fffffff] reserved
Jan 17 21:14:05 archlinuxgui kernel: BIOS-e820: [mem 0x00000000e0000000-0x00000000efffffff] reserved
Jan 17 21:14:05 archlinuxgui kernel: BIOS-e820: [mem 0x00000000fe000000-0x00000000fe010fff] reserved
Jan 17 21:14:05 archlinuxgui kernel: BIOS-e820: [mem 0x00000000fec00000-0x00000000fec00fff] reserved
Jan 17 21:14:05 archlinuxgui kernel: BIOS-e820: [mem 0x00000000fee00000-0x00000000fee00fff] reserved
Jan 17 21:14:05 archlinuxgui kernel: BIOS-e820: [mem 0x00000000ff000000-0x00000000ffffffff] reserved
Jan 17 21:14:05 archlinuxgui kernel: BIOS-e820: [mem 0x0000000100000000-0x000000047effffff] usable
Jan 17 21:14:05 archlinuxgui kernel: NX (Execute Disable) protection: active
lines 1-35...skipping...
Jan 17 21:14:05 archlinuxgui kernel: microcode: microcode updated early to revision 0xea, date = 2021-01-05
Jan 17 21:14:05 archlinuxgui kernel: Linux version 5.15.10-arch1-1 (linux@archlinux) (gcc (GCC) 11.1.0, GNU ld (GNU Binutils) 2.36.1) #1 SMP PREEMPT Fri, 17 Dec 2021 11:17:37 +0000
Jan 17 21:14:05 archlinuxgui kernel: Command line: initrd=\arch\boot\intel-ucode.img initrd=\arch\boot\amd-ucode.img initrd=\arch\boot\x86_64\initramfs-linux.img archisobasedir=arch archisolabel=ARCH_GUI_GNOME_202112 cow_spacesize=4G dr>
Jan 17 21:14:05 archlinuxgui kernel: x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point registers'
Jan 17 21:14:05 archlinuxgui kernel: x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers'
Jan 17 21:14:05 archlinuxgui kernel: x86/fpu: Supporting XSAVE feature 0x004: 'AVX registers'
Jan 17 21:14:05 archlinuxgui kernel: x86/fpu: Supporting XSAVE feature 0x008: 'MPX bounds registers'
Jan 17 21:14:05 archlinuxgui kernel: x86/fpu: Supporting XSAVE feature 0x010: 'MPX CSR'
Jan 17 21:14:05 archlinuxgui kernel: x86/fpu: xstate_offset[2]:  576, xstate_sizes[2]:  256
Jan 17 21:14:05 archlinuxgui kernel: x86/fpu: xstate_offset[3]:  832, xstate_sizes[3]:   64
Jan 17 21:14:05 archlinuxgui kernel: x86/fpu: xstate_offset[4]:  896, xstate_sizes[4]:   64
Jan 17 21:14:05 archlinuxgui kernel: x86/fpu: Enabled xstate features 0x1f, context size is 960 bytes, using 'compacted' format.
Jan 17 21:14:05 archlinuxgui kernel: signal: max sigframe size: 2032
Jan 17 21:14:05 archlinuxgui kernel: BIOS-provided physical RAM map:
Jan 17 21:14:05 archlinuxgui kernel: BIOS-e820: [mem 0x0000000000000000-0x0000000000057fff] usable
Jan 17 21:14:05 archlinuxgui kernel: BIOS-e820: [mem 0x0000000000058000-0x0000000000058fff] reserved
Jan 17 21:14:05 archlinuxgui kernel: BIOS-e820: [mem 0x0000000000059000-0x000000000009dfff] usable
Jan 17 21:14:05 archlinuxgui kernel: BIOS-e820: [mem 0x000000000009e000-0x00000000000fffff] reserved
Jan 17 21:14:05 archlinuxgui kernel: BIOS-e820: [mem 0x0000000000100000-0x0000000073664fff] usable
Jan 17 21:14:05 archlinuxgui kernel: BIOS-e820: [mem 0x0000000073665000-0x0000000073665fff] ACPI NVS
Jan 17 21:14:05 archlinuxgui kernel: BIOS-e820: [mem 0x0000000073666000-0x0000000073666fff] reserved
Jan 17 21:14:05 archlinuxgui kernel: BIOS-e820: [mem 0x0000000073667000-0x0000000079d94fff] usable
Jan 17 21:14:05 archlinuxgui kernel: BIOS-e820: [mem 0x0000000079d95000-0x000000007a877fff] reserved
Jan 17 21:14:05 archlinuxgui kernel: BIOS-e820: [mem 0x000000007a878000-0x000000007a8bafff] ACPI data
Jan 17 21:14:05 archlinuxgui kernel: BIOS-e820: [mem 0x000000007a8bb000-0x000000007acf2fff] ACPI NVS
Jan 17 21:14:05 archlinuxgui kernel: BIOS-e820: [mem 0x000000007acf3000-0x000000007b3fdfff] reserved
Jan 17 21:14:05 archlinuxgui kernel: BIOS-e820: [mem 0x000000007b3fe000-0x000000007b3fefff] usable
Jan 17 21:14:05 archlinuxgui kernel: BIOS-e820: [mem 0x000000007b3ff000-0x000000007fffffff] reserved
Jan 17 21:14:05 archlinuxgui kernel: BIOS-e820: [mem 0x00000000e0000000-0x00000000efffffff] reserved
Jan 17 21:14:05 archlinuxgui kernel: BIOS-e820: [mem 0x00000000fe000000-0x00000000fe010fff] reserved
Jan 17 21:14:05 archlinuxgui kernel: BIOS-e820: [mem 0x00000000fec00000-0x00000000fec00fff] reserved
Jan 17 21:14:05 archlinuxgui kernel: BIOS-e820: [mem 0x00000000fee00000-0x00000000fee00fff] reserved
Jan 17 21:14:05 archlinuxgui kernel: BIOS-e820: [mem 0x00000000ff000000-0x00000000ffffffff] reserved
Jan 17 21:14:05 archlinuxgui kernel: BIOS-e820: [mem 0x0000000100000000-0x000000047effffff] usable
Jan 17 21:14:05 archlinuxgui kernel: NX (Execute Disable) protection: active
Jan 17 21:14:05 archlinuxgui kernel: e820: update [mem 0x726b0018-0x726d8057] usable ==> usable
Jan 17 21:14:05 archlinuxgui kernel: e820: update [mem 0x726b0018-0x726d8057] usable ==> usable
Jan 17 21:14:05 archlinuxgui kernel: extended physical RAM map:
Jan 17 21:14:05 archlinuxgui kernel: reserve setup_data: [mem 0x0000000000000000-0x0000000000057fff] usable
Jan 17 21:14:05 archlinuxgui kernel: reserve setup_data: [mem 0x0000000000058000-0x0000000000058fff] reserved
Jan 17 21:14:05 archlinuxgui kernel: reserve setup_data: [mem 0x0000000000059000-0x000000000009dfff] usable
Jan 17 21:14:05 archlinuxgui kernel: reserve setup_data: [mem 0x000000000009e000-0x00000000000fffff] reserved
Jan 17 21:14:05 archlinuxgui kernel: reserve setup_data: [mem 0x0000000000100000-0x00000000726b0017] usable
Jan 17 21:14:05 archlinuxgui kernel: reserve setup_data: [mem 0x00000000726b0018-0x00000000726d8057] usable
Jan 17 21:14:05 archlinuxgui kernel: reserve setup_data: [mem 0x00000000726d8058-0x0000000073664fff] usable
Jan 17 21:14:05 archlinuxgui kernel: reserve setup_data: [mem 0x0000000073665000-0x0000000073665fff] ACPI NVS
Jan 17 21:14:05 archlinuxgui kernel: reserve setup_data: [mem 0x0000000073666000-0x0000000073666fff] reserved
Jan 17 21:14:05 archlinuxgui kernel: reserve setup_data: [mem 0x0000000073667000-0x0000000079d94fff] usable
Jan 17 21:14:05 archlinuxgui kernel: reserve setup_data: [mem 0x0000000079d95000-0x000000007a877fff] reserved
Jan 17 21:14:05 archlinuxgui kernel: reserve setup_data: [mem 0x000000007a878000-0x000000007a8bafff] ACPI data
Jan 17 21:14:05 archlinuxgui kernel: reserve setup_data: [mem 0x000000007a8bb000-0x000000007acf2fff] ACPI NVS
Jan 17 21:14:05 archlinuxgui kernel: reserve setup_data: [mem 0x000000007acf3000-0x000000007b3fdfff] reserved
Jan 17 21:14:05 archlinuxgui kernel: reserve setup_data: [mem 0x000000007b3fe000-0x000000007b3fefff] usable
lines 1-53

Offline

#10 2022-01-17 15:11:20

huntermint
Member
Registered: 2022-01-17
Posts: 15

Re: QEMU with Nvidia GPU not work

V1del wrote:

You shouldn't need to reinstall Arch Linux but you provide zero information as to what you actually did and the general way you go about this make me doubt you followed our installation instructions. Which instructions did you actually follow? To fix "this" you need to undo all the steps you did in an attempt to configure passthrough since that was the entirely wrong way to go about this in the first place.

FWIW to get some actual sense into this after such a failed boot, boot into a live system, chroot into your actual install and post the output of

journalctl -b

https://wiki.archlinux.org/title/List_o … n_services

I create this file, ids change with my nvidia device
I

/etc/modprobe.d/vfio.conf /i create this file
options vfio-pci ids=10de:13c2,10de:0fbb

/etc/mkinitcpio.conf
MODULES=(vfio_pci vfio vfio_iommu_type1 vfio_virqfd)
HOOKS=(modconf)

/etc/booster.yaml //i create this file
modules_force_load: vfio_pci,vfio,vfio_iommu_type1,vfio_virqfd
and then regenerate the initramfs // i dont run booster initramfs

rd.driver.pre=vfio_pci //add on grup.cfg parameter

/etc/dracut.conf.d
10-vfio.conf // i create this file
add_drivers+=" vfio_pci vfio vfio_iommu_type1 vfio_virqfd 

Offline

#11 2022-01-17 15:45:50

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,293

Re: QEMU with Nvidia GPU not work

You should be able to restore normal functionality if you simply revert/remove all of these and regenerate your initramfs.  That journal is truncated please use the link and the instructions there to give a full output.

Offline

#12 2022-01-17 23:18:13

huntermint
Member
Registered: 2022-01-17
Posts: 15

Re: QEMU with Nvidia GPU not work

V1del wrote:

You should be able to restore normal functionality if you simply revert/remove all of these and regenerate your initramfs.  That journal is truncated please use the link and the instructions there to give a full output.

Thank you so much for helping me, I regenerate initramfs and now work well

Offline

Board footer

Powered by FluxBB