Need add uaccess tag for /dev/dri/renderD*

Bug #1536438 reported by Qiang Yu
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
systemd (Ubuntu)
Fix Released
High
Unassigned
Trusty
Fix Released
High
Martin Pitt

Bug Description

[Impact]
The lts-wily backported kernel introduces the amdgpu driver. Graphics cards that use this driver need the render node (/dev/dri/renderD*) to be accessible to users.

[Test Case]
Install the lts-wily kernel, and check whether /dev/dri/renderD* is accessible or not.

[Regression Potential]
Low, as the change is already upstream and included in wily.

--------------------------------
3.16/3.19 Linux kernel add render node support which will create /dev/dri/renderD*.
uaccess tag must be added to the /lib/udev/rules.d/70-uaccess.rules to make it access-able to login user just like /dev/dri/card*.
It has been done on Ubuntu 15.04, but 14.04.3 has not.

14.04.3 70-uaccess.rules
# DRI video devices
SUBSYSTEM=="drm", KERNEL=="card*", TAG+="uaccess"

15.04 70-uaccess.rules
# DRI video devices
SUBSYSTEM=="drm", KERNEL=="card*|renderD*", TAG+="uaccess"

Please fix this for AMD GPU driver will use the /dev/dri/renderD*.

Fixed upstream in https://github.com/systemd/systemd/commit/735e5d

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: systemd-services 204-5ubuntu20.14
ProcVersionSignature: Ubuntu 3.19.0-33.38~14.04.1-generic 3.19.8-ckt7
Uname: Linux 3.19.0-33-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.15
Architecture: amd64
CurrentDesktop: Unity
Date: Thu Jan 21 10:06:24 2016
InstallationDate: Installed on 2015-09-16 (126 days ago)
InstallationMedia: Ubuntu 14.04.3 LTS "Trusty Tahr" - Beta amd64 (20150805)
SourcePackage: systemd
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Qiang Yu (qiang-yu) wrote :
Changed in systemd (Ubuntu):
assignee: nobody → Alberto Milone (albertomilone)
status: New → Triaged
importance: Undecided → High
Martin Pitt (pitti)
Changed in systemd (Ubuntu):
status: Triaged → Fix Released
Changed in systemd (Ubuntu Trusty):
status: New → Triaged
assignee: nobody → Alberto Milone (albertomilone)
Martin Pitt (pitti)
description: updated
Martin Pitt (pitti)
Changed in systemd (Ubuntu Trusty):
status: Triaged → In Progress
Martin Pitt (pitti)
Changed in systemd (Ubuntu):
assignee: Alberto Milone (albertomilone) → nobody
Changed in systemd (Ubuntu Trusty):
assignee: Alberto Milone (albertomilone) → Martin Pitt (pitti)
Revision history for this message
Brian Murray (brian-murray) wrote : Please test proposed package

Hello Qiang, or anyone else affected,

Accepted systemd into trusty-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/systemd/204-5ubuntu20.19 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in systemd (Ubuntu Trusty):
status: In Progress → Fix Committed
tags: added: verification-needed
description: updated
summary: - Need add uaccess tag for /dev/dri/renderD*
+ SRU: Need add uaccess tag for /dev/dri/renderD*
Revision history for this message
Martin Pitt (pitti) wrote : Re: SRU: Need add uaccess tag for /dev/dri/renderD*

Please test the proposed update, as there is no way to verify this without having the affected hardware (which I don't).

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package systemd - 204-5ubuntu20.19

---------------
systemd (204-5ubuntu20.19) trusty-proposed; urgency=medium

  * Add upstream-uaccess-Add-new-DRM-render-nodes.patch: Add uaccess tag for
    "renderD*" devices for AMD GPUs. (LP: #1536438)
  * libpam-systemd: Don't restart logind on upgrades, this confuses too many
    clients and causes effects like screen blanking. (LP: #1473800)
  * debian/extra/initramfs.hook: Fix typo in path of udevadm.upgrade : The
    binary is /bin/udevadm.upgrade while udev is unpacked and not configured
    (see debian/udev.{pre,post}inst. (LP: #1535255)

 -- Martin Pitt <email address hidden> Thu, 25 Feb 2016 16:49:20 +0100

Changed in systemd (Ubuntu Trusty):
status: Fix Committed → Fix Released
Mathew Hodson (mhodson)
Changed in systemd (Ubuntu Trusty):
importance: Undecided → High
tags: removed: verification-needed
summary: - SRU: Need add uaccess tag for /dev/dri/renderD*
+ Need add uaccess tag for /dev/dri/renderD*
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.