File: ignore-failure-to-set-DRM-interface.patch

package info (click to toggle)
bumblebee 3.2.1-32
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 1,304 kB
  • sloc: ansic: 2,845; sh: 1,792; makefile: 187
file content (17 lines) | stat: -rw-r--r-- 899 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Author: Luca Boccassi <luca.boccassi@gmail.com>
Description: Ignore failure to set DRM interface
 This always fail due to problems in libdrm, but does not affect
 Bumblebee's functionality. See GH-652 for more details.
Bug: https://github.com/Bumblebee-Project/Bumblebee/issues/652
Origin: commit:881fab51122f7fe3c7c18565556ad96c25d0660f
Applied-Upstream: commit:881fab51122f7fe3c7c18565556ad96c25d0660f
--- a/src/bblogger.c
+++ b/src/bblogger.c
@@ -146,6 +146,7 @@ static void parse_xorg_output(char * string){
     if (strstr(string, "Failed to load module \"kbd\"") ||
             strstr(string, "No input driver matching") ||
             strstr(string, "systemd-logind: failed to get session:") ||
+            strstr(string, "failed to set DRM interface version 1.4:") ||
             strstr(string, "Server terminated successfully")) {
       /* non-fatal errors */
       prio = LOG_DEBUG;