Skip to content

Error messages from Mesa during startup #103

Description

@geofft

First things first - this project looks very cool!

I'm on an Ubuntu 25.04 aarch64 live CD running inside macOS Virtualization.framework (using my homegrown VMM, but I expect this would repro this with any Virtualization.framework client that sets up a display including the official sample app, and possibly even with qemu with virtio-gpu). If I enable the default shader, I get a bunch of error messages on startup, output to my terminal briefly before Tattoy redisplays the screen. It seems they go to stderr, so I was able to redirect them and see what they said:

MESA: info: virtgpu backend not enabling VIRTGPU_PARAM_CREATE_FENCE_PASSING
MESA: info: virtgpu backend not enabling VIRTGPU_PARAM_CREATE_GUEST_HANDLE
MESA: error: DRM_IOCTL_VIRTGPU_GET_CAPS failed with Function not implemented
MESA: error: DRM_IOCTL_VIRTGPU_CONTEXT_INIT failed with Invalid argument, continuing without context...
MESA: error: DRM_VIRTGPU_RESOURCE_CREATE_BLOB failed with Invalid argument
MESA: error: Failed to create virtgpu AddressSpaceStream
MESA: error: vulkan: Failed to get host connection
MESA: error: DRM_VIRTGPU_RESOURCE_CREATE_BLOB failed with Invalid argument
MESA: error: Failed to create virtgpu AddressSpaceStream
MESA: error: vulkan: Failed to get host connection
MESA: error: DRM_VIRTGPU_RESOURCE_CREATE_BLOB failed with Invalid argument
MESA: error: Failed to create virtgpu AddressSpaceStream
MESA: error: vulkan: Failed to get host connection
MESA: error: DRM_VIRTGPU_RESOURCE_CREATE_BLOB failed with Invalid argument
MESA: error: Failed to create virtgpu AddressSpaceStream
MESA: error: vulkan: Failed to get host connection
MESA: error: DRM_VIRTGPU_RESOURCE_CREATE_BLOB failed with Invalid argument
MESA: error: Failed to create virtgpu AddressSpaceStream
MESA: error: vulkan: Failed to get host connection
MESA: error: DRM_VIRTGPU_RESOURCE_CREATE_BLOB failed with Invalid argument
MESA: error: Failed to create virtgpu AddressSpaceStream
MESA: error: vulkan: Failed to get host connection

First, I'm a little surprised to see that mesa_log defaults to stderr without a proper in-process way to control it, but maybe you would want to set the environment variable MESA_LOG=none or MESA_LOG_FILE pointing somewhere useful before initializing Mesa, or maybe you want to just repoint your own stderr somewhere, especially if it's pointing at the terminal.

Second, I wonder if these messages mean anything that I should do anything about, but maybe that's not a particularly Tattoy-specific question.

Screen.Recording.2025-06-13.at.11.45.01.PM.mov

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions