Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#47852 - [paxd] optirun and primusrun need MPROTECT disabled

Attached to Project: Community Packages
Opened by Adam Fontenot (amfontenot) - Thursday, 21 January 2016, 22:21 GMT
Last edited by Doug Newgard (Scimmia) - Thursday, 21 January 2016, 23:48 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

On paxd 32-1 and linux-grsec 4.3.3.201601192226-1

Attempting to use optirun (bumblebee 3.2.1-10) or primusrun (primus 20151110-4) to start a program on the secondary GPU (Nvidia GT 555M, nouveau drivers) fails with the following error:

/dev/dri/card1: failed to set DRM interface version 1.4: Permission denied

With primusrun, this results in crashing the X server. I tracked the problem down to MPROTECT. Both programs work normally with it disabled on /usr/bin/optirun and /usr/bin/primusrun. Can you please add these settings to paxd?
This task depends upon

Closed by  Doug Newgard (Scimmia)
Thursday, 21 January 2016, 23:48 GMT
Reason for closing:  None
Additional comments about closing:  User requested: I realized that I had accidentally switched optirun to the nvidia driver. The problem with the nouveau driver is not resolved by disabling mprotect. Sorry for the noise.

Loading...