Re: My qemu error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Didier,


I changed my script, and for some reason, I have no sound. Have to do some more reading on this.


Warm regards,

Brandt Steenkamp

Sent from the Fedora machine, using Thunderbird

On 2021/12/02 03:20, Linux for blind general discussion wrote:
Hi Ibrahim,

this is the script I use to run Windows-10/11 in a Qemu VM:

qemu-system-x86_64 \
-cpu host \
-enable-kvm \
-smp $(nproc) \
-m 4G \
-k fr \
-boot order=c \
-boot menu=on \
-device intel-hda \
-device hda-duplex \
-display gtk \
-vga std \
-device usb-ehci,id=ehci  \
-drive file=~/qemu/windows.qcow2,format=qcow2,media=disk

No idea if it will have sound in Fedora, though.

Cheers,
Didier

Le 01/12/2021 à 10:54, Linux for blind general discussion a écrit :
Hi Didier,


There were some packages missing, which I have now installed. I installed qemu-kvm, virt-manager and virt-viewer, which didn't install along with the main qemu package.


I am still having issues with the sound thing however. I am hesitant to try and fix the script myself.


Warm regards,

Brandt Steenkamp

Sent from the Fedora machine, using Thunderbird

On 2021/11/30 23:12, Linux for blind general discussion wrote:
Ho Brandt,

This does tell if the support for KVM is properly configured in this kernel.

to check, you can do this:

cp /proc/config.gz /tmp
cd /tmp
gunzip config.gz
you will get a file named config with configuration settings of the kernel

You can do the same with Slint and compare.

And/or use a Fedora support channel.

Cheers,

Didier


Le 30/11/2021 à 21:43, Linux for blind general discussion a écrit :
As I stated, I'm running Fedora Mate Compiz 35 at the moment, and

$uname -r

gives me the following.

5.15.5-200.fc35.x86_64


Warm regards,

Brandt Steenkamp

Sent from the Fedora machine, using Thunderbird

On 2021/11/30 20:03, Linux for blind general discussion wrote:
PS instead of:
/boot/config-generic-5.14.13
please read:
/boot/config-generic-5.13.13

OT Both the 5.13 and 5.14 have been declared End of Life, I will provide a
5.15.z when I will think this branch is stable enough.

Didier

Le 30/11/2021 à 18:49, Linux for blind general discussion a écrit :
Hi Brandt,
answers inline

Le 30/11/2021 à 13:55, Linux for blind general discussion a écrit :
qemu-system-x86_64: warning: '-soundhw hda' is deprecated, please use '-device intel-hda -device hda-duplex' instead audio: Device hda: audiodev default parameter is deprecated, please specify audiodev=pa audio: Device hda: audiodev default parameter is deprecated, please specify audiodev=pa

In the command remove
-soundhw hda
which is redundant with
-device intel-hda -device hda-duplex
and probaly repcace
--audiodev pa
by:
--audiodev=pahowever, maybe this whole stuff is not necessary:-audiodev pa,id=pa,out.mixing-engine=off,out.latency=20000
I don't have it.

 >  know it does work under Slint, but not under Fedora, Arch or Ubuntu.

Maybe the kernel you are running in Fedora, Arch or Ubuntu does not have a
proper configuration for KVM, read:
https://www.linux-kvm.org/page/Tuning_Kernel

In Slint the kernel configuration is found in one of these files:
/boot/config-generic-5.14.14.x64
/boot/config-generic-5.14.13
These commands:
cat /proc/cmdline
uname -r
tell you which kernel is running, so you know how it is configured.

Also, there could be an issue with your qemu version.

In Slint at time of writing:
dance[~]$ qemu-system-x86_64 --version
QEMU emulator version 6.0.0
Copyright (c) 2003-2021 Fabrice Bellard and the QEMU Project developers

Cheers,
Didier


_______________________________________________
Blinux-list mailing list
Blinux-list@xxxxxxxxxx
https://listman.redhat.com/mailman/listinfo/blinux-list

_______________________________________________
Blinux-list mailing list
Blinux-list@xxxxxxxxxx
https://listman.redhat.com/mailman/listinfo/blinux-list




[Index of Archives]     [Linux Speakup]     [Fedora]     [Linux Kernel]     [Yosemite News]     [Big List of Linux Books]