# brintOS wasm32-hwjs: the display device. # # The guest presents one KMS device, /dev/dri/card0, driven by modesetting. # Naming it here stops the server's autoconfiguration from also trying fbdev, # which this image does not ship ("Failed to load module "fbdev"" on every # start), and AccelMethod none says what is already true: the server is built # without glamor and the guest has no GL. # # No ServerFlags section, on purpose. The parser keeps only the last one it # reads (hw/xfree86/parser/read.c assigns conf_flags rather than merging), and # xf86-input-evdev's 11-brintos-evdev.conf carries the AutoAddDevices "false" # the input device depends on. A second section in any file would silently # replace it. Section "Device" Identifier "brintos-kms" Driver "modesetting" Option "kmsdev" "/dev/dri/card0" Option "AccelMethod" "none" EndSection