Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Kernel & Hardware
  • Search

Hardware accelerated graphics without full passthrough?

Kernel not recognizing your hardware? Problems with power management or PCMCIA? What hardware is compatible with Gentoo? See here. (Only for kernels supported by Gentoo.)
Post Reply
Advanced search
3 posts • Page 1 of 1
Author
Message
leyvi
l33t
l33t
Posts: 718
Joined: Fri Sep 08, 2023 1:22 pm

Hardware accelerated graphics without full passthrough?

  • Quote

Post by leyvi » Mon Dec 01, 2025 12:51 pm

Currently, my laptop only has one GPU (though it has a slot for a second one, it's a Framework 16). I'd like to run a VM on it, with graphics acceleration. But I don't want to pass through my whole GPU. Is there a way to (for example) create a virtual GPU device that can access some percentage of my GPU's compute power, which I can give to my VMs? And is there a way to make it emulate a specific kind of GPU, like one from Snapdragon or Nvidia?
Top
szatox
Advocate
Advocate
Posts: 3858
Joined: Tue Aug 27, 2013 12:35 pm

  • Quote

Post by szatox » Mon Dec 01, 2025 3:49 pm

I think qemu supports both, server and client side GPU acceleration.
VirtManager has OpenGL flag in Spice Display device, and there is 3D acceleration flag in Video device (model Virtio; AFAIR model QXL also is hardware-accelerated). It's been a while since I looked at those, but Virtio Video device should be using VirGL. You might need virgl driver in your guest OS to take full advantage of it.

No idea how does opengl flag in spice interact with Virtio's 3D flag though.
Make Pipewire a system service
Top
sdauth
l33t
l33t
User avatar
Posts: 770
Joined: Wed Sep 19, 2018 2:48 am
Location: Ásgarðr

  • Quote

Post by sdauth » Mon Dec 01, 2025 4:03 pm

What szatox said :wink:
virgl should give you great performance (near native) but it will only work with linux vm.
For win10/11 vm, maybe https://github.com/tenclass/mvisor-win-vgpu-driver ? (Not official)
I have not tested it. And unable to anyway considering how old my gpu is :lol:
Top
Post Reply

3 posts • Page 1 of 1

Return to “Kernel & Hardware”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy