Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package xf86-video-vesa for openSUSE:Factory
checked in at 2022-03-13 20:24:42
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/xf86-video-vesa (Old)
and /work/SRC/openSUSE:Factory/.xf86-video-vesa.new.25692 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "xf86-video-vesa"
Sun Mar 13 20:24:42 2022 rev:18 rq:960703 version:2.5.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/xf86-video-vesa/xf86-video-vesa.changes
2021-05-05 20:39:22.975075399 +0200
+++
/work/SRC/openSUSE:Factory/.xf86-video-vesa.new.25692/xf86-video-vesa.changes
2022-03-13 20:24:44.463625274 +0100
@@ -1,0 +2,6 @@
+Thu Mar 10 08:26:25 CET 2022 - [email protected]
+
+- Refuse vesa driver on the system with simpledrmfb (bsc#1193539):
+ u_Refuse-to-run-on-machines-with-simpledrmfb-too.patch
+
+-------------------------------------------------------------------
New:
----
u_Refuse-to-run-on-machines-with-simpledrmfb-too.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ xf86-video-vesa.spec ++++++
--- /var/tmp/diff_new_pack.4p7cXI/_old 2022-03-13 20:24:45.043625956 +0100
+++ /var/tmp/diff_new_pack.4p7cXI/_new 2022-03-13 20:24:45.047625961 +0100
@@ -1,7 +1,7 @@
#
# spec file for package xf86-video-vesa
#
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -30,6 +30,7 @@
Patch1: u_Restore-palette-on-LeaveVT.patch
Patch2:
u_DPMS-Query-DPMS-capabilites-and-query-current-state-before-changing.patch
Patch3: u_DPMS-Check-for-broken-DPMSGet.patch
+Patch4: u_Refuse-to-run-on-machines-with-simpledrmfb-too.patch
BuildRequires: pkgconfig
BuildRequires: pkgconfig(fontsproto)
BuildRequires: pkgconfig(pciaccess) >= 0.10
@@ -57,6 +58,7 @@
%patch1 -p1
%patch2 -p1
%patch3 -p1
+%patch4 -p1
%build
%configure
++++++ u_Refuse-to-run-on-machines-with-simpledrmfb-too.patch ++++++
>From 05aa4057d9369165f4f49b5dcc9064b4bfdfe9e5 Mon Sep 17 00:00:00 2001
From: Takashi Iwai <[email protected]>
Date: Thu, 10 Mar 2022 08:22:21 +0100
Subject: [PATCH] Refuse to run on machines with simpledrmfb, too
References: bsc#1193539
simpledrm framebuffer takes over EFI and manages the graphics.
Running vesa driver on those would confuse the system and result in a
bad interaction.
Just bail out like efifb and other cases.
Signed-off-by: Takashi Iwai <[email protected]>
---
src/vesa.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/vesa.c b/src/vesa.c
index b2a1922c2332..53c3d47547c7 100644
--- a/src/vesa.c
+++ b/src/vesa.c
@@ -453,6 +453,7 @@ VESAPciProbe(DriverPtr drv, int entity_num, struct
pci_device *dev,
#ifdef __linux__
if (access("/sys/devices/platform/efi-framebuffer.0", F_OK) == 0 ||
+ access("/sys/devices/platform/simple-framebuffer.0", F_OK) == 0 ||
access("/sys/devices/platform/efifb.0", F_OK) == 0) {
ErrorF("vesa: Refusing to run on UEFI\n");
return FALSE;
--
2.31.1