IRC channel logs
2025-01-30.log
back to list of logs
<youpi>you can upgrade your apt again to see that much less <gnu_srs1>Hi, any idea on how to create /dev/dri/card0 manually for Hurd? MAKEDEV does not have support, and it is not created when starting X. <damo22>gnu_srs1: you need to write a translator that implements drm <damo22>its basically the graphics driver <damo22>gnu_srs1: i have not completed it <damo22>see the mailing list for discussion on DRM subsystem <gnu_srs1>Still, even if we don't have a translator for drm, the device /dev/dri/card0 should be created by libdrm. <damo22>not exactly, linux usually exposes that node <damo22>libdrm is the "user" part of the protocol <damo22>its already constructed as a server/client model <damo22>where usually linux provides the server "driver" part and all the api calls go through the ioctl kitchen sink <damo22>its a compact interface with lots of complexity and thus difficult to reimplement <Gooberpatrol_66>would it be possible to make an ioctl translator that splits one node into several different files, each for a different ioctl? <damo22>but the problem actually is that we cannot implement the exact same interface with mig <damo22>we would need to modify the ioctl syscall i think <damo22>maybe we need to intercept the ioctl calls and call RPCs instead <damo22>it will be a mess, but probably easier than modifying glibc <damo22>but the driver needs to come from somewhere <damo22>maybe we can port it from netbsd