aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar Simon Ser <contact@emersion.fr>2021-10-17 21:18:24 +0200
committerLibravatar Simon Ser <contact@emersion.fr>2021-10-19 09:26:06 +0200
commitb48cb6b0ec1320ad25fd2c0a1b5118dbe2536060 (patch)
treed1b914a1cd16bba62a2816c071f16b5d0fcb3540
parentswaymsg: fix misplaced return value (diff)
downloadsway-b48cb6b0ec1320ad25fd2c0a1b5118dbe2536060.tar.gz
sway-b48cb6b0ec1320ad25fd2c0a1b5118dbe2536060.tar.zst
sway-b48cb6b0ec1320ad25fd2c0a1b5118dbe2536060.zip
Remove --my-next-gpu-wont-be-nvidia
Nvidia has historically been a bad actor in the open-source graphics ecosystem because they required a special EGLStreams code-path instead of exposing the de-facto standard GBM API. However, with their upcoming release they now support GBM as well. This is a push in the right direction for Nvidia, so there's no reason we should be more hostile to them than to any other proprietary driver. Let's remove the --my-next-gpu-wont-be-nvidia flag, and advise users to use --unsupported-gpu now. Note, proprietary Nvidia drivers are still unsupported by the Sway project (just like all other proprietary drivers).
-rw-r--r--sway/main.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sway/main.c b/sway/main.c
index e960c4e2..264fa847 100644
--- a/sway/main.c
+++ b/sway/main.c
@@ -63,7 +63,7 @@ void detect_proprietary(int allow_unsupported_gpu) {
63 sway_log(SWAY_ERROR, 63 sway_log(SWAY_ERROR,
64 "Proprietary Nvidia drivers are NOT supported. " 64 "Proprietary Nvidia drivers are NOT supported. "
65 "Use Nouveau. To launch sway anyway, launch with " 65 "Use Nouveau. To launch sway anyway, launch with "
66 "--my-next-gpu-wont-be-nvidia and DO NOT report issues."); 66 "--unsupported-gpu and DO NOT report issues.");
67 exit(EXIT_FAILURE); 67 exit(EXIT_FAILURE);
68 } 68 }
69 break; 69 break;
@@ -220,7 +220,6 @@ int main(int argc, char **argv) {
220 {"verbose", no_argument, NULL, 'V'}, 220 {"verbose", no_argument, NULL, 'V'},
221 {"get-socketpath", no_argument, NULL, 'p'}, 221 {"get-socketpath", no_argument, NULL, 'p'},
222 {"unsupported-gpu", no_argument, NULL, 'u'}, 222 {"unsupported-gpu", no_argument, NULL, 'u'},
223 {"my-next-gpu-wont-be-nvidia", no_argument, NULL, 'u'},
224 {0, 0, 0, 0} 223 {0, 0, 0, 0}
225 }; 224 };
226 225