1
0

- exclude aarch64 and %{arm} architectures (inb/outb needed for this

driver)

OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/xf86-video-vesa?expand=0&rev=40
This commit is contained in:
Stefan Dirsch 2024-08-29 14:11:56 +00:00 committed by Git OBS Bridge
commit ddc73d1e0e
11 changed files with 482 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

View File

@ -0,0 +1,52 @@
From: Egbert Eich <eich@suse.de>
Date: Mon Jul 4 18:00:18 2016 +0200
Subject: [PATCH]DPMS: Check for broken DPMSGet()
Patch-mainline: to be upstreamed
Git-commit: 484aa9d156f213d08001b3c926ff1632cf3826c2
References: bsc#986974
Signed-off-by: Egbert Eich <eich@suse.com>
On some BIOSes DPMSGet may return an incorrect mode. Check by
attempting to read back the mode just set and compare it to
the value set.
Signed-off-by: Egbert Eich <eich@suse.de>
---
src/vesa.c | 8 +++++++-
src/vesa.h | 1 +
2 files changed, 8 insertions(+), 1 deletion(-)
diff --git a/src/vesa.c b/src/vesa.c
index 983a5f5..818d9a7 100644
--- a/src/vesa.c
+++ b/src/vesa.c
@@ -1698,10 +1698,16 @@ VESADisplayPowerManagementSet(ScrnInfoPtr pScrn, int mode,
(val & (1 << mode)) == 0)
return;
- if (VBEDPMSGet(pVesa->pVbe, &val) == TRUE && val == mode)
+ if (!pVesa->brokenDPMSGet &&
+ VBEDPMSGet(pVesa->pVbe, &val) == TRUE &&
+ val == mode)
return;
#endif
VBEDPMSSet(pVesa->pVbe, mode);
+#ifdef VBE_HAVE_DPMS_GET_CAPABILITIES
+ if (!pVesa->brokenDPMSGet && VBEDPMSGet(pVesa->pVbe, &val) && val != mode)
+ pVesa->brokenDPMSGet = TRUE;
+#endif
}
/***********************************************************************
diff --git a/src/vesa.h b/src/vesa.h
index bcc9e37..7c68724 100644
--- a/src/vesa.h
+++ b/src/vesa.h
@@ -119,6 +119,7 @@ typedef struct _VESARec
void *shadow;
ShadowUpdateProc update;
ShadowWindowProc window;
+ Bool brokenDPMSGet;
} VESARec, *VESAPtr;

View File

@ -0,0 +1,45 @@
From: Egbert Eich <eich@suse.de>
Date: Thu Sep 24 19:42:38 2015 +0200
Subject: [PATCH]DPMS: Query DPMS capabilites and query current state before changing
Patch-mainline: to be upstreamed
References: bsc#947356
Signed-off-by: Egbert Eich <eich@suse.com>
There is a VBE call to query the DPMS capabilities and the current
state. If available use these calls to make sure to set only modes
which are available and not set the state that is currently active
already.
The latter works around a problem found on an Intel BIOS.
Signed-off-by: Egbert Eich <eich@suse.de>
---
src/vesa.c | 12 +++++++++++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/src/vesa.c b/src/vesa.c
index 44f93b2..983a5f5 100644
--- a/src/vesa.c
+++ b/src/vesa.c
@@ -1687,10 +1687,20 @@ VESADisplayPowerManagementSet(ScrnInfoPtr pScrn, int mode,
int flags)
{
VESAPtr pVesa = VESAGetRec(pScrn);
-
+#ifdef VBE_HAVE_DPMS_GET_CAPABILITIES
+ int val;
+#endif
if (!pScrn->vtSema)
return;
+#ifdef VBE_HAVE_DPMS_GET_CAPABILITIES
+ if (VBEDPMSGetCapabilities(pVesa->pVbe, &val) == FALSE ||
+ (val & (1 << mode)) == 0)
+ return;
+
+ if (VBEDPMSGet(pVesa->pVbe, &val) == TRUE && val == mode)
+ return;
+#endif
VBEDPMSSet(pVesa->pVbe, mode);
}

View File

@ -0,0 +1,31 @@
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;

View File

@ -0,0 +1,35 @@
From: Egbert Eich <eich@freedesktop.org>
Date: Thu Sep 22 16:47:19 2011 +0200
Subject: [PATCH]Restore palette on LeaveVT()
Patch-mainline: to be upstreamed
Git-commit: 46bbbae9b7e714c472db4c36733096772a17d86f
Git-repo: ssh://git.freedesktop.org/git/xorg/driver/xf86-video-vesa
References: bnc#719866
Signed-off-by: Egbert Eich <eich@suse.com>
Use BIOS function to restore palette on LeaveVT().
This fixes messed up colors in text mode on VT switch.
It is already done in CloseScreen().
Signed-off-by: Egbert Eich <eich@freedesktop.org>
---
src/vesa.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/src/vesa.c b/src/vesa.c
index 53854b1..dc308f4 100644
--- a/src/vesa.c
+++ b/src/vesa.c
@@ -1127,7 +1127,12 @@ static void
VESALeaveVT(VT_FUNC_ARGS_DECL)
{
SCRN_INFO_PTR(arg);
+ VESAPtr pVesa = VESAGetRec(pScrn);
+
VESASaveRestore(pScrn, MODE_RESTORE);
+ if (pVesa->savedPal)
+ VBESetGetPaletteData(pVesa->pVbe, TRUE, 0, 256,
+ pVesa->savedPal, FALSE, TRUE);
}
static Bool

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:10082771b1a8f659c60b3d9b70456a4b59948a75b3cade2dfa33b8b05e549bb1
size 275572

Binary file not shown.

156
xf86-video-vesa.changes Normal file
View File

@ -0,0 +1,156 @@
-------------------------------------------------------------------
Thu Aug 29 14:10:40 UTC 2024 - Stefan Dirsch <sndirsch@suse.com>
- exclude aarch64 and %{arm} architectures (inb/outb needed for this
driver)
-------------------------------------------------------------------
Mon Feb 26 12:14:50 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
- Use %autosetup macro. Allows to eliminate the usage of deprecated
PatchN.
-------------------------------------------------------------------
Sun Dec 18 15:27:11 UTC 2022 - Dirk Müller <dmueller@suse.com>
- update to 2.6.0:
* Refuse to run if framebuffer or dri devices are present
* VESAValidMode: remove duplicate call to VESAGetRec
* VESADGASetMode: remove unused variable scrnIdx
* Build xz tarballs instead of bzip2
-------------------------------------------------------------------
Sat May 14 10:49:06 UTC 2022 - Stefan Dirsch <sndirsch@suse.com>
- set SUSE_ZNOW to 0 (boo#1197994)
-------------------------------------------------------------------
Thu Mar 10 08:26:25 CET 2022 - tiwai@suse.de
- Refuse vesa driver on the system with simpledrmfb (bsc#1193539):
u_Refuse-to-run-on-machines-with-simpledrmfb-too.patch
-------------------------------------------------------------------
Tue Apr 6 02:07:18 UTC 2021 - Dirk Müller <dmueller@suse.com>
- modernize spec file (move license to licensedir)
-------------------------------------------------------------------
Fri Sep 11 10:07:38 UTC 2020 - Stefan Dirsch <sndirsch@suse.com>
- Update to version 2.5.0
"This release rolls up a few minor bug fixes since 2.4.0. We now refuse
to run on machines with UEFI firmware (on Linux only, patches welcome
for other OSes) since it won't work in the general case and you
probably have a kernel framebuffer driver running already. We also only
attempt to use 24bpp if the alternative would be pseudocolor, but note
that since xserver 1.20 24bpp will not work at all. If you'd like to
fix that case, please note that it is filed as issue #4:
https://gitlab.freedesktop.org/xorg/driver/xf86-video-vesa/-/issues/4
We also notice several cases of running on emulated GPUs, in which case
the shadow framebuffer is disabled by default to improve performance by
reducing the number of copies.
All users are recommended to upgrade, ideally to a better video card
and/or driver."
-------------------------------------------------------------------
Fri Feb 16 14:46:06 UTC 2018 - sndirsch@suse.com
- Update to version 2.4.0
* Nothing terribly exciting, but enough bug fixes to justify a
release.
- supersedes u_Enable-DefaultRefresh-by-default.patch
-------------------------------------------------------------------
Mon May 29 14:59:03 UTC 2017 - sndirsch@suse.com
- includes everything needed for missing sle issue entries:
fate #315643-315645, 319159-319161, 319618 (bsc#1041379)
-------------------------------------------------------------------
Tue Jul 5 09:53:39 UTC 2016 - eich@suse.com
- u_DPMS-Check-for-broken-DPMSGet.patch
Check for broken DPMSGet (bsc#986974).
-------------------------------------------------------------------
Sun Sep 27 11:10:58 UTC 2015 - mpluskal@suse.com
- Add gpg signature
-------------------------------------------------------------------
Fri Sep 25 10:22:26 UTC 2015 - eich@suse.com
- u_DPMS-Query-DPMS-capabilites-and-query-current-state-before-changing.patch
If the Xserver provides the VBEDPMSGetCapabilities() and VBEDPMSGet()
API, check DPMS capabilities if a requested DPMS mode is supported before
changing, and only change DPMS mode when the new state is different from
the old (bsc#947356, boo#947493).
-------------------------------------------------------------------
Thu Jun 18 07:58:09 UTC 2015 - zaitor@opensuse.org
- Update to version 2.3.4:
+ configure: Drop PanelID test.
+ Don't include deprecated xf86PciInfo.h.
+ Raise required version of xorg-server to >= 1.6.
-------------------------------------------------------------------
Thu May 22 13:39:00 UTC 2014 - eich@suse.com
- u_Restore-palette-on-LeaveVT.patch:
Restore the Palette on LeaveVT - as it is done on CloseScreen() already
(bnc#719866).
- u_Enable-DefaultRefresh-by-default.patch:
Update comments.
-------------------------------------------------------------------
Tue Sep 10 22:59:48 UTC 2013 - tobias.johannes.klausmann@mni.thm.de
- Update to version 2.3.3:
A few cleanups, and a build fix for xserver 1.14.
+ Remove Upstreamed Patch1: U_mibstore.patch
+ Adapt Patch0: u_Enable-DefaultRefresh-by-default.patch (formerly
known as xf86-video-vesa_DefaultRefresh.diff) to work with
version 2.3.3
-------------------------------------------------------------------
Wed Aug 7 15:03:56 CEST 2013 - ro@suse.de
- add ExcludeArch for s390 and s390x
-------------------------------------------------------------------
Tue Mar 19 10:20:02 UTC 2013 - hrvoje.senjan@gmail.com
- Add mibstore.patch, fixes build with xorg-server 1.14
-------------------------------------------------------------------
Sun Sep 2 19:26:30 UTC 2012 - zaitor@opensuse.org
- Update to version 2.3.2:
+ Add api 13 compat layer.
+ Convert to new screen conversion APIs.
+ Add missing compat-api header.
-------------------------------------------------------------------
Thu Apr 19 11:00:51 UTC 2012 - dimstar@opensuse.org
- Update to version 2.3.1:
+ Require a newer version of libpciaccess
+ Code style cleanup to make the map and unmap blocks more
consistent
+ Build fix for ABI Version 12
+ Be forgiving of character-cell size mismatches in mode sizes
+ Fix memory leak in mode validation
+ Refuse to load if there's a kernel driver bound to the device
- Use %x11_abi_videodrv_req instead of static VIDEODRV_ABI requires
-------------------------------------------------------------------
Wed Apr 18 15:51:24 UTC 2012 - vuntz@opensuse.org
- Split xf86-video-vesa from xorg-x11-driver-video.
Initial version: 2.3.0.

59
xf86-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fma55kwl6AA9MXnaXzpER6fF01X
P/TFPsEPpWUcdjkOjCVtFxrhbx5veCmRf/B81gNgIe1OJ9Pt7C6ZOs1nHmats2TR
dMlU48A/fPsTStUPbD/GjinbYPMjB94YrCkeq3Vvpn1+atEPBqJdoWbBR/6siIZz
84Vw5J7jofBOYjJM63o1V1BJ/vmM49t14z+fUjmy851ZMsSPpASPar1RD3xQQ8m4
x1qi3IEXAqVwM44sxIvv3d9Yg2thKyR1eEeNqG3nBaoj56A7Yl9yIj+8/X5sTOGl
j2WUar6vtYbecJJ/iEkEGBECAAkFAkab+m8CGwwACgkQovueCB8tEw6C6ACgh2Ea
cP138hLp8NWC/7jGc5e/KiEAnRVXFzW6g/N6lYVuC8u4cgy/KNGi
=zQQb
-----END PGP PUBLIC KEY BLOCK-----

77
xf86-video-vesa.spec Normal file
View File

@ -0,0 +1,77 @@
#
# spec file for package xf86-video-vesa
#
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%{?x11_abi_has_dpms_get_capabilities: %{x11_abi_has_dpms_get_capabilities}}
Name: xf86-video-vesa
Version: 2.6.0
Release: 0
Summary: Generic VESA video driver for the Xorg X server
License: MIT
Group: System/X11/Servers/XF86_4
URL: https://xorg.freedesktop.org/
Source0: https://xorg.freedesktop.org/releases/individual/driver/%{name}-%{version}.tar.xz
Source1: https://xorg.freedesktop.org/releases/individual/driver/%{name}-%{version}.tar.xz.sig
Source2: %{name}.keyring
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
BuildRequires: pkgconfig(randrproto)
BuildRequires: pkgconfig(renderproto)
BuildRequires: pkgconfig(xextproto)
BuildRequires: pkgconfig(xorg-macros) >= 1.3
BuildRequires: pkgconfig(xorg-server) >= 1.6
BuildRequires: pkgconfig(xproto)
Supplements: xorg-x11-server
# This was part of the xorg-x11-driver-video package up to version 7.6
Conflicts: xorg-x11-driver-video <= 7.6
ExcludeArch: s390 s390x aarch64 %{arm}
%{?x11_abi_videodrv_req}
%description
vesa is an Xorg driver for Generic VESA video cards.
It can drive most VESA-compatible video cards, but only makes use of the
basic standard VESA core that is common to these cards. The driver
supports depths 8, 15 16 and 24.
%prep
%autosetup -p1
%build
# We have some -z now related errors during X default startup (boo#1197994):
# this is directly visible on startup, so easy to test later on.
export SUSE_ZNOW=0
%configure
%make_build
%install
%make_install
find %{buildroot} -type f -name "*.la" -delete -print
%files
%license COPYING
%doc ChangeLog README.md
%dir %{_libdir}/xorg/modules/drivers
%{_libdir}/xorg/modules/drivers/vesa_drv.so
%{_mandir}/man4/vesa.4%{?ext_man}
%changelog