Code Monkey home page Code Monkey logo

Comments (18)

knazarov avatar knazarov commented on June 26, 2024 1

Hi @oillipheist,

Yes, that's what I see as well. Just wanted to try out Gnome 40. This may or may not be the problem in the virgil3d integration, as Fedora is in beta.

I've tried to reach out to @akihikodaki (the author of macos virgil integration) but he said that he was unable to boot the aarch64 image of Fedora 34. Maybe things have changed and it's time to test it again.

from homebrew-qemu-virgl.

akihikodaki avatar akihikodaki commented on June 26, 2024

I got it booted and have done some basic investigation. Apparently the new version of Mesa adds new texture swizzling requirement to virtio-gpu-3d, which fails to meet it when displaying a texture. Later, I'll dig into the problem more to figure out a solution.

from homebrew-qemu-virgl.

akihikodaki avatar akihikodaki commented on June 26, 2024

I pushed a fix to GitHub (akihikodaki/qemu@43b8afe).

from homebrew-qemu-virgl.

knazarov avatar knazarov commented on June 26, 2024

@akihikodaki that's great! Thank you. I'll pull the patchset into the formula.

from homebrew-qemu-virgl.

knazarov avatar knazarov commented on June 26, 2024

@akihikodaki the new patch works for me when I use gl=core. But when I do gl=es, I see this:

Screenshot 2021-04-03 at 15 52 22

Most of the windows are just slightly transparent red.

from homebrew-qemu-virgl.

akihikodaki avatar akihikodaki commented on June 26, 2024

@knazarov It was my fault. I have forgotten to push a part of the fix. I have just pushed it to my repository (akihikodaki/virglrenderer@01fcbb7).

gl=core is not affected by the problem so it should work even before applying the fix.

from homebrew-qemu-virgl.

knazarov avatar knazarov commented on June 26, 2024

@akihikodaki I've applied the patch, and now the texture is blue instead of red :)

from homebrew-qemu-virgl.

akihikodaki avatar akihikodaki commented on June 26, 2024

@knazarov Well, I suspect it is a bug of a lower layer (ANGLE, Intel driver and/or hardware). If you are interested, fiddle with: akihikodaki/virglrenderer@01fcbb7#diff-f9ec2e109236d40360f659ae49f3d1ad43f7608c6b62c0520a1765b850bb572dR10661

from homebrew-qemu-virgl.

oilipheist avatar oilipheist commented on June 26, 2024

core profile doesn't seem to work on M1 here at all, have it working on ubuntu but seems broken on both fedora 33 and fedora 34beta

from homebrew-qemu-virgl.

akihikodaki avatar akihikodaki commented on June 26, 2024

I have core profile work with Fedora 33. My command line is:

qemu-system-aarch64 -machine virt,accel=hvf,highmem=off -cpu cortex-a72 -smp 8 -m 14336 -drive if=pflash,format=raw,file=/Users/person/fedora/drive/edk2-aarch64-code.fd,readonly=on -drive if=pflash,format=raw,file=/Users/person/fedora/drive/edk2-arm-vars.fd,discard=on -drive id=virtio,if=none,format=raw,file=/Users/person/fedora/drive/virtio.raw,discard=on -device intel-hda -device hda-output -device virtio-gpu-pci -device virtio-net-device,netdev=net -device virtio-mouse-pci -device virtio-keyboard-pci -device virtio-blk-device,drive=virtio -device virtio-rng-device -display cocoa,gl=core -netdev user,id=net -full-screen -runas 501:20

from homebrew-qemu-virgl.

oilipheist avatar oilipheist commented on June 26, 2024

hmm.. Tried that and got

qemu-system-aarch64: Failed to setgroups(1, [20])

from homebrew-qemu-virgl.

akihikodaki avatar akihikodaki commented on June 26, 2024

@oillipheist

hmm.. Tried that and got

qemu-system-aarch64: Failed to setgroups(1, [20])

The command line requires root to run. Use sudo, or modify the command line (and please share it if you got the problem reproduced with.)

from homebrew-qemu-virgl.

knazarov avatar knazarov commented on June 26, 2024

@oillipheist I’ve merged @akihikodaki’s newer changeset to master, but I can’t check it, since I’m without a computer for at least 10 days.

from homebrew-qemu-virgl.

knazarov avatar knazarov commented on June 26, 2024

I’ve got my computer back, and will soon be trying Fedora 34, now that it’s released :)

from homebrew-qemu-virgl.

akihikodaki avatar akihikodaki commented on June 26, 2024

I added yet another fix to virglrenderer (see https://gist.github.com/akihikodaki/87df4149e7ca87f18dc56807ec5a1bc5#gistcomment-3722509 for details). I'll use Fedora 34 for daily use from now.

from homebrew-qemu-virgl.

knazarov avatar knazarov commented on June 26, 2024

I’ve pulled your fixes, thanks!

from homebrew-qemu-virgl.

hexdump0815 avatar hexdump0815 commented on June 26, 2024

not sure if it was due to this, but since i updated to the latest version now also the lightdm slick greater is working well - before it was just full screen gray and now there is a proper login window :)

from homebrew-qemu-virgl.

knazarov avatar knazarov commented on June 26, 2024

Fedora 34 now works with the latest patch and is quite smooth. Just checked it on my mac.

from homebrew-qemu-virgl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.