utmapp / UTM

Virtual machines for iOS and macOS
https://getutm.app
Apache License 2.0
27.15k stars 1.34k forks source link

M1 mac "gparted", "gimp" and other GTK apps on ubuntu 24.04.01 LTS #6686

Open itay-sho opened 2 months ago

itay-sho commented 2 months ago

BEFORE SUBMITTING YOUR ISSUE, PLEASE LOOK AT THE PINNED ISSUES AND USE THE SEARCH FUNCTION TO MAKE SURE IT IS NOT ALREADY REPORTED. ALWAYS COMMENT ON AN EXISTING ISSUE INSTEAD OF MAKING A NEW ONE.

Describe the issue
Gparted and other gtk3 apps doesn't work for me inside of Ubuntu 24.04.1 machine. I tried to change the graphics driver multiple times without any success, its display just doesns't render at all. (instead it "freezes" on what was there before on the desktop).

I am not sure if this is specifically related to gparted or other gtk+ program will suffer from the same issue. I did try to compile it locally instead of using the version from apt - the problem remains. Upgraded to latest UTM - still reproduces.

Configuration

Crash log

Debug log

Upload VM

freebrowser1 commented 1 month ago

What architecture is the VM running. Does it run natively arm64 or emulated x86-64 ?

itay-sho commented 1 month ago

it was a native arm64 VM, using qemu's virtualization (and not apple's one)

I did try to use GPU acceleration, after disabling that and creating a new image from scratch (from using arm64 ubuntu server 24.04 iso, then installing ubuntu-desktop) things worked fine. before that I loaded my OS from utm's images catalog

itay-sho commented 1 month ago

Just saw this issue in the mailing list of qemu: https://lists.gnu.org/archive/html/qemu-devel/2024-10/msg00984.html

might be related, I also saw that I have a "available firmware upgrade" of qemu in my guest machine I will attempt to upgrade it too and update here in case the it fixes the problem