On 02/08/2019 12:35, Pierre Labastie via blfs-dev wrote: > Regarding the hardware, what is tested in xorg-wrapper.c is whether you can > call ioctl(fd, DRM_IOCTL_MODE_GETRESOURCES, &res) with fd a file descriptor > pointing to /dev/dri/card0. If this is possible, root privileges are dropped, > and Xorg is run as a regular user. I'll try to see if I can find information > about this ioctl >
According to [1], the nvidia proprietary driver does not support this ioctl. See also [2]. So if you have this driver, then startx should be starting X, even with the sed applied. Pierre [1] https://bugzilla.redhat.com/show_bug.cgi?id=1431141 [2] https://devtalk.nvidia.com/default/topic/1046175/linux/nvidia-drm-does-not-support-drm_ioctl_mode_getresources-/ -- http://lists.linuxfromscratch.org/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
