On 17/05/14 22:35, Omega Weapon wrote:
After many hours I have finally been able to break into X. The problem
so far is an attempt to open /dev/dri/card1, which doesnt exist -
/dev/dri/card0 is sitting there as normal. So I assume the issue is in
xf86drm.c:drmOpenByBusid somehow breaking when trying card0, and then
moving to card1. I'll look further into this tomorrow.
So far I have demonstrated drmSetInterfaceVersion failing in
drmOpenByBusId due to drmIoctl failing with EACCES - so looks like
someones screwed up the permissions with /dev/dri/card0.
Courtesy of LordVan on #radeon, there is a discrepancy with non-standard
ACL (ls -al indicates non-standard ACL stuff with a + at the end):
=======================================================
# getfacl /dev/dri/card0
getfacl: Removing leading '/' from absolute path names
# file: dev/dri/card0
# owner: root
# group: video
user::rw-
group::rw-
mask::rw-
other::---
=======================================================
On my working laptop, there is an extra 'user:omega:rw-' entry (that is
my username), however I'd like to think the general user line does this.
I added these permissions in with setfacl, but X was still broken.
I'm currently reading into kernel documentation to understand the
DRM_IOCTL_SET_VERSION ioctl in an attempt to show exactly what thinks I
don't have the access.
I'd appreciate someone with a clue helping here, as it is taking a long
time to build up some for myself.
--
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/53792107.3080...@gmail.com