Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:16.0:Rings:1-MinimalX
xf86-video-vesa
u_Refuse-to-run-on-machines-with-simpledrmfb-to...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File u_Refuse-to-run-on-machines-with-simpledrmfb-too.patch of Package xf86-video-vesa
From 05aa4057d9369165f4f49b5dcc9064b4bfdfe9e5 Mon Sep 17 00:00:00 2001 From: Takashi Iwai <tiwai@suse.de> 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 <tiwai@suse.de> --- src/vesa.c | 1 + 1 file changed, 1 insertion(+) Index: xf86-video-vesa-2.6.0/src/vesa.c =================================================================== --- xf86-video-vesa-2.6.0.orig/src/vesa.c +++ xf86-video-vesa-2.6.0/src/vesa.c @@ -479,7 +479,8 @@ VESAPciProbe(DriverPtr drv, int entity_n ScrnInfoPtr pScrn; #ifdef __linux__ - if (VESAFileExistsPrefix("/dev", "fb") || + if (VESAFileExistsPrefix("/dev", "fb") || + access("/sys/devices/platform/simple-framebuffer.0", F_OK) == 0 || VESAFileExistsPrefix("/dev/dri", "card")) { ErrorF("vesa: Refusing to run, Framebuffer or dri device present\n"); return FALSE;
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor