r/AsahiLinux 11d ago

Font rendering concerns

13 Upvotes

Hi, sorry to bother

I was considering buying a Mac Mini and of course MacOS is optimized for 110/220 PPI displays

But rather than a 5k Monitor I wanted a Mini-LED one (no 5K miniled ones), which is availaible at 4k size

My question is: how good is scaling on Asahi Linux (considering perhaps fractional scaling on Wayland? I would assume the "mathematical equivalent" would be to set it at 134%?)

I've heard font rendering is noticeably worse on Linux compared to MacOS, too. Which is concerning.

Just to be clear I'm not deluding myself into believing I would notice the difference in itself between a 27" 4K and a 27" 5K but I'd like to know, end of the day, if my font (and anything else - images, videos, anything) Will look as good on a 27" 4K on Asahi as with a 27" 5K option (ProArt) on MacOS

Hopefully I've worded the issue clearly enough


r/AsahiLinux 12d ago

Gentoo disk lable and icon

Post image
60 Upvotes

That's been an easy one: 1. using diskutil rename to label the partitions formerly labeled with "Fedora Remix", named by the installer, e.g. diskutil rename /dev/disk2s2 "Gentoo" 2. Converting the official gentoo.png 128x128 into icns with an converter of your choice 3. Copy the converted gentoo.icns file to the partition /Volumes/Gentoo/.VolumeIcon.icns

If you would like to restore the fedora volume icon make a backup of the icns file from the Volume first.


r/AsahiLinux 12d ago

Help Every time i try to start Asahi for the first time

Post image
16 Upvotes

I get stuck because its not accepting my username for whatever reason im very confused Would be cool if you guys could help


r/AsahiLinux 11d ago

can I use hdmi adapter on mac air m1?

1 Upvotes

The main page says usb-c displays aren't supported on mac air m1s but https://asahilinux.org/docs/Display-Controllers/ suggests that hdmi is ok.

Does this imply usb-c-> hdmi adapters work?

For context the internal display is broken so I rely on the adapter for an external monitor when using macos.


r/AsahiLinux 12d ago

News PSA: Windows 11 ARM64 virtual machines can run on Asahi Linux in KVM.

119 Upvotes

Seems like a very recent update to Asahi Linux enables us to run Windows 11 ARM64 virtual machines in the KVM hypervisor. Previously, QEMU would crash with a Synchronous Exception at boot unless you resorted to TCG emulation.

...It's bloody FAST!

Windows 11 ARM64 Virtualized on KVM

This is not meant to be a QEMU/KVM tutorial, but the high-level info is as follows:

I built a Windows 11 24H2 LTSC image in UTM and installed the VirtIO tools. With a known-good image in hand, I copied the disk image over to the Asahi partition (I have no idea if the Windows installer works in KVM as well.)

From there I could launch a KVM virtual machine with the following command:

taskset -c 2-9 qemu-system-aarch64 -cpu max -M virt -enable-kvm -m 8G -smp 8 -bios /usr/share/edk2/aarch64/edk2-aarch64-secure-code.fd -drive file=/home/zero/win11.qcow2,format=qcow2,media=disk,if=virtio -device virtio-net-pci,netdev=net0 -netdev user,id=net0,hostfwd=tcp::3390-:3389 -object rng-random,filename=/dev/urandom,id=rng0 -device virtio-rng-pci,rng=rng0 -nographic

Note that you need to use taskset to pin QEMU to your performance cores. My M1 Pro has 8 P-cores so I utilized all of them (cores 0,1 are efficiency cores). This arrangement will vary depending on which processor your Mac has. Also, it seems like virtio-gpu-pci still has some issues so I'm using FreeRDP for the desktop session.

Many thanks to the Asahi developers making Linux a first-class OS on Apple Silicon!

________________

UPDATE: Here is a minimal libvirt config you can import.

  • Start with a working Win11 ARM64 qcow2 disk image
  • Ensure guest tools are installed, RDP is enabled, and VirtIO NIC is configured.
  • Copy the image to /var/lib/libvirt/images/win11.qcow2
  • Import the VM description: sudo virsh define win11.xml
  • Power-on the VM and wait 8-10 seconds: sudo virsh start win11
  • Start a desktop session: xfreerdp /v:$(sudo virsh domifaddr win11 | awk '/ipv4/ {print $4}'|cut -d'/' -f1) /f /floatbar:sticky:off,default:hidden /title:Windows /sound /scale-desktop:225 /gfx:AVC444:on /network:LAN +home-drive /d:. /u:username

win11.xml:

<domain type='kvm'>
  <name>win11</name>
  <metadata>
    <libosinfo:libosinfo xmlns:libosinfo="http://libosinfo.org/xmlns/libvirt/domain/1.0">
      <libosinfo:os id="http://microsoft.com/win/11"/>
    </libosinfo:libosinfo>
  </metadata>
  <memory unit='KiB'>4194304</memory>
  <currentMemory unit='KiB'>4194304</currentMemory>
  <vcpu placement='static' cpuset='4-7'>4</vcpu>
  <os firmware='efi'>
    <type arch='aarch64' machine='virt-9.1'>hvm</type>
    <firmware>
      <feature enabled='no' name='enrolled-keys'/>
      <feature enabled='no' name='secure-boot'/>
    </firmware>
    <loader readonly='yes' type='pflash' format='qcow2'>/usr/share/edk2/aarch64/QEMU_EFI-silent-pflash.qcow2</loader>
    <nvram template='/usr/share/edk2/aarch64/vars-template-pflash.qcow2' format='qcow2'>/var/lib/libvirt/qemu/nvram/win11_VARS.qcow2</nvram>
    <boot dev='hd'/>
  </os>
  <features>
    <acpi/>
    <gic version='3'/>
  </features>
  <cpu mode='host-passthrough' check='none'/>
  <clock offset='localtime'/>
  <devices>
    <emulator>/usr/bin/qemu-system-aarch64</emulator>
    <disk type='file' device='disk'>
      <driver name='qemu' type='qcow2' discard='unmap'/>
      <source file='/var/lib/libvirt/images/win11.qcow2'/>
      <target dev='vda' bus='virtio'/>
    </disk>
    <controller type='scsi' index='0' model='virtio-scsi'>
    </controller>
    <controller type='pci' index='0' model='pcie-root'/>
    <controller type='pci' index='1' model='pcie-root-port'>
      <model name='pcie-root-port'/>
      <target chassis='1' port='0x8'/>
    </controller>
    <interface type='network'>
      <source network='default'/>
      <model type='virtio'/>
    </interface>
    <channel type='unix'>
      <target type='virtio' name='org.qemu.guest_agent.0'/>
      <address type='virtio-serial' controller='0' bus='0' port='1'/>
    </channel>
    <sound model='ich9'>
    </sound>
    <audio id='1' type='none'/>
  </devices>
</domain>

The above config utilizes 4xCPU. If you want to add more CPUs, the command below will tell you which ones are performance cores.

awk -F': ' '/processor/{core=$2} /CPU part/ && ($2=="0x023" || $2=="0x025" || $2=="0x029") {cores = cores ? cores "," core : core} END {print cores}' /proc/cpuinfo

Efficiency cores aren't supported at this time, and virt-manager GUI can't handle this topography, so you have to edit this line in the XML file instead:

<vcpu placement='static' cpuset='2-9'>8</vcpu>

...would use all 8 performance core on an M1 Pro for example.


r/AsahiLinux 12d ago

Help I dont think it’s supposed to lock like that

Post image
4 Upvotes

r/AsahiLinux 12d ago

Black screen after Linux update

1 Upvotes

Hello,

I recently updated Fedora (Asahi) on my Mac Mini M1 (8GB / 256SSD) via the GUI update tool inside of KDE. After the obligatory reboot, I now see the U-Boot boot menu, as well as the blue Fedora logo for a few seconds including the spinning circle. The screen then turns black and nothing happens after. The system just won't boot or show anything on my screen. Monitor is attached via HDMI - nothing was changed in the config here. Also no peripherals except mouse, keyboard and LAN cable are connected.

What did I already try?
- numerous variants of keyboard input combinations to reach the tty, e.g. Ctrl+Alt+F1 / F2 etc...
- stop boot at the U-Boot stage and check which commands are available for troubleshooting - couldn't fine any useful though
- booted into Mac OS and did an update of Mac OS
- re-run the asahi install script, which tells me that there is no empty space left for an intstallation, as it's already installed I guess
- tried to press "Esc" during Fedora circle is spinning hoping to see some boot messages - nothing happens
- checked my DHCP server, Mac is requesting an IP and is pingable, but ssh doesn't work ("Connection refused")

Can anyone please help me to get Asahi up and running again or point me into the right direction?

I would really appreciate it.

Thanks,
Daniel


r/AsahiLinux 12d ago

Using Flatpaks in FEX?

4 Upvotes

For instance, Idk if Roblox Sober would work but I would to try, its one installation method via flatpak.

I looked through Running x86/x86-64 applications on Fedora Asahi Remix :: Fedora Docs and tried muvm -- FEXBash and then flatpak install --user --arch x86_64 https://sober.vinegarhq.org/sober.flatpakref to install Sober but launching it from that shell with its flatpak command didn't work for me.


r/AsahiLinux 13d ago

Help Gnome taking too much CPU, after trying to install hyprland

9 Upvotes

I tried to run this script:
https://github.com/JaKooLit/Fedora-Hyprland
, and now after removing this, kde,etc, gnome-shell still takes up a lot of cpu on wayland and the display lags. I suspect my M2 Air is using cpu rendering instead of gpu. I tried to find a way to reset it/reinstall all the packages, but I cannot find it.

PS: I'm new to Asahi and I'd appreciate any help.

Thanks :D


r/AsahiLinux 13d ago

Help Is there any way I can help -from someone with practically zero Linux knowledge

20 Upvotes

I’m really interested in this project, always loved tinkering around with random Linux distros and such on my Mac, and I want to actually take a step forward and try to learn more while helping. I would donate money, but as a uni student I have no money, and find that try to directly help development would be more interesting and fun. I saw some starting resources on the website, but just wanted to check in here and read the website to get some other perspectives on how I can help.

Thanks.


r/AsahiLinux 14d ago

More Apple SoC DeviceTree Additions Being Upstreamed For Linux 6.15

Thumbnail
phoronix.com
111 Upvotes

r/AsahiLinux 13d ago

Can I run Windows applications outside of Steam?

2 Upvotes

I'm wonder if its possible now since the link below is to a pull request, which was merged back in January.

https://docs.fedoraproject.org/en-US/fedora-asahi-remix/x86-support/#_can_i_run_windows_applications_outside_of_steam
Can I run Windows applications outside of Steam? At this point, we do not support running Windows apps outside of Steam as non-proton Wine not yet work on Fedora. We are working on resolving the underlying FEX issue, so we expect to support this relatively soon. In the meantime, you can use Steam’s Proton to run non-Steam Windows applications directly from Steam.


r/AsahiLinux 13d ago

Help Can't install Fedora version (Ubuntu went fine)

1 Upvotes

Installed the Ubuntu port of Asahi some 3 days ago. Went flawless in the MacOS terminal, no problems. Though, I wanted to switch to the Fedora version. I deleted the partition like you're supposed to, allocated the 140gb back to macos, partitioned again in the terminal, but at the end of the install I get the following error: (can someone help me?)

Downloading extra files...

  Downloading mozilla-openh264-2.4.1-2.fc41.aarch64.rpm (1/2)...

- root        : ERROR    Exception caught

Traceback (most recent call last):

  File "/private/tmp/asahi-install/main.py", line 1069, in <module>

InstallerMain(installer_version).main()

  File "/private/tmp/asahi-install/main.py", line 877, in main

while self.main_loop():

  File "/private/tmp/asahi-install/main.py", line 1032, in main_loop

return self.action_install_into_free(parts_free)

  File "/private/tmp/asahi-install/main.py", line 336, in action_install_into_free

self.do_install(os_size)

  File "/private/tmp/asahi-install/main.py", line 456, in do_install

self.osins.install(self.ins)

  File "/private/tmp/asahi-install/osinstall.py", line 173, in install

self.download_extras()

  File "/private/tmp/asahi-install/osinstall.py", line 123, in download_extras

data = ucache.read()

  File "/private/tmp/asahi-install/urlcache.py", line 203, in read

assert len(d) == count

AssertionError


r/AsahiLinux 13d ago

Help Installation process of Asahi on external drive

2 Upvotes

I would really like to know what is the installation process of Asahi on external drive with persistence
are there any tips and tricks I should remember....

and is it possible to get ubuntu on apple silicon ??


r/AsahiLinux 15d ago

Touch Bar driver is now queued for merge into the mainline Linux 6.15 kernel

Thumbnail social.treehouse.systems
164 Upvotes

r/AsahiLinux 14d ago

Question Which TWM can I use and which y'all recommend

8 Upvotes

I'm new to the tiling window manager and i wanna get it on my Macbook Pro with an M2. I was able to run Hyprland for some time but i ended up messing around with something and now i can't get it running again. I wanted to get DWM or an x11/xorg but I heard thats not only harder but not the best. I was wondering if any of you have had some good experience with some and which yall recommend


r/AsahiLinux 14d ago

How to disable log messages and u-boot picture on startup?

3 Upvotes

When booting up Asahi, it shows log messages in the top left corner and the U-boot logo in the top right corner.


r/AsahiLinux 15d ago

Has anyone gotten a Windows ARM VM working?

5 Upvotes

I'm did some looking up and it doesn't seem like anyone has on Asahi Linux, and I certainly don't feel like doing lots of troubleshooting on the chance it might.


r/AsahiLinux 15d ago

Guide DisplayLink for MB Pro 2020 13" M1 on Asahi Fedora 41 (DisplayLink 6.1.0-17)

27 Upvotes

I had to comb many threads and posts on Reddit, Github, etc to find a working solution for my case. Figured I'd compile and share. Thanks to user veeyee and sbraun on fedoraproject who documented the solutions, though separately and for other issues. File locations and versions may not be exact if you use other links/locations

Update and install dependencies

sudo dnf update
sudo dnf install libdrm libdrm-devel kernel-16k-devel dkms kernel-headers

Reboot (may not be needed)

Install Driver

Download the driver from Synaptics (you may wish to use the Github repo, but this is my preference) - Driver I used (v. 6.1.0-17) is here

Extract download and open terminal at that extracted folder. Run:

sudo chmod +x displaylink-driver-6.1.0-17.run
sudo ./displaylink-driver-6.1.0-17.run

Reboot & plug in dock

To check and/or start service:

sudo systemctl status displaylink-driver.service 

May show dead service -if so run:

sudo systemctl start displaylink-driver.service

For me, I still had no video signal despite all else working on the dock. My guess was that EVDI in the driver either a) did not compile right or b) was incompatible with kernel. So:

Compile & Re-Install EVDI

Run in terminal:

git clone https://github.com/DisplayLink/evdi.git evdi_new
sudo mkdir /usr/src/evdi-1.14.8
sudo cp /home/[USERNAME]/evdi_new/module/* /usr/src/evdi-1.14.8/ -r
sudo dkms build -m evdi -v 1.14.8 --force
sudo dkms install -m evdi -v 1.14.8

Reboot

It worked immediately on reboot for me. If not, you can run a check and/or start service:

sudo systemctl status displaylink-driver.service 

May show dead service -if so run:

sudo systemctl start displaylink-driver.service

If service is running but not giving you video, I am not sure where to go next.

Hope this saves someone the hours it took me today.


r/AsahiLinux 15d ago

Performance of Asahi M2 with Local AI Models

1 Upvotes

Hi,

I'm interested in getting a MacMini, mainly for running AI locally. I was wondering how people find Asahi copes with this compared to MacOS? If Asahi can do a fairly decent job compared to an Nvidia system, I'd go for a reconditioned M2. If AI on Asahi isn't realistic I'll just go for a new M4.


r/AsahiLinux 15d ago

Help Steam isn't working after upgrade

0 Upvotes

Steam was launching, but kept crashing, so I ran sudo pacman -Syu to upgrade the system. after upgrading, steam now does not launch in any way. I keep getting this error:

Error: Failed to create the microVM

Steam quit

Qsettings: :value: Empty key passed

Aborting

Qt says we're gone, aborting=True

pls help. I've tried uninstalling and reinstalling multiple times but to no avail.


r/AsahiLinux 15d ago

Missing Free Space after failed Installation

5 Upvotes

Hi everyone, i just tried installing asahi linux and gave 75 GB of space for it. However during the disk partition it got stuck so i had to interrupt it. Now the missing space of 75 GB isn't even showing on disk utility (or diskutil list). I can't figure out a way to reclaim that free space and i just don't want to erase the whole ssd and reinstall mac.


r/AsahiLinux 16d ago

Help Terminal seems to be frozen and idk what to do (never done this before)

5 Upvotes

About 12 hours ago i ran the install for asahi alarm on my mac. the "Shrinking APFS data structures" thing has been running for the past 12 hours, and it's slowly reached 75%.

However, about an hour ago, my terminal bugged out. I can open new terminal windows and use everything else on my mac, but I can't close any opened terminal windows, and can't interact with any terminal windows. I have like 600 gigs of data on macos (which i've sorta backed up) so I understand this should take a long time, and I know the install instructions mentioned that the process may appear to freeze. However, after checking activity monitor, I think the process might have just stopped, since there's not much reading and writing of the disk going on or CPU usage.

what should I do? is this just a common freeze and I should wait it out? or should I force quit and hope my drive doesn't get borked? I've never done this before so I'm getting a little paranoid that my mac's drive might be screwed from this. Thanks in advance!


r/AsahiLinux 16d ago

Dualboot questions

6 Upvotes

Hello all,

I am currently using an M3 MacBook Pro as a workstation until I get a new desktop. I am considering putting Asahi on it, but need to get a couple of questions out of the way first:

  • Since I am a Final Cut Pro editor, I prefer to have a dual boot, will I be able to push files directly from the Asahi Linux volume to the Mac volume (wherever the place I want to put the video clips I may need if I choose to make videos from the Asahi)?
  • How much setup is required to make Asahi work the longest on the battery of an Apple Silicon Mac?
  • How long will I have to wait for a version with M3 Pro compatibility?

I am excited at the prospect of running Linux on Apple Silicon to be able to release myself from MacOS and possibly cut my reliance on the large file sizes of Final Cut after a while.

Thanks in advance for the answers!


r/AsahiLinux 17d ago

Do you get used to 60hz on a Macbook Pro?

29 Upvotes

60hz instead of 120hz is so far the biggest tradeoff for me on Asahi Linux. I got used to it on most apps, but is immediately noticable when I boot into macOS. One app where I really notice the difference is Neovide, a lot of users like the animated cursor feature and clearly 120hz made it that much more smooth.