Sign inSign up

test323/qemu-qnap

By test323

•Updated about 1 year ago

Image
0

1.6K

test323/qemu-qnap repository overview

QNAP support said that hardware acceleration with Intel GPUs isn’t possible in Virtualization Station (which is based on QEMU), unless you have a dedicated GPU for passthrough. My QNAP TS-364 does not support a dedicated GPU. However, it is possible to enable hardware acceleration using a QEMU Docker container, though it requires a fix. As a result, I no longer need Virtualization Station.

You can find more details in my GitHub issue: https://github.com/qemus/qemu/issues/797⁠

⁠Docker compose

services:
  qemu:
    image: test323/qemu-qnap
    container_name: qemu
    environment:
      BOOT: "mint"  
      DISK_FMT: "qcow2"
      DISK_SIZE: "200G"
      RAM_SIZE: "4G"
      CPU_CORES: "4"
      GPU: "Y"
    devices:
      - /dev/kvm
      - /dev/net/tun
      - /dev/dri
    cap_add:
      - NET_ADMIN
    ports:
      - 8007:8006
    volumes:
      - /share/CACHEDEV3_DATA/Container/QEMU/Linux Mint:/storage
    restart: no
    stop_grace_period: 2m

⁠Usage

https://github.com/qemus/qemu⁠

⁠Hardware acceleration enabled

Image

⁠Hardware acceleration disabled

Image

Tag summary

Content type

Image

Digest

sha256:0602747c8…

Size

81.1 MB

Last updated

about 1 year ago

docker pull test323/qemu-qnap