Alex

Results 70 comments of Alex

SDL normally works with libudev, although it should be able use inotify (recent addition) or just straight polling: https://github.com/libsdl-org/SDL/blob/f1ad942a1175105e4ab7d1cd98b842f84b3bcb2b/src/joystick/linux/SDL_sysjoystick.c#L619-L641. The emphasis on _should_, because I don't think that polling fallback...

> SDL2 support is turned off by default in the other wine packages for FreeBSD FYI, the official excuse for that is "not enough demand". Same deal with Vulkan.

This works as intended with a couple of caveats: 1. linux-c7-devtools is too old to build libudev-devd (we need at least GCC 4.9 for stdatomic.h), however we can grab a...

I think getting rid of Meson is a bit of overreaction, it doesn't really interfere with our intended usage. > Is there a simpler way to omit FreeBSD includes at...

Chromium/CEF/Electron also require [udev_set_log_fn and udev_set_log_priority](https://source.chromium.org/chromium/chromium/src/+/main:out/Debug/gen/library_loaders/libudev0.h;l=51-52;drc=5c004d1f500b137b9cc2694328b0dc99f950e84f). (Their presence is checked [immediately](https://source.chromium.org/chromium/chromium/src/+/main:out/Debug/gen/library_loaders/libudev0_loader.cc;l=399-423;drc=5c004d1f500b137b9cc2694328b0dc99f950e84f) after dlopen.) Should be called from [here](https://source.chromium.org/chromium/chromium/src/+/main:ui/events/ozone/device/udev/device_manager_udev.cc;l=56-63;drc=ad3456695a78e8bfee27312b36f90238b3a7a4b2), although that doesn't seem to work at the moment… Might be worth...

> patrick@l875d-s7210:~/GOG Games/Hollow Knight $ LD_PRELOAD=/usr/lib64/shims/libudev.so ./start.sh > ld-elf.so.1: Cannot open "/usr/lib64/shims/libudev.so" That's because you are implicitly starting /usr/local/bin/bash (most likely). You need to either prefix that command with /compat/linux/bin/env...

While we are at it, since libudev.so.0 is typically accessed through dlopen, LD_PRELOAD might be a bit tricky, it's better to add libudev's dir to LD_LIBRARY_PATH.

The Linux emulation is not advanced enough to run Linux container stuff (that includes pressure-vessel). As an alternative I provide an option to run Steam Runtime in an unprivileged (that...

That's a tough one. I don't think Vulkan ever worked in that configuration. (Other similar reports: https://forums.freebsd.org/threads/linuxulator-vs-intel-amd-gpus.92445/.) Somebody would have to debug it.

The forum thread linked above contains Vulkan testing instructions. The proper complaint place is https://github.com/freebsd/drm-kmod.