This repository has been archived by the owner on Apr 26, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 102
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
184a882
commit 93b6a53
Showing
5 changed files
with
19 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
#!/bin/sh -e | ||
|
||
patch -p1 < rootless-nouveau.patch | ||
|
||
export LDFLAGS="-Wl,-z,lazy" | ||
|
||
./configure \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
304060806415579cdb5c1f71f1c54d11cacb431b5552b170decbc883ed43bf06 xf86-video-nouveau-1.0.16.tar.bz2 | ||
e9197c97db81da40b9f1abc76ae349b4fe42a7563fbe9ac80821a68327e28c01 rootless-nouveau.patch |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,2 @@ | ||
eudev | ||
libdrm | ||
xorgproto |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
diff --git a/src/nv_driver.c b/src/nv_driver.c | ||
index 185bba7..7927128 100644 | ||
--- a/src/nv_driver.c | ||
+++ b/src/nv_driver.c | ||
@@ -501,6 +501,10 @@ NVEnterVT(VT_FUNC_ARGS_DECL) | ||
(pNVEnt->platform_dev->flags & XF86_PDEV_SERVER_FD))) | ||
#endif | ||
{ | ||
+ ret = drmIsMaster(pNv->dev->fd); | ||
+ if (ret) | ||
+ return TRUE; | ||
+ | ||
ret = drmSetMaster(pNv->dev->fd); | ||
if (ret) | ||
ErrorF("Unable to get master: %s\n", strerror(errno)); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
https://x.org/releases/individual/driver/xf86-video-nouveau-1.0.16.tar.bz2 | ||
patches/rootless-nouveau.patch |