commit d1a7e7ee1230561a70040f0d632f3e1b770a2acad562947ff02e1e0a2c814333 Author: Stefan Dirsch Date: Thu Jul 18 11:00:29 2024 +0000 - u_fbdevhw_kernel6.9_break_fbdev_open.patch * Linux kernel v6.9 has changed the symlink to point to the parent device. This breaks fbdev_open() detection logic. Change it to use the subsystem symlink instead which will remain stable (gitlab xserver issue#1714) OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/xorg-x11-server?expand=0&rev=889 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/50-extensions.conf b/50-extensions.conf new file mode 100644 index 0000000..2782c23 --- /dev/null +++ b/50-extensions.conf @@ -0,0 +1,9 @@ +# Add extensions to be disabled. This may be needed as some +# extra modules may add extensions which cause the maximum +# number of extensions possible to be exceeded. +# +# SUSE Default: disable DGA. + +Section "Extensions" + Option "XFree86-DGA" "Disable" +EndSection \ No newline at end of file diff --git a/N_Install-Avoid-failure-on-wrapper-installation.patch b/N_Install-Avoid-failure-on-wrapper-installation.patch new file mode 100644 index 0000000..83d2e4b --- /dev/null +++ b/N_Install-Avoid-failure-on-wrapper-installation.patch @@ -0,0 +1,34 @@ +From: Egbert Eich +Date: Tue Apr 12 09:22:40 2016 +0200 +Subject: [PATCH]Install: Avoid failure on wrapper installation +Patch-mainline: never +References: +Signed-off-by: Egbert Eich + +- Check for SUID_WRAPPER_DIR being identical to bindir + before copying script. +- Check whether user is root before doing a chmod/chown + +Signed-off-by: Egbert Eich +--- + hw/xfree86/Makefile.am | 7 ++++--- + 1 file changed, 4 insertions(+), 3 deletions(-) + +Index: xorg-server-1.20.5/hw/xfree86/Makefile.am +=================================================================== +--- xorg-server-1.20.5.orig/hw/xfree86/Makefile.am ++++ xorg-server-1.20.5/hw/xfree86/Makefile.am +@@ -113,9 +113,10 @@ if INSTALL_SETUID + endif + if SUID_WRAPPER + $(MKDIR_P) $(DESTDIR)$(SUID_WRAPPER_DIR) +- mv $(DESTDIR)$(bindir)/Xorg $(DESTDIR)$(SUID_WRAPPER_DIR)/Xorg +- ${INSTALL} -m 755 Xorg.sh $(DESTDIR)$(bindir)/Xorg +- -chown 0 $(DESTDIR)$(SUID_WRAPPER_DIR)/Xorg.wrap && chmod u+s $(DESTDIR)$(SUID_WRAPPER_DIR)/Xorg.wrap ++ mv $(DESTDIR)$(bindir)/Xorg $(DESTDIR)$(SUID_WRAPPER_DIR)/Xorg 2>/dev/null && target=Xorg; \ ++ ${INSTALL} -m 755 Xorg.sh $(DESTDIR)$(bindir)/$${target} ++ -test "x$UID" = "x0" -o "x$EUID" = "x0" && \ ++ chown root $(DESTDIR)$(SUID_WRAPPER_DIR)/Xorg.wrap && chmod u+s $(DESTDIR)$(SUID_WRAPPER_DIR)/Xorg.wrap + endif + + uninstall-local: diff --git a/N_default-module-path.diff b/N_default-module-path.diff new file mode 100644 index 0000000..9f6cbb2 --- /dev/null +++ b/N_default-module-path.diff @@ -0,0 +1,18 @@ +From: Stefan Dirsch + +Add /usr/lib[64]/xorg/modules/updates to the module path. +Make sure this path is considered first. + +Index: hw/xfree86/common/xf86Globals.c +=================================================================== +--- hw/xfree86/common/xf86Globals.c.orig ++++ hw/xfree86/common/xf86Globals.c +@@ -135,7 +135,7 @@ xf86InfoRec xf86Info = { + + const char *xf86ConfigFile = NULL; + const char *xf86ConfigDir = NULL; +-const char *xf86ModulePath = DEFAULT_MODULE_PATH; ++const char *xf86ModulePath = DEFAULT_MODULE_PATH "/updates," DEFAULT_MODULE_PATH; + MessageType xf86ModPathFrom = X_DEFAULT; + const char *xf86LogFile = DEFAULT_LOGDIR "/" DEFAULT_LOGPREFIX; + MessageType xf86LogFileFrom = X_DEFAULT; diff --git a/N_driver-autoconfig.diff b/N_driver-autoconfig.diff new file mode 100644 index 0000000..d71a41b --- /dev/null +++ b/N_driver-autoconfig.diff @@ -0,0 +1,34 @@ +From: Stefan Dirsch + +Modify driver fallback list for automatic configuration +such that the proprietary ATI, NVIDIA and VIA drivers are +considered first. + +Index: hw/xfree86/common/xf86pciBus.c +=================================================================== +--- hw/xfree86/common/xf86pciBus.c.orig ++++ hw/xfree86/common/xf86pciBus.c +@@ -1186,6 +1186,13 @@ xf86VideoPtrToDriverList(struct pci_devi + driverList[0] = "neomagic"; + break; + case 0x10de: ++ driverList[0] = "nvidia"; ++ driverList[1] = "nouveau"; ++ /* GeForce 6150SE support broken (bnc #465190/544674) */ ++ if (dev->device_id != 0x03D0) { ++ driverList[2] = "nv"; ++ } ++ break; + case 0x12d2: + { + int idx = 0; +@@ -1197,7 +1204,8 @@ xf86VideoPtrToDriverList(struct pci_devi + break; + } + case 0x1106: +- driverList[0] = "openchrome"; ++ driverList[0] = "via"; ++ driverList[1] = "openchrome"; + break; + case 0x1b36: + driverList[0] = "qxl"; diff --git a/N_fix-dpi-values.diff b/N_fix-dpi-values.diff new file mode 100644 index 0000000..7963943 --- /dev/null +++ b/N_fix-dpi-values.diff @@ -0,0 +1,62 @@ +From: Egbert Eich + +Fix calculation of DPI using mode data if present. + +Index: hw/xfree86/common/xf86Helper.c +=================================================================== +--- hw/xfree86/common/xf86Helper.c.orig ++++ hw/xfree86/common/xf86Helper.c +@@ -875,12 +875,22 @@ xf86SetDpi(ScrnInfoPtr pScrn, int x, int + else if (pScrn->widthmm > 0 || pScrn->heightmm > 0) { + from = X_CONFIG; + if (pScrn->widthmm > 0) { +- pScrn->xDpi = +- (int) ((double) pScrn->virtualX * MMPERINCH / pScrn->widthmm); ++ if (pScrn->modes && pScrn->modes->HDisplay > 0) { ++ pScrn->xDpi = ++ (int)((double) pScrn->modes->HDisplay * MMPERINCH / pScrn->widthmm); ++ } else { ++ pScrn->xDpi = ++ (int)((double)pScrn->virtualX * MMPERINCH / pScrn->widthmm); ++ } + } + if (pScrn->heightmm > 0) { +- pScrn->yDpi = +- (int) ((double) pScrn->virtualY * MMPERINCH / pScrn->heightmm); ++ if (pScrn->modes && pScrn->modes->VDisplay > 0) { ++ pScrn->yDpi = ++ (int)((double)pScrn->modes->VDisplay * MMPERINCH / pScrn->heightmm); ++ } else { ++ pScrn->yDpi = ++ (int)((double)pScrn->virtualY * MMPERINCH / pScrn->heightmm); ++ } + } + if (pScrn->xDpi > 0 && pScrn->yDpi <= 0) + pScrn->yDpi = pScrn->xDpi; +@@ -919,12 +929,22 @@ xf86SetDpi(ScrnInfoPtr pScrn, int x, int + pScrn->widthmm = ddcWidthmm; + pScrn->heightmm = ddcHeightmm; + if (pScrn->widthmm > 0) { +- pScrn->xDpi = +- (int) ((double) pScrn->virtualX * MMPERINCH / pScrn->widthmm); ++ if (pScrn->modes && pScrn->modes->HDisplay > 0) { ++ pScrn->xDpi = ++ (int)((double) pScrn->modes->HDisplay * MMPERINCH / pScrn->widthmm); ++ } else { ++ pScrn->xDpi = ++ (int)((double)pScrn->virtualX * MMPERINCH / pScrn->widthmm); ++ } + } + if (pScrn->heightmm > 0) { +- pScrn->yDpi = +- (int) ((double) pScrn->virtualY * MMPERINCH / pScrn->heightmm); ++ if (pScrn->modes && pScrn->modes->VDisplay > 0) { ++ pScrn->yDpi = ++ (int)((double)pScrn->modes->VDisplay * MMPERINCH / pScrn->heightmm); ++ } else { ++ pScrn->yDpi = ++ (int)((double)pScrn->virtualY * MMPERINCH / pScrn->heightmm); ++ } + } + if (pScrn->xDpi > 0 && pScrn->yDpi <= 0) + pScrn->yDpi = pScrn->xDpi; diff --git a/N_fix_fglrx_screendepth_issue.patch b/N_fix_fglrx_screendepth_issue.patch new file mode 100644 index 0000000..46bfcfb --- /dev/null +++ b/N_fix_fglrx_screendepth_issue.patch @@ -0,0 +1,40 @@ +From: Stefan Dirsch + +Set DefaultDepth for implicite screen section when using FGLRX driver + +The binary only AMD FGLRX driver doesn't set the default depth in the +driver. Do it for it in the server. + +Index: hw/xfree86/common/xf86AutoConfig.c +=================================================================== +--- hw/xfree86/common/xf86AutoConfig.c.orig ++++ hw/xfree86/common/xf86AutoConfig.c +@@ -77,6 +77,13 @@ + "\tDevice\t" BUILTIN_DEVICE_NAME "\n" \ + "EndSection\n\n" + ++#define BUILTIN_SCREEN_SECTION_FOR_FGLRX \ ++ "Section \"Screen\"\n" \ ++ "\tIdentifier\t" BUILTIN_SCREEN_NAME "\n" \ ++ "\tDevice\t" BUILTIN_DEVICE_NAME "\n" \ ++ "\tDefaultDepth\t24\n" \ ++ "EndSection\n\n" ++ + #define BUILTIN_LAYOUT_SECTION_PRE \ + "Section \"ServerLayout\"\n" \ + "\tIdentifier\t\"Builtin Default Layout\"\n" +@@ -187,8 +194,12 @@ xf86AutoConfig(void) + snprintf(buf, sizeof(buf), BUILTIN_DEVICE_SECTION, + md.matches[i], 0, md.matches[i]); + AppendToConfig(buf); +- snprintf(buf, sizeof(buf), BUILTIN_SCREEN_SECTION, +- md.matches[i], 0, md.matches[i], 0); ++ if (strcmp(md.matches[i], "fglrx") == 0) ++ snprintf(buf, sizeof(buf), BUILTIN_SCREEN_SECTION_FOR_FGLRX, ++ md.matches[i], 0, md.matches[i], 0); ++ else ++ snprintf(buf, sizeof(buf), BUILTIN_SCREEN_SECTION, ++ md.matches[i], 0, md.matches[i], 0); + AppendToConfig(buf); + } + diff --git a/N_zap_warning_xserver.diff b/N_zap_warning_xserver.diff new file mode 100644 index 0000000..ec75484 --- /dev/null +++ b/N_zap_warning_xserver.diff @@ -0,0 +1,93 @@ +From: Luc Verhaegen + +Handle 'Zap' - Ctrl-Alt-Backspace more gracefully + +To avoid accidental zapping of the Xserver warn after +the first ctrl-alt-backspace by emitting a beep. Only +Zap the server if a second ctrl-alt-backspace is sent +within 2 seconds. +This can be enabled with a new option flag "ZapWarning" + +Index: xorg-server-21.1.0/hw/xfree86/common/xf86Config.c +=================================================================== +--- xorg-server-21.1.0.orig/hw/xfree86/common/xf86Config.c ++++ xorg-server-21.1.0/hw/xfree86/common/xf86Config.c +@@ -621,6 +621,7 @@ configFiles(XF86ConfFilesPtr fileconf) + typedef enum { + FLAG_DONTVTSWITCH, + FLAG_DONTZAP, ++ FLAG_ZAPWARNING, + FLAG_DONTZOOM, + FLAG_DISABLEVIDMODE, + FLAG_ALLOWNONLOCAL, +@@ -657,6 +658,8 @@ static OptionInfoRec FlagOptions[] = { + {0}, FALSE}, + {FLAG_DONTZAP, "DontZap", OPTV_BOOLEAN, + {0}, FALSE}, ++ { FLAG_ZAPWARNING, "ZapWarning", OPTV_BOOLEAN, ++ {0}, FALSE }, + {FLAG_DONTZOOM, "DontZoom", OPTV_BOOLEAN, + {0}, FALSE}, + {FLAG_DISABLEVIDMODE, "DisableVidModeExtension", OPTV_BOOLEAN, +@@ -739,6 +742,7 @@ configServerFlags(XF86ConfFlagsPtr flags + + xf86GetOptValBool(FlagOptions, FLAG_DONTVTSWITCH, &xf86Info.dontVTSwitch); + xf86GetOptValBool(FlagOptions, FLAG_DONTZAP, &xf86Info.dontZap); ++ xf86GetOptValBool(FlagOptions, FLAG_ZAPWARNING, &xf86Info.ZapWarning); + xf86GetOptValBool(FlagOptions, FLAG_DONTZOOM, &xf86Info.dontZoom); + + xf86GetOptValBool(FlagOptions, FLAG_IGNORE_ABI, &xf86Info.ignoreABI); +Index: xorg-server-21.1.0/hw/xfree86/common/xf86Events.c +=================================================================== +--- xorg-server-21.1.0.orig/hw/xfree86/common/xf86Events.c ++++ xorg-server-21.1.0/hw/xfree86/common/xf86Events.c +@@ -158,10 +158,22 @@ xf86ProcessActionEvent(ActionEvent actio + DebugF("ProcessActionEvent(%d,%p)\n", (int) action, arg); + switch (action) { + case ACTION_TERMINATE: +- if (!xf86Info.dontZap) { +- xf86Msg(X_INFO, "Server zapped. Shutting down.\n"); +- GiveUp(0); ++ if (xf86Info.dontZap) ++ break; ++ ++ if (xf86Info.ZapWarning) { ++ static struct timeval LastZap = { 0, 0}; ++ struct timeval NewZap; ++ ++ gettimeofday(&NewZap, NULL); ++ ++ if ((NewZap.tv_sec - LastZap.tv_sec) >= 2) { ++ xf86OSRingBell(30, 1000, 50); ++ LastZap = NewZap; ++ break; ++ } + } ++ GiveUp(0); + break; + case ACTION_NEXT_MODE: + if (!xf86Info.dontZoom) +Index: xorg-server-21.1.0/hw/xfree86/common/xf86Globals.c +=================================================================== +--- xorg-server-21.1.0.orig/hw/xfree86/common/xf86Globals.c ++++ xorg-server-21.1.0/hw/xfree86/common/xf86Globals.c +@@ -107,6 +107,7 @@ xf86InfoRec xf86Info = { + .autoVTSwitch = TRUE, + .ShareVTs = FALSE, + .dontZap = FALSE, ++ .ZapWarning = TRUE, + .dontZoom = FALSE, + .currentScreen = NULL, + #ifdef CSRG_BASED +Index: xorg-server-21.1.0/hw/xfree86/common/xf86Privstr.h +=================================================================== +--- xorg-server-21.1.0.orig/hw/xfree86/common/xf86Privstr.h ++++ xorg-server-21.1.0/hw/xfree86/common/xf86Privstr.h +@@ -62,6 +62,7 @@ typedef struct { + Bool autoVTSwitch; + Bool ShareVTs; + Bool dontZap; ++ Bool ZapWarning; + Bool dontZoom; + + /* graphics part */ diff --git a/README.updates b/README.updates new file mode 100644 index 0000000..ad5888d --- /dev/null +++ b/README.updates @@ -0,0 +1,8 @@ +Xserver module update mechanism +------------------------------- + +If any corresponding Xserver module is found below +"/usr/lib/xorg/modules/updates/" ("/usr/lib64/xorg/modules/updates/" +on biarch 32/64 bit platforms) it will be favored over the one in +"/usr/lib/xorg/modules/" ("/usr/lib64/xorg/modules/" on biarch 32/64 +bit platforms). diff --git a/U_render-Avoid-possible-double-free-in-ProcRenderAddGl.patch b/U_render-Avoid-possible-double-free-in-ProcRenderAddGl.patch new file mode 100644 index 0000000..0c1dda5 --- /dev/null +++ b/U_render-Avoid-possible-double-free-in-ProcRenderAddGl.patch @@ -0,0 +1,74 @@ +From c3c2218ab797516e4d63a93a078d77c6ce872d03 Mon Sep 17 00:00:00 2001 +From: Olivier Fourdan +Date: Fri, 5 Apr 2024 15:24:49 +0200 +Subject: [PATCH] render: Avoid possible double-free in ProcRenderAddGlyphs() + +ProcRenderAddGlyphs() adds the glyph to the glyphset using AddGlyph() and +then frees it using FreeGlyph() to decrease the reference count, after +AddGlyph() has increased it. + +AddGlyph() however may chose to reuse an existing glyph if it's already +in the glyphSet, and free the glyph that was given, in which case the +caller function, ProcRenderAddGlyphs() will call FreeGlyph() on an +already freed glyph, as reported by ASan: + + READ of size 4 thread T0 + #0 in FreeGlyph xserver/render/glyph.c:252 + #1 in ProcRenderAddGlyphs xserver/render/render.c:1174 + #2 in Dispatch xserver/dix/dispatch.c:546 + #3 in dix_main xserver/dix/main.c:271 + #4 in main xserver/dix/stubmain.c:34 + #5 in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 + #6 in __libc_start_main_impl ../csu/libc-start.c:360 + #7 (/usr/bin/Xwayland+0x44fe4) + Address is located 0 bytes inside of 64-byte region + freed by thread T0 here: + #0 in __interceptor_free libsanitizer/asan/asan_malloc_linux.cpp:52 + #1 in _dixFreeObjectWithPrivates xserver/dix/privates.c:538 + #2 in AddGlyph xserver/render/glyph.c:295 + #3 in ProcRenderAddGlyphs xserver/render/render.c:1173 + #4 in Dispatch xserver/dix/dispatch.c:546 + #5 in dix_main xserver/dix/main.c:271 + #6 in main xserver/dix/stubmain.c:34 + #7 in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 + previously allocated by thread T0 here: + #0 in __interceptor_malloc libsanitizer/asan/asan_malloc_linux.cpp:69 + #1 in AllocateGlyph xserver/render/glyph.c:355 + #2 in ProcRenderAddGlyphs xserver/render/render.c:1085 + #3 in Dispatch xserver/dix/dispatch.c:546 + #4 in dix_main xserver/dix/main.c:271 + #5 in main xserver/dix/stubmain.c:34 + #6 in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 + SUMMARY: AddressSanitizer: heap-use-after-free xserver/render/glyph.c:252 in FreeGlyph + +To avoid that, make sure not to free the given glyph in AddGlyph(). + +v2: Simplify the test using the boolean returned from AddGlyph() (Michel) +v3: Simplify even more by not freeing the glyph in AddGlyph() (Peter) + +Fixes: bdca6c3d1 - render: fix refcounting of glyphs during ProcRenderAddGlyphs +Closes: https://gitlab.freedesktop.org/xorg/xserver/-/issues/1659 +Signed-off-by: Olivier Fourdan +(cherry picked from commit 337d8d48b618d4fc0168a7b978be4c3447650b04) + +Part-of: +--- + render/glyph.c | 2 -- + 1 file changed, 2 deletions(-) + +diff --git a/render/glyph.c b/render/glyph.c +index d5fc5f3c9..f5069d42f 100644 +--- a/render/glyph.c ++++ b/render/glyph.c +@@ -291,8 +291,6 @@ AddGlyph(GlyphSetPtr glyphSet, GlyphPtr glyph, Glyph id) + gr = FindGlyphRef(&globalGlyphs[glyphSet->fdepth], signature, + TRUE, glyph->sha1); + if (gr->glyph && gr->glyph != DeletedGlyph && gr->glyph != glyph) { +- FreeGlyphPicture(glyph); +- dixFreeObjectWithPrivates(glyph, PRIVATE_GLYPH); + glyph = gr->glyph; + } + else if (gr->glyph != glyph) { +-- +2.35.3 + diff --git a/b_0001-Prevent-XSync-Alarms-from-senslessly-calling-CheckTr.patch b/b_0001-Prevent-XSync-Alarms-from-senslessly-calling-CheckTr.patch new file mode 100644 index 0000000..cdab25b --- /dev/null +++ b/b_0001-Prevent-XSync-Alarms-from-senslessly-calling-CheckTr.patch @@ -0,0 +1,92 @@ +From d1d9d4e5f8f9ac1d22e1258759d6ee9e49c7fe90 Mon Sep 17 00:00:00 2001 +From: Egbert Eich +Date: Fri, 9 Apr 2010 15:10:32 +0200 +Subject: [PATCH] Prevent XSync Alarms from senslessly calling CheckTrigger() when inactive. + +If an XSync Alarm is set to inactive there is no need to check if a trigger +needs to fire. Doing so if the counter is the IdleCounter will put the +server on 100 percent CPU load since the select timeout is set to 0. +--- + xorg-server-1.8.0/Xext/sync.c | 11 +++++++++-- + xorg-server-1.8.0/Xext/syncsrv.h | 1 + + 2 files changed, 10 insertions(+), 2 deletions(-) + +Index: xorg-server-1.8.0/Xext/sync.c +=================================================================== +--- xorg-server-1.8.0.orig/Xext/sync.c ++++ xorg-server-1.8.0/Xext/sync.c +@@ -518,6 +518,10 @@ SyncAlarmTriggerFired(SyncTrigger *pTrig + pAlarm->state = XSyncAlarmInactive; + } + } ++ /* Stop server from looping! */ ++ if (pAlarm->state == XSyncAlarmInactive) ++ SyncDeleteTriggerFromCounter(&pAlarm->trigger); ++ + /* The AlarmNotify event has to have the "new state of the alarm" + * which we can't be sure of until this point. However, it has + * to have the "old" trigger test value. That's the reason for +@@ -730,7 +734,7 @@ SyncChangeAlarmAttributes(ClientPtr clie + XSyncCounter counter; + Mask origmask = mask; + +- counter = pAlarm->trigger.pCounter ? pAlarm->trigger.pCounter->id : None; ++ counter = pAlarm->counter_id; + + while (mask) + { +@@ -741,7 +745,7 @@ SyncChangeAlarmAttributes(ClientPtr clie + case XSyncCACounter: + mask &= ~XSyncCACounter; + /* sanity check in SyncInitTrigger */ +- counter = *values++; ++ counter = pAlarm->counter_id = *values++; + break; + + case XSyncCAValueType: +@@ -808,6 +812,14 @@ SyncChangeAlarmAttributes(ClientPtr clie + return BadMatch; + } + } ++ if (pAlarm->state == XSyncAlarmInactive) { ++ /* ++ * If we are inactive the trigger has been deleted from the counter. ++ * Persuade SyncInitTrigger() to readd it. ++ */ ++ origmask |= XSyncCACounter; ++ pAlarm->trigger.pCounter = NULL; ++ } + + /* postpone this until now, when we're sure nothing else can go wrong */ + if ((status = SyncInitTrigger(client, &pAlarm->trigger, counter, +@@ -815,6 +827,7 @@ SyncChangeAlarmAttributes(ClientPtr clie + return status; + + /* XXX spec does not really say to do this - needs clarification */ ++ /* It's the only place where it is set to XSyncAlarmActive! */ + pAlarm->state = XSyncAlarmActive; + return Success; + } +@@ -1617,8 +1630,10 @@ ProcSyncCreateAlarm(ClientPtr client) + + pAlarm->client = client; + pAlarm->alarm_id = stuff->id; ++ pAlarm->counter_id = None; + XSyncIntToValue(&pAlarm->delta, 1L); + pAlarm->events = TRUE; ++ /* SyncChangeAlarmAttributes() changes this - no need to set this here! */ + pAlarm->state = XSyncAlarmInactive; + pAlarm->pEventClients = NULL; + status = SyncChangeAlarmAttributes(client, pAlarm, vmask, +Index: xorg-server-1.8.0/Xext/syncsrv.h +=================================================================== +--- xorg-server-1.8.0.orig/Xext/syncsrv.h ++++ xorg-server-1.8.0/Xext/syncsrv.h +@@ -129,6 +129,7 @@ typedef struct _SyncAlarm { + int events; + int state; + SyncAlarmClientList *pEventClients; ++ XSyncCounter counter_id; + } SyncAlarm; + + typedef struct { diff --git a/b_cache-xkbcomp-output-for-fast-start-up.patch b/b_cache-xkbcomp-output-for-fast-start-up.patch new file mode 100644 index 0000000..6916777 --- /dev/null +++ b/b_cache-xkbcomp-output-for-fast-start-up.patch @@ -0,0 +1,347 @@ +From 0f70ba9d3412b17ac4e08e33e1be3c226c06ea54 Mon Sep 17 00:00:00 2001 +From: Yan Li +Date: Tue, 12 May 2009 17:49:07 +0800 +Subject: [PATCH] XKB: cache xkbcomp output for fast start-up v5 for 1.6.1 +Organization: Intel + +xkbcomp outputs will be cached in files with hashed keymap as +names. This saves boot time for around 1s on commodity netbooks. + +Signed-off-by: Yan Li +================================================================================ +--- xorg-server-1.7.99/configure.ac ++++ xorg-server-1.7.99/configure.ac +@@ -527,9 +527,9 @@ + AC_ARG_WITH(xkb-path, AS_HELP_STRING([--with-xkb-path=PATH], [Path to XKB base dir (default: ${datadir}/X11/xkb)]), + [ XKBPATH="$withval" ], + [ XKBPATH="${datadir}/X11/xkb" ]) +-AC_ARG_WITH(xkb-output, AS_HELP_STRING([--with-xkb-output=PATH], [Path to XKB output dir (default: ${datadir}/X11/xkb/compiled)]), ++AC_ARG_WITH(xkb-output, AS_HELP_STRING([--with-xkb-output=PATH], [Path to XKB output dir (default: ${localstatedir}/cache/xkb)]), + [ XKBOUTPUT="$withval" ], +- [ XKBOUTPUT="compiled" ]) ++ [ XKBOUTPUT="${localstatedir}/cache/xkb" ]) + AC_ARG_WITH(default-xkb-rules, AS_HELP_STRING([--with-default-xkb-rules=RULES], + [Keyboard ruleset (default: base/evdev)]), + [ XKB_DFLT_RULES="$withval" ], +@@ -1160,7 +1160,7 @@ + dnl Make sure XKM_OUTPUT_DIR is an absolute path + XKBOUTPUT_FIRSTCHAR=`echo $XKBOUTPUT | cut -b 1` + if [[ x$XKBOUTPUT_FIRSTCHAR != x/ -a x$XKBOUTPUT_FIRSTCHAR != 'x$' ]] ; then +- XKBOUTPUT="$XKB_BASE_DIRECTORY/$XKBOUTPUT" ++ AC_MSG_ERROR([xkb-output must be an absolute path.]) + fi + + dnl XKM_OUTPUT_DIR (used in code) must end in / or file names get hosed +--- xorg-server-1.7.99/xkb/README.compiled ++++ xorg-server-1.7.99/xkb/README.compiled +@@ -4,10 +4,10 @@ + or some other tool might destroy or replace the files in this directory, + so it is not a safe place to store compiled keymaps for long periods of + time. The default keymap for any server is usually stored in: +- X-default.xkm +-where is the display number of the server in question, which makes +-it possible for several servers *on the same host* to share the same +-directory. ++ server-.xkm ++ ++where is the SHA1 hash of keymap source, so that compiled ++keymap of different keymap sources are stored in different files. + + Unless the X server is modified, sharing this directory between servers on + different hosts could cause problems. +--- xorg-server-1.9.0/xkb/ddxLoad.c.orig 2010-07-14 22:23:17.000000000 +0200 ++++ xorg-server-1.9.0/xkb/ddxLoad.c 2010-08-23 15:23:47.000000000 +0200 +@@ -30,6 +30,12 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE. + + #include + ++#ifdef HAVE_SHA1_IN_LIBMD /* Use libmd for SHA1 */ ++# include ++#else /* Use OpenSSL's libcrypto */ ++# include /* buggy openssl/sha.h wants size_t */ ++# include ++#endif + #include + #include + #include +@@ -43,24 +49,13 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE. + #define XKBSRV_NEED_FILE_FUNCS + #include + #include ++#include + #include "xkb.h" + + #if defined(CSRG_BASED) || defined(linux) || defined(__GNU__) + #include + #endif + +- /* +- * If XKM_OUTPUT_DIR specifies a path without a leading slash, it is +- * relative to the top-level XKB configuration directory. +- * Making the server write to a subdirectory of that directory +- * requires some work in the general case (install procedure +- * has to create links to /var or somesuch on many machines), +- * so we just compile into /usr/tmp for now. +- */ +-#ifndef XKM_OUTPUT_DIR +-#define XKM_OUTPUT_DIR "compiled/" +-#endif +- + #define PRE_ERROR_MSG "\"The XKEYBOARD keymap compiler (xkbcomp) reports:\"" + #define ERROR_PREFIX "\"> \"" + #define POST_ERROR_MSG1 "\"Errors from xkbcomp are not fatal to the X server\"" +@@ -175,6 +170,45 @@ OutputDirectory( + } + + static Bool ++Sha1Asc(char sha1Asc[SHA_DIGEST_LENGTH*2+1], const char * input) ++{ ++ int i; ++ unsigned char sha1[SHA_DIGEST_LENGTH]; ++ ++#ifdef HAVE_SHA1_IN_LIBMD /* Use libmd for SHA1 */ ++ SHA1_CTX ctx; ++ ++ SHA1Init (&ctx); ++ SHA1Update (&ctx, input, strlen(input)); ++ SHA1Final (sha1, &ctx); ++#else /* Use OpenSSL's libcrypto */ ++ SHA_CTX ctx; ++ int success; ++ ++ success = SHA1_Init (&ctx); ++ if (! success) ++ return BadAlloc; ++ ++ success = SHA1_Update (&ctx, input, strlen(input)); ++ if (! success) ++ return BadAlloc; ++ ++ success = SHA1_Final (sha1, &ctx); ++ if (! success) ++ return BadAlloc; ++#endif ++ ++ /* convert sha1 to sha1_asc */ ++ for(i=0; i nameRtrnLen) && nameRtrn) { ++ ErrorF("[xkb] nameRtrn too small to hold xkmfile name\n"); ++ return FALSE; ++ } ++ strncpy(nameRtrn, xkmfile, nameRtrnLen); ++ ++ /* if the xkm file already exists, reuse it */ ++ canonicalXkmFileName = Xprintf("%s%s.xkm", xkm_output_dir, xkmfile); ++ if (access(canonicalXkmFileName, R_OK) == 0) { ++ /* yes, we can reuse the old xkm file */ ++ LogMessage(X_INFO, "XKB: reuse xkmfile %s\n", canonicalXkmFileName); ++ result = TRUE; ++ goto _ret; ++ } ++ LogMessage(X_INFO, "XKB: generating xkmfile %s\n", canonicalXkmFileName); ++ ++ /* continue to call xkbcomp to compile the keymap. to avoid race ++ condition, we compile it to a tmpfile then rename it to ++ xkmfile */ ++ ++ + #ifdef WIN32 + strcpy(tmpname, Win32TempDir()); + strcat(tmpname, "\\xkb_XXXXXX"); +@@ -225,14 +318,20 @@ XkbDDXCompileKeymapByNames( XkbDescPtr + } + } + ++ if ( (tmpXkmFile = tempnam(xkm_output_dir, NULL)) == NULL ) { ++ ErrorF("[xkb] Can't generate temp xkm file name"); ++ result = FALSE; ++ goto _ret; ++ } ++ + buf = Xprintf("\"%s%sxkbcomp\" -w %d %s -xkm \"%s\" " +- "-em1 %s -emp %s -eml %s \"%s%s.xkm\"", ++ "-em1 %s -emp %s -eml %s \"%s\"", + xkbbindir, xkbbindirsep, + ( (xkbDebugFlags < 2) ? 1 : + ((xkbDebugFlags > 10) ? 10 : (int)xkbDebugFlags) ), +- xkbbasedirflag ? xkbbasedirflag : "", xkmfile, ++ xkbbasedirflag ? xkbbasedirflag : "", xkbfile, + PRE_ERROR_MSG, ERROR_PREFIX, POST_ERROR_MSG1, +- xkm_output_dir, keymap); ++ tmpXkmFile); + + free(xkbbasedirflag); + +@@ -240,7 +339,12 @@ XkbDDXCompileKeymapByNames( XkbDescPtr + LogMessage(X_ERROR, "XKB: Could not invoke xkbcomp: not enough memory\n"); + return FALSE; + } +- ++ ++ /* there's a potential race condition between calling tempnam() ++ and invoking xkbcomp to write the result file (potential temp ++ file name conflicts), but since xkbcomp is a standalone ++ program, we have to live with this */ ++ + #ifndef WIN32 + out= Popen(buf,"w"); + #else +@@ -248,31 +352,42 @@ XkbDDXCompileKeymapByNames( XkbDescPtr + #endif + + if (out!=NULL) { +-#ifdef DEBUG +- if (xkbDebugFlags) { +- ErrorF("[xkb] XkbDDXCompileKeymapByNames compiling keymap:\n"); +- XkbWriteXKBKeymapForNames(stderr,names,xkb,want,need); +- } +-#endif +- XkbWriteXKBKeymapForNames(out,names,xkb,want,need); ++ /* write XKBKeyMapBuf to xkbcomp */ ++ if (EOF==fputs(xkbKeyMapBuf, out)) ++ { ++ ErrorF("[xkb] Sending keymap to xkbcomp failed\n"); ++ result = FALSE; ++ goto _ret; ++ } + #ifndef WIN32 + if (Pclose(out)==0) + #else + if (fclose(out)==0 && System(buf) >= 0) + #endif + { ++ /* xkbcomp success */ + if (xkbDebugFlags) + DebugF("[xkb] xkb executes: %s\n",buf); +- if (nameRtrn) { +- strncpy(nameRtrn,keymap,nameRtrnLen); +- nameRtrn[nameRtrnLen-1]= '\0'; ++ /* if canonicalXkmFileName already exists now, we simply ++ overwrite it, this is OK */ ++ ret = rename(tmpXkmFile, canonicalXkmFileName); ++ if (0 != ret) { ++ ErrorF("[xkb] Can't rename %s to %s, error: %s\n", ++ tmpXkmFile, canonicalXkmFileName, ++ strerror(errno)); ++ ++ /* in case of error, don't unlink tmpXkmFile, leave it ++ for debugging */ ++ ++ result = FALSE; ++ goto _ret; + } +- if (buf != NULL) +- free(buf); +- return TRUE; ++ ++ result = TRUE; ++ goto _ret; + } + else +- LogMessage(X_ERROR, "Error compiling keymap (%s)\n", keymap); ++ LogMessage(X_ERROR, "Error compiling keymap (%s)\n", xkbfile); + #ifdef WIN32 + /* remove the temporary file */ + unlink(tmpname); +@@ -289,7 +404,17 @@ XkbDDXCompileKeymapByNames( XkbDescPtr + nameRtrn[0]= '\0'; + if (buf != NULL) + free(buf); +- return FALSE; ++ result = FALSE; ++ ++_ret: ++ if (tmpXkmFile) ++ free(tmpXkmFile); ++ if (canonicalXkmFileName) ++ xfree(canonicalXkmFileName); ++ if (buf != NULL) ++ xfree (buf); ++ ++ return result; + } + + static FILE * +@@ -373,7 +498,6 @@ unsigned missing; + DebugF("Loaded XKB keymap %s, defined=0x%x\n",fileName,(*xkbRtrn)->defined); + } + fclose(file); +- (void) unlink (fileName); + return (need|want)&(~missing); + } + diff --git a/b_sync-fix.patch b/b_sync-fix.patch new file mode 100644 index 0000000..dc3d14d --- /dev/null +++ b/b_sync-fix.patch @@ -0,0 +1,58 @@ +Index: xorg-server-1.12.1/Xext/sync.c +=================================================================== +--- xorg-server-1.12.1.orig/Xext/sync.c ++++ xorg-server-1.12.1/Xext/sync.c +@@ -2615,9 +2615,43 @@ static XSyncValue *pIdleTimeValueGreater + static void + IdleTimeQueryValue(pointer pCounter, CARD64 * pValue_return) + { +- CARD32 idle = GetTimeInMillis() - lastDeviceEventTime.milliseconds; ++ static CARD32 previousLastDeviceEventTimeMilliseconds = 0; ++ CARD32 now = GetTimeInMillis(); ++ CARD32 idle = now - lastDeviceEventTime.milliseconds; ++ CARD32 previousIdle = now - previousLastDeviceEventTimeMilliseconds; ++ SyncCounter *pIdleTimeCounter = (SyncCounter*)pCounter; + + XSyncIntsToValue(pValue_return, idle, 0); ++ if (pCounter == NULL) ++ { ++ return; ++ } ++ if (previousLastDeviceEventTimeMilliseconds == 0) ++ { ++ /* initialize static var when this function is invoked the first time. */ ++ previousLastDeviceEventTimeMilliseconds = lastDeviceEventTime.milliseconds; ++ return; ++ } ++ ++ if (previousLastDeviceEventTimeMilliseconds == lastDeviceEventTime.milliseconds) ++ { ++ /* no new user event, no need to change idle counter. */ ++ return; ++ } ++ previousLastDeviceEventTimeMilliseconds = lastDeviceEventTime.milliseconds; ++ ++ /* ++ * Some user event occured; now update idle counter with previous ++ * event time, so idle counter has the most up-to-date value with ++ * respect to previous user event (we need old and new counter ++ * value to compute if a transition occured). Recompute bracket ++ * values if this is system counter. ++ */ ++ ++ XSyncIntsToValue (&pIdleTimeCounter->value, previousIdle, 0); ++ if (IsSystemCounter(pIdleTimeCounter)) { ++ SyncComputeBracketValues(pIdleTimeCounter); ++ } + } + + static void +@@ -2700,7 +2734,7 @@ IdleTimeWakeupHandler(pointer env, int r + if (!pIdleTimeValueLess && !pIdleTimeValueGreater) + return; + +- IdleTimeQueryValue(NULL, &idle); ++ IdleTimeQueryValue(IdleTimeCounter, &idle); + + if ((pIdleTimeValueGreater && + XSyncValueGreaterOrEqual(idle, *pIdleTimeValueGreater)) || diff --git a/modesetting.ids b/modesetting.ids new file mode 100644 index 0000000..e59a66f --- /dev/null +++ b/modesetting.ids @@ -0,0 +1 @@ +# diff --git a/n_raise_default_clients.patch b/n_raise_default_clients.patch new file mode 100644 index 0000000..1b9c3c6 --- /dev/null +++ b/n_raise_default_clients.patch @@ -0,0 +1,38 @@ +Author: Dirk Mueller +Subject: Raise default client limit to 512 +Patch-Mainline: Never + +After a while of starting too many browser tabs, I ran into +xorg: Maximum number of clients reached + +which also prevented me from starting a terminal window to debug +the issue.. so raise the default a bit. Based on + +https://plug-discuss.phxlinux.narkive.com/BWkQ7Xez/xorg-maximum-number-of-clients-reached +it appears other distros are also doing that. + +--- xorg-server-21.1.3.orig/include/misc.h ++++ xorg-server-21.1.3/include/misc.h +@@ -88,7 +88,7 @@ OF THIS SOFTWARE. + #define MAXGPUSCREENS 16 + #endif + #define MAXCLIENTS 2048 +-#define LIMITCLIENTS 256 /* Must be a power of 2 and <= MAXCLIENTS */ ++#define LIMITCLIENTS 512 /* Must be a power of 2 and <= MAXCLIENTS */ + #define MAXEXTENSIONS 128 + #define MAXFORMATS 8 + #ifndef MAXDEVICES +--- xorg-server-21.1.3.orig/man/Xserver.man ++++ xorg-server-21.1.3/man/Xserver.man +@@ -317,9 +317,9 @@ A value of zero makes the stack size as + of \-1 leaves the stack space limit unchanged. + .TP 8 + .B \-maxclients +-.BR 64 | 128 | 256 | 512 ++.BR 64 | 128 | 256 | 512 | 1024 | 2048 + Set the maximum number of clients allowed to connect to the X server. +-Acceptable values are 64, 128, 256 or 512. ++Acceptable values are 64, 128, 256, 512, 1024 or 2048. + .TP 8 + .B \-render + .BR default | mono | gray | color diff --git a/n_xorg-wrapper-anybody.patch b/n_xorg-wrapper-anybody.patch new file mode 100644 index 0000000..552762e --- /dev/null +++ b/n_xorg-wrapper-anybody.patch @@ -0,0 +1,11 @@ +--- xserver-1.20.9/hw/xfree86/xorg-wrapper.c.old 2020-09-30 12:25:12.757532000 +0200 ++++ xserver-1.20.9/hw/xfree86/xorg-wrapper.c 2020-09-30 12:27:12.809554000 +0200 +@@ -254,7 +254,7 @@ int main(int argc, char *argv[]) + int i, r, fd; + int kms_cards = 0; + int total_cards = 0; +- int allowed = CONSOLE_ONLY; ++ int allowed = ANYBODY; + int needs_root_rights = -1; + char *const empty_envp[1] = { NULL, }; + diff --git a/n_xorg-wrapper-rename-Xorg.patch b/n_xorg-wrapper-rename-Xorg.patch new file mode 100644 index 0000000..4563665 --- /dev/null +++ b/n_xorg-wrapper-rename-Xorg.patch @@ -0,0 +1,20 @@ +--- xserver-1.20.9/hw/xfree86/xorg-wrapper.c.old 2020-09-24 03:16:27.270885000 +0200 ++++ xserver-1.20.9/hw/xfree86/xorg-wrapper.c 2020-09-24 03:18:42.047597000 +0200 +@@ -375,7 +375,7 @@ int main(int argc, char *argv[]) + } + } + +- snprintf(buf, sizeof(buf), "%s/Xorg", SUID_WRAPPER_DIR); ++ snprintf(buf, sizeof(buf), "%s/Xorg.bin", SUID_WRAPPER_DIR); + + /* Check if the server is executable by our real uid */ + if (access(buf, X_OK) != 0) { +--- xserver-1.20.9/hw/xfree86/Xorg.sh.in.orig 2020-09-24 03:36:20.690412000 +0200 ++++ xserver-1.20.9/hw/xfree86/Xorg.sh.in 2020-09-24 03:36:37.594497000 +0200 +@@ -7,5 +7,5 @@ + if [ -x "$basedir"/Xorg.wrap ]; then + exec "$basedir"/Xorg.wrap "$@" + else +- exec "$basedir"/Xorg "$@" ++ exec "$basedir"/Xorg.bin "$@" + fi diff --git a/n_xserver-optimus-autoconfig-hack.patch b/n_xserver-optimus-autoconfig-hack.patch new file mode 100644 index 0000000..2ec00f3 --- /dev/null +++ b/n_xserver-optimus-autoconfig-hack.patch @@ -0,0 +1,345 @@ +From 3216e0c618cc330f053ed36a749c8d8cfeb87a2f Mon Sep 17 00:00:00 2001 +From: Dave Airlie +Date: Fri, 17 Aug 2012 09:49:24 +1000 +Subject: [PATCH] autobind GPUs to the screen, (v5) + +this is racy and really not what we want for hotplug going forward, +but until DE support is in GNOME its probably for the best. + +v2: fix if config or slave config is NULL +v3: fix multi useful slaves + +v4: do not unbound GPUs before attaching them + compatibility fix for 5c7af02b10 + -- Michal Srb + +v5: Do not use xf86CrtcConfig, it is not filled by nvidia proprietary driver, + only use randr structures. + Auto configure outputs of additional GPUs on start, just like the outputs + of the main GPU are configured. + -- Michal Srb + +DO NOT UPSTREAM. + +Signed-off-by: Dave Airlie +--- + hw/xfree86/common/xf86Init.c | 12 ++++++++++++ + hw/xfree86/common/xf86platformBus.c | 3 +++ + hw/xfree86/modes/xf86Crtc.c | 32 ++++++++++++++++++++++++++++++++ + 3 files changed, 47 insertions(+) + +Index: xorg-server-1.20.5/dix/main.c +=================================================================== +--- xorg-server-1.20.5.orig/dix/main.c ++++ xorg-server-1.20.5/dix/main.c +@@ -122,6 +122,8 @@ extern void Dispatch(void); + + CallbackListPtr RootWindowFinalizeCallback = NULL; + ++CallbackListPtr RootWindowInitialized = NULL; ++ + int + dix_main(int argc, char *argv[], char *envp[]) + { +@@ -246,6 +248,8 @@ dix_main(int argc, char *argv[], char *e + for (i = 0; i < screenInfo.numScreens; i++) + InitRootWindow(screenInfo.screens[i]->root); + ++ CallCallbacks(&RootWindowInitialized, NULL); ++ + InitCoreDevices(); + InitInput(argc, argv); + InitAndStartDevices(); +Index: xorg-server-1.20.5/hw/xfree86/common/xf86Init.c +=================================================================== +--- xorg-server-1.20.5.orig/hw/xfree86/common/xf86Init.c ++++ xorg-server-1.20.5/hw/xfree86/common/xf86Init.c +@@ -76,6 +76,7 @@ + #include "xf86DDC.h" + #include "xf86Xinput.h" + #include "xf86InPriv.h" ++#include "xf86Crtc.h" + #include "picturestr.h" + #include "randrstr.h" + #include "glxvndabi.h" +@@ -294,6 +295,237 @@ AddVTAtoms(CallbackListPtr *pcbl, void * + "Failed to register VT properties\n"); + } + ++/* ++ * This function activates all outputs of all GPU screens associated with the ++ * given master screen and sets them to their preferred resolution next to ++ * each other left-to-right. ++ */ ++static void ++xf86AutoConfigureProviderOutputsForMaster(ScreenPtr pMasterScreen) ++{ ++ ScreenPtr pScreen; ++ rrScrPrivPtr pMasterScrPriv, pScrPriv; ++ RROutputPtr pOutput; ++ RRCrtcPtr pCrtc; ++ RRCrtcPtr *pUsedCrtcs; ++ int usedCrtcsCount; ++ int screenWidth, screenHeight, screenWidthMM, screenHeightMM; ++ int i, j, k, l; ++ ++ struct OutputConfig { ++ RROutputPtr pOutput; ++ RRCrtcPtr pCrtc; ++ ++ int x; ++ int y; ++ } *outputConfigs; ++ int outputConfigsCount = 0, outputConfigsUsed = 0; ++ ++ if (!dixPrivateKeyRegistered(rrPrivKey)) ++ return; ++ ++ pMasterScrPriv = rrGetScrPriv(pMasterScreen); ++ if (!pMasterScrPriv) ++ return; ++ ++ // Count the potential maximum of outputs that we will try to auto configure ++ for (i = 0; i < xf86NumGPUScreens; i++) { ++ pScreen = xf86GPUScreens[i]->pScreen; ++ if (pScreen->current_master != pMasterScreen || !pScreen->is_output_slave) ++ continue; ++ ++ pScrPriv = rrGetScrPriv(pScreen); ++ if (!pScrPriv) ++ continue; ++ ++ outputConfigsCount += pScrPriv->numOutputs; ++ } ++ ++ if (outputConfigsCount == 0) ++ return; ++ ++ outputConfigs = calloc(outputConfigsCount, sizeof(*outputConfigs)); ++ ++ screenWidth = 0; ++ screenHeight = 0; ++ ++ // Consider the master's own outputs/crtcs that were already configured ++ for (i = 0; i < pMasterScrPriv->numCrtcs; i++) { ++ if (!pMasterScrPriv->crtcs[i]->mode) ++ continue; ++ ++ screenWidth = max(screenWidth, pMasterScrPriv->crtcs[i]->x + pMasterScrPriv->crtcs[i]->mode->mode.width); ++ screenHeight = max(screenHeight, pMasterScrPriv->crtcs[i]->y + pMasterScrPriv->crtcs[i]->mode->mode.height); ++ } ++ ++ // Now add as many outputs from slave GPUs as we can next to it ++ for (i = 0; i < xf86NumGPUScreens; i++) { ++ pScreen = xf86GPUScreens[i]->pScreen; ++ if (pScreen->current_master != pMasterScreen || !pScreen->is_output_slave) ++ continue; ++ ++ pScrPriv = rrGetScrPriv(pScreen); ++ if (!pScrPriv) ++ continue; ++ ++ pUsedCrtcs = calloc(pScrPriv->numCrtcs, sizeof(*pUsedCrtcs)); ++ if (!pUsedCrtcs) ++ continue; ++ ++ usedCrtcsCount = 0; ++ ++ for (j = 0; j < pScrPriv->numOutputs; j++) { ++ pOutput = pScrPriv->outputs[j]; ++ ++ if (pOutput->connection != RR_Connected || ++ pOutput->nonDesktop || ++ pOutput->numModes == 0 || ++ pOutput->numCrtcs == 0) ++ continue; ++ ++ if (screenWidth + pOutput->modes[0]->mode.width > pMasterScrPriv->maxWidth || ++ screenHeight + pOutput->modes[0]->mode.height > pMasterScrPriv->maxHeight) ++ { ++ // It can't fit into the maximal size, skip ++ continue; ++ } ++ ++ for (k = 0; k < pOutput->numCrtcs; k++) { ++ pCrtc = pOutput->crtcs[k]; ++ for (l = 0; l < usedCrtcsCount; l++) { ++ if (pCrtc == pUsedCrtcs[l]) { ++ pCrtc = NULL; ++ break; ++ } ++ } ++ if (pCrtc) { ++ break; ++ } ++ } ++ ++ if (!pCrtc) { ++ // No more free CRTCs to setup this output, skip ++ continue; ++ } ++ ++ pUsedCrtcs[usedCrtcsCount] = pCrtc; ++ usedCrtcsCount++; ++ ++ assert(outputConfigsUsed < outputConfigsCount); ++ outputConfigs[outputConfigsUsed].pOutput = pOutput; ++ outputConfigs[outputConfigsUsed].pCrtc = pCrtc; ++ outputConfigs[outputConfigsUsed].x = screenWidth; ++ outputConfigs[outputConfigsUsed].y = 0; ++ outputConfigsUsed++; ++ ++ screenWidth += pOutput->modes[0]->mode.width; ++ screenHeight += pOutput->modes[0]->mode.height; ++ } ++ ++ free(pUsedCrtcs); ++ } ++ ++ if (outputConfigsUsed == 0) ++ goto out; ++ ++ if (screenWidth < pMasterScrPriv->minWidth) ++ screenWidth = pMasterScrPriv->minWidth; ++ if (screenHeight < pMasterScrPriv->minHeight) ++ screenHeight = pMasterScrPriv->minHeight; ++ ++ if (pMasterScrPriv->mmWidth > 0 && ++ pMasterScrPriv->mmHeight > 0 && ++ pMasterScrPriv->width > 0 && ++ pMasterScrPriv->height > 0) ++ { ++ // If the master screen already has some DPI, keep it ++ screenWidthMM = pMasterScrPriv->mmWidth * screenWidth / pMasterScreen->width; ++ screenHeightMM = pMasterScrPriv->mmHeight * screenHeight / pMasterScreen->height; ++ } else { ++ assert(outputConfigsUsed > 0); ++ // Otherwise use DPI of the first output ++ screenWidthMM = outputConfigs[0].pOutput->mmWidth * screenWidth / outputConfigs[0].pOutput->modes[0]->mode.width; ++ screenHeightMM = outputConfigs[0].pOutput->mmHeight * screenHeight / outputConfigs[0].pOutput->modes[0]->mode.height; ++ } ++ ++ if (!RRScreenSizeSet(pMasterScreen, screenWidth, screenHeight, screenWidthMM, screenHeightMM)) ++ goto out; ++ ++ for (i = 0; i < outputConfigsUsed; i++) { ++ RRCrtcSet( ++ outputConfigs[i].pCrtc, ++ outputConfigs[i].pOutput->modes[0], ++ outputConfigs[i].x, ++ outputConfigs[i].y, ++ RR_Rotate_0, ++ 1, ++ &outputConfigs[i].pOutput ++ ); ++ } ++ ++out: ++ free(outputConfigs); ++} ++ ++static void ++xf86AutoConfigProviderOutputs(CallbackListPtr *pcbl, void *data, void *call_data) ++{ ++ int i; ++ ++ for (i = 0; i < xf86NumScreens; i++) { ++ xf86AutoConfigureProviderOutputsForMaster(xf86Screens[i]->pScreen); ++ } ++} ++ ++void ++xf86AutoConfigOutputDevice(ScreenPtr slave, ScreenPtr master) ++{ ++ RRProviderPtr master_provider; ++ RRProviderPtr slave_provider; ++ rrScrPrivPtr master_rp; ++ rrScrPrivPtr slave_rp; ++ ++ if (!dixPrivateKeyRegistered(rrPrivKey)) ++ return; ++ ++ master_rp = rrGetScrPriv(master); ++ slave_rp = rrGetScrPriv(slave); ++ ++ if (!master_rp || !slave_rp) ++ return; ++ ++ master_provider = master_rp->provider; ++ slave_provider = slave_rp->provider; ++ ++ if (!master_provider || !slave_provider) ++ return; ++ ++ if ((master_provider->capabilities & RR_Capability_SinkOffload) && ++ (slave_provider->capabilities & RR_Capability_SourceOffload)) { ++ /* source offload */ ++ AttachOffloadGPU(master, slave); ++ slave_provider->offload_sink = master_provider; ++ } ++ if ((master_provider->capabilities & RR_Capability_SourceOutput) && ++ (slave_provider->capabilities & RR_Capability_SinkOutput)) { ++ /* sink offload */ ++ AttachOutputGPU(master, slave); ++ slave_provider->output_source = master_provider; ++ } ++} ++ ++static void ++xf86AutoConfigOutputDevices(void) ++{ ++ int i; ++ ++ for (i = 0; i < xf86NumGPUScreens; i++) { ++ xf86AutoConfigOutputDevice(xf86GPUScreens[i]->pScreen, xf86Screens[0]->pScreen); ++ } ++ ++ AddCallback(&RootWindowInitialized, xf86AutoConfigProviderOutputs, NULL); ++} ++ + static Bool + xf86ScreenInit(ScreenPtr pScreen, int argc, char **argv) + { +@@ -770,6 +996,8 @@ InitOutput(ScreenInfo * pScreenInfo, int + for (i = 0; i < xf86NumGPUScreens; i++) + AttachUnboundGPU(xf86Screens[0]->pScreen, xf86GPUScreens[i]->pScreen); + ++ xf86AutoConfigOutputDevices(); ++ + xf86VGAarbiterWrapFunctions(); + if (sigio_blocked) + input_unlock(); +Index: xorg-server-1.20.5/hw/xfree86/common/xf86platformBus.c +=================================================================== +--- xorg-server-1.20.5.orig/hw/xfree86/common/xf86platformBus.c ++++ xorg-server-1.20.5/hw/xfree86/common/xf86platformBus.c +@@ -594,6 +594,8 @@ xf86platformAddGPUDevices(DriverPtr drvp + return foundScreen; + } + ++extern void xf86AutoConfigOutputDevice(ScreenPtr slave, ScreenPtr master); ++ + int + xf86platformAddDevice(int index) + { +@@ -665,6 +667,7 @@ xf86platformAddDevice(int index) + } + /* attach unbound to 0 protocol screen */ + AttachUnboundGPU(xf86Screens[0]->pScreen, xf86GPUScreens[i]->pScreen); ++ xf86AutoConfigOutputDevice(xf86GPUScreens[i]->pScreen, xf86Screens[0]->pScreen); + + RRResourcesChanged(xf86Screens[0]->pScreen); + RRTellChanged(xf86Screens[0]->pScreen); +Index: xorg-server-1.20.5/include/dix.h +=================================================================== +--- xorg-server-1.20.5.orig/include/dix.h ++++ xorg-server-1.20.5/include/dix.h +@@ -599,6 +599,8 @@ typedef struct { + + extern _X_EXPORT CallbackListPtr RootWindowFinalizeCallback; + ++extern _X_EXPORT CallbackListPtr RootWindowInitialized; ++ + extern int + XItoCoreType(int xi_type); + extern Bool diff --git a/pre_checkin.sh b/pre_checkin.sh new file mode 100644 index 0000000..998fd53 --- /dev/null +++ b/pre_checkin.sh @@ -0,0 +1,60 @@ +#!/bin/sh +# pre_checking.sh +# Licensed under the same condition as the xorg-server. +# This script updates the .spec file (based on .spec.in) and inject versioned ABI Symbols from the X-Server, +# stored in a template file xorg-server-provides. The content of this file is verified during build, as the +# same script runs then again, extracting ABI versions from the source to be built. This ensures we can't +# publish a package with wrong ABI Versions being provided as part of the RPM Metadata. +# Driver-, Input and extension-packages are supposed to use the provided macros to ensure correct Requires. + +# extract ABI Versions... this function is copied from configure.ac +extract_abi() { + grep ^.define.*${1}_VERSION ${xorg_src}/hw/xfree86/common/xf86Module.h | tr '(),' ' .' | awk '{ print $4$5 }' +} + +if [ "$1" = "--tar" ]; then + tmpdir=$(mktemp -d) + tar xf "$2" -C ${tmpdir} + xorg_src=${tmpdir}/* +elif [ "$1" = "--verify" ]; then + xorg_src="$2" + prv_ext=".build" +else + echo "Wrong usage of this script" + echo "$0 can be started in two ways:" + echo "1: $0 --tar {xserver-xxxx.tar.xz}" + echo "2: $0 --verify {source-folder}" + echo "Variant 1 creates the file xorg-server-provides to be included in the src rpm" + echo "Variant 2 is being called during build to ensure the ABI provides match the expectations." + echo "" + echo "" + echo "Trying to guess the right tarball" + sh $0 --tar xorg-server-*.tar.xz + echo "... Please verify if the result makes sense" + exit 2 +fi + +abi_ansic=`extract_abi ANSIC` +abi_videodrv=`extract_abi VIDEODRV` +abi_xinput=`extract_abi XINPUT` +abi_extension=`extract_abi EXTENSION` + +cat > xorg-server-provides${prv_ext} < +Date: Fri Oct 4 16:00:49 2013 -0700 +Subject: [PATCH 1/2]Improved ConfineToShape +Patch-mainline: to be upstreamed +Git-commit: 0d0951624db7ae4686b362c7c6307f1ed46c8579 + +References: bnc#62146 +Signed-off-by: Egbert Eich + +Find the box within the region which is closest to the point and move +there. + +Signed-off-by: Keith Packard +--- + dix/events.c | 74 ++++++++++++++++++++++++++++++++++++++++-------------------- + 1 file changed, 50 insertions(+), 24 deletions(-) + +diff --git a/dix/events.c b/dix/events.c +index efaf91d..5244781 100644 +--- a/dix/events.c ++++ b/dix/events.c +@@ -666,37 +666,63 @@ SetCriticalEvent(int event) + criticalEvents[event >> 3] |= 1 << (event & 7); + } + ++static uint32_t ++ConfineToBox(int x, int y, BoxPtr box, int *px, int *py) ++{ ++ int dx, dy; ++ ++ *px = x; ++ *py = y; ++ ++ if (*px < box->x1) ++ *px = box->x1; ++ else if (*px >= box->x2) ++ *px = box->x2 - 1; ++ ++ if (*py < box->y1) ++ *py = box->y1; ++ else if (*py >= box->y2) ++ *py = box->y2 - 1; ++ ++ dx = x - *px; ++ if (dx < 0) dx = -dx; ++ if (dx > 32767) ++ dx = 32767; ++ dy = y - *py; ++ if (dy < 0) dy = -dy; ++ if (dy > 32767) ++ dy = 32767; ++ ++ return (uint32_t) dx * (uint32_t) dx + (uint32_t) dy * (uint32_t) dy; ++} ++ + void + ConfineToShape(DeviceIntPtr pDev, RegionPtr shape, int *px, int *py) + { +- BoxRec box; ++ BoxPtr box; ++ int nbox; + int x = *px, y = *py; +- int incx = 1, incy = 1; ++ int bx, by; ++ uint32_t box_dist_2; ++ int best_x = 0, best_y = 0; ++ uint32_t best_dist_2 = 0; ++ int i; + +- if (RegionContainsPoint(shape, x, y, &box)) ++ if (RegionContainsPoint(shape, x, y, NULL)) + return; +- box = *RegionExtents(shape); +- /* this is rather crude */ +- do { +- x += incx; +- if (x >= box.x2) { +- incx = -1; +- x = *px - 1; +- } +- else if (x < box.x1) { +- incx = 1; +- x = *px; +- y += incy; +- if (y >= box.y2) { +- incy = -1; +- y = *py - 1; +- } +- else if (y < box.y1) +- return; /* should never get here! */ ++ box = REGION_RECTS(shape); ++ nbox = REGION_NUM_RECTS(shape); ++ for (i = 0; i < nbox; i++) { ++ box_dist_2 = ConfineToBox(x, y, &box[i], &bx, &by); ++ if (i == 0 || box_dist_2 < best_dist_2) { ++ best_dist_2 = box_dist_2; ++ best_x = bx; ++ best_y = by; + } +- } while (!RegionContainsPoint(shape, x, y, &box)); +- *px = x; +- *py = y; ++ } ++ ++ *px = best_x; ++ *py = best_y; + } + + static void diff --git a/u_02-DIX-ConfineTo-Don-t-bother-about-the-bounding-box-when-grabbing-a-shaped-window.patch b/u_02-DIX-ConfineTo-Don-t-bother-about-the-bounding-box-when-grabbing-a-shaped-window.patch new file mode 100644 index 0000000..51e70dc --- /dev/null +++ b/u_02-DIX-ConfineTo-Don-t-bother-about-the-bounding-box-when-grabbing-a-shaped-window.patch @@ -0,0 +1,148 @@ +From: Egbert Eich +Date: Fri Feb 7 09:19:45 2014 +0100 +Subject: [PATCH 2/2]DIX/ConfineTo: Don't bother about the bounding box when grabbing a shaped window +Patch-mainline: to be upstreamed +Git-commit: 3f7cc03e47a35d05ffb3f7a6de521c41638b4c7a + +References: bnc#62146 +Signed-off-by: Egbert Eich + +Limiting the the cursor coordinates on the bounding box of a shaped +window before applying ConfineTo leads to strange cursor placement +when the pointer is located outside the vertial and horizontal +strip of this bounding box. +Ignoring the bounding box when a shape is set leads to the correct +behavior. + +Signed-off-by: Egbert Eich +Reviewed-by: Keith Packard +--- + dix/events.c | 78 +++++++++++++++++++++++++++++++++--------------------------- + 1 file changed, 43 insertions(+), 35 deletions(-) + +diff --git a/dix/events.c b/dix/events.c +index 5244781..8aa4af7 100644 +--- a/dix/events.c ++++ b/dix/events.c +@@ -753,17 +753,19 @@ CheckPhysLimits(DeviceIntPtr pDev, CursorPtr cursor, Bool generateEvents, + (*pScreen->ConstrainCursor) (pDev, pScreen, &pSprite->physLimits); + } + +- /* constrain the pointer to those limits */ +- if (new.x < pSprite->physLimits.x1) +- new.x = pSprite->physLimits.x1; +- else if (new.x >= pSprite->physLimits.x2) +- new.x = pSprite->physLimits.x2 - 1; +- if (new.y < pSprite->physLimits.y1) +- new.y = pSprite->physLimits.y1; +- else if (new.y >= pSprite->physLimits.y2) +- new.y = pSprite->physLimits.y2 - 1; + if (pSprite->hotShape) + ConfineToShape(pDev, pSprite->hotShape, &new.x, &new.y); ++ else { ++ /* constrain the pointer to those limits */ ++ if (new.x < pSprite->physLimits.x1) ++ new.x = pSprite->physLimits.x1; ++ else if (new.x >= pSprite->physLimits.x2) ++ new.x = pSprite->physLimits.x2 - 1; ++ if (new.y < pSprite->physLimits.y1) ++ new.y = pSprite->physLimits.y1; ++ else if (new.y >= pSprite->physLimits.y2) ++ new.y = pSprite->physLimits.y2 - 1; ++ } + if (( + #ifdef PANORAMIX + noPanoramiXExtension && +@@ -914,7 +916,8 @@ ConfineCursorToWindow(DeviceIntPtr pDev, WindowPtr pWin, Bool generateEvents, + return; + } + #endif +- pSprite->hotLimits = *RegionExtents(&pWin->borderSize); ++// if (!wBoundingShape(pWin)) ++ pSprite->hotLimits = *RegionExtents(&pWin->borderSize); + pSprite->hotShape = wBoundingShape(pWin) ? &pWin->borderSize + : NullRegion; + CheckPhysLimits(pDev, pSprite->current, generateEvents, +@@ -3039,17 +3042,19 @@ CheckMotion(DeviceEvent *ev, DeviceIntPtr pDev) + + pSprite->hot.x = ev->root_x; + pSprite->hot.y = ev->root_y; +- if (pSprite->hot.x < pSprite->physLimits.x1) +- pSprite->hot.x = pSprite->physLimits.x1; +- else if (pSprite->hot.x >= pSprite->physLimits.x2) +- pSprite->hot.x = pSprite->physLimits.x2 - 1; +- if (pSprite->hot.y < pSprite->physLimits.y1) +- pSprite->hot.y = pSprite->physLimits.y1; +- else if (pSprite->hot.y >= pSprite->physLimits.y2) +- pSprite->hot.y = pSprite->physLimits.y2 - 1; + if (pSprite->hotShape) + ConfineToShape(pDev, pSprite->hotShape, &pSprite->hot.x, + &pSprite->hot.y); ++ else { ++ if (pSprite->hot.x < pSprite->physLimits.x1) ++ pSprite->hot.x = pSprite->physLimits.x1; ++ else if (pSprite->hot.x >= pSprite->physLimits.x2) ++ pSprite->hot.x = pSprite->physLimits.x2 - 1; ++ if (pSprite->hot.y < pSprite->physLimits.y1) ++ pSprite->hot.y = pSprite->physLimits.y1; ++ else if (pSprite->hot.y >= pSprite->physLimits.y2) ++ pSprite->hot.y = pSprite->physLimits.y2 - 1; ++ } + pSprite->hotPhys = pSprite->hot; + + if ((pSprite->hotPhys.x != ev->root_x) || +@@ -3516,17 +3521,18 @@ XineramaWarpPointer(ClientPtr client) + x += stuff->dstX; + y += stuff->dstY; + +- if (x < pSprite->physLimits.x1) +- x = pSprite->physLimits.x1; +- else if (x >= pSprite->physLimits.x2) +- x = pSprite->physLimits.x2 - 1; +- if (y < pSprite->physLimits.y1) +- y = pSprite->physLimits.y1; +- else if (y >= pSprite->physLimits.y2) +- y = pSprite->physLimits.y2 - 1; + if (pSprite->hotShape) + ConfineToShape(PickPointer(client), pSprite->hotShape, &x, &y); +- ++ else { ++ if (x < pSprite->physLimits.x1) ++ x = pSprite->physLimits.x1; ++ else if (x >= pSprite->physLimits.x2) ++ x = pSprite->physLimits.x2 - 1; ++ if (y < pSprite->physLimits.y1) ++ y = pSprite->physLimits.y1; ++ else if (y >= pSprite->physLimits.y2) ++ y = pSprite->physLimits.y2 - 1; ++ } + XineramaSetCursorPosition(PickPointer(client), x, y, TRUE); + + return Success; +@@ -3619,16 +3625,18 @@ ProcWarpPointer(ClientPtr client) + y = newScreen->height - 1; + + if (newScreen == pSprite->hotPhys.pScreen) { +- if (x < pSprite->physLimits.x1) +- x = pSprite->physLimits.x1; +- else if (x >= pSprite->physLimits.x2) +- x = pSprite->physLimits.x2 - 1; +- if (y < pSprite->physLimits.y1) +- y = pSprite->physLimits.y1; +- else if (y >= pSprite->physLimits.y2) +- y = pSprite->physLimits.y2 - 1; + if (pSprite->hotShape) + ConfineToShape(dev, pSprite->hotShape, &x, &y); ++ else { ++ if (x < pSprite->physLimits.x1) ++ x = pSprite->physLimits.x1; ++ else if (x >= pSprite->physLimits.x2) ++ x = pSprite->physLimits.x2 - 1; ++ if (y < pSprite->physLimits.y1) ++ y = pSprite->physLimits.y1; ++ else if (y >= pSprite->physLimits.y2) ++ y = pSprite->physLimits.y2 - 1; ++ } + (*newScreen->SetCursorPosition) (dev, newScreen, x, y, TRUE); + } + else if (!PointerConfinedToScreen(dev)) { diff --git a/u_Panning-Set-panning-state-in-xf86RandR12ScreenSetSize.patch b/u_Panning-Set-panning-state-in-xf86RandR12ScreenSetSize.patch new file mode 100644 index 0000000..1d13f33 --- /dev/null +++ b/u_Panning-Set-panning-state-in-xf86RandR12ScreenSetSize.patch @@ -0,0 +1,46 @@ +From: Egbert Eich +Date: Fri Jan 15 16:52:18 2016 +0100 +Subject: [PATCH]Panning: Set panning state in xf86RandR12ScreenSetSize() +Patch-mainline: to be upstreamed + +References: boo#771521 +Signed-off-by: Egbert Eich + +Right after verifying the panning area the per-crtc panning state should +be set. +This fixes panning when set in the configuration. + +Bugzilla: https://bugzilla.suse.com/show_bug.cgi?id=771521 +Signed-off-by: Egbert Eich +--- + hw/xfree86/modes/xf86RandR12.c | 3 +++ + 1 file changed, 3 insertions(+) + +Index: xorg-server-1.20.5/hw/xfree86/modes/xf86RandR12.c +=================================================================== +--- xorg-server-1.20.5.orig/hw/xfree86/modes/xf86RandR12.c ++++ xorg-server-1.20.5/hw/xfree86/modes/xf86RandR12.c +@@ -685,6 +685,7 @@ xf86RandR12ScreenSetSize(ScreenPtr pScre + WindowPtr pRoot = pScreen->root; + PixmapPtr pScrnPix; + Bool ret = FALSE; ++ Bool panning = FALSE; + int c; + + if (randrp->virtualX == -1 || randrp->virtualY == -1) { +@@ -713,6 +714,7 @@ xf86RandR12ScreenSetSize(ScreenPtr pScre + if (crtc->panningTrackingArea.y2 > crtc->panningTrackingArea.y1) + crtc->panningTrackingArea.y2 += height - pScreen->height; + xf86RandR13VerifyPanningArea(crtc, width, height); ++ panning = panning ? TRUE : PANNING_ENABLED (crtc); + xf86RandR13Pan(crtc, randrp->pointerX, randrp->pointerY); + } + } +@@ -722,6 +724,7 @@ xf86RandR12ScreenSetSize(ScreenPtr pScre + pScreen->height = pScrnPix->drawable.height = height; + randrp->mmWidth = pScreen->mmWidth = mmWidth; + randrp->mmHeight = pScreen->mmHeight = mmHeight; ++ randrp->panning = panning; + + xf86SetViewport(pScreen, pScreen->width - 1, pScreen->height - 1); + xf86SetViewport(pScreen, 0, 0); diff --git a/u_Use-better-fallbacks-to-generate-cookies-if-arc4rand.patch b/u_Use-better-fallbacks-to-generate-cookies-if-arc4rand.patch new file mode 100644 index 0000000..46326ca --- /dev/null +++ b/u_Use-better-fallbacks-to-generate-cookies-if-arc4rand.patch @@ -0,0 +1,224 @@ +From 44a643812ce3c07cd38972abfa9dbd163529c192 Mon Sep 17 00:00:00 2001 +From: Matthias Gerstner +Date: Thu, 13 Jul 2017 14:58:04 +0200 +Subject: [PATCH] Use better fallbacks to generate cookies if arc4random_buf(3) + is unavailable +References: bsc#1025084 + +If arc4random_buf() is not available for generating cookies: + +- use getentropy(), if available (which was only recently added to + glibc) +- use getrandom() via syscall(), if available (there was no glibc + wrapper for this syscall for a long time) +- if all else fails, directly read from /dev/urandom as before, but + employ O_CLOEXEC, do an OsAbort() in case the random data couldn't be + read to avoid unsecure situations. Don't know if that's too hard a + measure but it shouldn't actually occur except on maximum number of + FDs reached + +Reviewed-by: Stefan Dirsch +--- + configure.ac | 4 +- + include/dix-config.h.in | 6 +++ + os/auth.c | 138 ++++++++++++++++++++++++++++++++++++++++++++++-- + 3 files changed, 141 insertions(+), 7 deletions(-) + +Index: xorg-server-21.1.9/configure.ac +=================================================================== +--- xorg-server-21.1.9.orig/configure.ac ++++ xorg-server-21.1.9/configure.ac +@@ -132,7 +132,7 @@ AM_CONDITIONAL(SPECIAL_DTRACE_OBJECTS, [ + AC_HEADER_DIRENT + AC_HEADER_STDC + AC_CHECK_HEADERS([fcntl.h stdlib.h string.h unistd.h dlfcn.h stropts.h \ +- fnmatch.h sys/mkdev.h sys/sysmacros.h sys/utsname.h]) ++ fnmatch.h sys/mkdev.h sys/sysmacros.h sys/utsname.h sys/syscall.h]) + + dnl Checks for typedefs, structures, and compiler characteristics. + AC_C_CONST +Index: xorg-server-21.1.9/include/dix-config.h.in +=================================================================== +--- xorg-server-21.1.9.orig/include/dix-config.h.in ++++ xorg-server-21.1.9/include/dix-config.h.in +@@ -149,6 +149,9 @@ + /* Define to 1 if you have the `arc4random_buf' function. */ + #undef HAVE_ARC4RANDOM_BUF + ++/* Define to 1 if you have the `getentropy' function. */ ++#undef HAVE_GETENTROPY ++ + /* Define to use libc SHA1 functions */ + #undef HAVE_SHA1_IN_LIBC + +@@ -226,6 +229,9 @@ + /* Define to 1 if you have the header file. */ + #undef HAVE_SYS_UTSNAME_H + ++/* Define to 1 if you have the header file. */ ++#undef HAVE_SYS_SYSCALL_H ++ + /* Define to 1 if you have the `timingsafe_memcmp' function. */ + #undef HAVE_TIMINGSAFE_MEMCMP + +Index: xorg-server-21.1.9/os/auth.c +=================================================================== +--- xorg-server-21.1.9.orig/os/auth.c ++++ xorg-server-21.1.9/os/auth.c +@@ -34,6 +34,10 @@ from The Open Group. + #ifdef HAVE_DIX_CONFIG_H + #include + #endif ++#include ++#ifdef HAVE_SYS_SYSCALL_H ++#include ++#endif + + #include + #include +@@ -308,16 +312,140 @@ GenerateAuthorization(unsigned name_leng + + #endif /* XCSECURITY */ + ++#if ! defined(HAVE_ARC4RANDOM_BUF) ++ ++// fallback function to get random data directly from /dev/urandom ++ ++static int ++GetUrandom ( char *buffer, size_t length ) ++{ ++ int random_fd = -1; ++ int res = -1; ++ size_t filled = 0; ++ ++ // larger requests are typically rejected by getentropy() / getrandom() ++ // because they could block or return partially filled buffers ++ if( length > 256 ) { ++ errno = EIO; ++ return -1; ++ } ++ ++ random_fd = open("/dev/urandom", O_RDONLY | O_CLOEXEC); ++ ++ if( random_fd == -1 ) { ++ return -1; ++ } ++ ++ while( filled < length ) { ++ res = read(random_fd, (char*)buffer + filled, length - filled); ++ ++ if( res == -1 ) { ++ // shouldn't actually happen acc. to man(4) random, ++ // but you never know ++ if( errno == EINTR ) { ++ continue; ++ } ++ ++ res = errno; ++ close(random_fd); ++ errno = res; ++ return -1; ++ } ++ else if( res == 0 ) { ++ close(random_fd); ++ // no more bytes available? should not happen ++ errno = EIO; ++ return -1; ++ } ++ ++ filled += res; ++ } ++ ++ close(random_fd); ++ ++ return 0; ++} ++ ++#endif // ! defined(HAVE_ARC4RANDOM_BUF) ++ ++#if !defined(HAVE_GETENTROPY) && defined(HAVE_SYS_SYSCALL_H) && defined(SYS_getrandom) ++# define TRY_GETRANDOM ++#endif ++ ++#ifdef TRY_GETRANDOM ++ ++/* ++ * wrapper for the getrandom() syscall which was for a long time implemented ++ * in the Linux kernel, but not wrapped in glibc ++ */ ++static int ++GetRandom ( char *buffer, size_t length ) ++{ ++ int res; ++ size_t filled = 0; ++ ++ // larger requests are typically rejected by getentropy() / getrandom() ++ // because they could block or return partially filled buffers ++ if( length > 256 ) ++ { ++ errno = EIO; ++ return -1; ++ } ++ ++ while( filled < length ) ++ { ++ /* ++ * glibc does not contain a syscall wrapper for this in older ++ * versions ++ */ ++ res = syscall(SYS_getrandom, (char*)buffer + filled, length - filled, 0); ++ ++ if( res == -1 ) ++ { ++ if( errno == EINTR ) { ++ continue; ++ } ++ ++ return -1; ++ } ++ else if( res == 0 ) ++ { ++ // no more bytes available? should not happen ++ errno = EIO; ++ return -1; ++ } ++ ++ filled += res; ++ } ++ ++ return 0; ++} ++ ++#endif /* TRY_GETRANDOM */ ++ + void + GenerateRandomData(int len, char *buf) + { + #ifdef HAVE_ARC4RANDOM_BUF + arc4random_buf(buf, len); + #else +- int fd; ++ int ret = -1; ++# ifdef HAVE_GETENTROPY ++ /* use getentropy instead */ ++ ret = getentropy (buf, len); ++# elif defined(TRY_GETRANDOM) ++ /* try getrandom() wrapper */ ++ ret = GetRandom(buf, len); ++# endif ++ ++ if( ret == -1 ) { ++ // fallback to manual reading of /dev/urandom ++ ret = GetUrandom(buf, len); ++ } + +- fd = open("/dev/urandom", O_RDONLY); +- read(fd, buf, len); +- close(fd); +-#endif ++ if( ret == -1 ) { ++ // no error return possible, rather abort than have security problems ++ OsAbort(); ++ } ++#endif // HAVE_ARC4RANDOM_BUF + } diff --git a/u_fbdevhw_kernel6.9_break_fbdev_open.patch b/u_fbdevhw_kernel6.9_break_fbdev_open.patch new file mode 100644 index 0000000..a12611d --- /dev/null +++ b/u_fbdevhw_kernel6.9_break_fbdev_open.patch @@ -0,0 +1,45 @@ +Linux kernel v6.9 has changed the symlink to point to the parent device. +This breaks fbdev_open() detection logic. Change it to use the subsystem +symlink instead which will remain stable. + +Kernel v6.8: + +[ 14.067] (II) fbdev_open() sysfs_path=/sys/class/graphics/fb0 +[ 14.067] (II) fbdev_open() buf=../../devices/platform/vesa-framebuffer.0/graphics/fb0 + +Kernel v6.9: + +[ 15.609] (II) fbdev_open() sysfs_path=/sys/class/graphics/fb0 +[ 15.609] (II) fbdev_open() buf=../../devices/pci0000:00/0000:00:01.0/vesa-framebuffer.0/graphics/fb0 + +Originally found in automated Debian ISO QA testing [0] and confirmed in Linux [1]. + +Tested on kernels v6.9.7 and v6.8.12 + +[0] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=3D1075713 +[1] https://lore.kernel.org/lkml/lLyvPFC_APGHNfyGNHRpQy5izBikkaTPOpHooZIT3f= +FAoJPquSI31ZMueA99XTdr8ysir3X7O7IMdc6za-0m79vr_claeparHhoRouVgHOI=3D@proton= +.me/ + +Fixes: https://gitlab.freedesktop.org/xorg/xserver/-/issues/1714 +Signed-off-by: Tj +--- + hw/xfree86/fbdevhw/fbdevhw.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +Index: xorg-server-21.1.12/hw/xfree86/fbdevhw/fbdevhw.c +=================================================================== +--- xorg-server-21.1.12.orig/hw/xfree86/fbdevhw/fbdevhw.c ++++ xorg-server-21.1.12/hw/xfree86/fbdevhw/fbdevhw.c +@@ -335,9 +335,9 @@ fbdev_open(int scrnIndex, const char *de + char *sysfs_path = NULL; + char *node = strrchr(dev, '/') + 1; + +- if (asprintf(&sysfs_path, "/sys/class/graphics/%s", node) < 0 || ++ if (asprintf(&sysfs_path, "/sys/class/graphics/%s/device/subsystem", node) < 0 || + readlink(sysfs_path, buf, sizeof(buf) - 1) < 0 || +- strstr(buf, "devices/pci")) { ++ strstr(buf, "bus/pci")) { + free(sysfs_path); + close(fd); + return -1; diff --git a/u_miCloseScreen_check_for_null_pScreen_dev_private.patch b/u_miCloseScreen_check_for_null_pScreen_dev_private.patch new file mode 100644 index 0000000..6de5061 --- /dev/null +++ b/u_miCloseScreen_check_for_null_pScreen_dev_private.patch @@ -0,0 +1,17 @@ + mi/miscrinit.c | 4 +++- + 1 file changed, 3 insertions(+), 1 deletion(-) +Index: xorg-server-21.1.4/mi/miscrinit.c +=================================================================== +--- xorg-server-21.1.4.orig/mi/miscrinit.c ++++ xorg-server-21.1.4/mi/miscrinit.c +@@ -121,7 +121,9 @@ miModifyPixmapHeader(PixmapPtr pPixmap, + static Bool + miCloseScreen(ScreenPtr pScreen) + { +- return ((*pScreen->DestroyPixmap) ((PixmapPtr) pScreen->devPrivate)); ++ if (pScreen->devPrivate) ++ return ((*pScreen->DestroyPixmap) ((PixmapPtr) pScreen->devPrivate)); ++ return TRUE; + } + + static Bool diff --git a/u_modesetting-Fix-dirty-updates-for-sw-rotation.patch b/u_modesetting-Fix-dirty-updates-for-sw-rotation.patch new file mode 100644 index 0000000..b5363cf --- /dev/null +++ b/u_modesetting-Fix-dirty-updates-for-sw-rotation.patch @@ -0,0 +1,164 @@ +From 7d2802f13eecb38babeeb54ceae978a409b5c5d4 Mon Sep 17 00:00:00 2001 +From: Patrik Jakobsson +Date: Wed, 9 Jun 2021 20:58:59 +0200 +Subject: [PATCH] modesetting: Fix dirty updates for sw rotation +Patch-Mainline: To be upstreamed +References: bsc#1182955 + +Rotation is broken for all drm drivers not providing hardware rotation +support. Drivers that give direct access to vram and not needing dirty +updates still work but only by accident. The problem is caused by +modesetting not sending the correct fb_id to drmModeDirtyFB() and +passing the damage rects in the rotated state and not as the crtc +expects them. This patch takes care of both problems. + +Signed-off-by: Patrik Jakobsson +--- + hw/xfree86/drivers/modesetting/driver.c | 81 ++++++++++++++----- + .../drivers/modesetting/drmmode_display.c | 2 +- + .../drivers/modesetting/drmmode_display.h | 2 + + 3 files changed, 63 insertions(+), 22 deletions(-) + +Index: xorg-server-21.1.0/hw/xfree86/drivers/modesetting/driver.c +=================================================================== +--- xorg-server-21.1.0.orig/hw/xfree86/drivers/modesetting/driver.c ++++ xorg-server-21.1.0/hw/xfree86/drivers/modesetting/driver.c +@@ -515,9 +515,41 @@ GetRec(ScrnInfoPtr pScrn) + return TRUE; + } + ++static void ++rotate_clip(PixmapPtr pixmap, BoxPtr rect, drmModeClip *clip, Rotation rotation) ++{ ++ int w = pixmap->drawable.width; ++ int h = pixmap->drawable.height; ++ ++ if (rotation == RR_Rotate_90) { ++ /* Rotate 90 degrees counter clockwise */ ++ clip->x1 = rect->y1; ++ clip->x2 = rect->y2; ++ clip->y1 = w - rect->x2; ++ clip->y2 = w - rect->x1; ++ } else if (rotation == RR_Rotate_180) { ++ /* Rotate 180 degrees */ ++ clip->x1 = w - rect->x2; ++ clip->x2 = w - rect->x1; ++ clip->y1 = h - rect->y2; ++ clip->y2 = h - rect->y1; ++ } else if (rotation == RR_Rotate_270) { ++ /* Rotate 90 degrees clockwise */ ++ clip->x1 = h - rect->y2; ++ clip->x2 = h - rect->y1; ++ clip->y1 = rect->x1; ++ clip->y2 = rect->x2; ++ } else { ++ clip->x1 = rect->x1; ++ clip->x2 = rect->x2; ++ clip->y1 = rect->y1; ++ clip->y2 = rect->y2; ++ } ++} ++ + static int +-dispatch_dirty_region(ScrnInfoPtr scrn, +- PixmapPtr pixmap, DamagePtr damage, int fb_id) ++dispatch_dirty_region(ScrnInfoPtr scrn, xf86CrtcPtr crtc, ++ PixmapPtr pixmap, DamagePtr damage, int fb_id) + { + modesettingPtr ms = modesettingPTR(scrn); + RegionPtr dirty = DamageRegion(damage); +@@ -532,13 +564,9 @@ dispatch_dirty_region(ScrnInfoPtr scrn, + if (!clip) + return -ENOMEM; + +- /* XXX no need for copy? */ +- for (i = 0; i < num_cliprects; i++, rect++) { +- clip[i].x1 = rect->x1; +- clip[i].y1 = rect->y1; +- clip[i].x2 = rect->x2; +- clip[i].y2 = rect->y2; +- } ++ /* Rotate and copy rects into clips */ ++ for (i = 0; i < num_cliprects; i++, rect++) ++ rotate_clip(pixmap, rect, &clip[i], crtc->rotation); + + /* TODO query connector property to see if this is needed */ + ret = drmModeDirtyFB(ms->fd, fb_id, clip, num_cliprects); +@@ -561,20 +589,31 @@ static void + dispatch_dirty(ScreenPtr pScreen) + { + ScrnInfoPtr scrn = xf86ScreenToScrn(pScreen); ++ xf86CrtcConfigPtr xf86_config = XF86_CRTC_CONFIG_PTR(scrn); + modesettingPtr ms = modesettingPTR(scrn); + PixmapPtr pixmap = pScreen->GetScreenPixmap(pScreen); +- int fb_id = ms->drmmode.fb_id; +- int ret; ++ uint32_t fb_id; ++ int ret, c, x, y ; + +- ret = dispatch_dirty_region(scrn, pixmap, ms->damage, fb_id); +- if (ret == -EINVAL || ret == -ENOSYS) { +- ms->dirty_enabled = FALSE; +- DamageUnregister(ms->damage); +- DamageDestroy(ms->damage); +- ms->damage = NULL; +- xf86DrvMsg(scrn->scrnIndex, X_INFO, +- "Disabling kernel dirty updates, not required.\n"); +- return; ++ for (c = 0; c < xf86_config->num_crtc; c++) { ++ xf86CrtcPtr crtc = xf86_config->crtc[c]; ++ drmmode_crtc_private_ptr drmmode_crtc = crtc->driver_private; ++ ++ if (!drmmode_crtc) ++ continue; ++ ++ drmmode_crtc_get_fb_id(crtc, &fb_id, &x, &y); ++ ++ ret = dispatch_dirty_region(scrn, crtc, pixmap, ms->damage, fb_id); ++ if (ret == -EINVAL || ret == -ENOSYS) { ++ ms->dirty_enabled = FALSE; ++ DamageUnregister(ms->damage); ++ DamageDestroy(ms->damage); ++ ms->damage = NULL; ++ xf86DrvMsg(scrn->scrnIndex, X_INFO, ++ "Disabling kernel dirty updates, not required.\n"); ++ return; ++ } + } + } + +@@ -586,7 +625,7 @@ dispatch_dirty_pixmap(ScrnInfoPtr scrn, + DamagePtr damage = ppriv->secondary_damage; + int fb_id = ppriv->fb_id; + +- dispatch_dirty_region(scrn, ppix, damage, fb_id); ++ dispatch_dirty_region(scrn, crtc, ppix, damage, fb_id); + } + + static void +Index: xorg-server-21.1.0/hw/xfree86/drivers/modesetting/drmmode_display.c +=================================================================== +--- xorg-server-21.1.0.orig/hw/xfree86/drivers/modesetting/drmmode_display.c ++++ xorg-server-21.1.0/hw/xfree86/drivers/modesetting/drmmode_display.c +@@ -627,7 +627,7 @@ drmmode_crtc_can_test_mode(xf86CrtcPtr c + return ms->atomic_modeset; + } + +-static Bool ++Bool + drmmode_crtc_get_fb_id(xf86CrtcPtr crtc, uint32_t *fb_id, int *x, int *y) + { + drmmode_crtc_private_ptr drmmode_crtc = crtc->driver_private; +Index: xorg-server-21.1.0/hw/xfree86/drivers/modesetting/drmmode_display.h +=================================================================== +--- xorg-server-21.1.0.orig/hw/xfree86/drivers/modesetting/drmmode_display.h ++++ xorg-server-21.1.0/hw/xfree86/drivers/modesetting/drmmode_display.h +@@ -311,6 +311,8 @@ void drmmode_copy_fb(ScrnInfoPtr pScrn, + + int drmmode_crtc_flip(xf86CrtcPtr crtc, uint32_t fb_id, uint32_t flags, void *data); + ++Bool drmmode_crtc_get_fb_id(xf86CrtcPtr crtc, uint32_t *fb_id, int *x, int *y); ++ + void drmmode_set_dpms(ScrnInfoPtr scrn, int PowerManagementMode, int flags); + void drmmode_crtc_set_vrr(xf86CrtcPtr crtc, Bool enabled); + diff --git a/u_no-lto-for-tests.patch b/u_no-lto-for-tests.patch new file mode 100644 index 0000000..1d1b84b --- /dev/null +++ b/u_no-lto-for-tests.patch @@ -0,0 +1,10 @@ +--- xserver-1.20.10/test/Makefile.am.orig 2021-03-02 23:46:49.137916000 +0100 ++++ xserver-1.20.10/test/Makefile.am 2021-03-02 23:47:48.691663000 +0100 +@@ -105,6 +105,7 @@ tests_LDFLAGS = \ + -Wl,-wrap,XISetEventMask \ + -Wl,-wrap,AddResource \ + -Wl,-wrap,GrabButton \ ++ -fno-lto \ + $() + endif XORG + diff --git a/u_os-connections-Check-for-stale-FDs.patch b/u_os-connections-Check-for-stale-FDs.patch new file mode 100644 index 0000000..30f5e73 --- /dev/null +++ b/u_os-connections-Check-for-stale-FDs.patch @@ -0,0 +1,112 @@ +From: Egbert Eich +Date: Fri Jan 29 11:05:46 2016 +0100 +Subject: [PATCH]os/connections: Check for stale FDs +Patch-mainline: to be upstreamed +Git-repo: git://anongit.freedesktop.org/git/xorg/xserver +References: bsc#954433 +Signed-off-by: Egbert Eich + +So far we've only checked for stale client connections. +However, our main select loop checks file descriptors +of devices and sockets of services like dbus. + +These file descriptors may become stale as well, for instance, +when the underlying service has died. In this case, select +will return immediately with EBADF. Without removing these +stale FDs, the Xserver will loop rapidly in WaitFor(). + +Thus, simply remove the respective bit from AllSockets. + +Signed-off-by: Egbert Eich +--- + include/os.h | 3 +++ + os/WaitFor.c | 5 +++++ + os/connection.c | 37 +++++++++++++++++++++++++++++++++++++ + 3 files changed, 45 insertions(+) + +diff --git a/include/os.h b/include/os.h +index 461d5d6..a3e433c 100644 +--- a/include/os.h ++++ b/include/os.h +@@ -51,6 +51,7 @@ SOFTWARE. + #include + #include + #include ++#include + + #define SCREEN_SAVER_ON 0 + #define SCREEN_SAVER_OFF 1 +@@ -141,6 +142,8 @@ extern _X_EXPORT const char *ClientAuthorized(ClientPtr /*client */ , + + extern _X_EXPORT void CheckConnections(void); + ++extern _X_EXPORT void CheckFDs(fd_set *); ++ + extern _X_EXPORT void CloseDownConnection(ClientPtr /*client */ ); + + extern _X_EXPORT void AddGeneralSocket(int /*fd */ ); +diff --git a/os/WaitFor.c b/os/WaitFor.c +index e839d61..6cc967e 100644 +--- a/os/WaitFor.c ++++ b/os/WaitFor.c +@@ -229,7 +229,12 @@ WaitForSomething(int *pClientsReady) + return 0; + if (i < 0) { + if (selecterr == EBADF) { /* Some client disconnected */ ++ fd_set mask; ++ XFD_COPYSET(&LastSelectMask, &mask); ++ XFD_UNSET(&mask, &AllClients); + CheckConnections(); ++ if (XFD_ANYSET(&mask)) ++ CheckFDs(&mask); + if (!XFD_ANYSET(&AllClients)) + return 0; + } +diff --git a/os/connection.c b/os/connection.c +index 4c1ba4b..d6943f2 100644 +--- a/os/connection.c ++++ b/os/connection.c +@@ -1022,6 +1022,43 @@ CheckConnections(void) + } + + /***************** ++ * CheckFDs ++ *****************/ ++void ++CheckFDs(fd_set *fdbits) ++{ ++ fd_mask mask; ++ fd_set tmask; ++ int curbit, curoff; ++ int i; ++ struct timeval notime; ++ int r; ++ notime.tv_sec = 0; ++ notime.tv_usec = 0; ++ ++ for (i = 0; i < howmany(XFD_SETSIZE, NFDBITS); i++) { ++ mask = fdbits->fds_bits[i]; ++ while (mask) { ++ curoff = mffs(mask) - 1; ++ curbit = curoff + (i * (sizeof(fd_mask) * 8)); ++ FD_ZERO(&tmask); ++ FD_SET(curbit, &tmask); ++ do { ++ r = Select(curbit + 1, &tmask, NULL, NULL, ¬ime); ++ } while (r < 0 && (errno == EINTR || errno == EAGAIN)); ++ if (r < 0 && errno == EBADF) { ++ //RemoveNotifyFd(curbit); ++ FD_CLR(curbit, &EnabledDevices); ++ FD_CLR(curbit, &AllSockets); ++ if (GrabInProgress) ++ FD_CLR(curbit, &SavedAllSockets); ++ } ++ mask &= ~((fd_mask) 1 << curoff); ++ } ++ } ++} ++ ++/***************** + * CloseDownConnection + * Delete client from AllClients and free resources + *****************/ diff --git a/u_pci-primary-Fix-up-primary-PCI-device-detection-for-the-platfrom-bus.patch b/u_pci-primary-Fix-up-primary-PCI-device-detection-for-the-platfrom-bus.patch new file mode 100644 index 0000000..b25af8a --- /dev/null +++ b/u_pci-primary-Fix-up-primary-PCI-device-detection-for-the-platfrom-bus.patch @@ -0,0 +1,67 @@ +From: Egbert Eich +Date: Wed Feb 10 15:55:51 2016 +0100 +Subject: [PATCH]pci/primary: Fix up primary PCI device detection for the platfrom bus +Patch-mainline: to be upstreamed +Git-commit: 85d81d3ec321572aea31d34a87632442687a54f5 + +References: boo#835975 +Signed-off-by: Egbert Eich + +The detection wheter a device is the primary PCI device currently +relies on libciaccess. This checks of the PCI device is a VGA boot +device. On some systems however, the primary card is not flagged +like that - this it is not discovered. +The subsequent PCI probing has a fallback heuristic designed for this +situation. This however causes the primary device to be flagged as a +PCI bus device, not a 'platform bus' device. +To fix this, we check in the subsequent xf86platformPrimary() wheter +the primary device is flagged as a PCI bus device. If this is the +case and the same device is in the list of the 'platform bus' devices, +we reflag it as such. +This fixes the detection of the primary device on older iMacs. + +Signed-off-by: Egbert Eich +--- + hw/xfree86/common/xf86platformBus.c | 29 +++++++++++++++++++++++++++++ + 1 file changed, 29 insertions(+) + +Index: xorg-server-21.1.1/hw/xfree86/common/xf86platformBus.c +=================================================================== +--- xorg-server-21.1.1.orig/hw/xfree86/common/xf86platformBus.c ++++ xorg-server-21.1.1/hw/xfree86/common/xf86platformBus.c +@@ -766,6 +766,35 @@ void xf86platformPrimary(void) + + xf86Msg(X_NONE, "\tfalling back to %s\n", primaryBus.id.plat->attribs->syspath); + } ++ } else if (xf86_num_platform_devices > 0 && primaryBus.type == BUS_PCI) { ++ /* ++ * FIXUP: platform_find_pci_info() may not always find the primary ++ * platform device. If a primary device is a platform device but was ++ * identified as PCI device, let's fix this up here. ++ */ ++ int i; ++ ++ for (i = 0; i < xf86_num_platform_devices; i++) { ++ char *busid = xf86_platform_odev_attributes(i)->busid; ++ int domain, bus, dev, func; ++ int ret; ++ ++ if (!busid || (strncmp(busid, "pci:", 4) != 0)) ++ continue; ++ ++ ret = sscanf(busid, "pci:%04x:%02x:%02x.%u", ++ &domain, &bus, &dev, &func); ++ if (ret != 4) ++ continue; ++ ++ if (domain == primaryBus.id.pci->domain && ++ bus == primaryBus.id.pci->bus && ++ dev == primaryBus.id.pci->dev && ++ func == primaryBus.id.pci->func) { ++ primaryBus.id.plat = &xf86_platform_devices[i]; ++ primaryBus.type = BUS_PLATFORM; ++ } ++ } + } + } + #endif diff --git a/u_randr-Do-not-crash-if-slave-screen-does-not-have-pro.patch b/u_randr-Do-not-crash-if-slave-screen-does-not-have-pro.patch new file mode 100644 index 0000000..ed93dd8 --- /dev/null +++ b/u_randr-Do-not-crash-if-slave-screen-does-not-have-pro.patch @@ -0,0 +1,42 @@ +Patch-mainline: To be upstreamed +Author: Michal Srb +Subject: randr: Do not crash if slave screen does not have provider. +References: bnc#1068961 + +All GPU screens are attached as unbound GPUs to master, even if they have no +capabilities or the provider field is null. Handle that case in RRTellChanged. +--- +This prevents crash in setups with for example two qxl devices, or fbdev and +qxl device. I am not sure if it is a proper fix and not just papering over a +bug somewhere else, but there are more places that test whether the provider +is set, so maybe it is correct way. + +I would think that if a slave screen does not have provider, there is no reason +for it to become an unbound GPU in master's slave_list. Similarly if master has +no provider, then having anything in slave_list is useless. But it seems the +AttachUnboundGPU and the rest of the code handling screen to GPU screen +attachments does not know about randr's privates, so it can not check whether +provider is there. + + randr/randr.c | 4 +++- + 1 file changed, 3 insertions(+), 1 deletion(-) + +Index: xorg-server-21.1.0/randr/randr.c +=================================================================== +--- xorg-server-21.1.0.orig/randr/randr.c ++++ xorg-server-21.1.0/randr/randr.c +@@ -650,8 +650,13 @@ RRTellChanged(ScreenPtr pScreen) + pScrPriv->crtcs[i]->changed = FALSE; + + xorg_list_for_each_entry(iter, &primary->secondary_list, secondary_head) { ++ if (!dixPrivateKeyRegistered(rrPrivKey)) { ++ break; ++ } + pSecondaryScrPriv = rrGetScrPriv(iter); +- pSecondaryScrPriv->provider->changed = FALSE; ++ if (pSecondaryScrPriv->provider) { ++ pSecondaryScrPriv->provider->changed = FALSE; ++ } + if (iter->is_output_secondary) { + for (i = 0; i < pSecondaryScrPriv->numOutputs; i++) + pSecondaryScrPriv->outputs[i]->changed = FALSE; diff --git a/u_sync-pci-ids-with-Mesa.patch b/u_sync-pci-ids-with-Mesa.patch new file mode 100644 index 0000000..2ad82e9 --- /dev/null +++ b/u_sync-pci-ids-with-Mesa.patch @@ -0,0 +1,748 @@ +Index: xorg-server-21.1.4/hw/xfree86/dri2/pci_ids/crocus_pci_ids.h +=================================================================== +--- /dev/null ++++ xorg-server-21.1.4/hw/xfree86/dri2/pci_ids/crocus_pci_ids.h +@@ -0,0 +1,104 @@ ++CHIPSET(0x29A2, i965, "BW", "Intel(R) 965G") ++CHIPSET(0x2992, i965, "BW", "Intel(R) 965Q") ++CHIPSET(0x2982, i965, "BW", "Intel(R) 965G") ++CHIPSET(0x2972, i965, "BW", "Intel(R) 946GZ") ++CHIPSET(0x2A02, i965, "CL", "Intel(R) 965GM") ++CHIPSET(0x2A12, i965, "CL", "Intel(R) 965GME/GLE") ++ ++CHIPSET(0x2A42, g4x, "CTG", "Mobile Intel® GM45 Express Chipset") ++CHIPSET(0x2E02, g4x, "ELK", "Intel(R) Integrated Graphics Device") ++CHIPSET(0x2E12, g4x, "ELK", "Intel(R) Q45/Q43") ++CHIPSET(0x2E22, g4x, "ELK", "Intel(R) G45/G43") ++CHIPSET(0x2E32, g4x, "ELK", "Intel(R) G41") ++CHIPSET(0x2E42, g4x, "ELK", "Intel(R) B43") ++CHIPSET(0x2E92, g4x, "ELK", "Intel(R) B43") ++ ++CHIPSET(0x0042, ilk, "ILK", "Intel(R) HD Graphics") ++CHIPSET(0x0046, ilk, "ILK", "Intel(R) HD Graphics") ++ ++CHIPSET(0x0102, snb_gt1, "SNB GT1", "Intel(R) HD Graphics 2000") ++CHIPSET(0x0112, snb_gt2, "SNB GT2", "Intel(R) HD Graphics 3000") ++CHIPSET(0x0122, snb_gt2, "SNB GT2", "Intel(R) HD Graphics 3000") ++CHIPSET(0x0106, snb_gt1, "SNB GT1", "Intel(R) HD Graphics 2000") ++CHIPSET(0x0116, snb_gt2, "SNB GT2", "Intel(R) HD Graphics 3000") ++CHIPSET(0x0126, snb_gt2, "SNB GT2", "Intel(R) HD Graphics 3000") ++CHIPSET(0x010A, snb_gt1, "SNB GT1", "Intel(R) HD Graphics 2000") ++ ++CHIPSET(0x0152, ivb_gt1, "IVB GT1", "Intel(R) HD Graphics 2500") ++CHIPSET(0x0162, ivb_gt2, "IVB GT2", "Intel(R) HD Graphics 4000") ++CHIPSET(0x0156, ivb_gt1, "IVB GT1", "Intel(R) HD Graphics 2500") ++CHIPSET(0x0166, ivb_gt2, "IVB GT2", "Intel(R) HD Graphics 4000") ++CHIPSET(0x015a, ivb_gt1, "IVB GT1", "Intel(R) HD Graphics") ++CHIPSET(0x016a, ivb_gt2, "IVB GT2", "Intel(R) HD Graphics P4000") ++ ++CHIPSET(0x0402, hsw_gt1, "HSW GT1", "Intel(R) HD Graphics") ++CHIPSET(0x0412, hsw_gt2, "HSW GT2", "Intel(R) HD Graphics 4600") ++CHIPSET(0x0422, hsw_gt3, "HSW GT3", "Intel(R) HD Graphics") ++CHIPSET(0x0406, hsw_gt1, "HSW GT1", "Intel(R) HD Graphics") ++CHIPSET(0x0416, hsw_gt2, "HSW GT2", "Intel(R) HD Graphics 4600") ++CHIPSET(0x0426, hsw_gt3, "HSW GT3", "Intel(R) HD Graphics") ++CHIPSET(0x040A, hsw_gt1, "HSW GT1", "Intel(R) HD Graphics") ++CHIPSET(0x041A, hsw_gt2, "HSW GT2", "Intel(R) HD Graphics P4600/P4700") ++CHIPSET(0x042A, hsw_gt3, "HSW GT3", "Intel(R) HD Graphics") ++CHIPSET(0x040B, hsw_gt1, "HSW GT1", "Intel(R) HD Graphics") ++CHIPSET(0x041B, hsw_gt2, "HSW GT2", "Intel(R) HD Graphics") ++CHIPSET(0x042B, hsw_gt3, "HSW GT3", "Intel(R) HD Graphics") ++CHIPSET(0x040E, hsw_gt1, "HSW GT1", "Intel(R) HD Graphics") ++CHIPSET(0x041E, hsw_gt2, "HSW GT2", "Intel(R) HD Graphics 4400") ++CHIPSET(0x042E, hsw_gt3, "HSW GT3", "Intel(R) HD Graphics") ++CHIPSET(0x0C02, hsw_gt1, "HSW GT1", "Intel(R) HD Graphics") ++CHIPSET(0x0C12, hsw_gt2, "HSW GT2", "Intel(R) HD Graphics") ++CHIPSET(0x0C22, hsw_gt3, "HSW GT3", "Intel(R) HD Graphics") ++CHIPSET(0x0C06, hsw_gt1, "HSW GT1", "Intel(R) HD Graphics") ++CHIPSET(0x0C16, hsw_gt2, "HSW GT2", "Intel(R) HD Graphics") ++CHIPSET(0x0C26, hsw_gt3, "HSW GT3", "Intel(R) HD Graphics") ++CHIPSET(0x0C0A, hsw_gt1, "HSW GT1", "Intel(R) HD Graphics") ++CHIPSET(0x0C1A, hsw_gt2, "HSW GT2", "Intel(R) HD Graphics") ++CHIPSET(0x0C2A, hsw_gt3, "HSW GT3", "Intel(R) HD Graphics") ++CHIPSET(0x0C0B, hsw_gt1, "HSW GT1", "Intel(R) HD Graphics") ++CHIPSET(0x0C1B, hsw_gt2, "HSW GT2", "Intel(R) HD Graphics") ++CHIPSET(0x0C2B, hsw_gt3, "HSW GT3", "Intel(R) HD Graphics") ++CHIPSET(0x0C0E, hsw_gt1, "HSW GT1", "Intel(R) HD Graphics") ++CHIPSET(0x0C1E, hsw_gt2, "HSW GT2", "Intel(R) HD Graphics") ++CHIPSET(0x0C2E, hsw_gt3, "HSW GT3", "Intel(R) HD Graphics") ++CHIPSET(0x0A02, hsw_gt1, "HSW GT1", "Intel(R) HD Graphics") ++CHIPSET(0x0A12, hsw_gt2, "HSW GT2", "Intel(R) HD Graphics") ++CHIPSET(0x0A22, hsw_gt3, "HSW GT3", "Intel(R) HD Graphics") ++CHIPSET(0x0A06, hsw_gt1, "HSW GT1", "Intel(R) HD Graphics") ++CHIPSET(0x0A16, hsw_gt2, "HSW GT2", "Intel(R) HD Graphics 4400") ++CHIPSET(0x0A26, hsw_gt3, "HSW GT3", "Intel(R) HD Graphics 5000") ++CHIPSET(0x0A0A, hsw_gt1, "HSW GT1", "Intel(R) HD Graphics") ++CHIPSET(0x0A1A, hsw_gt2, "HSW GT2", "Intel(R) HD Graphics") ++CHIPSET(0x0A2A, hsw_gt3, "HSW GT3", "Intel(R) HD Graphics") ++CHIPSET(0x0A0B, hsw_gt1, "HSW GT1", "Intel(R) HD Graphics") ++CHIPSET(0x0A1B, hsw_gt2, "HSW GT2", "Intel(R) HD Graphics") ++CHIPSET(0x0A2B, hsw_gt3, "HSW GT3", "Intel(R) HD Graphics") ++CHIPSET(0x0A0E, hsw_gt1, "HSW GT1", "Intel(R) HD Graphics") ++CHIPSET(0x0A1E, hsw_gt2, "HSW GT2", "Intel(R) HD Graphics 4200") ++CHIPSET(0x0A2E, hsw_gt3, "HSW GT3", "Intel(R) Iris(R) Graphics 5100") ++CHIPSET(0x0D02, hsw_gt1, "HSW GT1", "Intel(R) HD Graphics") ++CHIPSET(0x0D12, hsw_gt2, "HSW GT2", "Intel(R) HD Graphics 4600") ++CHIPSET(0x0D22, hsw_gt3, "HSW GT3", "Intel(R) Iris(R) Pro Graphics 5200") ++CHIPSET(0x0D06, hsw_gt1, "HSW GT1", "Intel(R) HD Graphics") ++CHIPSET(0x0D16, hsw_gt2, "HSW GT2", "Intel(R) HD Graphics") ++CHIPSET(0x0D26, hsw_gt3, "HSW GT3", "Intel(R) Iris(R) Pro Graphics P5200") ++CHIPSET(0x0D0A, hsw_gt1, "HSW GT1", "Intel(R) HD Graphics") ++CHIPSET(0x0D1A, hsw_gt2, "HSW GT2", "Intel(R) HD Graphics") ++CHIPSET(0x0D2A, hsw_gt3, "HSW GT3", "Intel(R) HD Graphics") ++CHIPSET(0x0D0B, hsw_gt1, "HSW GT1", "Intel(R) HD Graphics") ++CHIPSET(0x0D1B, hsw_gt2, "HSW GT2", "Intel(R) HD Graphics") ++CHIPSET(0x0D2B, hsw_gt3, "HSW GT3", "Intel(R) HD Graphics") ++CHIPSET(0x0D0E, hsw_gt1, "HSW GT1", "Intel(R) HD Graphics") ++CHIPSET(0x0D1E, hsw_gt2, "HSW GT2", "Intel(R) HD Graphics") ++CHIPSET(0x0D2E, hsw_gt3, "HSW GT3", "Intel(R) HD Graphics") ++ ++CHIPSET(0x0F31, byt, "BYT", "Intel(R) HD Graphics") ++CHIPSET(0x0F32, byt, "BYT", "Intel(R) HD Graphics") ++CHIPSET(0x0F33, byt, "BYT", "Intel(R) HD Graphics") ++CHIPSET(0x0157, byt, "BYT", "Intel(R) HD Graphics") ++CHIPSET(0x0155, byt, "BYT", "Intel(R) HD Graphics") ++ ++CHIPSET(0x22B0, chv, "CHV", "Intel(R) HD Graphics") ++CHIPSET(0x22B1, chv, "BSW", "Intel(R) HD Graphics XXX") /* Overridden in brw_get_renderer_string */ ++CHIPSET(0x22B2, chv, "CHV", "Intel(R) HD Graphics") ++CHIPSET(0x22B3, chv, "CHV", "Intel(R) HD Graphics") +Index: xorg-server-21.1.4/hw/xfree86/dri2/pci_ids/i810_pci_ids.h +=================================================================== +--- xorg-server-21.1.4.orig/hw/xfree86/dri2/pci_ids/i810_pci_ids.h ++++ /dev/null +@@ -1,4 +0,0 @@ +-CHIPSET(0x7121, I810, i8xx) +-CHIPSET(0x7123, I810_DC100, i8xx) +-CHIPSET(0x7125, I810_E, i8xx) +-CHIPSET(0x1132, I815, i8xx) +Index: xorg-server-21.1.4/hw/xfree86/dri2/pci_ids/i915_pci_ids.h +=================================================================== +--- xorg-server-21.1.4.orig/hw/xfree86/dri2/pci_ids/i915_pci_ids.h ++++ xorg-server-21.1.4/hw/xfree86/dri2/pci_ids/i915_pci_ids.h +@@ -1,7 +1,3 @@ +-CHIPSET(0x3577, I830_M, "Intel(R) 830M") +-CHIPSET(0x2562, 845_G, "Intel(R) 845G") +-CHIPSET(0x3582, I855_GM, "Intel(R) 852GM/855GM") +-CHIPSET(0x2572, I865_G, "Intel(R) 865G") + CHIPSET(0x2582, I915_G, "Intel(R) 915G") + CHIPSET(0x258A, E7221_G, "Intel(R) E7221G (i915)") + CHIPSET(0x2592, I915_GM, "Intel(R) 915GM") +Index: xorg-server-21.1.4/hw/xfree86/dri2/pci_ids/i965_pci_ids.h +=================================================================== +--- xorg-server-21.1.4.orig/hw/xfree86/dri2/pci_ids/i965_pci_ids.h ++++ /dev/null +@@ -1,252 +0,0 @@ +-#ifndef IRIS +-CHIPSET(0x29A2, i965, "Intel(R) 965G") +-CHIPSET(0x2992, i965, "Intel(R) 965Q") +-CHIPSET(0x2982, i965, "Intel(R) 965G") +-CHIPSET(0x2972, i965, "Intel(R) 946GZ") +-CHIPSET(0x2A02, i965, "Intel(R) 965GM") +-CHIPSET(0x2A12, i965, "Intel(R) 965GME/GLE") +-CHIPSET(0x2A42, g4x, "Mobile Intel® GM45 Express Chipset") +-CHIPSET(0x2E02, g4x, "Intel(R) Integrated Graphics Device") +-CHIPSET(0x2E12, g4x, "Intel(R) Q45/Q43") +-CHIPSET(0x2E22, g4x, "Intel(R) G45/G43") +-CHIPSET(0x2E32, g4x, "Intel(R) G41") +-CHIPSET(0x2E42, g4x, "Intel(R) B43") +-CHIPSET(0x2E92, g4x, "Intel(R) B43") +-CHIPSET(0x0042, ilk, "Intel(R) Ironlake Desktop") +-CHIPSET(0x0046, ilk, "Intel(R) Ironlake Mobile") +-CHIPSET(0x0102, snb_gt1, "Intel(R) Sandybridge Desktop") +-CHIPSET(0x0112, snb_gt2, "Intel(R) Sandybridge Desktop") +-CHIPSET(0x0122, snb_gt2, "Intel(R) Sandybridge Desktop") +-CHIPSET(0x0106, snb_gt1, "Intel(R) Sandybridge Mobile") +-CHIPSET(0x0116, snb_gt2, "Intel(R) Sandybridge Mobile") +-CHIPSET(0x0126, snb_gt2, "Intel(R) Sandybridge Mobile") +-CHIPSET(0x010A, snb_gt1, "Intel(R) Sandybridge Server") +-CHIPSET(0x0152, ivb_gt1, "Intel(R) Ivybridge Desktop") +-CHIPSET(0x0162, ivb_gt2, "Intel(R) Ivybridge Desktop") +-CHIPSET(0x0156, ivb_gt1, "Intel(R) Ivybridge Mobile") +-CHIPSET(0x0166, ivb_gt2, "Intel(R) Ivybridge Mobile") +-CHIPSET(0x015a, ivb_gt1, "Intel(R) Ivybridge Server") +-CHIPSET(0x016a, ivb_gt2, "Intel(R) Ivybridge Server") +-CHIPSET(0x0402, hsw_gt1, "Intel(R) Haswell Desktop") +-CHIPSET(0x0412, hsw_gt2, "Intel(R) Haswell Desktop") +-CHIPSET(0x0422, hsw_gt3, "Intel(R) Haswell Desktop") +-CHIPSET(0x0406, hsw_gt1, "Intel(R) Haswell Mobile") +-CHIPSET(0x0416, hsw_gt2, "Intel(R) Haswell Mobile") +-CHIPSET(0x0426, hsw_gt3, "Intel(R) Haswell Mobile") +-CHIPSET(0x040A, hsw_gt1, "Intel(R) Haswell Server") +-CHIPSET(0x041A, hsw_gt2, "Intel(R) Haswell Server") +-CHIPSET(0x042A, hsw_gt3, "Intel(R) Haswell Server") +-CHIPSET(0x040B, hsw_gt1, "Intel(R) Haswell") +-CHIPSET(0x041B, hsw_gt2, "Intel(R) Haswell") +-CHIPSET(0x042B, hsw_gt3, "Intel(R) Haswell") +-CHIPSET(0x040E, hsw_gt1, "Intel(R) Haswell") +-CHIPSET(0x041E, hsw_gt2, "Intel(R) Haswell") +-CHIPSET(0x042E, hsw_gt3, "Intel(R) Haswell") +-CHIPSET(0x0C02, hsw_gt1, "Intel(R) Haswell Desktop") +-CHIPSET(0x0C12, hsw_gt2, "Intel(R) Haswell Desktop") +-CHIPSET(0x0C22, hsw_gt3, "Intel(R) Haswell Desktop") +-CHIPSET(0x0C06, hsw_gt1, "Intel(R) Haswell Mobile") +-CHIPSET(0x0C16, hsw_gt2, "Intel(R) Haswell Mobile") +-CHIPSET(0x0C26, hsw_gt3, "Intel(R) Haswell Mobile") +-CHIPSET(0x0C0A, hsw_gt1, "Intel(R) Haswell Server") +-CHIPSET(0x0C1A, hsw_gt2, "Intel(R) Haswell Server") +-CHIPSET(0x0C2A, hsw_gt3, "Intel(R) Haswell Server") +-CHIPSET(0x0C0B, hsw_gt1, "Intel(R) Haswell") +-CHIPSET(0x0C1B, hsw_gt2, "Intel(R) Haswell") +-CHIPSET(0x0C2B, hsw_gt3, "Intel(R) Haswell") +-CHIPSET(0x0C0E, hsw_gt1, "Intel(R) Haswell") +-CHIPSET(0x0C1E, hsw_gt2, "Intel(R) Haswell") +-CHIPSET(0x0C2E, hsw_gt3, "Intel(R) Haswell") +-CHIPSET(0x0A02, hsw_gt1, "Intel(R) Haswell Desktop") +-CHIPSET(0x0A12, hsw_gt2, "Intel(R) Haswell Desktop") +-CHIPSET(0x0A22, hsw_gt3, "Intel(R) Haswell Desktop") +-CHIPSET(0x0A06, hsw_gt1, "Intel(R) Haswell Mobile") +-CHIPSET(0x0A16, hsw_gt2, "Intel(R) Haswell Mobile") +-CHIPSET(0x0A26, hsw_gt3, "Intel(R) Haswell Mobile") +-CHIPSET(0x0A0A, hsw_gt1, "Intel(R) Haswell Server") +-CHIPSET(0x0A1A, hsw_gt2, "Intel(R) Haswell Server") +-CHIPSET(0x0A2A, hsw_gt3, "Intel(R) Haswell Server") +-CHIPSET(0x0A0B, hsw_gt1, "Intel(R) Haswell") +-CHIPSET(0x0A1B, hsw_gt2, "Intel(R) Haswell") +-CHIPSET(0x0A2B, hsw_gt3, "Intel(R) Haswell") +-CHIPSET(0x0A0E, hsw_gt1, "Intel(R) Haswell") +-CHIPSET(0x0A1E, hsw_gt2, "Intel(R) Haswell") +-CHIPSET(0x0A2E, hsw_gt3, "Intel(R) Haswell") +-CHIPSET(0x0D02, hsw_gt1, "Intel(R) Haswell Desktop") +-CHIPSET(0x0D12, hsw_gt2, "Intel(R) Haswell Desktop") +-CHIPSET(0x0D22, hsw_gt3, "Intel(R) Haswell Desktop") +-CHIPSET(0x0D06, hsw_gt1, "Intel(R) Haswell Mobile") +-CHIPSET(0x0D16, hsw_gt2, "Intel(R) Haswell Mobile") +-CHIPSET(0x0D26, hsw_gt3, "Intel(R) Haswell Mobile") +-CHIPSET(0x0D0A, hsw_gt1, "Intel(R) Haswell Server") +-CHIPSET(0x0D1A, hsw_gt2, "Intel(R) Haswell Server") +-CHIPSET(0x0D2A, hsw_gt3, "Intel(R) Haswell") +-CHIPSET(0x0D0B, hsw_gt1, "Intel(R) Haswell") +-CHIPSET(0x0D1B, hsw_gt2, "Intel(R) Haswell") +-CHIPSET(0x0D2B, hsw_gt3, "Intel(R) Haswell") +-CHIPSET(0x0D0E, hsw_gt1, "Intel(R) Haswell") +-CHIPSET(0x0D1E, hsw_gt2, "Intel(R) Haswell") +-CHIPSET(0x0D2E, hsw_gt3, "Intel(R) Haswell") +-CHIPSET(0x0F31, byt, "Intel(R) Bay Trail") +-CHIPSET(0x0F32, byt, "Intel(R) Bay Trail") +-CHIPSET(0x0F33, byt, "Intel(R) Bay Trail") +-CHIPSET(0x0157, byt, "Intel(R) Bay Trail") +-CHIPSET(0x0155, byt, "Intel(R) Bay Trail") +-CHIPSET(0x22B0, chv, "Intel(R) HD Graphics (Cherrytrail)") +-CHIPSET(0x22B1, chv, "Intel(R) HD Graphics XXX (Braswell)") /* Overridden in brw_get_renderer_string */ +-CHIPSET(0x22B2, chv, "Intel(R) HD Graphics (Cherryview)") +-CHIPSET(0x22B3, chv, "Intel(R) HD Graphics (Cherryview)") +-#endif +-CHIPSET(0x1602, bdw_gt1, "Intel(R) Broadwell GT1") +-CHIPSET(0x1606, bdw_gt1, "Intel(R) Broadwell GT1") +-CHIPSET(0x160A, bdw_gt1, "Intel(R) Broadwell GT1") +-CHIPSET(0x160B, bdw_gt1, "Intel(R) Broadwell GT1") +-CHIPSET(0x160D, bdw_gt1, "Intel(R) Broadwell GT1") +-CHIPSET(0x160E, bdw_gt1, "Intel(R) Broadwell GT1") +-CHIPSET(0x1612, bdw_gt2, "Intel(R) HD Graphics 5600 (Broadwell GT2)") +-CHIPSET(0x1616, bdw_gt2, "Intel(R) HD Graphics 5500 (Broadwell GT2)") +-CHIPSET(0x161A, bdw_gt2, "Intel(R) Broadwell GT2") +-CHIPSET(0x161B, bdw_gt2, "Intel(R) Broadwell GT2") +-CHIPSET(0x161D, bdw_gt2, "Intel(R) Broadwell GT2") +-CHIPSET(0x161E, bdw_gt2, "Intel(R) HD Graphics 5300 (Broadwell GT2)") +-CHIPSET(0x1622, bdw_gt3, "Intel(R) Iris Pro 6200 (Broadwell GT3e)") +-CHIPSET(0x1626, bdw_gt3, "Intel(R) HD Graphics 6000 (Broadwell GT3)") +-CHIPSET(0x162A, bdw_gt3, "Intel(R) Iris Pro P6300 (Broadwell GT3e)") +-CHIPSET(0x162B, bdw_gt3, "Intel(R) Iris 6100 (Broadwell GT3)") +-CHIPSET(0x162D, bdw_gt3, "Intel(R) Broadwell GT3") +-CHIPSET(0x162E, bdw_gt3, "Intel(R) Broadwell GT3") +-CHIPSET(0x1902, skl_gt1, "Intel(R) HD Graphics 510 (Skylake GT1)") +-CHIPSET(0x1906, skl_gt1, "Intel(R) HD Graphics 510 (Skylake GT1)") +-CHIPSET(0x190A, skl_gt1, "Intel(R) Skylake GT1") +-CHIPSET(0x190B, skl_gt1, "Intel(R) HD Graphics 510 (Skylake GT1)") +-CHIPSET(0x190E, skl_gt1, "Intel(R) Skylake GT1") +-CHIPSET(0x1912, skl_gt2, "Intel(R) HD Graphics 530 (Skylake GT2)") +-CHIPSET(0x1913, skl_gt2, "Intel(R) Skylake GT2f") +-CHIPSET(0x1915, skl_gt2, "Intel(R) Skylake GT2f") +-CHIPSET(0x1916, skl_gt2, "Intel(R) HD Graphics 520 (Skylake GT2)") +-CHIPSET(0x1917, skl_gt2, "Intel(R) Skylake GT2f") +-CHIPSET(0x191A, skl_gt2, "Intel(R) Skylake GT2") +-CHIPSET(0x191B, skl_gt2, "Intel(R) HD Graphics 530 (Skylake GT2)") +-CHIPSET(0x191D, skl_gt2, "Intel(R) HD Graphics P530 (Skylake GT2)") +-CHIPSET(0x191E, skl_gt2, "Intel(R) HD Graphics 515 (Skylake GT2)") +-CHIPSET(0x1921, skl_gt2, "Intel(R) HD Graphics 520 (Skylake GT2)") +-CHIPSET(0x1923, skl_gt3, "Intel(R) Skylake GT3e") +-CHIPSET(0x1926, skl_gt3, "Intel(R) Iris Graphics 540 (Skylake GT3e)") +-CHIPSET(0x1927, skl_gt3, "Intel(R) Iris Graphics 550 (Skylake GT3e)") +-CHIPSET(0x192A, skl_gt4, "Intel(R) Skylake GT4") +-CHIPSET(0x192B, skl_gt3, "Intel(R) Iris Graphics 555 (Skylake GT3e)") +-CHIPSET(0x192D, skl_gt3, "Intel(R) Iris Graphics P555 (Skylake GT3e)") +-CHIPSET(0x1932, skl_gt4, "Intel(R) Iris Pro Graphics 580 (Skylake GT4e)") +-CHIPSET(0x193A, skl_gt4, "Intel(R) Iris Pro Graphics P580 (Skylake GT4e)") +-CHIPSET(0x193B, skl_gt4, "Intel(R) Iris Pro Graphics 580 (Skylake GT4e)") +-CHIPSET(0x193D, skl_gt4, "Intel(R) Iris Pro Graphics P580 (Skylake GT4e)") +-CHIPSET(0x0A84, bxt, "Intel(R) HD Graphics (Broxton)") +-CHIPSET(0x1A84, bxt, "Intel(R) HD Graphics (Broxton)") +-CHIPSET(0x1A85, bxt_2x6, "Intel(R) HD Graphics (Broxton 2x6)") +-CHIPSET(0x5A84, bxt, "Intel(R) HD Graphics 505 (Broxton)") +-CHIPSET(0x5A85, bxt_2x6, "Intel(R) HD Graphics 500 (Broxton 2x6)") +-CHIPSET(0x5902, kbl_gt1, "Intel(R) HD Graphics 610 (Kaby Lake GT1)") +-CHIPSET(0x5906, kbl_gt1, "Intel(R) HD Graphics 610 (Kaby Lake GT1)") +-CHIPSET(0x590A, kbl_gt1, "Intel(R) Kabylake GT1") +-CHIPSET(0x5908, kbl_gt1, "Intel(R) Kabylake GT1") +-CHIPSET(0x590B, kbl_gt1, "Intel(R) Kabylake GT1") +-CHIPSET(0x590E, kbl_gt1, "Intel(R) Kabylake GT1") +-CHIPSET(0x5913, kbl_gt1_5, "Intel(R) Kabylake GT1.5") +-CHIPSET(0x5915, kbl_gt1_5, "Intel(R) Kabylake GT1.5") +-CHIPSET(0x5917, kbl_gt2, "Intel(R) UHD Graphics 620 (Kabylake GT2)") +-CHIPSET(0x5912, kbl_gt2, "Intel(R) HD Graphics 630 (Kaby Lake GT2)") +-CHIPSET(0x5916, kbl_gt2, "Intel(R) HD Graphics 620 (Kaby Lake GT2)") +-CHIPSET(0x591A, kbl_gt2, "Intel(R) HD Graphics P630 (Kaby Lake GT2)") +-CHIPSET(0x591B, kbl_gt2, "Intel(R) HD Graphics 630 (Kaby Lake GT2)") +-CHIPSET(0x591D, kbl_gt2, "Intel(R) HD Graphics P630 (Kaby Lake GT2)") +-CHIPSET(0x591E, kbl_gt2, "Intel(R) HD Graphics 615 (Kaby Lake GT2)") +-CHIPSET(0x5921, kbl_gt2, "Intel(R) Kabylake GT2F") +-CHIPSET(0x5923, kbl_gt3, "Intel(R) Kabylake GT3") +-CHIPSET(0x5926, kbl_gt3, "Intel(R) Iris Plus Graphics 640 (Kaby Lake GT3e)") +-CHIPSET(0x5927, kbl_gt3, "Intel(R) Iris Plus Graphics 650 (Kaby Lake GT3e)") +-CHIPSET(0x593B, kbl_gt4, "Intel(R) Kabylake GT4") +-CHIPSET(0x591C, kbl_gt2, "Intel(R) Amber Lake (Kabylake) GT2") +-CHIPSET(0x87C0, kbl_gt2, "Intel(R) Amber Lake (Kabylake) GT2") +-CHIPSET(0x87CA, cfl_gt2, "Intel(R) Amber Lake (Coffeelake) GT2") +-CHIPSET(0x3184, glk, "Intel(R) UHD Graphics 605 (Geminilake)") +-CHIPSET(0x3185, glk_2x6, "Intel(R) UHD Graphics 600 (Geminilake 2x6)") +-CHIPSET(0x3E90, cfl_gt1, "Intel(R) UHD Graphics 610 (Coffeelake 2x6 GT1)") +-CHIPSET(0x3E93, cfl_gt1, "Intel(R) UHD Graphics 610 (Coffeelake 2x6 GT1)") +-CHIPSET(0x3E99, cfl_gt1, "Intel(R) HD Graphics (Coffeelake 2x6 GT1)") +-CHIPSET(0x3E9C, cfl_gt1, "Intel(R) HD Graphics (Coffeelake 2x6 GT1)") +-CHIPSET(0x3E91, cfl_gt2, "Intel(R) UHD Graphics 630 (Coffeelake 3x8 GT2)") +-CHIPSET(0x3E92, cfl_gt2, "Intel(R) UHD Graphics 630 (Coffeelake 3x8 GT2)") +-CHIPSET(0x3E96, cfl_gt2, "Intel(R) HD Graphics (Coffeelake 3x8 GT2)") +-CHIPSET(0x3E98, cfl_gt2, "Intel(R) UHD Graphics 630 (Coffeelake 3x8 GT2)") +-CHIPSET(0x3E9A, cfl_gt2, "Intel(R) HD Graphics (Coffeelake 3x8 GT2)") +-CHIPSET(0x3E9B, cfl_gt2, "Intel(R) UHD Graphics 630 (Coffeelake 3x8 GT2)") +-CHIPSET(0x3E94, cfl_gt2, "Intel(R) HD Graphics (Coffeelake 3x8 GT2)") +-CHIPSET(0x3EA9, cfl_gt2, "Intel(R) HD Graphics (Coffeelake 3x8 GT2)") +-CHIPSET(0x3EA5, cfl_gt3, "Intel(R) HD Graphics (Coffeelake 3x8 GT3)") +-CHIPSET(0x3EA6, cfl_gt3, "Intel(R) HD Graphics (Coffeelake 3x8 GT3)") +-CHIPSET(0x3EA7, cfl_gt3, "Intel(R) HD Graphics (Coffeelake 3x8 GT3)") +-CHIPSET(0x3EA8, cfl_gt3, "Intel(R) HD Graphics (Coffeelake 3x8 GT3)") +-CHIPSET(0x3EA1, cfl_gt1, "Intel(R) HD Graphics (Whiskey Lake 2x6 GT1)") +-CHIPSET(0x3EA4, cfl_gt1, "Intel(R) HD Graphics (Whiskey Lake 3x8 GT1)") +-CHIPSET(0x3EA0, cfl_gt2, "Intel(R) HD Graphics (Whiskey Lake 3x8 GT2)") +-CHIPSET(0x3EA3, cfl_gt2, "Intel(R) HD Graphics (Whiskey Lake 3x8 GT2)") +-CHIPSET(0x3EA2, cfl_gt3, "Intel(R) HD Graphics (Whiskey Lake 3x8 GT3)") +-CHIPSET(0x9B21, cfl_gt1, "Intel(R) HD Graphics (Comet Lake 2x6 GT1)") +-CHIPSET(0x9BA0, cfl_gt1, "Intel(R) HD Graphics (Comet Lake 2x6 GT1)") +-CHIPSET(0x9BA2, cfl_gt1, "Intel(R) HD Graphics (Comet Lake 2x6 GT1)") +-CHIPSET(0x9BA4, cfl_gt1, "Intel(R) HD Graphics (Comet Lake 2x6 GT1)") +-CHIPSET(0x9BA5, cfl_gt1, "Intel(R) HD Graphics (Comet Lake 2x6 GT1)") +-CHIPSET(0x9BA8, cfl_gt1, "Intel(R) HD Graphics (Comet Lake 2x6 GT1)") +-CHIPSET(0x9BAA, cfl_gt1, "Intel(R) HD Graphics (Comet Lake 2x6 GT1)") +-CHIPSET(0x9BAB, cfl_gt1, "Intel(R) HD Graphics (Comet Lake 2x6 GT1)") +-CHIPSET(0x9BAC, cfl_gt1, "Intel(R) HD Graphics (Comet Lake 2x6 GT1)") +-CHIPSET(0x9B41, cfl_gt2, "Intel(R) HD Graphics (Comet Lake 3x8 GT2)") +-CHIPSET(0x9BC0, cfl_gt2, "Intel(R) HD Graphics (Comet Lake 3x8 GT2)") +-CHIPSET(0x9BC2, cfl_gt2, "Intel(R) HD Graphics (Comet Lake 3x8 GT2)") +-CHIPSET(0x9BC4, cfl_gt2, "Intel(R) HD Graphics (Comet Lake 3x8 GT2)") +-CHIPSET(0x9BC5, cfl_gt2, "Intel(R) HD Graphics (Comet Lake 3x8 GT2)") +-CHIPSET(0x9BC8, cfl_gt2, "Intel(R) HD Graphics (Comet Lake 3x8 GT2)") +-CHIPSET(0x9BCA, cfl_gt2, "Intel(R) HD Graphics (Comet Lake 3x8 GT2)") +-CHIPSET(0x9BCB, cfl_gt2, "Intel(R) HD Graphics (Comet Lake 3x8 GT2)") +-CHIPSET(0x9BCC, cfl_gt2, "Intel(R) HD Graphics (Comet Lake 3x8 GT2)") +-CHIPSET(0x5A49, cnl_2x8, "Intel(R) HD Graphics (Cannonlake 2x8 GT0.5)") +-CHIPSET(0x5A4A, cnl_2x8, "Intel(R) HD Graphics (Cannonlake 2x8 GT0.5)") +-CHIPSET(0x5A41, cnl_3x8, "Intel(R) HD Graphics (Cannonlake 3x8 GT1)") +-CHIPSET(0x5A42, cnl_3x8, "Intel(R) HD Graphics (Cannonlake 3x8 GT1)") +-CHIPSET(0x5A44, cnl_3x8, "Intel(R) HD Graphics (Cannonlake 3x8 GT1)") +-CHIPSET(0x5A59, cnl_4x8, "Intel(R) HD Graphics (Cannonlake 4x8 GT1.5)") +-CHIPSET(0x5A5A, cnl_4x8, "Intel(R) HD Graphics (Cannonlake 4x8 GT1.5)") +-CHIPSET(0x5A5C, cnl_4x8, "Intel(R) HD Graphics (Cannonlake 4x8 GT1.5)") +-CHIPSET(0x5A50, cnl_5x8, "Intel(R) HD Graphics (Cannonlake 5x8 GT2)") +-CHIPSET(0x5A51, cnl_5x8, "Intel(R) HD Graphics (Cannonlake 5x8 GT2)") +-CHIPSET(0x5A52, cnl_5x8, "Intel(R) HD Graphics (Cannonlake 5x8 GT2)") +-CHIPSET(0x5A54, cnl_5x8, "Intel(R) HD Graphics (Cannonlake 5x8 GT2)") +-CHIPSET(0x8A50, icl_8x8, "Intel(R) HD Graphics (Ice Lake 8x8 GT2)") +-CHIPSET(0x8A51, icl_8x8, "Intel(R) HD Graphics (Ice Lake 8x8 GT2)") +-CHIPSET(0x8A52, icl_8x8, "Intel(R) HD Graphics (Ice Lake 8x8 GT2)") +-CHIPSET(0x8A53, icl_8x8, "Intel(R) HD Graphics (Ice Lake 8x8 GT2)") +-CHIPSET(0x8A54, icl_6x8, "Intel(R) HD Graphics (Ice Lake 6x8 GT1.5)") +-CHIPSET(0x8A56, icl_4x8, "Intel(R) HD Graphics (Ice Lake 4x8 GT1)") +-CHIPSET(0x8A57, icl_6x8, "Intel(R) HD Graphics (Ice Lake 6x8 GT1.5)") +-CHIPSET(0x8A58, icl_4x8, "Intel(R) HD Graphics (Ice Lake 4x8 GT1)") +-CHIPSET(0x8A59, icl_6x8, "Intel(R) HD Graphics (Ice Lake 6x8 GT1.5)") +-CHIPSET(0x8A5A, icl_6x8, "Intel(R) HD Graphics (Ice Lake 6x8 GT1.5)") +-CHIPSET(0x8A5B, icl_4x8, "Intel(R) HD Graphics (Ice Lake 4x8 GT1)") +-CHIPSET(0x8A5C, icl_6x8, "Intel(R) HD Graphics (Ice Lake 6x8 GT1.5)") +-CHIPSET(0x8A5D, icl_4x8, "Intel(R) HD Graphics (Ice Lake 4x8 GT1)") +-CHIPSET(0x8A71, icl_1x8, "Intel(R) HD Graphics (Ice Lake 1x8 GT0.5)") +-CHIPSET(0x4500, ehl_4x8, "Intel(R) HD Graphics (Elkhart Lake 4x8)") +-CHIPSET(0x4571, ehl_4x8, "Intel(R) HD Graphics (Elkhart Lake 4x8)") +-CHIPSET(0x4551, ehl_4x4, "Intel(R) HD Graphics (Elkhart Lake 4x4)") +-CHIPSET(0x4541, ehl_2x4, "Intel(R) HD Graphics (Elkhart Lake 2x4)") +-CHIPSET(0x9A40, tgl_1x6x16, "Intel(R) HD Graphics (Tigerlake 1x6x16 GT2)") +-CHIPSET(0x9A49, tgl_1x6x16, "Intel(R) HD Graphics (Tigerlake 1x6x16 GT2)") +-CHIPSET(0x9A59, tgl_1x6x16, "Intel(R) HD Graphics (Tigerlake 1x6x16 GT2)") +-CHIPSET(0x9A60, tgl_1x2x16, "Intel(R) HD Graphics (Tigerlake 1x2x16 GT1)") +-CHIPSET(0x9A68, tgl_1x2x16, "Intel(R) HD Graphics (Tigerlake 1x2x16 GT1)") +-CHIPSET(0x9A70, tgl_1x2x16, "Intel(R) HD Graphics (Tigerlake 1x2x16 GT1)") +-CHIPSET(0x9A78, tgl_1x2x16, "Intel(R) HD Graphics (Tigerlake 1x2x16 GT1)") +-CHIPSET(0x9AC0, tgl_1x2x16, "Intel(R) HD Graphics (Tigerlake 1x2x16 GT2)") +-CHIPSET(0x9AC9, tg1_1x2x16, "Intel(R) HD Graphics (Tigerlake 1x2x16 GT2)") +-CHIPSET(0x9AD9, tgl_1x2x16, "Intel(R) HD Graphics (Tigerlake 1x2x16 GT2)") +-CHIPSET(0x9AF8, tgl_1x2x16, "Intel(R) HD Graphics (Tigerlake 1X2X16 GT2)") +Index: xorg-server-21.1.4/hw/xfree86/dri2/pci_ids/pci_id_driver_map.h +=================================================================== +--- xorg-server-21.1.4.orig/hw/xfree86/dri2/pci_ids/pci_id_driver_map.h ++++ xorg-server-21.1.4/hw/xfree86/dri2/pci_ids/pci_id_driver_map.h +@@ -8,31 +8,17 @@ + #endif + + static const int i915_chip_ids[] = { +-#define CHIPSET(chip, desc, name) chip, ++#define CHIPSET(chip, name, desc) chip, + #include "pci_ids/i915_pci_ids.h" + #undef CHIPSET + }; + +-static const int i965_chip_ids[] = { +-#define CHIPSET(chip, family, name) chip, +-#include "pci_ids/i965_pci_ids.h" ++static const int crocus_chip_ids[] = { ++#define CHIPSET(chip, family, name, desc) chip, ++#include "pci_ids/crocus_pci_ids.h" + #undef CHIPSET + }; + +-#ifndef DRIVER_MAP_GALLIUM_ONLY +-static const int r100_chip_ids[] = { +-#define CHIPSET(chip, name, family) chip, +-#include "pci_ids/radeon_pci_ids.h" +-#undef CHIPSET +-}; +- +-static const int r200_chip_ids[] = { +-#define CHIPSET(chip, name, family) chip, +-#include "pci_ids/r200_pci_ids.h" +-#undef CHIPSET +-}; +-#endif +- + static const int r300_chip_ids[] = { + #define CHIPSET(chip, name, family) chip, + #include "pci_ids/r300_pci_ids.h" +@@ -64,12 +50,8 @@ static const struct { + int num_chips_ids; + } driver_map[] = { + { 0x8086, "i915", i915_chip_ids, ARRAY_SIZE(i915_chip_ids) }, +- { 0x8086, "i965", i965_chip_ids, ARRAY_SIZE(i965_chip_ids) }, +- { 0x8086, "i965", NULL, -1 }, +-#ifndef DRIVER_MAP_GALLIUM_ONLY +- { 0x1002, "radeon", r100_chip_ids, ARRAY_SIZE(r100_chip_ids) }, +- { 0x1002, "r200", r200_chip_ids, ARRAY_SIZE(r200_chip_ids) }, +-#endif ++ { 0x8086, "crocus", crocus_chip_ids, ARRAY_SIZE(crocus_chip_ids) }, ++ { 0x8086, "iris", NULL, -1 }, + { 0x1002, "r300", r300_chip_ids, ARRAY_SIZE(r300_chip_ids) }, + { 0x1002, "r600", r600_chip_ids, ARRAY_SIZE(r600_chip_ids) }, + { 0x1002, "radeonsi", NULL, -1 }, +Index: xorg-server-21.1.4/hw/xfree86/dri2/pci_ids/r200_pci_ids.h +=================================================================== +--- xorg-server-21.1.4.orig/hw/xfree86/dri2/pci_ids/r200_pci_ids.h ++++ /dev/null +@@ -1,24 +0,0 @@ +-CHIPSET(0x5148, R200_QH, R200) +-CHIPSET(0x514C, R200_QL, R200) +-CHIPSET(0x514D, R200_QM, R200) +-CHIPSET(0x4242, R200_BB, R200) +- +-CHIPSET(0x4966, RV250_If, RV250) +-CHIPSET(0x4967, RV250_Ig, RV250) +-CHIPSET(0x4C64, RV250_Ld, RV250) +-CHIPSET(0x4C66, RV250_Lf, RV250) +-CHIPSET(0x4C67, RV250_Lg, RV250) +- +-CHIPSET(0x4C6E, RV280_4C6E, RV280) +-CHIPSET(0x5960, RV280_5960, RV280) +-CHIPSET(0x5961, RV280_5961, RV280) +-CHIPSET(0x5962, RV280_5962, RV280) +-CHIPSET(0x5964, RV280_5964, RV280) +-CHIPSET(0x5965, RV280_5965, RV280) +-CHIPSET(0x5C61, RV280_5C61, RV280) +-CHIPSET(0x5C63, RV280_5C63, RV280) +- +-CHIPSET(0x5834, RS300_5834, RS300) +-CHIPSET(0x5835, RS300_5835, RS300) +-CHIPSET(0x7834, RS350_7834, RS300) +-CHIPSET(0x7835, RS350_7835, RS300) +Index: xorg-server-21.1.4/hw/xfree86/dri2/pci_ids/radeon_pci_ids.h +=================================================================== +--- xorg-server-21.1.4.orig/hw/xfree86/dri2/pci_ids/radeon_pci_ids.h ++++ /dev/null +@@ -1,23 +0,0 @@ +-CHIPSET(0x4C57, RADEON_LW, RV200) +-CHIPSET(0x4C58, RADEON_LX, RV200) +-CHIPSET(0x4C59, RADEON_LY, RV100) +-CHIPSET(0x4C5A, RADEON_LZ, RV100) +-CHIPSET(0x5144, RADEON_QD, R100) +-CHIPSET(0x5145, RADEON_QE, R100) +-CHIPSET(0x5146, RADEON_QF, R100) +-CHIPSET(0x5147, RADEON_QG, R100) +-CHIPSET(0x5159, RADEON_QY, RV100) +-CHIPSET(0x515A, RADEON_QZ, RV100) +- +-CHIPSET(0x5157, RV200_QW, RV200) +-CHIPSET(0x5158, RV200_QX, RV200) +- +-CHIPSET(0x515E, RN50_515E, UNKNOWN) +-CHIPSET(0x5969, RN50_5969, UNKNOWN) +- +-CHIPSET(0x4136, RS100_4136, RS100) +-CHIPSET(0x4336, RS100_4336, RS100) +-CHIPSET(0x4137, RS200_4137, RS200) +-CHIPSET(0x4337, RS200_4337, RS200) +-CHIPSET(0x4237, RS250_4237, RS200) +-CHIPSET(0x4437, RS250_4437, RS200) +Index: xorg-server-21.1.4/hw/xfree86/dri2/pci_ids/radeonsi_pci_ids.h +=================================================================== +--- xorg-server-21.1.4.orig/hw/xfree86/dri2/pci_ids/radeonsi_pci_ids.h ++++ /dev/null +@@ -1,237 +0,0 @@ +-CHIPSET(0x6780, TAHITI_6780, TAHITI) +-CHIPSET(0x6784, TAHITI_6784, TAHITI) +-CHIPSET(0x6788, TAHITI_6788, TAHITI) +-CHIPSET(0x678A, TAHITI_678A, TAHITI) +-CHIPSET(0x6790, TAHITI_6790, TAHITI) +-CHIPSET(0x6791, TAHITI_6791, TAHITI) +-CHIPSET(0x6792, TAHITI_6792, TAHITI) +-CHIPSET(0x6798, TAHITI_6798, TAHITI) +-CHIPSET(0x6799, TAHITI_6799, TAHITI) +-CHIPSET(0x679A, TAHITI_679A, TAHITI) +-CHIPSET(0x679B, TAHITI_679B, TAHITI) +-CHIPSET(0x679E, TAHITI_679E, TAHITI) +-CHIPSET(0x679F, TAHITI_679F, TAHITI) +- +-CHIPSET(0x6800, PITCAIRN_6800, PITCAIRN) +-CHIPSET(0x6801, PITCAIRN_6801, PITCAIRN) +-CHIPSET(0x6802, PITCAIRN_6802, PITCAIRN) +-CHIPSET(0x6806, PITCAIRN_6806, PITCAIRN) +-CHIPSET(0x6808, PITCAIRN_6808, PITCAIRN) +-CHIPSET(0x6809, PITCAIRN_6809, PITCAIRN) +-CHIPSET(0x6810, PITCAIRN_6810, PITCAIRN) +-CHIPSET(0x6811, PITCAIRN_6811, PITCAIRN) +-CHIPSET(0x6816, PITCAIRN_6816, PITCAIRN) +-CHIPSET(0x6817, PITCAIRN_6817, PITCAIRN) +-CHIPSET(0x6818, PITCAIRN_6818, PITCAIRN) +-CHIPSET(0x6819, PITCAIRN_6819, PITCAIRN) +-CHIPSET(0x684C, PITCAIRN_684C, PITCAIRN) +- +-CHIPSET(0x6820, VERDE_6820, VERDE) +-CHIPSET(0x6821, VERDE_6821, VERDE) +-CHIPSET(0x6822, VERDE_6822, VERDE) +-CHIPSET(0x6823, VERDE_6823, VERDE) +-CHIPSET(0x6824, VERDE_6824, VERDE) +-CHIPSET(0x6825, VERDE_6825, VERDE) +-CHIPSET(0x6826, VERDE_6826, VERDE) +-CHIPSET(0x6827, VERDE_6827, VERDE) +-CHIPSET(0x6828, VERDE_6828, VERDE) +-CHIPSET(0x6829, VERDE_6829, VERDE) +-CHIPSET(0x682A, VERDE_682A, VERDE) +-CHIPSET(0x682B, VERDE_682B, VERDE) +-CHIPSET(0x682C, VERDE_682C, VERDE) +-CHIPSET(0x682D, VERDE_682D, VERDE) +-CHIPSET(0x682F, VERDE_682F, VERDE) +-CHIPSET(0x6830, VERDE_6830, VERDE) +-CHIPSET(0x6831, VERDE_6831, VERDE) +-CHIPSET(0x6835, VERDE_6835, VERDE) +-CHIPSET(0x6837, VERDE_6837, VERDE) +-CHIPSET(0x6838, VERDE_6838, VERDE) +-CHIPSET(0x6839, VERDE_6839, VERDE) +-CHIPSET(0x683B, VERDE_683B, VERDE) +-CHIPSET(0x683D, VERDE_683D, VERDE) +-CHIPSET(0x683F, VERDE_683F, VERDE) +- +-CHIPSET(0x6600, OLAND_6600, OLAND) +-CHIPSET(0x6601, OLAND_6601, OLAND) +-CHIPSET(0x6602, OLAND_6602, OLAND) +-CHIPSET(0x6603, OLAND_6603, OLAND) +-CHIPSET(0x6604, OLAND_6604, OLAND) +-CHIPSET(0x6605, OLAND_6605, OLAND) +-CHIPSET(0x6606, OLAND_6606, OLAND) +-CHIPSET(0x6607, OLAND_6607, OLAND) +-CHIPSET(0x6608, OLAND_6608, OLAND) +-CHIPSET(0x6610, OLAND_6610, OLAND) +-CHIPSET(0x6611, OLAND_6611, OLAND) +-CHIPSET(0x6613, OLAND_6613, OLAND) +-CHIPSET(0x6617, OLAND_6617, OLAND) +-CHIPSET(0x6620, OLAND_6620, OLAND) +-CHIPSET(0x6621, OLAND_6621, OLAND) +-CHIPSET(0x6623, OLAND_6623, OLAND) +-CHIPSET(0x6631, OLAND_6631, OLAND) +- +-CHIPSET(0x6660, HAINAN_6660, HAINAN) +-CHIPSET(0x6663, HAINAN_6663, HAINAN) +-CHIPSET(0x6664, HAINAN_6664, HAINAN) +-CHIPSET(0x6665, HAINAN_6665, HAINAN) +-CHIPSET(0x6667, HAINAN_6667, HAINAN) +-CHIPSET(0x666F, HAINAN_666F, HAINAN) +- +-CHIPSET(0x6640, BONAIRE_6640, BONAIRE) +-CHIPSET(0x6641, BONAIRE_6641, BONAIRE) +-CHIPSET(0x6646, BONAIRE_6646, BONAIRE) +-CHIPSET(0x6647, BONAIRE_6647, BONAIRE) +-CHIPSET(0x6649, BONAIRE_6649, BONAIRE) +-CHIPSET(0x6650, BONAIRE_6650, BONAIRE) +-CHIPSET(0x6651, BONAIRE_6651, BONAIRE) +-CHIPSET(0x6658, BONAIRE_6658, BONAIRE) +-CHIPSET(0x665C, BONAIRE_665C, BONAIRE) +-CHIPSET(0x665D, BONAIRE_665D, BONAIRE) +-CHIPSET(0x665F, BONAIRE_665F, BONAIRE) +- +-CHIPSET(0x9830, KABINI_9830, KABINI) +-CHIPSET(0x9831, KABINI_9831, KABINI) +-CHIPSET(0x9832, KABINI_9832, KABINI) +-CHIPSET(0x9833, KABINI_9833, KABINI) +-CHIPSET(0x9834, KABINI_9834, KABINI) +-CHIPSET(0x9835, KABINI_9835, KABINI) +-CHIPSET(0x9836, KABINI_9836, KABINI) +-CHIPSET(0x9837, KABINI_9837, KABINI) +-CHIPSET(0x9838, KABINI_9838, KABINI) +-CHIPSET(0x9839, KABINI_9839, KABINI) +-CHIPSET(0x983A, KABINI_983A, KABINI) +-CHIPSET(0x983B, KABINI_983B, KABINI) +-CHIPSET(0x983C, KABINI_983C, KABINI) +-CHIPSET(0x983D, KABINI_983D, KABINI) +-CHIPSET(0x983E, KABINI_983E, KABINI) +-CHIPSET(0x983F, KABINI_983F, KABINI) +- +-CHIPSET(0x9850, MULLINS_9850, MULLINS) +-CHIPSET(0x9851, MULLINS_9851, MULLINS) +-CHIPSET(0x9852, MULLINS_9852, MULLINS) +-CHIPSET(0x9853, MULLINS_9853, MULLINS) +-CHIPSET(0x9854, MULLINS_9854, MULLINS) +-CHIPSET(0x9855, MULLINS_9855, MULLINS) +-CHIPSET(0x9856, MULLINS_9856, MULLINS) +-CHIPSET(0x9857, MULLINS_9857, MULLINS) +-CHIPSET(0x9858, MULLINS_9858, MULLINS) +-CHIPSET(0x9859, MULLINS_9859, MULLINS) +-CHIPSET(0x985A, MULLINS_985A, MULLINS) +-CHIPSET(0x985B, MULLINS_985B, MULLINS) +-CHIPSET(0x985C, MULLINS_985C, MULLINS) +-CHIPSET(0x985D, MULLINS_985D, MULLINS) +-CHIPSET(0x985E, MULLINS_985E, MULLINS) +-CHIPSET(0x985F, MULLINS_985F, MULLINS) +- +-CHIPSET(0x1304, KAVERI_1304, KAVERI) +-CHIPSET(0x1305, KAVERI_1305, KAVERI) +-CHIPSET(0x1306, KAVERI_1306, KAVERI) +-CHIPSET(0x1307, KAVERI_1307, KAVERI) +-CHIPSET(0x1309, KAVERI_1309, KAVERI) +-CHIPSET(0x130A, KAVERI_130A, KAVERI) +-CHIPSET(0x130B, KAVERI_130B, KAVERI) +-CHIPSET(0x130C, KAVERI_130C, KAVERI) +-CHIPSET(0x130D, KAVERI_130D, KAVERI) +-CHIPSET(0x130E, KAVERI_130E, KAVERI) +-CHIPSET(0x130F, KAVERI_130F, KAVERI) +-CHIPSET(0x1310, KAVERI_1310, KAVERI) +-CHIPSET(0x1311, KAVERI_1311, KAVERI) +-CHIPSET(0x1312, KAVERI_1312, KAVERI) +-CHIPSET(0x1313, KAVERI_1313, KAVERI) +-CHIPSET(0x1315, KAVERI_1315, KAVERI) +-CHIPSET(0x1316, KAVERI_1316, KAVERI) +-CHIPSET(0x1317, KAVERI_1317, KAVERI) +-CHIPSET(0x1318, KAVERI_1318, KAVERI) +-CHIPSET(0x131B, KAVERI_131B, KAVERI) +-CHIPSET(0x131C, KAVERI_131C, KAVERI) +-CHIPSET(0x131D, KAVERI_131D, KAVERI) +- +-CHIPSET(0x67A0, HAWAII_67A0, HAWAII) +-CHIPSET(0x67A1, HAWAII_67A1, HAWAII) +-CHIPSET(0x67A2, HAWAII_67A2, HAWAII) +-CHIPSET(0x67A8, HAWAII_67A8, HAWAII) +-CHIPSET(0x67A9, HAWAII_67A9, HAWAII) +-CHIPSET(0x67AA, HAWAII_67AA, HAWAII) +-CHIPSET(0x67B0, HAWAII_67B0, HAWAII) +-CHIPSET(0x67B1, HAWAII_67B1, HAWAII) +-CHIPSET(0x67B8, HAWAII_67B8, HAWAII) +-CHIPSET(0x67B9, HAWAII_67B9, HAWAII) +-CHIPSET(0x67BA, HAWAII_67BA, HAWAII) +-CHIPSET(0x67BE, HAWAII_67BE, HAWAII) +- +-CHIPSET(0x6900, ICELAND_, ICELAND) +-CHIPSET(0x6901, ICELAND_, ICELAND) +-CHIPSET(0x6902, ICELAND_, ICELAND) +-CHIPSET(0x6903, ICELAND_, ICELAND) +-CHIPSET(0x6907, ICELAND_, ICELAND) +- +-CHIPSET(0x6920, TONGA_, TONGA) +-CHIPSET(0x6921, TONGA_, TONGA) +-CHIPSET(0x6928, TONGA_, TONGA) +-CHIPSET(0x6929, TONGA_, TONGA) +-CHIPSET(0x692B, TONGA_, TONGA) +-CHIPSET(0x692F, TONGA_, TONGA) +-CHIPSET(0x6930, TONGA_, TONGA) +-CHIPSET(0x6938, TONGA_, TONGA) +-CHIPSET(0x6939, TONGA_, TONGA) +- +-CHIPSET(0x9870, CARRIZO_, CARRIZO) +-CHIPSET(0x9874, CARRIZO_, CARRIZO) +-CHIPSET(0x9875, CARRIZO_, CARRIZO) +-CHIPSET(0x9876, CARRIZO_, CARRIZO) +-CHIPSET(0x9877, CARRIZO_, CARRIZO) +- +-CHIPSET(0x7300, FIJI_, FIJI) +- +-CHIPSET(0x67E0, POLARIS11_, POLARIS11) +-CHIPSET(0x67E1, POLARIS11_, POLARIS11) +-CHIPSET(0x67E3, POLARIS11_, POLARIS11) +-CHIPSET(0x67E7, POLARIS11_, POLARIS11) +-CHIPSET(0x67E8, POLARIS11_, POLARIS11) +-CHIPSET(0x67E9, POLARIS11_, POLARIS11) +-CHIPSET(0x67EB, POLARIS11_, POLARIS11) +-CHIPSET(0x67EF, POLARIS11_, POLARIS11) +-CHIPSET(0x67FF, POLARIS11_, POLARIS11) +- +-CHIPSET(0x67C0, POLARIS10_, POLARIS10) +-CHIPSET(0x67C1, POLARIS10_, POLARIS10) +-CHIPSET(0x67C2, POLARIS10_, POLARIS10) +-CHIPSET(0x67C4, POLARIS10_, POLARIS10) +-CHIPSET(0x67C7, POLARIS10_, POLARIS10) +-CHIPSET(0x67C8, POLARIS10_, POLARIS10) +-CHIPSET(0x67C9, POLARIS10_, POLARIS10) +-CHIPSET(0x67CA, POLARIS10_, POLARIS10) +-CHIPSET(0x67CC, POLARIS10_, POLARIS10) +-CHIPSET(0x67CF, POLARIS10_, POLARIS10) +-CHIPSET(0x67DF, POLARIS10_, POLARIS10) +- +-CHIPSET(0x98E4, STONEY_, STONEY) +- +-CHIPSET(0x6980, POLARIS12_, POLARIS12) +-CHIPSET(0x6981, POLARIS12_, POLARIS12) +-CHIPSET(0x6985, POLARIS12_, POLARIS12) +-CHIPSET(0x6986, POLARIS12_, POLARIS12) +-CHIPSET(0x6987, POLARIS12_, POLARIS12) +-CHIPSET(0x6995, POLARIS12_, POLARIS12) +-CHIPSET(0x6997, POLARIS12_, POLARIS12) +-CHIPSET(0x699F, POLARIS12_, POLARIS12) +- +-CHIPSET(0x694C, VEGAM_, VEGAM) +-CHIPSET(0x694E, VEGAM_, VEGAM) +- +-CHIPSET(0x6860, VEGA10_, VEGA10) +-CHIPSET(0x6861, VEGA10_, VEGA10) +-CHIPSET(0x6862, VEGA10_, VEGA10) +-CHIPSET(0x6863, VEGA10_, VEGA10) +-CHIPSET(0x6864, VEGA10_, VEGA10) +-CHIPSET(0x6867, VEGA10_, VEGA10) +-CHIPSET(0x6868, VEGA10_, VEGA10) +-CHIPSET(0x687F, VEGA10_, VEGA10) +-CHIPSET(0x686C, VEGA10_, VEGA10) +- +-CHIPSET(0x69A0, VEGA12_, VEGA12) +-CHIPSET(0x69A1, VEGA12_, VEGA12) +-CHIPSET(0x69A2, VEGA12_, VEGA12) +-CHIPSET(0x69A3, VEGA12_, VEGA12) +-CHIPSET(0x69AF, VEGA12_, VEGA12) +- +-CHIPSET(0x15DD, RAVEN_, RAVEN) +Index: xorg-server-21.1.4/hw/xfree86/dri2/pci_ids/vmwgfx_pci_ids.h +=================================================================== +--- xorg-server-21.1.4.orig/hw/xfree86/dri2/pci_ids/vmwgfx_pci_ids.h ++++ xorg-server-21.1.4/hw/xfree86/dri2/pci_ids/vmwgfx_pci_ids.h +@@ -1 +1,2 @@ + CHIPSET(0x0405, SVGAII, SVGAII) ++CHIPSET(0x0406, SVGAv3, SVGAv3) diff --git a/u_vesa-Add-VBEDPMSGetCapabilities-VBEDPMSGet.patch b/u_vesa-Add-VBEDPMSGetCapabilities-VBEDPMSGet.patch new file mode 100644 index 0000000..b28059f --- /dev/null +++ b/u_vesa-Add-VBEDPMSGetCapabilities-VBEDPMSGet.patch @@ -0,0 +1,432 @@ +From: Egbert Eich +Date: Thu Sep 24 12:38:13 2015 +0200 +Subject: [PATCH]vesa: Add VBEDPMSGetCapabilities & VBEDPMSGet() +Patch-mainline: to be upstreamed + +References: bnc#947356 +Signed-off-by: Egbert Eich + +Signed-off-by: Egbert Eich +--- + hw/xfree86/in10/vbe.c | 147 ++++++++++++++++++++++++++++++++++++++++++++++++++- + hw/xfree86/in10/vbe.h | 3 ++ + 2 files changed, 149 insertions(+), 1 deletion(-) + +Index: xorg-server-21.1.0/hw/xfree86/int10/vbe.c +=================================================================== +--- xorg-server-21.1.0.orig/hw/xfree86/int10/vbe.c ++++ xorg-server-21.1.0/hw/xfree86/int10/vbe.c +@@ -20,6 +20,28 @@ + #include "vbe.h" + #include + ++#ifdef DEBUG ++#define LOG_RESULT(x) { \ ++ xf86DrvMsg(x->pInt10->pScrn->scrnIndex, X_INFO, "%s () = %s\n", \ ++ __FUNCTION__, \ ++ R16(x->pInt10->ax) == 0x4f ? "success" : "failure"); } ++ ++#define LOG_SUCCESS(x) { \ ++ xf86DrvMsg(x->pInt10->pScrn->scrnIndex, X_INFO, "%s () = success\n", \ ++ __FUNCTION__); } ++#define LOG_FAILURE(x) { \ ++ xf86DrvMsg(x->pInt10->pScrn->scrnIndex, X_INFO, "%s () = failure\n", \ ++ __FUNCTION__); } ++#define LOG_VBE(x,fmt, args...) { \ ++ xf86DrvMsg(x->pInt10->pScrn->scrnIndex, X_INFO, "%s " fmt, __FUNCTION__, \ ++ ##args); } ++#else ++#define LOG_RESULT(x) {} ++#define LOG_SUCCESS(x) {} ++#define LOG_FAILURE(x) {} ++#define LOG_VBE(x,fmt, args...) {} ++#endif ++ + #define VERSION(x) VBE_VERSION_MAJOR(x),VBE_VERSION_MINOR(x) + + #if X_BYTE_ORDER == X_LITTLE_ENDIAN +@@ -187,6 +209,7 @@ vbeProbeDDC(vbeInfoPtr pVbe) + if (pVbe->ddc != DDC_UNCHECKED) + return TRUE; + ++ LOG_VBE(pVbe,"()\n"); + pVbe->pInt10->ax = 0x4F15; + pVbe->pInt10->bx = 0; + pVbe->pInt10->cx = 0; +@@ -195,6 +218,7 @@ vbeProbeDDC(vbeInfoPtr pVbe) + pVbe->pInt10->num = 0x10; + + xf86ExecX86int10(pVbe->pInt10); ++ LOG_RESULT(pVbe); + + if ((pVbe->pInt10->ax & 0xff) != 0x4f) { + xf86DrvMsgVerb(screen, X_INFO, 3, "VESA VBE DDC not supported\n"); +@@ -285,6 +309,7 @@ vbeReadEDID(vbeInfoPtr pVbe) + memset(page, 0, sizeof(vbeInfoPtr)); + strcpy(page, vbeVersionString); + ++ LOG_VBE(pVbe, "()\n"); + pVbe->pInt10->ax = 0x4F15; + pVbe->pInt10->bx = 0x01; + pVbe->pInt10->cx = 0; +@@ -294,6 +319,7 @@ vbeReadEDID(vbeInfoPtr pVbe) + pVbe->pInt10->num = 0x10; + + xf86ExecX86int10(pVbe->pInt10); ++ LOG_RESULT(pVbe); + + if ((pVbe->pInt10->ax & 0xff) != 0x4f) { + xf86DrvMsgVerb(screen, X_INFO, 3, "VESA VBE DDC invalid\n"); +@@ -365,11 +391,13 @@ VBEGetVBEInfo(vbeInfoPtr pVbe) + ((char *) pVbe->memory)[2] = 'E'; + ((char *) pVbe->memory)[3] = '2'; + ++ LOG_VBE(pVbe, "()\n"); + pVbe->pInt10->num = 0x10; + pVbe->pInt10->ax = 0x4f00; + pVbe->pInt10->es = SEG_ADDR(pVbe->real_mode_base); + pVbe->pInt10->di = SEG_OFF(pVbe->real_mode_base); + xf86ExecX86int10(pVbe->pInt10); ++ LOG_RESULT(pVbe); + + if (R16(pVbe->pInt10->ax) != 0x4f) + return NULL; +@@ -458,6 +486,7 @@ VBESetVBEMode(vbeInfoPtr pVbe, int mode, + Output: AX = Status + (All other registers are preserved) + */ ++ LOG_VBE(pVbe, "(mode=0x%x)\n", mode); + pVbe->pInt10->num = 0x10; + pVbe->pInt10->ax = 0x4f02; + pVbe->pInt10->bx = mode; +@@ -471,6 +500,7 @@ VBESetVBEMode(vbeInfoPtr pVbe, int mode, + pVbe->pInt10->bx &= ~(1 << 11); + + xf86ExecX86int10(pVbe->pInt10); ++ LOG_RESULT(pVbe); + + return (R16(pVbe->pInt10->ax) == 0x4f); + } +@@ -488,10 +518,12 @@ VBEGetVBEMode(vbeInfoPtr pVbe, int *mode + BX := Current video mode + (All other registers are preserved) + */ ++ LOG_VBE(pVbe, "()\n"); + pVbe->pInt10->num = 0x10; + pVbe->pInt10->ax = 0x4f03; + + xf86ExecX86int10(pVbe->pInt10); ++ LOG_RESULT(pVbe); + + if (R16(pVbe->pInt10->ax) == 0x4f) { + *mode = R16(pVbe->pInt10->bx); +@@ -521,12 +553,14 @@ VBEGetModeInfo(vbeInfoPtr pVbe, int mode + AX := status + (All other registers are preserved) + */ ++ LOG_VBE(pVbe, "(mode = 0x%x)\n",mode); + pVbe->pInt10->num = 0x10; + pVbe->pInt10->ax = 0x4f01; + pVbe->pInt10->cx = mode; + pVbe->pInt10->es = SEG_ADDR(pVbe->real_mode_base); + pVbe->pInt10->di = SEG_OFF(pVbe->real_mode_base); + xf86ExecX86int10(pVbe->pInt10); ++ LOG_RESULT(pVbe); + if (R16(pVbe->pInt10->ax) != 0x4f) + return NULL; + +@@ -586,6 +620,7 @@ VBESaveRestore(vbeInfoPtr pVbe, vbeSaveR + (All other registers are preserved) + */ + ++ LOG_VBE(pVbe, "(function = %d)", function); + if ((pVbe->version & 0xff00) > 0x100) { + int screen = pVbe->pInt10->pScrn->scrnIndex; + +@@ -597,9 +632,9 @@ VBESaveRestore(vbeInfoPtr pVbe, vbeSaveR + pVbe->pInt10->dx = 0; + pVbe->pInt10->cx = 0x000f; + xf86ExecX86int10(pVbe->pInt10); ++ LOG_RESULT(pVbe); + if (R16(pVbe->pInt10->ax) != 0x4f) + return FALSE; +- + if (function == MODE_SAVE) { + int npages = (R16(pVbe->pInt10->bx) * 64) / 4096 + 1; + +@@ -618,6 +653,7 @@ VBESaveRestore(vbeInfoPtr pVbe, vbeSaveR + + if (!*memory) + return FALSE; ++ + pVbe->pInt10->num = 0x10; + pVbe->pInt10->ax = 0x4f04; + switch (function) { +@@ -635,6 +671,7 @@ VBESaveRestore(vbeInfoPtr pVbe, vbeSaveR + pVbe->pInt10->es = SEG_ADDR(*real_mode_pages); + pVbe->pInt10->bx = SEG_OFF(*real_mode_pages); + xf86ExecX86int10(pVbe->pInt10); ++ LOG_RESULT(pVbe); + return (R16(pVbe->pInt10->ax) == 0x4f); + + } +@@ -652,11 +689,13 @@ VBEBankSwitch(vbeInfoPtr pVbe, unsigned + + Output: + */ ++ LOG_VBE(pVbe, "(bank = %d window = %d)\n", iBank, window); + pVbe->pInt10->num = 0x10; + pVbe->pInt10->ax = 0x4f05; + pVbe->pInt10->bx = window; + pVbe->pInt10->dx = iBank; + xf86ExecX86int10(pVbe->pInt10); ++ LOG_RESULT(pVbe); + + if (R16(pVbe->pInt10->ax) != 0x4f) + return FALSE; +@@ -690,12 +729,14 @@ VBESetGetLogicalScanlineLength(vbeInfoPt + DX := Maximum Number of Scan Lines + */ + ++ LOG_VBE(pVbe,"(width = %i)\n",width); + pVbe->pInt10->num = 0x10; + pVbe->pInt10->ax = 0x4f06; + pVbe->pInt10->bx = command; + if (command == SCANWID_SET || command == SCANWID_SET_BYTES) + pVbe->pInt10->cx = width; + xf86ExecX86int10(pVbe->pInt10); ++ LOG_RESULT(pVbe); + + if (R16(pVbe->pInt10->ax) != 0x4f) + return FALSE; +@@ -715,12 +756,15 @@ VBESetGetLogicalScanlineLength(vbeInfoPt + Bool + VBESetDisplayStart(vbeInfoPtr pVbe, int x, int y, Bool wait_retrace) + { ++ LOG_VBE(pVbe, "(x = %i y = %i wait_retrace = %s)\n", ++ x, y, wait_retrace ? "y" : "n"); + pVbe->pInt10->num = 0x10; + pVbe->pInt10->ax = 0x4f07; + pVbe->pInt10->bx = wait_retrace ? 0x80 : 0x00; + pVbe->pInt10->cx = x; + pVbe->pInt10->dx = y; + xf86ExecX86int10(pVbe->pInt10); ++ LOG_RESULT(pVbe); + + if (R16(pVbe->pInt10->ax) != 0x4f) + return FALSE; +@@ -731,10 +775,12 @@ VBESetDisplayStart(vbeInfoPtr pVbe, int + Bool + VBEGetDisplayStart(vbeInfoPtr pVbe, int *x, int *y) + { ++ LOG_VBE(pVbe, "()\n"); + pVbe->pInt10->num = 0x10; + pVbe->pInt10->ax = 0x4f07; + pVbe->pInt10->bx = 0x01; + xf86ExecX86int10(pVbe->pInt10); ++ LOG_RESULT(pVbe); + + if (R16(pVbe->pInt10->ax) != 0x4f) + return FALSE; +@@ -761,6 +807,7 @@ VBESetGetDACPaletteFormat(vbeInfoPtr pVb + BH := Current number of bits of color per primary + */ + ++ LOG_VBE(pVbe, "(bits = %d)\n", bits); + pVbe->pInt10->num = 0x10; + pVbe->pInt10->ax = 0x4f08; + if (!bits) +@@ -768,6 +815,7 @@ VBESetGetDACPaletteFormat(vbeInfoPtr pVb + else + pVbe->pInt10->bx = (bits & 0x00ff) << 8; + xf86ExecX86int10(pVbe->pInt10); ++ LOG_RESULT(pVbe); + + if (R16(pVbe->pInt10->ax) != 0x4f) + return 0; +@@ -805,6 +853,8 @@ VBESetGetPaletteData(vbeInfoPtr pVbe, Bo + DS := Selector for memory mapped registers + */ + ++ LOG_VBE(pVbe,"(%s first = %i num = %i wait_retrace = %s)\n", ++ set ? "set" : "get", first, num, wait_retrace ? "y" : "n"); + pVbe->pInt10->num = 0x10; + pVbe->pInt10->ax = 0x4f09; + if (!secondary) +@@ -818,6 +868,7 @@ VBESetGetPaletteData(vbeInfoPtr pVbe, Bo + if (set) + memcpy(pVbe->memory, data, num * sizeof(CARD32)); + xf86ExecX86int10(pVbe->pInt10); ++ LOG_RESULT(pVbe); + + if (R16(pVbe->pInt10->ax) != 0x4f) + return NULL; +@@ -850,11 +901,13 @@ VBEGetVBEpmi(vbeInfoPtr pVbe) + (All other registers are preserved) + */ + ++ LOG_VBE(pVbe, "()\n"); + pVbe->pInt10->num = 0x10; + pVbe->pInt10->ax = 0x4f0a; + pVbe->pInt10->bx = 0; + pVbe->pInt10->di = 0; + xf86ExecX86int10(pVbe->pInt10); ++ LOG_RESULT(pVbe); + + if (R16(pVbe->pInt10->ax) != 0x4f) + return NULL; +@@ -967,6 +1020,7 @@ VBEGetPixelClock(vbeInfoPtr pVbe, int mo + AX := VBE Return Status + ECX := Closest pixel clock + */ ++ LOG_VBE(pVbe,"(mode = 0x%x clock = %d)\n", mode, clock); + + pVbe->pInt10->num = 0x10; + pVbe->pInt10->ax = 0x4f0b; +@@ -974,6 +1028,7 @@ VBEGetPixelClock(vbeInfoPtr pVbe, int mo + pVbe->pInt10->cx = clock; + pVbe->pInt10->dx = mode; + xf86ExecX86int10(pVbe->pInt10); ++ LOG_RESULT(pVbe); + + if (R16(pVbe->pInt10->ax) != 0x4f) + return 0; +@@ -981,6 +1036,92 @@ VBEGetPixelClock(vbeInfoPtr pVbe, int mo + return pVbe->pInt10->cx; + } + ++int ++VBEDPMSGetCapabilities(vbeInfoPtr pVbe, int *cap) ++{ ++ /* ++ Input: ++ AX := 4F10h DPMS ++ BL := 00h Get VBE/PM Capabilities ++ CX := 00h ++ ES:DI := 0 ++ ++ Output: ++ AX := Status ++ BH := Power Saving State 1=supported, 0=unsupported ++ Bit 0: stand by, Bit 1: suspend, Bit 2: off Bit 3: reduced ++ */ ++ LOG_VBE(pVbe, "()\n"); ++ pVbe->pInt10->num = 0x10; ++ pVbe->pInt10->ax = 0x4f10; ++ pVbe->pInt10->bx = 0x0; ++ pVbe->pInt10->cx = 0x0; ++ pVbe->pInt10->es = pVbe->pInt10->di = 0; ++ xf86ExecX86int10(pVbe->pInt10); ++ LOG_RESULT(pVbe); ++ ++ if ((R16(pVbe->pInt10->ax) != 0x4f)) ++ return FALSE; ++ ++ xf86DrvMsgVerb(pVbe->pInt10->pScrn->scrnIndex, X_INFO, 7, ++ "DPMSGetCapabilities: 0x%x\n,", ++ pVbe->pInt10->bx); ++ *cap = 1 << DPMSModeOn; /* always supported */ ++ if (pVbe->pInt10->bx & 0x100) ++ *cap |= 1 << DPMSModeStandby; ++ if (pVbe->pInt10->bx & 0x200) ++ *cap |= 1 << DPMSModeSuspend; ++ if (pVbe->pInt10->bx & 0x200) ++ *cap |= 1 << DPMSModeOff; ++ ++ return TRUE; ++} ++ ++int ++VBEDPMSGet(vbeInfoPtr pVbe, int *mode) ++{ ++ /* ++ Input: ++ AX := 4F10h DPMS ++ BL := 02h Get Display Power State ++ CX := 00h ++ ++ Output: ++ AX := VBE Return Status ++ BH := Power State currently set ++ */ ++ LOG_VBE(pVbe, "()\n"); ++ pVbe->pInt10->ax = 0x4f10; ++ pVbe->pInt10->bx = 0x2; ++ pVbe->pInt10->cx = 0x0; ++ xf86ExecX86int10(pVbe->pInt10); ++ LOG_RESULT(pVbe); ++ if ((R16(pVbe->pInt10->ax) != 0x4f)) ++ return FALSE; ++ ++ xf86DrvMsgVerb(pVbe->pInt10->pScrn->scrnIndex, X_INFO, 7, ++ "DPMSGetState: 0x%x\n,", ++ pVbe->pInt10->bx); ++ switch (pVbe->pInt10->bx >> 4) { ++ case 0: ++ *mode = DPMSModeOn; ++ break; ++ case 1: ++ *mode = DPMSModeStandby; ++ break; ++ case 2: ++ *mode = DPMSModeSuspend; ++ break; ++ case 4: ++ *mode = DPMSModeOff; ++ break; ++ case 8: ++ *mode = DPMSModeOn; ++ break; ++ } ++ return TRUE; ++} ++ + Bool + VBEDPMSSet(vbeInfoPtr pVbe, int mode) + { +@@ -994,6 +1135,7 @@ VBEDPMSSet(vbeInfoPtr pVbe, int mode) + AX := VBE Return Status + */ + ++ LOG_VBE(pVbe, "(mode = %d)\n", mode); + pVbe->pInt10->num = 0x10; + pVbe->pInt10->ax = 0x4f10; + pVbe->pInt10->bx = 0x01; +@@ -1011,6 +1153,7 @@ VBEDPMSSet(vbeInfoPtr pVbe, int mode) + break; + } + xf86ExecX86int10(pVbe->pInt10); ++ LOG_RESULT(pVbe); + return (R16(pVbe->pInt10->ax) == 0x4f); + } + +@@ -1059,6 +1202,7 @@ VBEReadPanelID(vbeInfoPtr pVbe) + void *tmp = NULL; + int screen = pVbe->pInt10->pScrn->scrnIndex; + ++ LOG_VBE(pVbe, "()\n"); + pVbe->pInt10->ax = 0x4F11; + pVbe->pInt10->bx = 0x01; + pVbe->pInt10->cx = 0; +@@ -1068,6 +1212,7 @@ VBEReadPanelID(vbeInfoPtr pVbe) + pVbe->pInt10->num = 0x10; + + xf86ExecX86int10(pVbe->pInt10); ++ LOG_RESULT(pVbe); + + if ((pVbe->pInt10->ax & 0xff) != 0x4f) { + xf86DrvMsgVerb(screen, X_INFO, 3, "VESA VBE PanelID invalid\n"); +Index: xorg-server-21.1.0/hw/xfree86/int10/vbe.h +=================================================================== +--- xorg-server-21.1.0.orig/hw/xfree86/int10/vbe.h ++++ xorg-server-21.1.0/hw/xfree86/int10/vbe.h +@@ -335,6 +335,9 @@ VBEVesaSaveRestore(vbeInfoPtr pVbe, vbeS + + extern _X_EXPORT int VBEGetPixelClock(vbeInfoPtr pVbe, int mode, int Clock); + extern _X_EXPORT Bool VBEDPMSSet(vbeInfoPtr pVbe, int mode); ++#define VBE_HAVE_DPMS_GET_CAPABILITIES ++extern _X_EXPORT Bool VBEDPMSGetCapabilities(vbeInfoPtr pVbe, int *cap); ++extern _X_EXPORT Bool VBEDPMSGet(vbeInfoPtr pVbe, int *mode); + + struct vbePanelID { + short hsize; diff --git a/u_xf86-Accept-devices-with-the-hyperv_drm-driver.patch b/u_xf86-Accept-devices-with-the-hyperv_drm-driver.patch new file mode 100644 index 0000000..0243df3 --- /dev/null +++ b/u_xf86-Accept-devices-with-the-hyperv_drm-driver.patch @@ -0,0 +1,27 @@ +From 672050be2553afaac6810a4d85d8b5cf1656d380 Mon Sep 17 00:00:00 2001 +From: Thomas Zimmermann +Date: Mon, 13 Dec 2021 16:10:35 +0100 +Subject: [PATCH] xf86: Accept devices with the 'hyperv_drm' driver. + +Signed-off-by: Thomas Zimmermann +--- + hw/xfree86/common/xf86platformBus.c | 3 +++ + 1 file changed, 3 insertions(+) + +diff --git a/hw/xfree86/common/xf86platformBus.c b/hw/xfree86/common/xf86platformBus.c +index 45028f7a6..071f44b2a 100644 +--- a/hw/xfree86/common/xf86platformBus.c ++++ b/hw/xfree86/common/xf86platformBus.c +@@ -560,6 +560,9 @@ xf86platformProbeDev(DriverPtr drvp) + if (ServerIsNotSeat0()) { + break; + } else { ++ /* Accept the device if the driver is hyperv_drm */ ++ if (strcmp(xf86_platform_devices[j].attribs->driver, "hyperv_drm") == 0) ++ break; + /* Accept the device if the driver is simpledrm */ + if (strcmp(xf86_platform_devices[j].attribs->driver, "simpledrm") == 0) + break; +-- +2.34.1 + diff --git a/u_xf86-Accept-devices-with-the-kernels-ofdrm-driver.patch b/u_xf86-Accept-devices-with-the-kernels-ofdrm-driver.patch new file mode 100644 index 0000000..4131140 --- /dev/null +++ b/u_xf86-Accept-devices-with-the-kernels-ofdrm-driver.patch @@ -0,0 +1,31 @@ +From a7029faa7da778f9bab88d417e85041c631c87e6 Mon Sep 17 00:00:00 2001 +From: Thomas Zimmermann +Date: Wed, 18 May 2022 10:44:06 +0200 +Subject: [PATCH] xf86: Accept devices with the kernels ofdrm driver + +Add a workaround to accept devices of the kernel's ofdrm driver. +Makes Xorg work on Open Firmware's pre-configured display with the +DRM graphics stack. + +Signed-off-by: Thomas Zimmermann +--- + hw/xfree86/common/xf86platformBus.c | 3 +++ + 1 file changed, 3 insertions(+) + +diff --git a/hw/xfree86/common/xf86platformBus.c b/hw/xfree86/common/xf86platformBus.c +index 071f44b2a..6a0c3177b 100644 +--- a/hw/xfree86/common/xf86platformBus.c ++++ b/hw/xfree86/common/xf86platformBus.c +@@ -563,6 +563,9 @@ xf86platformProbeDev(DriverPtr drvp) + /* Accept the device if the driver is hyperv_drm */ + if (strcmp(xf86_platform_devices[j].attribs->driver, "hyperv_drm") == 0) + break; ++ /* Accept the device if the driver is ofdrm */ ++ if (strcmp(xf86_platform_devices[j].attribs->driver, "ofdrm") == 0) ++ break; + /* Accept the device if the driver is simpledrm */ + if (strcmp(xf86_platform_devices[j].attribs->driver, "simpledrm") == 0) + break; +-- +2.38.0 + diff --git a/u_xfree86-Do-not-claim-pci-slots-if-fb-slot-is-already.patch b/u_xfree86-Do-not-claim-pci-slots-if-fb-slot-is-already.patch new file mode 100644 index 0000000..1461518 --- /dev/null +++ b/u_xfree86-Do-not-claim-pci-slots-if-fb-slot-is-already.patch @@ -0,0 +1,33 @@ +Author: Michal Srb +Subject: xfree86: Do not claim pci slots if fb slot is already claimed. +Patch-Mainline: To be upstreamed +References: bsc#1119431 + +The xf86PostProbe would terminate with fatal error if both fb and pci +slot were claimed at the same time, so there is no point in trying. +The opposite logic is already implemented - fb slots will not be claimed +if a pci slot was claimed. + +This fixes issue with xf86-video-fbdev and xf86-video-vesa activating at +the same time (when /dev/fb0 is provided by the vesafb kernel driver). +--- + hw/xfree86/common/xf86pciBus.c | 3 +++ + 1 file changed, 3 insertions(+) + +diff --git a/hw/xfree86/common/xf86pciBus.c b/hw/xfree86/common/xf86pciBus.c +index 0718cdcb0..24396a63c 100644 +--- a/hw/xfree86/common/xf86pciBus.c ++++ b/hw/xfree86/common/xf86pciBus.c +@@ -212,6 +212,9 @@ xf86ClaimPciSlot(struct pci_device *d, DriverPtr drvp, + EntityPtr p = NULL; + int num; + ++ if (fbSlotClaimed) ++ return -1; ++ + if (xf86CheckPciSlot(d)) { + num = xf86AllocateEntity(); + p = xf86Entities[num]; +-- +2.16.4 + diff --git a/u_xfree86-activate-GPU-screens-on-autobind.patch b/u_xfree86-activate-GPU-screens-on-autobind.patch new file mode 100644 index 0000000..ab7d13b --- /dev/null +++ b/u_xfree86-activate-GPU-screens-on-autobind.patch @@ -0,0 +1,267 @@ +From 358448649d39b6cf4de49c0f65ce2b5f4c702c65 Mon Sep 17 00:00:00 2001 +From: Dave Airlie +Date: Sun, 2 Jan 2022 01:27:31 +0200 +Subject: [PATCH xserver] xfree86: activate GPU screens on autobind + +Part of the original patch by Dave Airlie has landed +078277e4d92f05a90c4715d61b89b9d9d38d68ea, this contains the remainder of +what was in SUSE before Xorg 21.1. + +Signed-off-by: Dave Airlie +--- + dix/main.c | 4 + + hw/xfree86/common/xf86Init.c | 185 +++++++++++++++++++++++++++++++++++ + include/dix.h | 2 + + 3 files changed, 191 insertions(+) + +diff --git a/dix/main.c b/dix/main.c +index bfc8addbe..c7b8ed49e 100644 +--- a/dix/main.c ++++ b/dix/main.c +@@ -121,6 +121,8 @@ extern void Dispatch(void); + + CallbackListPtr RootWindowFinalizeCallback = NULL; + ++CallbackListPtr RootWindowInitialized = NULL; ++ + int + dix_main(int argc, char *argv[], char *envp[]) + { +@@ -242,6 +244,8 @@ dix_main(int argc, char *argv[], char *envp[]) + for (i = 0; i < screenInfo.numScreens; i++) + InitRootWindow(screenInfo.screens[i]->root); + ++ CallCallbacks(&RootWindowInitialized, NULL); ++ + InitCoreDevices(); + InitInput(argc, argv); + InitAndStartDevices(); +diff --git a/hw/xfree86/common/xf86Init.c b/hw/xfree86/common/xf86Init.c +index 380288ca4..9839cb19c 100644 +--- a/hw/xfree86/common/xf86Init.c ++++ b/hw/xfree86/common/xf86Init.c +@@ -204,6 +204,9 @@ xf86HasTTYs(void) + #endif + } + ++static void ++xf86AutoConfigProviderOutputs(CallbackListPtr *pcbl, void *data, void *call_data); ++ + static void + xf86AutoConfigOutputDevices(void) + { +@@ -217,6 +220,8 @@ xf86AutoConfigOutputDevices(void) + RRProviderAutoConfigGpuScreen(xf86ScrnToScreen(xf86GPUScreens[i]), + xf86ScrnToScreen(xf86Screens[scrnum])); + } ++ ++ AddCallback(&RootWindowInitialized, xf86AutoConfigProviderOutputs, NULL); + } + + static void +@@ -258,6 +263,189 @@ AddVTAtoms(CallbackListPtr *pcbl, void *data, void *screen) + "Failed to register VT properties\n"); + } + ++ ++/* ++ * This function activates all outputs of all GPU screens associated with the ++ * given master screen and sets them to their preferred resolution next to ++ * each other left-to-right. ++ */ ++static void ++xf86AutoConfigureProviderOutputsForMaster(ScreenPtr pMasterScreen) ++{ ++ ScreenPtr pScreen; ++ rrScrPrivPtr pMasterScrPriv, pScrPriv; ++ RROutputPtr pOutput; ++ RRCrtcPtr pCrtc; ++ RRCrtcPtr *pUsedCrtcs; ++ int usedCrtcsCount; ++ int screenWidth, screenHeight, screenWidthMM, screenHeightMM; ++ int i, j, k, l; ++ ++ struct OutputConfig { ++ RROutputPtr pOutput; ++ RRCrtcPtr pCrtc; ++ ++ int x; ++ int y; ++ } *outputConfigs; ++ int outputConfigsCount = 0, outputConfigsUsed = 0; ++ ++ if (!dixPrivateKeyRegistered(rrPrivKey)) ++ return; ++ ++ pMasterScrPriv = rrGetScrPriv(pMasterScreen); ++ if (!pMasterScrPriv) ++ return; ++ ++ // Count the potential maximum of outputs that we will try to auto configure ++ for (i = 0; i < xf86NumGPUScreens; i++) { ++ pScreen = xf86GPUScreens[i]->pScreen; ++ if (pScreen->current_primary != pMasterScreen || !pScreen->is_output_secondary) ++ continue; ++ ++ pScrPriv = rrGetScrPriv(pScreen); ++ if (!pScrPriv) ++ continue; ++ ++ outputConfigsCount += pScrPriv->numOutputs; ++ } ++ ++ if (outputConfigsCount == 0) ++ return; ++ ++ outputConfigs = calloc(outputConfigsCount, sizeof(*outputConfigs)); ++ ++ screenWidth = 0; ++ screenHeight = 0; ++ ++ // Consider the master's own outputs/crtcs that were already configured ++ for (i = 0; i < pMasterScrPriv->numCrtcs; i++) { ++ if (!pMasterScrPriv->crtcs[i]->mode) ++ continue; ++ ++ screenWidth = max(screenWidth, pMasterScrPriv->crtcs[i]->x + pMasterScrPriv->crtcs[i]->mode->mode.width); ++ screenHeight = max(screenHeight, pMasterScrPriv->crtcs[i]->y + pMasterScrPriv->crtcs[i]->mode->mode.height); ++ } ++ ++ // Now add as many outputs from slave GPUs as we can next to it ++ for (i = 0; i < xf86NumGPUScreens; i++) { ++ pScreen = xf86GPUScreens[i]->pScreen; ++ if (pScreen->current_primary != pMasterScreen || !pScreen->is_output_secondary) ++ continue; ++ ++ pScrPriv = rrGetScrPriv(pScreen); ++ if (!pScrPriv) ++ continue; ++ ++ pUsedCrtcs = calloc(pScrPriv->numCrtcs, sizeof(*pUsedCrtcs)); ++ if (!pUsedCrtcs) ++ continue; ++ ++ usedCrtcsCount = 0; ++ ++ for (j = 0; j < pScrPriv->numOutputs; j++) { ++ pOutput = pScrPriv->outputs[j]; ++ ++ if (pOutput->connection != RR_Connected || ++ pOutput->nonDesktop || ++ pOutput->numModes == 0 || ++ pOutput->numCrtcs == 0) ++ continue; ++ ++ if (screenWidth + pOutput->modes[0]->mode.width > pMasterScrPriv->maxWidth || ++ screenHeight + pOutput->modes[0]->mode.height > pMasterScrPriv->maxHeight) ++ { ++ // It can't fit into the maximal size, skip ++ continue; ++ } ++ ++ for (k = 0; k < pOutput->numCrtcs; k++) { ++ pCrtc = pOutput->crtcs[k]; ++ for (l = 0; l < usedCrtcsCount; l++) { ++ if (pCrtc == pUsedCrtcs[l]) { ++ pCrtc = NULL; ++ break; ++ } ++ } ++ if (pCrtc) { ++ break; ++ } ++ } ++ ++ if (!pCrtc) { ++ // No more free CRTCs to setup this output, skip ++ continue; ++ } ++ ++ pUsedCrtcs[usedCrtcsCount] = pCrtc; ++ usedCrtcsCount++; ++ ++ assert(outputConfigsUsed < outputConfigsCount); ++ outputConfigs[outputConfigsUsed].pOutput = pOutput; ++ outputConfigs[outputConfigsUsed].pCrtc = pCrtc; ++ outputConfigs[outputConfigsUsed].x = screenWidth; ++ outputConfigs[outputConfigsUsed].y = 0; ++ outputConfigsUsed++; ++ ++ screenWidth += pOutput->modes[0]->mode.width; ++ screenHeight += pOutput->modes[0]->mode.height; ++ } ++ ++ free(pUsedCrtcs); ++ } ++ ++ if (outputConfigsUsed == 0) ++ goto out; ++ ++ if (screenWidth < pMasterScrPriv->minWidth) ++ screenWidth = pMasterScrPriv->minWidth; ++ if (screenHeight < pMasterScrPriv->minHeight) ++ screenHeight = pMasterScrPriv->minHeight; ++ ++ if (pMasterScrPriv->mmWidth > 0 && ++ pMasterScrPriv->mmHeight > 0 && ++ pMasterScrPriv->width > 0 && ++ pMasterScrPriv->height > 0) ++ { ++ // If the master screen already has some DPI, keep it ++ screenWidthMM = pMasterScrPriv->mmWidth * screenWidth / pMasterScreen->width; ++ screenHeightMM = pMasterScrPriv->mmHeight * screenHeight / pMasterScreen->height; ++ } else { ++ assert(outputConfigsUsed > 0); ++ // Otherwise use DPI of the first output ++ screenWidthMM = outputConfigs[0].pOutput->mmWidth * screenWidth / outputConfigs[0].pOutput->modes[0]->mode.width; ++ screenHeightMM = outputConfigs[0].pOutput->mmHeight * screenHeight / outputConfigs[0].pOutput->modes[0]->mode.height; ++ } ++ ++ if (!RRScreenSizeSet(pMasterScreen, screenWidth, screenHeight, screenWidthMM, screenHeightMM)) ++ goto out; ++ ++ for (i = 0; i < outputConfigsUsed; i++) { ++ RRCrtcSet( ++ outputConfigs[i].pCrtc, ++ outputConfigs[i].pOutput->modes[0], ++ outputConfigs[i].x, ++ outputConfigs[i].y, ++ RR_Rotate_0, ++ 1, ++ &outputConfigs[i].pOutput ++ ); ++ } ++ ++out: ++ free(outputConfigs); ++} ++ ++static void ++xf86AutoConfigProviderOutputs(CallbackListPtr *pcbl, void *data, void *call_data) ++{ ++ int i; ++ ++ for (i = 0; i < xf86NumScreens; i++) { ++ xf86AutoConfigureProviderOutputsForMaster(xf86Screens[i]->pScreen); ++ } ++} ++ + static Bool + xf86ScreenInit(ScreenPtr pScreen, int argc, char **argv) + { +diff --git a/include/dix.h b/include/dix.h +index 0dcd09b65..ecc73d1d9 100644 +--- a/include/dix.h ++++ b/include/dix.h +@@ -620,6 +620,8 @@ typedef struct { + + extern _X_EXPORT CallbackListPtr RootWindowFinalizeCallback; + ++extern _X_EXPORT CallbackListPtr RootWindowInitialized; ++ + extern int + XItoCoreType(int xi_type); + extern Bool +-- +2.25.1 + diff --git a/u_xorg-server-xdmcp.patch b/u_xorg-server-xdmcp.patch new file mode 100644 index 0000000..606a5ce --- /dev/null +++ b/u_xorg-server-xdmcp.patch @@ -0,0 +1,44 @@ +Author: Reinhard Max + +XDMCP: For IPv6 add IPv6 link local addresses to the end of the list + +For IPv6 add a link local addresses to the end of the list passed to +the XDMCP servers. +Reason: for link local addresses the XDMCP server would need to either +know the interface thru a scope identifier or try all available interfaces. +If they don't this address will fail in which case the XDMCP server +could still try the other addresses passed - however some only try +the first address and then give up. +Even if this seems to be the wrong place to fix this it seems to be +easier than fixing all display servers. + +Index: xorg-server-1.20.5/os/access.c +=================================================================== +--- xorg-server-1.20.5.orig/os/access.c ++++ xorg-server-1.20.5/os/access.c +@@ -827,7 +827,9 @@ DefineSelf(int fd) + + /* + * ignore 'localhost' entries as they're not useful +- * on the other end of the wire ++ * on the other end of the wire and because on hosts ++ * with shared home dirs they'll result in conflicting ++ * entries in ~/.Xauthority + */ + if (ifr->ifa_flags & IFF_LOOPBACK) + continue; +@@ -848,6 +850,14 @@ DefineSelf(int fd) + else if (family == FamilyInternet6 && + IN6_IS_ADDR_LOOPBACK((struct in6_addr *) addr)) + continue; ++ ++ /* Ignore IPv6 link local addresses (fe80::/10), because ++ * they need a scope identifier, which we have no way ++ * of telling to the other end. ++ */ ++ if (family == FamilyInternet6 && ++ IN6_IS_ADDR_LINKLOCAL((struct in6_addr *)addr)) ++ continue; + #endif + XdmcpRegisterConnection(family, (char *) addr, len); + #if defined(IPv6) && defined(AF_INET6) diff --git a/u_xorg-wrapper-Drop-supplemental-group-IDs.patch b/u_xorg-wrapper-Drop-supplemental-group-IDs.patch new file mode 100644 index 0000000..de84feb --- /dev/null +++ b/u_xorg-wrapper-Drop-supplemental-group-IDs.patch @@ -0,0 +1,78 @@ +From: Egbert Eich +Date: Tue Apr 12 15:52:37 2016 +0200 +Subject: [PATCH]xorg-wrapper: Drop supplemental group IDs +Patch-mainline: to be upstreamed +References: +Signed-off-by: Egbert Eich + +Signed-off-by: Egbert Eich +--- + hw/xfree86/xorg-wrapper.c | 48 +++++++++++++++++++++++++++++++++++++++++++++++ + 1 file changed, 48 insertions(+) + +Index: xorg-server-1.20.5/hw/xfree86/xorg-wrapper.c +=================================================================== +--- xorg-server-1.20.5.orig/hw/xfree86/xorg-wrapper.c ++++ xorg-server-1.20.5/hw/xfree86/xorg-wrapper.c +@@ -35,6 +35,8 @@ + #include + #include + #include ++#include ++#include + #ifdef HAVE_SYS_SYSMACROS_H + #include + #endif +@@ -255,6 +257,52 @@ int main(int argc, char *argv[]) + if (needs_root_rights == 0 || (total_cards && kms_cards == total_cards)) { + gid_t realgid = getgid(); + uid_t realuid = getuid(); ++ int ngroups = 0; ++ gid_t *groups = NULL; ++ long int initlen = sysconf(_SC_GETPW_R_SIZE_MAX); ++ size_t len; ++ struct passwd result, *resultp; ++ char *buffer; ++ int e; ++ ++ if (initlen == -1) ++ len = 1024; ++ else ++ len = (size_t) initlen; ++ if ((buffer = malloc(len)) < 0) { ++ fprintf(stderr, "%s: Could not allocate memory: %s\n", ++ progname, strerror(errno)); ++ exit (1); ++ } ++ if ((e = getpwuid_r(realuid, &result, buffer, len, &resultp)) > 0) { ++ fprintf(stderr, "%s: Could not get user name: %s\n", ++ progname, strerror(errno)); ++ exit (1); ++ } else if (resultp == NULL) { ++ fprintf(stderr, "%s: Could not find user name for UID %d\n", ++ progname, realuid); ++ exit (1); ++ } ++ if (getgrouplist(result.pw_name, realgid, groups, &ngroups) < 0) { ++ if ((groups = malloc(sizeof(gid_t) * ngroups)) == NULL) { ++ fprintf(stderr, "%s: Could not allocate memory: %s\n", ++ progname, strerror(errno)); ++ exit (1); ++ } ++ if (getgrouplist(result.pw_name, realgid, groups, &ngroups) < 0) { ++ fprintf(stderr, "%s: Could not get supplementary group list\n", ++ progname); ++ ngroups = 0; ++ } ++ } ++ if (setgroups(ngroups, groups) == -1) { ++ fprintf(stderr, "%s: Could not set groups: %s\n", ++ progname, strerror(errno)); ++ exit (1); ++ } ++ memset(buffer, 0, len); ++ free(buffer); ++ free(groups); + + if (setresgid(-1, realgid, realgid) != 0) { + fprintf(stderr, "%s: Could not drop setgid privileges: %s\n", diff --git a/u_xorg-wrapper-Xserver-Options-Whitelist-Filter.patch b/u_xorg-wrapper-Xserver-Options-Whitelist-Filter.patch new file mode 100644 index 0000000..6fb7b47 --- /dev/null +++ b/u_xorg-wrapper-Xserver-Options-Whitelist-Filter.patch @@ -0,0 +1,96 @@ +--- xserver-1.20.9/hw/xfree86/xorg-wrapper.c ++++ xserver-1.20.9/hw/xfree86/xorg-wrapper.c 2020-09-29 12:52:59.256970275 +0200 +@@ -191,6 +191,60 @@ + return 0; + } + ++static int check_vt_range(long int vt) ++{ ++ if (vt >= 2 && vt <= 7 ) { ++ return 1; ++ } ++ ++ return 0; ++} ++ ++/* Xserver option whitelist filter (boo#1175867) */ ++static int option_filter(int argc, char* argv[]){ ++ ++ for(int pos=1; pos +Date: Tue Apr 12 15:53:11 2016 +0200 +Subject: [PATCH]xorg-wrapper/build: Build position independent code +Patch-mainline: to be upstreamed +References: +Signed-off-by: Egbert Eich + +Signed-off-by: Egbert Eich +--- + hw/xfree86/Makefile.am | 1 + + 1 file changed, 1 insertion(+) + +Index: xorg-server-1.20.5/hw/xfree86/Makefile.am +=================================================================== +--- xorg-server-1.20.5.orig/hw/xfree86/Makefile.am ++++ xorg-server-1.20.5/hw/xfree86/Makefile.am +@@ -92,6 +92,7 @@ if SUID_WRAPPER + wrapexecdir = $(SUID_WRAPPER_DIR) + wrapexec_PROGRAMS = Xorg.wrap + Xorg_wrap_SOURCES = xorg-wrapper.c ++Xorg_wrap_CFLAGS = $(AM_CFLAGS) -pie -fpie + endif + + BUILT_SOURCES = xorg.conf.example diff --git a/xkb-tmpfiles.conf b/xkb-tmpfiles.conf new file mode 100644 index 0000000..c58fbf9 --- /dev/null +++ b/xkb-tmpfiles.conf @@ -0,0 +1 @@ +C /var/lib/xkb/compiled/README.compiled 0644 - - - /usr/share/factory/var/lib/xkb/compiled/README.compiled diff --git a/xorg-backtrace b/xorg-backtrace new file mode 100644 index 0000000..0bc76eb --- /dev/null +++ b/xorg-backtrace @@ -0,0 +1,127 @@ +#!/usr/bin/perl + +$version = "1.0"; +$timeout = 5; +@pkgs = ( "xorg-x11-server", "xorg-x11-driver-video", "xorg-x11-driver-input", + "libpixman-1-0", "libpciaccess0" ); +$xtracmds= "/etc/X11/xorg-backtrace-cmds"; + + +$pid=$ARGV[0]; +if ($pid == 0) { + print "Usage: $0 \n"; + exit 1; +} + + +if (! -e "/usr/bin/gdb") { + print "Install gdb to get reasonable backtraces\n"; + exit 2; +} + +$SIG{ALRM} = sub { die "timeout starting gdb" }; +alarm $timeout; + +open STDERR, ">&STDOUT"; + +use FileHandle; +use IPC::Open2; +$gdb = open2 (*R, *W, "/usr/bin/gdb -n -p $pid"); + +$SIG{ALRM} = sub { kill QUIT, $gdb; sleep 1; kill KILL, $gdb; die "timeout using gdb" }; +alarm $timeout; + + +print "\n==================== GDB Backtrace ============\n\n"; +print "Done by $0 V$version\n\n"; + +$needpkgs=0; +for $p (@pkgs) { + next if system ("rpm", "-q", "--quiet", "$p-debuginfo") == 0 && + system ("rpm", "-q", "--quiet", "$p-debugsource") == 0; + print "Install following debug packages to improve backtrace:\n" unless $needpkgs; + $needpkgs++; + print "\t$p-debug*\n"; +} +print "\n" if $needpkgs; + +print W "set prompt\necho \\n===info\\n\n"; +#print W "info files\necho ===files\\n\n"; +print W "thread apply all bt full\necho ===btend\\n\n"; + +$_=; # GNU gdb version +print; + +while () { + last if /^===info/; + print if /^This GDB was configured as/; +} + +#print "\n==================== Files ====================\n\n"; +#while () { +# last if /^===files/; +# print; +#} + + +print "\n==================== Backtrace ================\n"; +$fno = ""; +$fls = 0; +$o = ""; +$use = 0; +while () { + last if /^===btend/; + if (/^#(\d+)\s/) { + $fno = $1; + $o .= "\n"; + $o .= "===l".($fno-1)."\n" if $use; + $o .= "\n"; + $fls = $fno+1 if /\bxorg_backtrace \(/ || /\bOsSigHandler \(/; + $use = 1; + } + $line{$fno} = $1 if $line{$fno} == 0 && /:(\d+)\s*$/; + $o .= $_; + $use = 0 if /^No symbol table info available/; +} +$o .="\n===l$fno"; + +for $i ($fls..$fno) { + print W "frame $i\necho ===fs$i\\n\nlist\necho ===fe$i\\n\n"; + while () { + last if /^===fs$i\b/; + } + $r = ""; + while () { + last if /^===fe$i\b/; + $r .= $_; + } + if ($line{$i} > 0) { + $r =~ s/^$line{$i}\b/$line{$i} */m; + } + $o =~ s/^===l$i$/$r/m; +} + +if ($fls > 0) { + for $i (0..$fls-1) { + $o =~ s/^(#$i\s.*?)\n.*?\n#/$1\n\n#/ms; + } +} +$o =~ s/^===l.*$//mg; + +print "$o"; + +if (-e $xtracmds) { + print W "source -v $xtracmds\necho ===cmds\\n\n"; + print "\n==================== Extra Commands ===========\n\n"; + while () { + last if /^===cmds/; + print unless /^\+echo ===cmds/; + } +} + +print "\n==================== Backtrace End ============\n\n"; +close R; +close W; + +exit 0; + diff --git a/xorg-server-21.1.12.tar.xz b/xorg-server-21.1.12.tar.xz new file mode 100644 index 0000000..eb3eaeb --- /dev/null +++ b/xorg-server-21.1.12.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1e016e2be1b5ccdd65eac3ea08e54bd13ce8f4f6c3fb32ad6fdac4e71729a90f +size 4957972 diff --git a/xorg-server-21.1.12.tar.xz.sig b/xorg-server-21.1.12.tar.xz.sig new file mode 100644 index 0000000..53e6956 Binary files /dev/null and b/xorg-server-21.1.12.tar.xz.sig differ diff --git a/xorg-server-provides b/xorg-server-provides new file mode 100644 index 0000000..b5b5c45 --- /dev/null +++ b/xorg-server-provides @@ -0,0 +1,4 @@ +Provides: X11_ABI_XINPUT = 24.4 +Provides: X11_ABI_VIDEODRV = 25.2 +Provides: X11_ABI_ANSIC = 0.4 +Provides: X11_ABI_EXTENSION = 10.0 diff --git a/xorg-x11-server-byte-order.patch b/xorg-x11-server-byte-order.patch new file mode 100644 index 0000000..7cb9c0b --- /dev/null +++ b/xorg-x11-server-byte-order.patch @@ -0,0 +1,36 @@ +From 1f679da30a33f3ddad14bc6b2be0795160ae12b8 Mon Sep 17 00:00:00 2001 +From: Adam Jackson +Date: Thu, 9 Apr 2015 10:19:13 -0400 +Subject: [PATCH] include: Fix endianness setup + +Need to make sure X_{BIG,LITTLE}_ENDIAN actually get defined + +Signed-off-by: Adam Jackson +--- + include/dix-config.h.in | 1 + + include/xorg-server.h.in | 1 + + 2 files changed, 2 insertions(+) + +Index: xorg-server-1.20.5/include/dix-config.h.in +=================================================================== +--- xorg-server-1.20.5.orig/include/dix-config.h.in ++++ xorg-server-1.20.5/include/dix-config.h.in +@@ -487,6 +487,7 @@ + + /* byte order */ + #undef X_BYTE_ORDER ++#include + + /* Listen on TCP socket */ + #undef LISTEN_TCP +Index: xorg-server-1.20.5/include/xorg-server.h.in +=================================================================== +--- xorg-server-1.20.5.orig/include/xorg-server.h.in ++++ xorg-server-1.20.5/include/xorg-server.h.in +@@ -218,5 +218,6 @@ + + /* byte order */ + #undef X_BYTE_ORDER ++#include + + #endif /* _XORG_SERVER_H_ */ diff --git a/xorg-x11-server.changes b/xorg-x11-server.changes new file mode 100644 index 0000000..ce507d2 --- /dev/null +++ b/xorg-x11-server.changes @@ -0,0 +1,5821 @@ +------------------------------------------------------------------- +Thu Jul 18 10:44:59 UTC 2024 - Stefan Dirsch + +- u_fbdevhw_kernel6.9_break_fbdev_open.patch + * Linux kernel v6.9 has changed the symlink to point to the + parent device. This breaks fbdev_open() detection logic. + Change it to use the subsystem symlink instead which will + remain stable (gitlab xserver issue#1714) + +------------------------------------------------------------------- +Wed Jun 12 09:08:15 UTC 2024 - Daniel Garcia + +- Fix python3 shebang in source python script to use specific python + interpreter and remove dependency on /usr/bin/python3 + (bsc#1212476) + +------------------------------------------------------------------- +Wed Apr 10 13:20:43 UTC 2024 - Stefan Dirsch + +- U_render-Avoid-possible-double-free-in-ProcRenderAddGl.patch + * fixes regression for security fix for CVE-2024-31083 (bsc#1222312, + boo#1222442, gitlab xserver issue #1659) + +------------------------------------------------------------------- +Thu Apr 4 08:13:19 UTC 2024 - Stefan Dirsch + +- Security update 21.1.12 + This release addresses the following 4 security issues: + * CVE-2024-31080 + * CVE-2024-31081 + * CVE-2024-31082 + * CVE-2024-31083 + Additionally it provides a way to disable byte-swapped clients either by + command line flag or config option. This allows to turn off byte swapping + code that has been a source of security problems lately. + +------------------------------------------------------------------- +Mon Feb 26 12:16:26 UTC 2024 - Dominique Leuenberger + +- Use %patch -P N instead of deprecated %patchN. + +------------------------------------------------------------------- +Tue Feb 20 20:36:19 UTC 2024 - Stefan Dirsch + +- fix permissions of files in xorg-x11-server-source for tigervnc + build later (needed since latest autoconf) + +------------------------------------------------------------------- +Thu Feb 15 17:08:16 UTC 2024 - Joan Torres + +- Provide again xorg-x11-server-source + * xwayland sources are not meant for a generic server. + * https://github.com/TigerVNC/tigervnc/issues/1728 + +------------------------------------------------------------------- +Thu Feb 15 10:46:29 UTC 2024 - Joan Torres + +- Stop providing xorg-x11-server-source from xorg-x11-server + * Now the sources are provided by xwayland because it is more updated. + * Fixes bsc#1219892. + +------------------------------------------------------------------- +Mon Feb 12 09:58:50 UTC 2024 - Stefan Dirsch + +- Release 21.1.11 also covers fixes for security issue CVE-2022-46340 + and bug numbers bsc#1205874, bsc#1217765 + +------------------------------------------------------------------- +Sun Feb 11 10:02:32 UTC 2024 - Stefan Dirsch + +- Release 21.1.11 covers fixes for the following bug numbers, which + are not mentioned in this changelog before: bsc#1218845, + bsc#1218846, bsc#1216261, bsc#1216133, bsc#1216135 + +------------------------------------------------------------------- +Sun Feb 11 09:41:05 UTC 2024 - Stefan Dirsch + +- Release 21.1.11 supersedes the following patches still used with + xorg-x11-server 21.1.4 on sle15-sp5/Leap 15.5 and not mentioned in + this changelog as superseded before: + * U_Xext-fix-invalid-event-type-mask-in-XTestSwapFakeInp.patch + * U_bsc1216133-mi-reset-the-PointerWindows-reference-on-screen-swit.patch + * U_bsc1216135-Xi-randr-fix-handling-of-PropModeAppend-Prepend.patch + * U_bsc1216261-0001-mi-fix-CloseScreen-initialization-order.patch + * U_bsc1216261-0002-fb-properly-wrap-unwrap-CloseScreen.patch + * U_bsc1216261-0003-dix-always-initialize-pScreen-CloseScreen.patch + * bsc1218582-0001-dix-allocate-enough-space-for-logical-button-maps.patch + * bsc1218583-0001-dix-Allocate-sufficient-xEvents-for-our-DeviceStateN.patch + * bsc1218583-0002-dix-fix-DeviceStateNotify-event-calculation.patch + * bsc1218583-0003-Xi-when-creating-a-new-ButtonClass-set-the-number-of.patch + * bsc1218584-0001-Xi-flush-hierarchy-events-after-adding-removing-mast.patch + * bsc1218585-0001-Xi-do-not-keep-linked-list-pointer-during-recursion.patch + * bsc1218585-0002-dix-when-disabling-a-master-float-disabled-slaved-de.patch + * U_bsc1218845-glx-Call-XACE-hooks-on-the-GLX-buffer.patch + * U_bsc1218846-ephyr-xwayland-Use-the-proper-private-key-for-cursor.patch + +------------------------------------------------------------------- +Fri Feb 9 20:09:22 UTC 2024 - Stefan Dirsch + +- xserver sources of this release fixes segfault in Xvnc (bsc#1219311) + +------------------------------------------------------------------- +Mon Jan 29 13:03:52 UTC 2024 - Stefan Dirsch + +- no longer (build-)require obsolete Xprint/XprintUtil + +------------------------------------------------------------------- +Tue Jan 16 13:41:43 UTC 2024 - Stefan Dirsch + +- Update to version 21.1.11 + * This release contains fixes for the issues reported in today's security + advisory: https://lists.x.org/archives/xorg/2024-January/061525.html + + * CVE-2023-6816 (bsc#1218582) + * CVE-2024-0229 (bsc#1218583) + * CVE-2024-21885 (bsc#1218584) + * CVE-2024-21886 (bsc#1218585) + * CVE-2024-0408 + * CVE-2024-0409 +- supersedes the following patches + * U_xephyr-Don-t-check-for-SeatId-anymore.patch + * U_bsc1217765-Xi-allocate-enough-XkbActions-for-our-buttons.patch + * U_bsc1217766-randr-avoid-integer-truncation-in-length-check-of-Pr.patch + +------------------------------------------------------------------- +Sat Jan 6 20:01:20 UTC 2024 - Stefan Dirsch + +- u_miCloseScreen_check_for_null_pScreen_dev_private.patch + * miCloseScreen check for null pScreen dev private (bsc#1218176); + another regression introduced by + U_bsc1216261-0002-fb-properly-wrap-unwrap-CloseScreen.patch + +------------------------------------------------------------------- +Sat Jan 6 15:12:29 UTC 2024 - Stefan Dirsch + +- n_xserver-optimus-autoconfig-hack.patch + u_randr-Do-not-crash-if-slave-screen-does-not-have-pro.patch + u_xfree86-activate-GPU-screens-on-autobind.patch + * check dixPrivateKeyRegistered(rrPrivKey) before calling + rrGetScrPriv() to avoid xserver crash when Xinerama is enabled + (boo#1218240) + + ------------------------------------------------------------------- +Mon Dec 4 18:49:47 UTC 2023 - Stefan Dirsch + +- U_bsc1217765-Xi-allocate-enough-XkbActions-for-our-buttons.patch + * Out-of-bounds memory write in XKB button actions (CVE-2023-6377, + ZDI-CAN-22412, ZDI-CAN-22413, bsc#1217765) +- U_bsc1217766-randr-avoid-integer-truncation-in-length-check-of-Pr.patch + * Out-of-bounds memory read in RRChangeOutputProperty and + RRChangeProviderProperty (CVE-2023-6478, ZDI-CAN-22561, + bsc#1217766) + +------------------------------------------------------------------- +Wed Oct 25 11:05:06 UTC 2023 - Stefan Dirsch + +- Update to version 21.1.9 + * This release contains fixes for CVE-2023-5367, CVE-2023-5380 + and CVE-2023-5574 as reported in today's security advisory: + https://lists.x.org/archives/xorg-announce/2023-October/003430.html +- adjusted u_Use-better-fallbacks-to-generate-cookies-if-arc4rand.patch + +------------------------------------------------------------------- +Sat Apr 1 13:42:37 UTC 2023 - Bjørn Lie + +- Update to version 21.1.8 (CVE-2023-1393): + * This release contains the fix for CVE-2023-1393 + * composite: Fix use-after-free of the COW + * xkbUtils: use existing symbol names instead of deleted + deprecated ones +- Drop U_xserver-composite-Fix-use-after-free-of-the-COW.patch: + Fixed upstream +- Switch back to tarball release, drop source service, add keyring + and sig files. + +------------------------------------------------------------------- +Wed Mar 22 13:48:21 UTC 2023 - Stefan Dirsch + +- U_xserver-composite-Fix-use-after-free-of-the-COW.patch + * overlay window use-after-free (CVE-2023-1393, ZDI-CAN-19866, + bsc#1209543) + +------------------------------------------------------------------- +Tue Feb 7 14:35:33 UTC 2023 - Stefan Dirsch + +- Update to version xorg-server-21.1.7: + * This release contains the fix for CVE-2023-0494 in today's security + advisory: + https://lists.x.org/archives/xorg-announce/2023-February/003320.html + It also fixes a second possible OOB access during EnqueueEvent and a + crasher caused by ResourceClientBits not correctly honouring the + MaxClients value in the configuration file. +- supersedes U_Xi-fix-potential-use-after-free-in-DeepCopyPointerCl.patch, + U_xorg-server-oob-read-enqueue-event.patch + +------------------------------------------------------------------- +Wed Feb 1 10:18:32 UTC 2023 - Stefan Dirsch + +- U_Xi-fix-potential-use-after-free-in-DeepCopyPointerCl.patch + * DeepCopyPointerClasses use-after-free (CVE-2023-0494, + ZDI-CAN-19596, bsc#1207783) + +------------------------------------------------------------------- +Wed Jan 25 16:02:23 UTC 2023 - Stefan Dirsch + +- rename u_xorg-server-oob-read-enqueue-event.patch to + U_xorg-server-oob-read-enqueue-event.patch since it's already + upstream + +------------------------------------------------------------------- +Wed Jan 25 03:15:56 UTC 2023 - Michael Gorse + +- Add u_xorg-server-oob-read-enqueue-event.patch: fix an + out-of-bounds read in EnqueueEvent. + +------------------------------------------------------------------- +Mon Dec 19 19:54:11 UTC 2022 - dmueller@suse.com + +- Update to version xorg-server-21.1.6: + * xserver 21.1.6 + * Xext: fix invalid event type mask in XTestSwapFakeInput + * xkb: fix some possible memleaks in XkbGetKbdByName + * xkb: proof GetCountedString against request length attacks + * xquartz: Fix some formatting + * XQuartz: stub: Call LSOpenApplication instead of fork()/exec() +- drop the following upstream patches: + U_xkb-proof-GetCountedString-against-request-length-at.patch + U_xkb-fix-some-possible-memleaks-in-XkbGetKbdByName.patch + +------------------------------------------------------------------- +Sat Dec 17 17:40:15 UTC 2022 - Dirk Müller + +- Update to version xorg-server-21.1.5: + * xkb: reset the radio_groups pointer to NULL after freeing it + * Xi: avoid integer truncation in length check of ProcXIChangeProperty + * Xi: return an error from XI property changes if verification failed + * Xext: free the screen saver resource when replacing it + * Xext: free the XvRTVideoNotify when turning off from the same client + * Xi: disallow passive grabs with a detail > 255 + * Xtest: disallow GenericEvents in XTestSwapFakeInput + * meson: Don't build COMPOSITE for XQuartz + * xquartz: Move default applications list outside of the main executable + * xquartz: Remove unused macro (X11LIBDIR) +- drop the following upstream patches: + U_0007-xkb-reset-the-radio_groups-pointer-to-NULL-after-fre.patch + U_0002-Xi-return-an-error-from-XI-property-changes-if-verif.patch + U_0003-Xi-avoid-integer-truncation-in-length-check-of-ProcX.patch + U_0004-Xi-disallow-passive-grabs-with-a-detail-255.patch + U_0005-Xext-free-the-screen-saver-resource-when-replacing-i.patch + U_0006-Xext-free-the-XvRTVideoNotify-when-turning-off-from-.patch + U_0001-Xtest-disallow-GenericEvents-in-XTestSwapFakeInput.patch + +------------------------------------------------------------------- +Tue Dec 6 14:26:07 UTC 2022 - Stefan Dirsch + +- U_0007-xkb-reset-the-radio_groups-pointer-to-NULL-after-fre.patch + * XkbGetKbdByName use-after-free (ZDI-CAN-19530, CVE-2022-4283, + bsc#1206017) + +------------------------------------------------------------------- +Wed Nov 30 14:51:14 UTC 2022 - Stefan Dirsch + +- U_0001-Xtest-disallow-GenericEvents-in-XTestSwapFakeInput.patch + * Server XTestSwapFakeInput stack overflow (ZDI-CAN 19265, + CVE-2022-46340, bsc#1205874) +- U_0002-Xi-return-an-error-from-XI-property-changes-if-verif.patch + * Xi: return an error from XI property changes if verification + failed (no ZDI-CAN id, no CVE id, bsc#1205875) +- U_0003-Xi-avoid-integer-truncation-in-length-check-of-ProcX.patch + * Server XIChangeProperty out-of-bounds access (ZDI-CAN 19405, + CVE-2022-46344, bsc#1205876) +- U_0004-Xi-disallow-passive-grabs-with-a-detail-255.patch + * Server XIPassiveUngrabDevice out-of-bounds access (ZDI-CAN 19381, + CVE-2022-46341, bsc#1205877) +- U_0005-Xext-free-the-screen-saver-resource-when-replacing-i.patch + * Server ScreenSaverSetAttributes use-after-free (ZDI-CAN 19404, + CVE-2022-46343, bsc#1205878) +- U_0006-Xext-free-the-XvRTVideoNotify-when-turning-off-from-.patch + * Server XvdiSelectVideoNotify use-after-free (ZDI-CAN 19400, + CVE-2022-46342, bsc#1205879) + +------------------------------------------------------------------- +Mon Nov 7 15:21:27 UTC 2022 - Stefan Dirsch + +- Release 21.1 covers bugfixes and JIRA tickets for bsc#1176015,bsc#1182510,bsc#1182884,bsc#1184072,bsc#1184543,bsc#1184906,bsc#1186092,bsc#1188970,bsc#1194159,bsc#1196577,bsc#1197046,bsc#1197269,bsc#1200076,fdo#574,jsc#SLE-18653,jsc#SLE-8470 + +------------------------------------------------------------------- +Mon Nov 7 11:43:29 UTC 2022 - Stefan Dirsch + +- Release 21.1 supersedes the following patches still used with + xorg-x11-server 1.20.3 on sle15-sp4/Leap 15.4: + * U_0002-DRI2-Add-another-Coffeelake-PCI-ID.patch + * U_0002-Fix-crash-on-XkbSetMap.patch + * U_0003-Fix-crash-on-XkbSetMap.patch + * U_0003-dri2-Sync-i965_pci_ids.h-from-mesa.patch + * U_0004-dri2-Set-fallback-driver-names-for-Intel-and-AMD-chi.patch + * U_0005-dri2-Sync-i965_pci_ids.h-from-mesa-iris_pci_ids.h.patch + * U_build-glx-Lower-gl-version-to-work-with-libglvnd.patch + * U_glamor-Make-pixmap-exportable-from-gbm_bo_from_pixma.patch + * U_hw_do-not-include-sys-io-with-glibc.patch + * U_meson-Fix-another-reference-to-gl-9.2.0.patch + * U_modesetting-Fix-broken-manpage-in-autoconf-build.patch + * U_present-wnmd-Fix-use-after-free-on-CRTC-removal.patch + * U_present-wnmd-Relax-assertion-on-CRTC-on-abort_vblank.patch + * U_xfree86-Change-displays-array-to-pointers-array-to-f.patch + * U_xfree86-Fix-NULL-pointer-dereference-crash.patch + * U_xkbsetdeviceinfo.patch + * u_sync-pci-ids-with-Mesa-21.2.4.patch + * u_xf86-Accept-devices-with-the-simpledrm-driver.patch + * u_xichangehierarchy-CVE-2020-14346.patch + * u_xkb-CVE-2020-14345.patch + * u_xkb-CVE-2020-14360.patch + +------------------------------------------------------------------- +Wed Nov 2 15:37:07 UTC 2022 - Stefan Dirsch + +- removed N_Disable-HW-Cursor-for-cirrus-and-mgag200-kernel-modules.patch + * meanwhile cirrus and mgag200 Kernel drivers have been rewritten + multiple times and no longer have (broken) hardware cursor + +------------------------------------------------------------------- +Wed Nov 2 12:29:59 UTC 2022 - Thomas Zimmermann + +- u_xf86-Accept-devices-with-the-kernels-ofdrm-driver.patch + * Add workaround to support ofdrm + +------------------------------------------------------------------- +Wed Oct 19 11:06:46 UTC 2022 - Stefan Dirsch + +- U_xkb-proof-GetCountedString-against-request-length-at.patch + * security update for CVE-2022-3550 (bsc#1204412) +- U_xkb-fix-some-possible-memleaks-in-XkbGetKbdByName.patch + * security update for CVE-2022-3551 (bsc#1204416) + +------------------------------------------------------------------- +Wed Jul 13 14:02:51 UTC 2022 - Stefan Dirsch + +- rename u_sync-pci-ids-with-Mesa-22.0.0.patch to + u_sync-pci-ids-with-Mesa.patch (currently synced with Mesa 22.1.3) + +------------------------------------------------------------------- +Wed Jul 13 13:52:38 UTC 2022 - Stefan Dirsch + +- u_sync-pci-ids-with-Mesa-22.0.0.patch + * synced with Mesa 22.1.3; just adding a PCI ID for vmware was + needed + +------------------------------------------------------------------- +Wed Jul 13 12:38:05 UTC 2022 - Stefan Dirsch + +- Update to version 21.1 + * This release fixes 2 recently reported security vulnerabilities + in xkb, several regressions since 1.20.x and a number of + miscellaneous bugs. +- supersedes the following security patches + * U_boo1194181-001-xkb-swap-XkbSetDeviceInfo-and-XkbSetDeviceInfoCheck.patch + * U_boo1194179-001-xkb-rename-xkb_h-to-xkb-procs_h.patch + * U_boo1194179-002-xkb-add-request-length-validation-for-XkbSetGeometry.patch +- supersedes U_Fix-build-with-gcc-12.patch + +------------------------------------------------------------------- +Wed Jul 6 12:21:11 UTC 2022 - Stefan Dirsch + +- U_boo1194181-001-xkb-swap-XkbSetDeviceInfo-and-XkbSetDeviceInfoCheck.patch + * Out-Of-Bounds Access in CheckSetDeviceIndicators() + (CVE-2022-2320, ZDI-CAN-16070, bsc#1194181) +- U_boo1194179-001-xkb-rename-xkb_h-to-xkb-procs_h.patch, + U_boo1194179-002-xkb-add-request-length-validation-for-XkbSetGeometry.patch + * Out-Of-Bounds Access in _CheckSetSections() + (CVE-2022-2319, ZDI-CAN-16062, bsc#1194179) + +------------------------------------------------------------------- +Tue May 10 13:04:38 UTC 2022 - Dirk Müller + +- add n_raise_default_clients.patch + +------------------------------------------------------------------- +Wed Mar 30 12:36:36 UTC 2022 - Marcus Meissner + +- disable -z now linking for now, as there are some missing symbol + issues. (boo#1197994) + +------------------------------------------------------------------- +Sun Mar 13 09:51:32 UTC 2022 - Stefan Dirsch + +- u_sync-pci-ids-with-Mesa-22.0.0.patch + * sync pci ids with Mesa 22.0.0 + +------------------------------------------------------------------- +Tue Feb 22 18:24:20 UTC 2022 - Bjørn Lie + +- U_Fix-build-with-gcc-12.patch + * render: Fix build with gcc 12 (glfdo#xorg/xserver!853). + +------------------------------------------------------------------- +Sat Feb 12 11:12:33 UTC 2022 - Stefan Dirsch + +- U_xephyr-Don-t-check-for-SeatId-anymore.patch + * fix mouse/keyboard focus in Xephyr (boo#1194658, + github issue#1289) + +------------------------------------------------------------------- +Thu Feb 10 20:26:44 UTC 2022 - Dirk Müller + +- fix bashisms in pre_checkins.sh (bsc#1195391) + +------------------------------------------------------------------- +Mon Jan 3 21:03:34 UTC 2022 - Stefan Dirsch + +- u_xfree86-activate-GPU-screens-on-autobind.patch + * Part of the original patch by Dave Airlie has landed + 078277e4d92f05a90c4715d61b89b9d9d38d68ea, this contains the + remainder of what was in SUSE before Xorg 21.1. + (github issue#1254, boo#1192751) + +------------------------------------------------------------------- +Mon Jan 3 18:29:59 UTC 2022 - Stefan Dirsch + +- Update to version 21.1.3 + * This release fixes several regressions since 1.20.x and 21.1.1 + + glx/dri: Filter out fbconfigs that don't have a supported pixmap format + + xf86/logind: Fix compilation error when built without logind/platform bus + + xf86/logind: fix missing call to vtenter if the platform device is not paused + + Convert more funcs to use InternalEvent. + + os: Try to discover the current seat with the XDG_SEAT var first + +------------------------------------------------------------------- +Wed Dec 15 15:08:07 UTC 2021 - Stefan Dirsch + +- Update to version 21.1.2 + * This release fixes 4 recently reported security vulnerabilities and + several regressions. + * In particular, the real physical dimensions are no longer reported + by the X server anymore as it was deemed to be a too disruptive + change. X server will continue to report DPI as 96. +- supersedes U_hw-xfree86-Propagate-physical-dimensions-from-DRM-co.patch +- supersedes U_rendercompositeglyphs.patch +- supersedes U_xfixes-Fix-out-of-bounds-access-in-ProcXFixesCreateP.patch +- supersedes U_Xext-Fix-out-of-bounds-access-in-SProcScreenSaverSus.patch +- supersedes U_record-Fix-out-of-bounds-access-in-SwapCreateRegiste.patch + +------------------------------------------------------------------- +Tue Dec 14 20:21:19 UTC 2021 - Stefan Dirsch + +- U_xfixes-Fix-out-of-bounds-access-in-ProcXFixesCreateP.patch + * CVE-2021-4009/ZDI-CAN-14950 (bsc#1190487) + The handler for the CreatePointerBarrier request of the XFixes + extension does not properly validate the request length leading + to out of bounds memory write. +- U_Xext-Fix-out-of-bounds-access-in-SProcScreenSaverSus.patch + * CVE-2021-4010/ZDI-CAN-14951 (bsc#1190488) + The handler for the Suspend request of the Screen Saver extension + does not properly validate the request length leading to out of + bounds memory write. +- U_record-Fix-out-of-bounds-access-in-SwapCreateRegiste.patch + * CVE-2021-4011/ZDI-CAN-14952 (bsc#1190489) + The handlers for the RecordCreateContext and RecordRegisterClients + requests of the Record extension do not properly validate the request + length leading to out of bounds memory write. + +------------------------------------------------------------------- +Tue Dec 14 15:31:41 UTC 2021 - Stefan Dirsch + +- U_rendercompositeglyphs.patch + * X.Org Server SProcRenderCompositeGlyphs Out-Of-Bounds Access + Privilege Escalation Vulnerability [CVE-2021-4008, ZDI-CAN-14192] + (boo#1193030) + +------------------------------------------------------------------- +Tue Dec 14 14:14:45 UTC 2021 - Thomas Zimmermann + +- u_Support-configuration-files-under-run-X11-xorg.conf..patch +- u_Add-udev-scripts-for-configuration-of-platform-devic.patch +- u_Add-udev-rule-for-HyperV-devices.patch + * Remove udev-based configuration +- u_Revert-xf86-Accept-devices-with-the-simpledrm-driver.patch + * Restore simpledrm workaround +- u_xf86-Accept-devices-with-the-hyperv_drm-driver.patch + * Add workaround to support hyperv_drm + +------------------------------------------------------------------- +Fri Dec 3 14:41:55 UTC 2021 - Thomas Zimmermann + +- u_pci-primary-Fix-up-primary-PCI-device-detection-for-the-platfrom-bus.patch + * Fix SEGFAULT when parsing bus IDs of NULL (boo#1193250) +- u_Support-configuration-files-under-run-X11-xorg.conf..patch + * Support configuration files under /run. Required for generating + configuration files via udev. (boo#1193250) +- u_Add-udev-scripts-for-configuration-of-platform-devic.patch + * Generate configuration files for platform devices (boo#1193250) +- u_Revert-xf86-Accept-devices-with-the-simpledrm-driver.patch + * Code has been obsoleted by udev patchset (boo#1193250) +- u_Add-udev-rule-for-HyperV-devices.patch + * Same as for platform devices, but on HyperV (boo#1193250) + +------------------------------------------------------------------- +Fri Nov 19 15:49:28 UTC 2021 - Stefan Dirsch + +- enable build of Xorg on s390x (jira#SLE-18632) + +------------------------------------------------------------------- +Thu Nov 11 08:35:39 UTC 2021 - Stefan Dirsch + +- U_hw-xfree86-Propagate-physical-dimensions-from-DRM-co.patch + * reverse apply this one to go back to fixed 96 dpi (gitlab + fdo/xserver issue#1241) +- N_fix-dpi-values.diff + * back to version for xserver < 21.1.0 + +------------------------------------------------------------------- +Sun Nov 7 09:22:47 UTC 2021 - Stefan Dirsch + +- Update to version 21.1.1 + * s/__/@/ in inputtestdrv manpage + * Make xf86CompatOutput() return NULL when there are no privates + * Makefile.am: Add missing meson build files to release tarball + +------------------------------------------------------------------- +Wed Oct 27 11:58:32 UTC 2021 - Stefan Dirsch + +- Update to version 21.1.0 + * The meson support is now fully mature. While autotools support + will still be kept for this release series, it will be dropped + afterwards. + * Glamor support for Xvfb. + * Variable refresh rate support in the modesetting driver. + * XInput 2.4 support which adds touchpad gestures. + * DMX DDX has been removed. + * X server now correctly reports display DPI in more cases. This + may affect rendering of client applications that have their own + workarounds for hi-DPI screens. + * A large number of small features and various bug fixes. +- updated xorg-server-provides +- supersedes patches + * U_Fix-segfault-on-probing-a-non-PCI-platform-device-on.patch + * U_dix-window-Use-ConfigureWindow-instead-of-MoveWindow.patch + * U_glamor_egl-Reject-OpenGL-2.1-early-on.patch + * u_render-Cast-color-masks-to-unsigned-long-before-shifting-them.patch +- refreshed patches + * N_fix-dpi-values.diff + * N_zap_warning_xserver.diff + * u_modesetting-Fix-dirty-updates-for-sw-rotation.patch + * u_randr-Do-not-crash-if-slave-screen-does-not-have-pro.patch + * u_vesa-Add-VBEDPMSGetCapabilities-VBEDPMSGet.patch +- disabled n_xserver-optimus-autoconfig-hack.patch, which I believe is + superseded by: + commit 078277e4d92f05a90c4715d61b89b9d9d38d68ea + Author: Dave Airlie + Date: Fri Aug 17 09:49:24 2012 +1000 + + xf86: autobind GPUs to the screen +- added pkgconfig(libxcvt) +- cvt binary moved to libxcvt0 package + +------------------------------------------------------------------- +Fri Jul 30 15:07:59 UTC 2021 - Stefan Dirsch + +- Update to version 1.20.13 + * bugfix release +- supersedes U_present-get_crtc-should-not-return-crtc-when-its-scr.patch, + U_modesetting-unflip-not-possible-when-glamor-is-not-s.patch + +------------------------------------------------------------------- +Thu Jul 22 12:33:48 UTC 2021 - Stefan Dirsch + +- U_modesetting-unflip-not-possible-when-glamor-is-not-s.patch + * this should fixes crashes of xfce when running under qemu + (boo#1188559) + +------------------------------------------------------------------- +Thu Jul 22 09:30:11 UTC 2021 - Dirk Müller + +- add U_present-get_crtc-should-not-return-crtc-when-its-scr.patch (bsc#1188559) + https://gitlab.freedesktop.org/xorg/xserver/-/issues/1195 + +------------------------------------------------------------------- +Fri Jul 9 08:26:19 UTC 2021 - Stefan Dirsch + +- Update to version 1.20.12 + * bugfix release + +------------------------------------------------------------------- +Thu Jun 17 11:43:48 UTC 2021 - Bjørn Lie + +- Drop U_xwayland-Allow-passing-a-fd.patch: We build xwayland in a + separate package now, so no need to keep this patch here. + +------------------------------------------------------------------- +Wed Jun 16 07:56:30 UTC 2021 - Ismail Dönmez + +- Fix typo in %post: xbb.conf -> xkb.conf + +------------------------------------------------------------------- +Fri Jun 11 11:03:18 UTC 2021 - Patrik Jakobsson + +- u_modesetting-Fix-dirty-updates-for-sw-rotation.patch + * Fixes broken rotation support for DRM drivers without hardware + rotation support or direct vram access (bsc#1182955) + +------------------------------------------------------------------- +Mon Apr 19 11:29:31 UTC 2021 - Stefan Dirsch + +- disable build of Xwayland, which is now being built in separate + xwayland package with more recent sources (boo#1182677) + +------------------------------------------------------------------- +Tue Apr 13 15:32:45 UTC 2021 - Stefan Dirsch + +- Update to version 1.20.11 + * bugfix release +- supersedes U_Fix-XChangeFeedbackControl-request-underflow.patch, + U_xkb-Fix-heap-overflow-caused-by-optimized-away-min.patch + +------------------------------------------------------------------- +Mon Apr 12 10:46:33 UTC 2021 - Stefan Dirsch + +- U_Fix-XChangeFeedbackControl-request-underflow.patch + * Fix XChangeFeedbackControl() request underflow (CVE-2021-3472, + ZDI-CAN-1259, bsc#1180128) + +------------------------------------------------------------------- +Wed Mar 3 09:24:59 UTC 2021 - Stefan Dirsch + +- reenabled LTO (boo#1133294) + * u_no-lto-for-tests.patch + disables LTO in test/ subtree, since "-Wl,-wrap" is not supported by LTO + * added "%global _lto_cflags %{?_lto_cflags} -ffat-lto-objects" + +------------------------------------------------------------------- +Mon Dec 07 13:48:26 UTC 2020 - tobias.klausmann@freenet.de + +- Update to version 1.20.10: + * Check SetMap request length carefully. + * Fix XkbSetDeviceInfo() and SetDeviceIndicators() heap overflows + * present/wnmd: Translate update region to screen space + * modesetting: keep going if a modeset fails on EnterVT + * modesetting: check the kms state on EnterVT + * configure: Build hashtable for Xres and glvnd + * xwayland: Create an xwl_window for toplevel only + * xwayland: non-rootless requires the wl_shell protocol + * glamor: Update pixmap's devKind when making it exportable + * os: Fix instruction pointer written in xorg_backtrace + * present/wnmd: Execute copies at target_msc-1 already + * present/wnmd: Move up present_wnmd_queue_vblank + * present: Add present_vblank::exec_msc field + * present: Move flip target_msc adjustment out of present_vblank_create + * xwayland: Remove pending stream reference when freeing + * xwayland: use drmGetNodeTypeFromFd for checking if a node is a render one + * xwayland: Do not discard frame callbacks on allow commits + * present/wnmd: Remove dead check from present_wnmd_check_flip + * xwayland: Check window pixmap in xwl_present_check_flip2 + * present/wnmd: Can't use page flipping for windows clipped by children + * xfree86: Take second reference for SavedCursor in xf86CursorSetCursor + * glamor: Fix glamor_poly_fill_rect_gl xRectangle::width/height handling + * include: Increase the number of max. input devices to 256. + * Revert "linux: Make platform device probe less fragile" + * Revert "linux: Fix platform device PCI detection for complex bus topologies" + * Revert "linux: Fix platform device probe for DT-based PCI" +- Remove included pachtes + * U_xfree86_take_second_ref_for_xcursor.patch + * U_Revert-linux-Fix-platform-device-probe-for-DT-based-.patch + * U_Revert-linux-Fix-platform-device-PCI-detection-for-c.patch + * U_Revert-linux-Make-platform-device-probe-less-fragile.patch + * U_Fix-XkbSetDeviceInfo-and-SetDeviceIndicators-heap-ov.patch + * U_Check-SetMap-request-length-carefully.patch + +------------------------------------------------------------------- +Mon Dec 7 11:36:04 UTC 2020 - Stefan Dirsch + +- remove unneeded python2 script 'fdi2iclass.py' from + xorg-x11-server-sources subpackage (boo#1179591) + +------------------------------------------------------------------- +Tue Dec 1 16:39:02 UTC 2020 - Stefan Dirsch + +- U_Check-SetMap-request-length-carefully.patch + * XkbSetMap Out-Of-Bounds Access: Insufficient checks on the + lengths of the XkbSetMap request can lead to out of bounds + memory accesses in the X server. (ZDI-CAN 11572, + CVE-2020-14360, bsc#1174908) +- U_Fix-XkbSetDeviceInfo-and-SetDeviceIndicators-heap-ov.patch + * XkbSetDeviceInfo Heap-based Buffer Overflow: Insufficient + checks on input of the XkbSetDeviceInfo request can lead to a + buffer overflow on the head in the X server. (ZDI-CAN 11389, + CVE-2020-25712, bsc#1177596) + +------------------------------------------------------------------- +Wed Sep 30 10:30:06 UTC 2020 - Stefan Dirsch + +- n_xorg-wrapper-anybody.patch + * replace default config /etc/X11/Xwrapper, which allows + anybody to use the wrapper, by a patch for the code, i.e. + # rootonly, console, anybody + allowed_users=anybody + # yes, no, auto + needs_root_rights=auto + is now the default without any Xwrapper config + (needs_root_rights=auto was already the default before) + +------------------------------------------------------------------- +Tue Sep 29 14:47:48 UTC 2020 - Stefan Dirsch + +- u_xorg-wrapper-Xserver-Options-Whitelist-Filter.patch + * replaced by improved version written by Matthias Gerstner of + our security team + + simplified the option parsing code a bit + + changed the "ignore forbidden argument" logic into an "abort + on forbidden argument" logic. This is safer and avoids + surprises on the user's end that could occur if the desired + command line arguments aren't effective but the Xorg server is + still started. + + tried to adjust to the coding style present in the file + (mostly the function name) + + added some logic to apply the option filtering only to + non-root users when Xorg is actually started as root. This + should allow for full flexibility if root calls the wrapper or + if the Xorg server only runs with user privileges. + +------------------------------------------------------------------- +Mon Sep 28 10:29:23 UTC 2020 - Stefan Dirsch + +- U_Fix-segfault-on-probing-a-non-PCI-platform-device-on.patch, + U_Revert-linux-Fix-platform-device-PCI-detection-for-c.patch, + U_Revert-linux-Fix-platform-device-probe-for-DT-based-.patch, + U_Revert-linux-Make-platform-device-probe-less-fragile.patch + * fix Xserver startup on Raspberry Pi 3 (boo#1176203) + +------------------------------------------------------------------- +Thu Sep 24 01:40:17 UTC 2020 - Stefan Dirsch + +- n_xorg-wrapper-rename-Xorg.patch + * moved Xorg to Xorg.bin and Xorg.sh to Xorg (boo#1175867) +- change default for needs_root_rights to auto in Xwrapper.config + (boo#1175867) + +------------------------------------------------------------------- +Wed Sep 16 10:54:32 UTC 2020 - Stefan Dirsch + +- reenabled SUID wrapper for TW (boo#1175867) +- u_xorg-wrapper-Xserver-Options-Whitelist-Filter.patch + * Xserver option whitelist filter (boo#1175867) + +------------------------------------------------------------------- +Wed Sep 9 18:50:37 UTC 2020 - Michael Gorse + +-Add U_xfree86_take_second_ref_for_xcursor.patch: fix + use-after-free when switching VTs. + +------------------------------------------------------------------- +Thu Aug 27 19:29:29 UTC 2020 - bjorn.lie@gmail.com + +- Update to version 1.20.9: + * Fix XRecordRegisterClients() Integer underflow + * Fix XkbSelectEvents() integer underflow + * Fix XIChangeHierarchy() integer underflow + * Correct bounds checking in XkbSetNames() + * linux: Fix platform device probe for DT-based PCI + * linux: Fix platform device PCI detection for complex bus topologies + * linux: Make platform device probe less fragile + * fix for ZDI-11426 + * xfree86: add drm modes on non-GTF panels + * present: Check valid region in window mode flips + * xwayland: Handle NULL xwl_seat in xwl_seat_can_emulate_pointer_warp + * xwayland: Propagate damage x1/y1 coordinates in xwl_present_flip + * doc: Update URLs in Xserver-DTrace.xml + * xwayland: Use a fixed DPI value for core protocol + * xwayland: only use linux-dmabuf if format/modifier was advertised + * hw/xfree86: Avoid cursor use after free + * Update URL's in man pages + * xwayland: Disable the MIT-SCREEN-SAVER extension when rootless + * xwayland: Hold a pixmap reference in struct xwl_present_event + * randr: Check rrPrivKey in RRHasScanoutPixmap() + * modesetting: Fix front_bo leak at drmmode_xf86crtc_resize on XRandR rotation + * xwayland: Store xwl_tablet_pad in its own private key + * xwayland: Initialise values in xwlVidModeGetGamma() + * xwayland: Fix crashes when there is no pointer + * xwayland: Clear private on device removal + * xwayland: Free all remaining events in xwl_present_cleanup + * xwayland: Always use xwl_present_free_event for freeing Present events + * present/wnmd: Free flip_queue entries in present_wnmd_clear_window_flip + * present/wnmd: Keep pixmap pointer in present_wnmd_clear_window_flip + * xwayland: import DMA-BUFs with GBM_BO_USE_RENDERING only + * xwayland: Fix infinite loop at startup + * modesetting: Disable pageflipping when using a swcursor + * dix: do not send focus event when grab actually does not change +- Drop patches fixed upstream: + * U_0001-Correct-bounds-checking-in-XkbSetNames.patch + * U_0002-Fix-XIChangeHierarchy-integer-underflow.patch + * U_0003-Fix-XkbSelectEvents-integer-underflow.patch + * U_0004-Fix-XRecordRegisterClients-Integer-underflow.patch + * U_FixForZDI-11426.patch + +------------------------------------------------------------------- +Tue Aug 25 15:46:49 UTC 2020 - Stefan Dirsch + +- U_0001-Correct-bounds-checking-in-XkbSetNames.patch + * Correct bounds checking in XkbSetNames() + [CVE-2020-14345 / ZDI 11428, boo#1174635] +- U_0002-Fix-XIChangeHierarchy-integer-underflow.patch + * Fix XIChangeHierarchy() integer underflow + [CVE-2020-14346 / ZDI-CAN-11429, boo#1174638] +- U_0003-Fix-XkbSelectEvents-integer-underflow.patch + * Fix XkbSelectEvents() integer underflow + [CVE-2020-14361 / ZDI-CAN 11573, boo#1174910] +- U_0004-Fix-XRecordRegisterClients-Integer-underflow.patch + * Fix XRecordRegisterClients() Integer underflow + [CVE-2020-14362 / ZDI-CAN-11574, boo#1174913] + +------------------------------------------------------------------- +Fri Jul 31 19:54:05 UTC 2020 - Stefan Dirsch + +- U_FixForZDI-11426.patch + * Leak of uninitialized heap memory form the X server to clients + on pixmap allocation (ZDI-CAN-11426, CVE-2020-14347, bsc#1174633) + +------------------------------------------------------------------- +Tue Jun 30 16:48:06 UTC 2020 - Stefan Dirsch + +- move xorg_pci_ids dir from /etc/X11 to /usr/share/X11 and + xorg-x11-server.macros from /etc/rpm to /usr/lib/rpm/macros.d; + no longer package /etc/X11/xorg.conf.d (boo#1173056) + +------------------------------------------------------------------- +Thu Jun 4 10:02:58 UTC 2020 - Stefan Dirsch + +- U_glamor_egl-Reject-OpenGL-2.1-early-on.patch + * GLAMOR: no longer bail out for OpenGL drivers < 2.1 (boo#1172321) + +------------------------------------------------------------------- +Wed May 6 14:23:54 UTC 2020 - Stefan Dirsch + +- provide/obsoletes cirrus and ast usermode driver also on openSUSE + (jsc#SLE-12127) + +------------------------------------------------------------------- +Mon Mar 30 11:17:21 UTC 2020 - Stefan Dirsch + +- Update to version 1.20.8+0: + * Revert "dri2: Don't make reference to noClientException" + * dix: Check for NULL spriteInfo in GetPairedDevice + * os: Ignore dying client in ResetCurrentRequest + * modesetting: remove unnecessary error message, fix zaphod leases + * Fix building with `-fno-common` + * xwayland: clear pixmaps after creation in rootless mode + * glamor: Fix a compiler warning since the recent OOM fixes. + * Restrict 1x1 pixmap filling optimization to GXcopy + * Add xf86OSInputThreadInit to stub os-support as well + * Fix old-style definition warning for xf86OSInputThreadInit() + * xwayland/glamor-gbm: Handle DRM_FORMAT_MOD_INVALID gracefully + * configure: Define GLAMOR_HAS_EGL_QUERY_DRIVER when available + * modesetting: Disable atomic support by default + * modesetting: Explicitly #include "mi.h" + * xfree86/modes: Bail from xf86RotateRedisplay if pScreen->root is NULL + * xwayland: Split up xwl_screen_post_damage into two phases + * xwayland: Call glamor_block_handler from xwl_screen_post_damage + * xwayland: Add xwl_window_create_frame_callback helper + * xwayland: Use single frame callback for Present flips and normal updates + * xwayland: Use frame callbacks for Present vblank events + * xwayland: Delete all frame_callback_list nodes in xwl_unrealize_window + * glamor: Propagate FBO allocation failure for picture to texture upload + * glamor: Error out on out-of-memory when allocating PBO for FBO access + * glamor: Propagate glamor_prepare_access failures in copy helpers + * glamor: Fallback to system memory for RW PBO buffer allocation +- supersedes u_fno-common.patch + +------------------------------------------------------------------- +Thu Feb 27 14:09:12 UTC 2020 - Stefan Dirsch + +- specfile: reenabled XFree86-VidModeExtension (boo#1164020) + +------------------------------------------------------------------- +Mon Jan 20 16:12:23 UTC 2020 - Stefan Dirsch + +- u_fno-common.patch + * fix build with gcc's -fno-common option (boo#1160423) + +------------------------------------------------------------------- +Tue Jan 14 12:41:02 UTC 2020 - sndirsch@suse.com + +- Update to version 1.20.7+0: + * xserver 1.20.7 + * ospoll: Fix Solaris ports implementation to build on Solaris 11.4 + * os-support/solaris: Set IOPL for input thread too + * Add xf86OSInputThreadInit call from common layer into os-support layer + * Add ddxInputThread call from os layer into ddx layer + * os-support/solaris: Drop ExtendedEnabled global variable + * glamor: Only use dual blending with GLSL >= 1.30 + * modesetting: Check whether RandR was initialized before calling rrGetScrPriv + * Xi: return AlreadyGrabbed for key grabs > 255 + * xwayland: Do flush GPU work in xwl_present_flush + * modesetting: Clear new screen pixmap storage on RandR resize + * xfree86/modes: Call xf86RotateRedisplay from xf86CrtcRotate + * modesetting: Call glamor_finish from drmmode_crtc_set_mode + * modesetting: Use EGL_MESA_query_driver to select DRI driver if possible + * glamor: Add a function to get the driver name via EGL_MESA_query_driver + +------------------------------------------------------------------- +Fri Nov 29 15:21:07 UTC 2019 - Frederic Crozat + +- Build XWayland also on s390. + +------------------------------------------------------------------- +Sat Nov 23 13:21:01 UTC 2019 - bjorn.lie@gmail.com + +- Update to version 1.20.6+0: + * xfree86: Test presence of isastream() + * present/wnmd: Relax assertion on CRTC on abort_vblank() + * os: Don't crash in AttendClient if the client is gone + * dix: Call SourceValidate before GetImage + * mi: Add a default no-op miSourceValidate + * compiler.h: Do not include sys/io.h on ARM with glibc + * xfree86: Call ScreenInit for protocol screens before GPU + screens + * modesetting: + - Implement ms_covering_randr_crtc() for ms_present_get_crtc() + - Fix ms_covering_crtc() segfault with non-xf86Crtc slave + +------------------------------------------------------------------- +Tue Oct 22 06:54:42 UTC 2019 - bjorn.lie@gmail.com + +- Update to version 1.20.5+24: + * Fix crash on XkbSetMap +- Drop unneeded obsinfo file and tweak _service. + +------------------------------------------------------------------- +Sat Oct 12 18:53:52 UTC 2019 - Bjørn Lie + +- Update to version 1.20.5+22: + * miext/sync: + - Make struct _SyncObject::initialized fully ABI compatible + - Fix needless ABI change + * xf86: Disable unused crtc functions when a lease is revoked + * xwayland: + - Handle the case of windows being realized before redirection + - Refactor surface creation into a separate function + - Separate DamagePtr into separate window data + - Do not free a NULL GBM bo + - Expand the RANDR screen size limits + - Update screen pixmap on output resize + - Reset scheduled frames after hiding tablet cursor + - Check status in GBM pixmap creation + - Avoid a crash on pointer enter with a grab + * GLX: + - Fix previous context validation in xorgGlxMakeCurrent + - Set GlxServerExports::{major,minor}Version + - Add a function to change a clients vendor list + - Use the sending client for looking up XID's + - Add a per-client vendor mapping + * xsync: Add resource inside of SyncCreate, export SyncCreate + * dri2: Sync i965_pci_ids.h from mesa + * Xi: Use current device active grab to deliver touch events if + any + * Revert "present/scmd: Check that the flip and screen pixmap + pitches match" + * glamor: Make pixmap exportable from `gbm_bo_from_pixmap()` +- Drop patches fixed upstream: + * U_xwayland-Separate-DamagePtr-into-separate-window-data.patch + * 0001-xsync-Add-resource-inside-of-SyncCreate-export-SyncC.patch + * 0002-GLX-Add-a-per-client-vendor-mapping.patch + * 0003-GLX-Use-the-sending-client-for-looking-up-XID-s.patch + * 0004-GLX-Add-a-function-to-change-a-clients-vendor-list.patch + * 0005-GLX-Set-GlxServerExports-major-minor-Version.patch +- Switch to gitcheckout via source service, use the stable released + branch but set explicit commit used in _service. + +------------------------------------------------------------------- +Sat Sep 21 10:23:06 UTC 2019 - Stefan Dirsch + +- reintroduce Xvfb subpackage (boo#1151457) + +------------------------------------------------------------------- +Mon Sep 16 15:00:32 UTC 2019 - Bjørn Lie + +- Add U_xwayland-Separate-DamagePtr-into-separate-window-data.patch + and U_xwayland-Allow-passing-a-fd.patch: Needed for gnome 3.34 + new and experimental xwayland on demand feature. +- Rebase patches with quilt. + +------------------------------------------------------------------- +Fri Aug 30 09:38:25 UTC 2019 - Stefan Dirsch + +- added patches required for NVIDIA's PRIME render offload support, + which is available since release 435.xx: + 0001-xsync-Add-resource-inside-of-SyncCreate-export-SyncC.patch, + 0002-GLX-Add-a-per-client-vendor-mapping.patch, + 0003-GLX-Use-the-sending-client-for-looking-up-XID-s.patch, + 0004-GLX-Add-a-function-to-change-a-clients-vendor-list.patch, + 0005-GLX-Set-GlxServerExports-major-minor-Version.patch + +------------------------------------------------------------------- +Tue Jul 30 12:35:53 UTC 2019 - Stefan Dirsch + +- move xorg.conf.d snippets from /etc/X11/xorg.conf.d to + /usr/share/X11/xorg.conf.d (boo#1139692) + +------------------------------------------------------------------- +Thu May 30 20:42:40 UTC 2019 - Tobias Klausmann + +- Update to version 1.20.5: + Minor bugfix release to fix some input, Xwayland, glamor, and Present issues. + Thanks to all who contributed fixes and testing. + +------------------------------------------------------------------- +Wed Apr 24 17:47:05 UTC 2019 - Martin LiÅ¡ka + +- Disable LTO (boo#1133294). + +------------------------------------------------------------------- +Tue Mar 26 10:31:53 UTC 2019 - Jan Engelhardt + +- Add systemd-rpm-macros BuildRequire for %tmpfiles_*. + +------------------------------------------------------------------- +Wed Feb 27 13:29:59 UTC 2019 - Stefan Dirsch + +- xorg-server 1.20.4 + * A variety of bugfixes across the board, but primarily in + Xwayland. Thanks to all who contributed with testing and + fixes! + +------------------------------------------------------------------- +Thu Jan 24 14:10:03 UTC 2019 - sndirsch@suse.com + +- get rid of meta packages still requiring/recommending obsolete + drivers packages (boo#1121525) + +------------------------------------------------------------------- +Fri Jan 18 11:41:00 UTC 2019 - sndirsch@suse.com + +- provide/obsolete no longer existing xf86-video-ast, + xf86-video-cirrus on sle15 (bsc#1120282) + +------------------------------------------------------------------- +Wed Jan 2 11:36:57 UTC 2019 - msrb@suse.com + +- u_xfree86-Do-not-claim-pci-slots-if-fb-slot-is-already.patch + * X server does not support mixing fbdev with other drivers, so + claiming pci slots when a fb slot is already claimed only leads + to quiting with fatal error. (bsc#1119431) + +------------------------------------------------------------------- +Thu Nov 22 10:47:07 UTC 2018 - sndirsch@suse.com + +- xorg-server 1.20.3 (see changelog below) superseded the + following patch we used in sle15 before (bsc#1112020, CVE-2018-14665): + - U_Disable-logfile-and-modulepath-when-running-with-ele.patch + +------------------------------------------------------------------- +Wed Nov 14 13:45:37 UTC 2018 - msrb@suse.com + +- U_dix-window-Use-ConfigureWindow-instead-of-MoveWindow.patch + * Fix abort triggered by some uses of screensaver. (bsc#1114822) + +------------------------------------------------------------------- +Mon Oct 29 15:35:59 UTC 2018 - sndirsch@suse.com + +- Update to version 1.20.3 + * Disable -logfile and -modulepath when running with elevated + privileges (bsc#1112020) + * LogFilePrep: add a comment to the unsafe format string. + * xfree86: fix readlink call + +------------------------------------------------------------------- +Mon Oct 15 18:03:28 UTC 2018 - Tobias Klausmann + +- Update to version 1.20.2: + Lots of bugfixes all over the map especially for modesetting, + glamor and xwayland! + +------------------------------------------------------------------- +Wed Aug 15 11:24:17 UTC 2018 - msrb@suse.com + +- Update n_xserver-optimus-autoconfig-hack.patch to v5. + * Fixes provider auto-configuration with nvidia proprietary + driver. (bsc#1103816) + +------------------------------------------------------------------- +Tue Aug 7 22:56:14 UTC 2018 - tobias.johannes.klausmann@mni.thm.de + +- Update to version 1.20.1: + This bugfix release fixes several issues in RANDR, Xwayland, glamor, the + modesetting driver, and elsewhere. +- Packaging changes: + + Adapt patch N_Install-Avoid-failure-on-wrapper-installation.patch to work + with the new version + + Remove patch U_Xext-shm-Refuse-to-work-for-remote-clients.patch + + Remove patch U_modesetting-use-drmmode_bo_import-for-rotate_fb.patch + + Remove patch u_modesetting-Fix-cirrus-24bpp-breakage.patch + + Remove patch U_exa-use-picturematchformat.patch + +------------------------------------------------------------------- +Sat Jul 28 11:24:05 UTC 2018 - jdelvare@suse.de + +- U_exa-use-picturematchformat.patch + * Fix breakage of Xfce (bsc#1102979) + +------------------------------------------------------------------- +Wed Jul 25 09:25:28 UTC 2018 - sndirsch@suse.com + +- fixed build on s390(x) + +------------------------------------------------------------------- +Thu Jul 19 14:12:01 CEST 2018 - tiwai@suse.de + +- u_modesetting-Fix-cirrus-24bpp-breakage.patch + * Fix breakage of cirrus 24bpp support on modesetting driver + (bsc#1101699) + +------------------------------------------------------------------- +Tue Jul 10 12:03:43 UTC 2018 - fcrozat@suse.com + +- Remove /var/lib/X11 and its symlink, it is no longer needed and + doesn't work with transaction-updates (FATE#325524). +- Move README.compiled to another location and use tmpfiles to + copy it at runtime. + +------------------------------------------------------------------- +Mon Jul 2 12:46:54 UTC 2018 - sndirsch@suse.com + +- U_modesetting-use-drmmode_bo_import-for-rotate_fb.patch + * fixes rotation in modesetting driver (regression with + xorg-server 1.20.0, fdo#106715) + * might also fix boo#1099812 ... + +------------------------------------------------------------------- +Tue Jun 26 07:51:15 UTC 2018 - msrb@suse.com + +- U_xkb-Fix-heap-overflow-caused-by-optimized-away-min.patch + * Fix heap overflow caused by unexpected optimization, which was + possible because of relying on undefined behavior. + (boo#1099113) + +------------------------------------------------------------------- +Wed Jun 20 15:40:58 UTC 2018 - sndirsch@suse.com + +- U_Xext-shm-Refuse-to-work-for-remote-clients.patch + * Avoid access to System V shared memory segment on the X server + side for clients forwarded via SSH. Also prevent them from + hanging while waiting for the reply from the ShmCreateSegment + request. (boo#1097227) + +------------------------------------------------------------------- +Tue May 22 07:47:26 UTC 2018 - msrb@suse.com + +- Remove n_add-dummy-xf86DisableRandR.patch + * After upgrade to 1.20.0 the API officially no longer includes + xf86DisableRandR, so there is no need to add it back. + +------------------------------------------------------------------- +Sat May 12 15:03:54 UTC 2018 - tobias.johannes.klausmann@mni.thm.de + +- Update to version 1.20.0: + New features: + + RANDR 1.6, which enables leasing RANDR resources to a client for its + exclusive use (e.g. head mounted displays) + + Depth 30 support in glamor and the modesetting driver + + A meson-based build system, parallel to autotools + + Pageflipping support for PRIME output sinks + + OutputClass device matching for xorg.conf + + Input grab and tablet support in Xwayland +- Remove upstream patches: + + u_xorg-x11-server-reproducible.patch + Solved slightly different + + u_os-inputthread-Force-unlock-when-stopping-thread.patch + + u_xfree86-add-default-modes-for-16-9-and-16-10.patch + + U_xwayland-Don-t-process-cursor-warping-without-an-xwl.patch + + U_xwayland-Give-up-cleanly-on-Wayland-socket-errors.patch + + U_xwayland-avoid-race-condition-on-new-keymap.patch + + U_xwayland-remove-dirty-window-unconditionally-on-unre.patch + + U_0001-animcur-Use-fixed-size-screen-private.patch + + U_0002-animcur-Return-the-next-interval-directly-from-the-t.patch + + U_0003-animcur-Run-the-timer-from-the-device-not-the-screen.patch + + U_0004-animcur-Fix-transitions-between-animated-cursors.patch + + U_xfree86-Remove-broken-RANDR-disabling-logic-v4.patch + + U_glx-Do-not-call-into-Composite-if-it-is-disabled.patch +- Adapt patches to work with the new release: + + N_zap_warning_xserver.diff + + N_fix_fglrx_screendepth_issue.patch + + n_xserver-optimus-autoconfig-hack.patch + + u_Use-better-fallbacks-to-generate-cookies-if-arc4rand.patch + + u_xorg-wrapper-build-Build-position-independent-code.patch + +------------------------------------------------------------------- +Tue Apr 17 10:30:46 UTC 2018 - msrb@suse.com + +- U_glx-Do-not-call-into-Composite-if-it-is-disabled.patch + * Fixes crash when GLX is enabled and Composite disabled. + (bnc#1079607) + +------------------------------------------------------------------- +Mon Apr 16 08:10:50 UTC 2018 - msrb@suse.com + +- n_add-dummy-xf86DisableRandR.patch + * Add dummy xf86DisableRandR to fix linking with drivers that + still call it. See explanation inside the patch. (bnc#1089601) + +------------------------------------------------------------------- +Thu Apr 12 07:34:06 UTC 2018 - msrb@suse.com + +- U_xfree86-Remove-broken-RANDR-disabling-logic-v4.patch + * Fix crash on initialization when fbdev and modesetting are used + together. (bnc#1068961) +- u_randr-Do-not-crash-if-slave-screen-does-not-have-pro.patch + * Fix crash when using randr when fbdev and modesetting are used + together. (bnc#1068961) + +------------------------------------------------------------------- +Tue Mar 27 14:42:18 UTC 2018 - msrb@suse.com + +- Update and re-enable n_xserver-optimus-autoconfig-hack.patch. + (bnc#1084411) + +------------------------------------------------------------------- +Thu Feb 22 10:54:41 UTC 2018 - fcrozat@suse.com + +- U_xwayland-Don-t-process-cursor-warping-without-an-xwl.patch, + U_xwayland-Give-up-cleanly-on-Wayland-socket-errors.patch, + U_xwayland-avoid-race-condition-on-new-keymap.patch, + U_xwayland-remove-dirty-window-unconditionally-on-unre.patch: + * Various crash and bug fixes in XWayland server (bgo#791383, + bgo#790502). + +------------------------------------------------------------------- +Tue Feb 20 20:07:00 UTC 2018 - bwiedemann@suse.com + +- Add u_xorg-x11-server-reproducible.patch to make build reproducible + (boo#1047218) + +------------------------------------------------------------------- +Fri Feb 9 15:13:00 UTC 2018 - sndirsch@suse.com + +- U_0001-animcur-Use-fixed-size-screen-private.patch, + U_0002-animcur-Return-the-next-interval-directly-from-the-t.patch, + U_0003-animcur-Run-the-timer-from-the-device-not-the-screen.patch, + U_0004-animcur-Fix-transitions-between-animated-cursors.patch + * There is a bug in version 1.19 of the X.org X server that can + cause an infinite recursion in the animated cursor code, which + has been fixed by these patches (boo#1080312) +- supersedes u_cursors-animation.patch (boo#1020061) + +------------------------------------------------------------------- +Tue Jan 9 16:30:28 UTC 2018 - mwilck@suse.com + +- Added u_xfree86-add-default-modes-for-16-9-and-16-10.patch (boo#1075249) + Improve user experience for users with 16:9 or 16:10 screens + +------------------------------------------------------------------- +Sun Dec 24 14:59:57 UTC 2017 - tobias.johannes.klausmann@mni.thm.de + +- Update to version 1.19.6: + Another collection of fixes from master. There will likely be at east one more + 1.19.x release in 2018. + +------------------------------------------------------------------- +Tue Dec 12 13:11:34 UTC 2017 - msrb@suse.com + +- Depend on pkgconfig's gl, egl and gbm instead of Mesa-devel. + * Those dependencies are what xorg-x11-server really needs. + Mesa-devel is too general and is a bottleneck in distribution + build. (bnc#1071297) + +------------------------------------------------------------------- +Thu Nov 23 13:52:51 UTC 2017 - rbrown@suse.com + +- Replace references to /var/adm/fillup-templates with new + %_fillupdir macro (boo#1069468) + +------------------------------------------------------------------- +Tue Nov 14 09:57:04 UTC 2017 - msrb@suse.com + +- u_os-inputthread-Force-unlock-when-stopping-thread.patch + * Prevent dead lock if terminating while on inactive VT. + (bnc#1062977) + +------------------------------------------------------------------- +Thu Oct 12 21:13:38 UTC 2017 - tobias.johannes.klausmann@mni.thm.de + +- Update to version 1.19.5: + One regression fix since 1.19.4, and fixes for CVE-2017-12176 through + CVE-2017-12187. + +------------------------------------------------------------------- +Thu Oct 5 12:24:40 UTC 2017 - tobias.johannes.klausmann@mni.thm.de + +- Update to version 1.19.4: + A collection of stability fixes from the development branch, including + two minor CVEs (CVE-2017-13721, CVE-2017-13723). +- Remove upstream patches: + + U_Xi-Do-not-try-to-swap-GenericEvent.patch + + U_Xi-Verify-all-events-in-ProcXSendExtensionEvent.patch + + U_Xi-Zero-target-buffer-in-SProcXSendExtensionEvent.patch + + U_dix-Disallow-GenericEvent-in-SendEvent-request.patch +- Adapt patches to work with the new release: + + u_Use-better-fallbacks-to-generate-cookies-if-arc4rand.patch + +------------------------------------------------------------------- +Thu Aug 31 15:18:20 UTC 2017 - ilya@ilya.pp.ua + +- u_cursors-animation.patch fix cursors animation (boo#1020061) + +------------------------------------------------------------------- +Fri Jul 14 13:52:36 UTC 2017 - sndirsch@suse.com + +- disable Xwayland for s390x again; it was wrong to enable it; + there is no Wayland on s390x and will most likely never exist, + since there is no gfx card on such systems and no gfx emulation + either (bsc#1047173) + +------------------------------------------------------------------- +Thu Jul 13 13:20:07 UTC 2017 - sndirsch@suse.com + +- u_Use-better-fallbacks-to-generate-cookies-if-arc4rand.patch + If arc4random_buf() is not available for generating cookies: + * use getentropy(), if available (which was only recently added to + glibc) + * use getrandom() via syscall(), if available (there was no glibc + wrapper for this syscall for a long time) + * if all else fails, directly read from /dev/urandom as before, but + employ O_CLOEXEC, do an OsAbort() in case the random data couldn't be + read to avoid unsecure situations. Don't know if that's too hard a + measure but it shouldn't actually occur except on maximum number of + FDs reached + (bsc#1025084) + +------------------------------------------------------------------- +Fri Jul 7 09:13:23 UTC 2017 - msrb@suse.com + +- U_Xi-Do-not-try-to-swap-GenericEvent.patch, + U_Xi-Verify-all-events-in-ProcXSendExtensionEvent.patch, + U_Xi-Zero-target-buffer-in-SProcXSendExtensionEvent.patch, + U_dix-Disallow-GenericEvent-in-SendEvent-request.patch + * Fix security issues in event handling. (bnc#1035283, + CVE-2017-10971, CVE-2017-10972) + +------------------------------------------------------------------- +Tue Jul 4 15:45:45 UTC 2017 - sndirsch@suse.com + +- enable Xwayland also for s390x (bsc#1047173) + +------------------------------------------------------------------- +Sat Jun 10 11:52:40 UTC 2017 - sndirsch@suse.com + +- includes everything needed for additional sle issue entries: + CVE-2017-2624, bnc#1025029, bnc#1025084, bnc#1025035 + +------------------------------------------------------------------- +Fri Jun 9 06:29:32 UTC 2017 - opensuse@dstoecker.de + +- update build requirements + +------------------------------------------------------------------- +Tue Jun 6 13:28:00 UTC 2017 - sndirsch@suse.com + +- modesetting.ids: no longer hardcode Intel's Skylake, Broxton, + and Kabylake IDs to modesetting driver; xf86-video-intel is no + longer installed by default on these, so it will fallback to + modesetting driver anyway; still you now can easily switch back + to intel driver by installing xf86-video-intel package + (boo#1042873) + +------------------------------------------------------------------- +Fri Mar 17 12:29:42 UTC 2017 - tobias.johannes.klausmann@mni.thm.de + +- Update to version 1.19.3: + A couple more minor fixes, most notably a revert of a page-flipping + change that regressed some drivers. +- Remove upstreamd patches: + + u_busfault_sigaction-Only-initialize-pointer-when-matched.patch + +------------------------------------------------------------------- +Thu Mar 2 23:29:00 UTC 2017 - tobias.johannes.klausmann@mni.thm.de + +- Update to version 1.19.2: + A collection of stability fixes here across glamor, Xwayland, input, + and Prime support. Also a security fix for CVE-2017-2624, a timing + attack which can brute-force MIT-MAGIC-COOKIE authentication. +- Remove upstream patches: + + U_xfree86-Take-the-input-lock-for-xf86RecolorCursor.patch + + U_xfree86-Take-the-input-lock-for-xf86ScreenCheckHWCursor.patch + + U_xfree86-Take-the-input-lock-for-xf86TransparentCursor.patch + +------------------------------------------------------------------- +Tue Feb 21 13:39:27 UTC 2017 - denis.kondratenko@suse.com + +- U_xfree86-Take-the-input-lock-for-xf86ScreenCheckHWCursor.patch + * Add the missing input_lock() around the call into the driver's +UseHWCursor() callback (bnc #1023845). + +- U_xfree86-Take-the-input-lock-for-xf86TransparentCursor.patch + * The new input lock is missing for the xf86TransparentCursor() entry +point (bnc #1023845). + +------------------------------------------------------------------- +Fri Feb 10 13:01:24 UTC 2017 - sndirsch@suse.com + +- U_xfree86-Take-the-input-lock-for-xf86RecolorCursor.patch + * fixes random crashes in X in multihead mode if one of the + monitors is vertically oriented (bnc #1023845) + +------------------------------------------------------------------- +Fri Feb 3 11:40:11 UTC 2017 - sndirsch@suse.com + +- N_driver-autoconfig.diff: + No longer try to load "amdgpu" DDX by default for all GPUs with + ATI vendor ID; this is now handled instead by an "OutputClass" + section via kernel driver match, which has been added as config + file to xf86-video-amdgpu driver package (bnc#1023385) + +------------------------------------------------------------------- +Thu Jan 26 15:34:57 UTC 2017 - sndirsch@suse.com + +- N_driver-autoconfig.diff: + FGLRX does not support new x-server. This change fixes bad + behavior(with empty config) when radeon ddx loads with amdgpu + kernel module on SI and CIK cards, and x-server cannot start. + Radeon ddx with radeon kernel module loads without any problem. + +------------------------------------------------------------------- +Thu Jan 12 20:22:08 UTC 2017 - tobias.johannes.klausmann@mni.thm.de + +- Update to version 1.19.1: + First stable 1.19 release, including a few regression fixes. + +------------------------------------------------------------------- +Mon Dec 12 17:20:06 UTC 2016 - fbui@suse.com + +- Replace pkgconfig(libsystemd-*) with pkgconfig(libsystemd) + + Nowadays pkgconfig(libsystemd) replaces all libsystemd-* libs, which + are obsolete. + +------------------------------------------------------------------- +Wed Nov 16 00:28:00 UTC 2016 - tobias.johannes.klausmann@mni.thm.de + +- Update to final 1.19.0 + +------------------------------------------------------------------- +Sat Nov 5 21:40:57 UTC 2016 - zaitor@opensuse.org + +- Exchange xorg-x11-fonts-core Requires for Recommends. The + corefonts and cursors are not strickly required as long as one + have a substitute such as Adwaita installed. + +------------------------------------------------------------------- +Mon Sep 19 19:29:36 UTC 2016 - tobias.johannes.klausmann@mni.thm.de + +- Update to version 1.18.99.901: +- Remove upstream pachtes: + + U_glamor-Remove-the-FBO-cache.patch + + U_kdrive-fix-up-NewInputDeviceRequest-implementation.patch + + U_kdrive-set-evdev-driver-for-input-devices-automatica.patch + + U_ephyr-don-t-load-ephyr-input-driver-if-seat-option-i.patch + + U_kdrive-don-t-let-evdev-driver-overwrite-existing-dev.patch + + U_ephyr-ignore-Xorg-multiseat-command-line-options.patch + + U_ephyr-enable-option-sw-cursor-by-default-in-multi-se.patch + + U_kdrive-introduce-input-hot-plugging-support-for-udev.patch + + U_kdrive-add-options-to-set-default-XKB-properties.patch + + U_config-udev-distinguish-between-real-keyboards-and-o.patch +- Disable u_os-connections-Check-for-stale-FDs.patch (not applicable anymore) +- Adapt patches to work with the new release: + + n_xserver-optimus-autoconfig-hack.patch (disabled for now as it causes + problems) +- Remove X.org stack version prefix. + We are already atleast at verion 7.7. Plus we are updating individual + components anyway. So the stack version is misleading. + +------------------------------------------------------------------- +Tue Jul 19 22:44:59 UTC 2016 - tobias.johannes.klausmann@mni.thm.de + +- Update to version 1.18.4: + Another pile of backports from the devel branch, primarily in glamor, + xwayland, and the modesetting driver. +- Remove included patches: + + u_x86emu-include-order.patch + + U_modesetting-set-driverPrivate-to-NULL-after-closing-fd.patch +- Update patches to reflect upstream changes: + + U_glamor-Remove-the-FBO-cache.patch + +------------------------------------------------------------------- +Tue Jul 19 12:01:14 UTC 2016 - mstaudt@suse.com + +- U_glamor-Remove-the-FBO-cache.patch + Fixes (bsc#983743) by not keeping >1 GB of VRAM busy. + +------------------------------------------------------------------- +Tue May 24 06:20:16 UTC 2016 - eich@suse.com + +- U_modesetting-set-driverPrivate-to-NULL-after-closing-fd.patch: + modesetting: Avoid crash in FreeRec() by NULLing a pointer which + may still be used (boo#981268). + +------------------------------------------------------------------- +Mon May 16 19:53:50 UTC 2016 - eich@suse.com + +- Replace + N_Force-swcursor-for-KMS-drivers-without-hw-cursor-sup.patch + by + N_Disable-HW-Cursor-for-cirrus-and-mgag200-kernel-modules.patch + Only disable HW cursor for cirrus and mgag200. This should fix + a regression introduced by using modesetting for Intel gen9+ + (boo#980124). + +------------------------------------------------------------------- +Sun May 8 22:11:49 UTC 2016 - eich@suse.com + +- modesetting.ids: + Add file for PCI IDs of ASICs which the modesetting rather + than the native driver should be used for. + This includes all Intel Gen9+ hardware (boo#978954). + +------------------------------------------------------------------- +Mon May 2 13:46:34 UTC 2016 - sndirsch@suse.com + +- removed u_exa-only-draw-valid-trapezoids.patch; no longer needed + since pixman 0.32.0 + +------------------------------------------------------------------- +Fri Apr 29 08:40:24 UTC 2016 - sndirsch@suse.com + +- removed no longer needed patch + u_ad-hoc-fix-for-mmap-s-truncated-offset-parameter-on-.patch, see + https://lists.x.org/archives/xorg-devel/2016-April/049493.html for + upstream discussion; obsoleted by upstream patch + https://cgit.freedesktop.org/xorg/xserver/commit/?id=4962c8c08842d9d3ca66d254b1ce4cacc4fb3756, which is already in xorg-server 1.18.3 + +------------------------------------------------------------------- +Tue Apr 12 15:33:45 UTC 2016 - eich@suse.com + +- Add permission verification for SUID wrapper +- Disable SUID wrapper per default until reviewed + +------------------------------------------------------------------- +Tue Apr 12 13:59:48 UTC 2016 - eich@suse.com + +- n_Install-Avoid-failure-on-wrapper-installation.patch: + rename to: + N_Install-Avoid-failure-on-wrapper-installation.patch +- u_xorg-wrapper-Drop-supplemental-group-IDs.patch: + Drop supplementary group privileges. +- u_xorg-wrapper-build-Build-position-independent-code.patch: + Build position independent. + +------------------------------------------------------------------- +Tue Apr 12 09:06:06 UTC 2016 - eich@suse.com + +- n_Install-Avoid-failure-on-wrapper-installation.patch: + Fix up build for wrapper. +- Place SUID wrapper into a separate package: + xorg-x11-server-wrapper + +------------------------------------------------------------------- +Thu Apr 7 15:53:39 UTC 2016 - eich@suse.com + +- Set configure option --enable-suid-wrapper for TW: + This way, the SUID wrapper is built which allows to run the Xserver + as root even though the the DM instance runs as user. This allows to + support drivers which require direct HW access. + +------------------------------------------------------------------- +Mon Apr 4 20:11:13 UTC 2016 - tobias.johannes.klausmann@mni.thm.de + +- Update to version 1.18.3: + A few fixes relative to 1.18.2, including one fairly important + performance fix to the Present extension. +- Remove U_present-Only-requeue-for-next-MSC-after-flip-failure.patch + The patch is included in this release. + +------------------------------------------------------------------- +Thu Mar 31 14:27:29 UTC 2016 - tobias.johannes.klausmann@mni.thm.de + +- Add patch U_present-Only-requeue-for-next-MSC-after-flip-failure.patch + Fix a hang while using the present extension + Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=94515 + https://bugs.freedesktop.org/show_bug.cgi?id=94596 + +------------------------------------------------------------------- +Tue Mar 29 08:56:43 UTC 2016 - eich@suse.com + +- Add automake, autoconf, libtool, c_compiler, pkgconfig(xorg-macros), + pkgconfig(libudev), pkgconfig(libevdev), pkgconfig(mtdev) to Requires: + of the SDK. This simplifies the build of Xserver modules. + +------------------------------------------------------------------- +Tue Mar 22 12:22:28 UTC 2016 - eich@suse.com + +- Add support for a driver specific PCI IDs files supplementing + what's in xf86VideoPtrToDriverList(). PCI ID lists may be held + in /etc/X11/xorg_pci_ids (boo#972126). + +------------------------------------------------------------------- +Sat Mar 12 00:31:53 UTC 2016 - tobias.johannes.klausmann@mni.thm.de + +- Update version to 1.18.2: + A big pile of updates in this one. Highlights include: + * glamor is updated to use OpenGL core profiles if available, which + should improve memory usage and performance on modern hardware, and got + some other performance improvements for rpi and other GLES platforms + * DRI2, DRI3, and Present all received correctness fixes for hangs, + crashes, and other weirdness + * Xwayland server has been updated to support the Xv and the + xf86vidmode extensions for better compatibility, and fixed some bugs + with output hotplug and pointer updates + * Xwin saw improvements to window and clipboard management, and a few + new keyboard layouts + +- Remove upstreamed patches: + + U_kdrive-evdev-update-keyboard-LEDs-22302.patch + +------------------------------------------------------------------- +Mon Mar 7 11:06:53 UTC 2016 - lbsousajr@gmail.com + +- Backport upstream patches for Xephyr input hot-plugging / + single-GPU multi-seat support: + * U_kdrive-fix-up-NewInputDeviceRequest-implementation.patch + * U_kdrive-set-evdev-driver-for-input-devices-automatica.patch + * U_ephyr-don-t-load-ephyr-input-driver-if-seat-option-i.patch + * U_kdrive-don-t-let-evdev-driver-overwrite-existing-dev.patch + * U_ephyr-ignore-Xorg-multiseat-command-line-options.patch + * U_ephyr-enable-option-sw-cursor-by-default-in-multi-se.patch + * U_kdrive-introduce-input-hot-plugging-support-for-udev.patch + * U_kdrive-add-options-to-set-default-XKB-properties.patch + * U_kdrive-evdev-update-keyboard-LEDs-22302.patch + * U_config-udev-distinguish-between-real-keyboards-and-o.patch + +------------------------------------------------------------------- +Fri Mar 4 18:42:10 UTC 2016 - eich@suse.com + +- u_os-connections-Check-for-stale-FDs.patch + Ignore file descriptor if socket or devices dies. + This prevents the Xserver to loop at 100% when + dbus dies (boo#954433). + +------------------------------------------------------------------- +Thu Feb 25 20:54:32 UTC 2016 - eich@suse.com + +- Add 50-extensions.conf + Disable the DGA extension by default (boo#947695). + +------------------------------------------------------------------- +Thu Feb 25 20:53:20 UTC 2016 - eich@suse.com + +- Replaced u_confine_to_shape.diff + by u_01-Improved-ConfineToShape.patch + and u_02-DIX-ConfineTo-Don-t-bother-about-the-bounding-box-when-grabbing-a-shaped-window.patch. + +------------------------------------------------------------------- +Wed Feb 10 15:07:32 UTC 2016 - eich@suse.com + +- u_pci-primary-Fix-up-primary-PCI-device-detection-for-the-platfrom-bus.patch + Fix up primary device detection for the platform bus to fix the Xserver + on older iMacs (boo#835975). + +------------------------------------------------------------------- +Tue Feb 9 20:55:28 UTC 2016 - tobias.johannes.klausmann@mni.thm.de + +- Update to version 1.18.1: + First release in the 1.18 stable branch. Major themes are bugfixes in + glamor, the modesetting driver, and the Present extension. + + Xwayland users may want to apply the following pair of patches in + addition to this release: + + https://patchwork.freedesktop.org/patch/72945/raw/ + https://patchwork.freedesktop.org/patch/72951/raw/ + + which combined fix an input issue when hotplugging monitors. Both are + likely to be included in a future release unless testing discovers + further problems. + +- Remove upstreamed patches: + + ux_xserver_xvfb-randr.patch + + U_systemd-logind-do-not-rely-on-directed-signals.patch + + U_kdrive-UnregisterFd-Fix-off-by-one.patch + + U_modesetting-should-not-reference-gbm-when-it-s-not-d.patch + +------------------------------------------------------------------- +Fri Jan 15 16:25:36 UTC 2016 - eich@suse.com + +- u_Panning-Set-panning-state-in-xf86RandR12ScreenSetSize.patch + Fix panning when configured in xorg.conf* (boo#771521). + +------------------------------------------------------------------- +Fri Jan 15 11:47:17 UTC 2016 - eich@suse.com + +- Handle source-file-list in build not prep +- N_xorg-x11-server-rpmmacros.patch: + Delete: Process xorg-x11-server.macros in install + +------------------------------------------------------------------- +Tue Jan 12 13:19:06 UTC 2016 - fcrozat@suse.com + +- U_modesetting-should-not-reference-gbm-when-it-s-not-d.patch: fix + build when gbm is not defined. + +------------------------------------------------------------------- +Mon Jan 11 21:48:00 UTC 2016 - eich@suse.com + +- u_busfault_sigaction-Only-initialize-pointer-when-matched.patch + Only initialize pointer when matched (boo#961439). +- u_kdrive-UnregisterFd-Fix-off-by-one.patch -> + U_kdrive-UnregisterFd-Fix-off-by-one.patch + +------------------------------------------------------------------- +Sun Jan 10 18:59:29 UTC 2016 - eich@suse.com + +- Add test for defined macro %build_xwayland + This can be used to enable the build of Xwayland and the + package xorg-x11-server-wayland using a macro in projconf + (boo#960487). + +------------------------------------------------------------------- +Fri Jan 8 17:42:18 UTC 2016 - eich@suse.com + +- Split out Xwayland: + * Build a package xorg-x11-server-wayland + * Limit build to Factory (boo#960487). + +------------------------------------------------------------------- +Sat Jan 2 18:47:27 UTC 2016 - hrvoje.senjan@gmail.com + +- Enable XWayland on Leap also (boo#960487) + +------------------------------------------------------------------- +Wed Nov 25 10:31:51 UTC 2015 - eich@suse.com + +- u_kdrive-UnregisterFd-Fix-off-by-one.patch + * Copy open file table correctly by avoiding an off-by-one error + (boo#867483). + +------------------------------------------------------------------- +Tue Nov 10 13:42:47 UTC 2015 - sndirsch@suse.com + +- Update to version 1.18.0 + - refreshed N_zap_warning_xserver.diff, + N_Force-swcursor-for-KMS-drivers-without-hw-cursor-sup.patch + - supersedes u_fbdevhw.diff, + U_linux-Add-linux_parse_vt_settings-and-linux_get_keep.patch, + U_linux-Add-a-may_fail-paramter-to-linux_parse_vt_sett.patch, + U_systemd-logind-Only-use-systemd-logind-integration-t.patch + +------------------------------------------------------------------- +Wed Oct 28 17:32:07 UTC 2015 - sndirsch@suse.com + +- Update to version 1.17.4: + Minor brown-bag release. The important fix here is Martin's + clientsWritable change which fixes a crash when built against + xproto 7.0.28. +- supersedes u_0001-os-make-sure-the-clientsWritable-fd_set-is-initializ.patch + +------------------------------------------------------------------- +Wed Oct 28 16:23:39 UTC 2015 - sndirsch@suse.com + +- Update to version 1.17.3: + Various bugfixes across the board.  The most visible changes + include fixing GLX extension setup under Xwayland and other + non-Xorg servers (enabling core contexts in more scenarios), + and various stability fixes to glamor and the Present extension. +- supersededs the following patches: + * u_randr_allow_rrselectinput_for_providerchange_and_resourcechange_events.patch + * u_CloseConsole-Don-t-report-FatalError-when-shutting-down.patch +- removed evdev xorg.conf.d snippet since it's meanwhile shipped with + evdev driver itself (since version 2.10.0) + +------------------------------------------------------------------- +Fri Sep 25 10:06:45 UTC 2015 - eich@suse.com + +- u_vesa-Add-VBEDPMSGetCapabilities-VBEDPMSGet.patch + Add VBEDPMSGetCapabilities() and VBEDPMSGet() functions + (bsc#947356, boo#947493). + +------------------------------------------------------------------- +Thu Jul 30 12:10:08 CEST 2015 - tiwai@suse.de + +- Backport a few upstream fixes for systemd/VT handling (boo#939838): + U_linux-Add-linux_parse_vt_settings-and-linux_get_keep.patch + U_linux-Add-a-may_fail-paramter-to-linux_parse_vt_sett.patch + U_systemd-logind-Only-use-systemd-logind-integration-t.patch + U_systemd-logind-do-not-rely-on-directed-signals.patch + +------------------------------------------------------------------- +Mon Jul 27 11:52:32 UTC 2015 - eich@suse.com + +- Improve conditional enablement of XWayland. + +------------------------------------------------------------------- +Fri Jul 17 13:01:12 UTC 2015 - tobias.johannes.klausmann@mni.thm.de + +- Add patch u_0001-os-make-sure-the-clientsWritable-fd_set-is-initializ.patch + Prevent segmentation faults with more than 256 clients (introduced + by xproto 7.0.28 increasing the max client count 256 -> 512) + Fdo Bug: https://bugs.freedesktop.org/show_bug.cgi?id=91316 +------------------------------------------------------------------- +Tue Jun 16 21:07:03 UTC 2015 - tobias.johannes.klausmann@mni.thm.de + +- Update to version 1.17.2: + Pick up a pile of fixes from master. Notable highlights: + + Fix for CVE-2015-3164 in Xwayland + + Fix int10 setup for vesa + + Fix regression in server-interpreted auth + + Fix fb setup on big-endian CPUs + + Build fix for for gcc5 +- Dropped patches: + + Patch110: u_connection-avoid-crash-when-CloseWellKnownConnections-gets-called-twice.patch + + Patch113: u_symbols-Fix-sdksyms.sh-to-cope-with-gcc5.patch + + Patch116: U_os-XDMCP-options-like-query-etc-should-imply-listen.patch + + Patch118: U_int10-Fix-error-check-for-pci_device_map_legacy.patch + + Patch119: U_xwayland-enable-access-control-on-open-socket.patch + + Patch120: U_os-support-new-implicit-local-user-access-mode.patch + + Patch121: U_xwayland-default-to-local-user-if-no-xauth-file-given.patch + + Patch2000: U_systemd-logind-filter-out-non-signal-messages-from.patch + + Patch2001: U_systemd-logind-dont-second-guess-D-Bus-default-tim.patch +- Changed patches to work with the new version: + + Patch114: u_ad-hoc-fix-for-mmap-s-truncated-offset-parameter-on-.patch + +------------------------------------------------------------------- +Fri Jun 12 11:58:43 UTC 2015 - msrb@suse.com + +- U_os-support-new-implicit-local-user-access-mode.patch, + U_xwayland-default-to-local-user-if-no-xauth-file-given.patch, + U_xwayland-enable-access-control-on-open-socket.patch + * Prevent unauthorized local access. (bnc#934102, CVE-2015-3164) + +------------------------------------------------------------------- +Mon Jun 8 15:21:18 UTC 2015 - antoine.belvire@laposte.net + +- Fix GNOME X Session for some hybrid graphics (rh#1209347): + + add U_systemd-logind-filter-out-non-signal-messages-from.patch + + add U_systemd-logind-dont-second-guess-D-Bus-default-tim.patch + +------------------------------------------------------------------- +Wed Jun 3 15:36:00 UTC 2015 - msrb@suse.com + +- Fix build of s390/s390x (bnc#933503) + +------------------------------------------------------------------- +Sat May 30 04:38:38 UTC 2015 - eich@suse.com + +- U_int10-Fix-error-check-for-pci_device_map_legacy.patch + * int10: Fix error check for pci_device_map_legacy + pci_device_map_legacy returns 0 on success (bsc#932319). + +------------------------------------------------------------------- +Fri Apr 17 08:14:31 UTC 2015 - normand@linux.vnet.ibm.com + +- Add xorg-x11-server-byte-order.patch to correctly set + X_BYTE_ORDER when compiling tigervnc on ppc64 architecture. + Related to bnc#926201 + +------------------------------------------------------------------- +Mon Mar 30 11:22:28 UTC 2015 - msrb@suse.com + +- U_os-XDMCP-options-like-query-etc-should-imply-listen.patch + * Enable listening on tcp when using -query. (bnc#924914) + +------------------------------------------------------------------- +Fri Feb 20 16:09:39 UTC 2015 - dimstar@opensuse.org + +- Enable systemd-logind integration support: + + Add pkgconfig(libsystemd-logind) and pkgconfig(dbus-1) + BuildRequires. + + Pass --enable-systemd-logind to configure. + +------------------------------------------------------------------- +Mon Feb 16 14:11:57 UTC 2015 - sndirsch@suse.com + +- u_ad-hoc-fix-for-mmap-s-truncated-offset-parameter-on-.patch + * ad hoc fix for mmap's truncated offset parameter on 32bit + (bnc#917385) +- N_Force-swcursor-for-KMS-drivers-without-hw-cursor-sup.patch + * hwcursor still considered broken in cirrus KMS ((bnc#864141, + bnc#866152) + +------------------------------------------------------------------- +Tue Feb 10 23:27:48 UTC 2015 - tobias.johannes.klausmann@mni.thm.de + +- Update to version 1.17.1: + Fixes for CVE 2015-0255. + + xkb: Don't swap XkbSetGeometry data in the input buffer + + xkb: Check strings length against request size + +------------------------------------------------------------------- +Fri Feb 6 14:39:07 UTC 2015 - eich@suse.com + +- u_symbols-Fix-sdksyms.sh-to-cope-with-gcc5.patch + Fix sdksyms.sh to work with gcc5 (bnc#916580). + +------------------------------------------------------------------- +Thu Feb 5 16:32:50 UTC 2015 - tobias.johannes.klausmann@mni.thm.de + +- Update to version 1.17.0: + + Continued work to strip out stale code and clean up the server. + Thousands of lines of unnecessary code have disappeared yet again. + + The modesetting driver has been merged into the server code base, + simplifying ongoing maintenance by coupling it to the X server + ABI/API release schedule. This now includes DRI2 support (so that GLX + works correctly) along with Glamor support (which handles DRI3). + + Lots of Glamor improvements, including a rewrite of the core protocol + rendering functions. +- Remove upstream patches: + + Patch130: U_BellProc-Send-bell-event-on-core-protocol-bell-when-requested.patch + + Patch131: U_fb-Fix-invalid-bpp-for-24bit-depth-window.patch + + Patch200: U_kdrive_extend_screen_option_syntax.patch + + Patch201: U_ephyr_enable_screen_window_placement.patch + + Patch202: U_ephyr_add_output_option_support.patch + +------------------------------------------------------------------- +Thu Feb 5 13:37:11 UTC 2015 - msrb@suse.com + +- Add xorg-x11-server-source package that contains patched xserver + sources used to build xorg-x11-Xvnc. + +------------------------------------------------------------------- +Tue Nov 18 10:34:53 UTC 2014 - sndirsch@suse.com + +- Update to version 1.16.2 + - Fix present_pixmap when using present_notify_msc + - Fix present_notify to return right away when querying current + or past msc.Xext/shm: Detach SHM segment after Pixmap is released + - xkb: ignore floating slave devices when updating from master (#81885) + - fb: Fix invalid bpp for 24bit depth window +- supersedes U_fb-Fix-invalid-bpp-for-24bit-depth-window.patch + +------------------------------------------------------------------- +Mon Nov 10 00:50:00 UTC 2014 - Led + +- fix bashism in post script + +------------------------------------------------------------------- +Mon Oct 27 07:45:14 UTC 2014 - sndirsch@suse.com + +- XServer looks for dri.pc during configure. dri.pc is currently + provided by a Mesa devel package, which is pulled in by other + requirements, but it might be better to explicitly require dri.pc. + +------------------------------------------------------------------- +Mon Sep 29 14:53:45 UTC 2014 - lbsousajr@gmail.com + +- Backport upstream patches to enable Xephyr window placement + via new "-output" option or new "-screen WxH+X+Y" syntax. + * U_kdrive_extend_screen_option_syntax.patch + * U_ephyr_enable_screen_window_placement.patch + * U_ephyr_add_output_option_support.patch + +------------------------------------------------------------------- +Sun Sep 21 17:31:53 UTC 2014 - tobias.johannes.klausmann@mni.thm.de + +- Update to version 1.16.1: + + mieq: Fix a crash regression in mieqProcessDeviceEvent + + ListenOnOpenFD: Remove Resets since this is intended to be for hotplugging connections + + XQuartz: Better support turning off "Displays have separate Spaces" on OS X Mavericks + + glamor: Fix temp picture coordinates in glamor_composite_clipped_region + + glx/present: Only send GLX_BufferSwapComplete for PresentCompleteKindPixmap + + xfree86: Fallback to first platform device as primary + + xfree86: Allow non-PCI devices as primary + + xwayland: always include drm.xml in tarballs + +------------------------------------------------------------------- +Mon Aug 18 17:33:34 CEST 2014 - tiwai@suse.de + +- A better fix for 24bpp graphics problem with cirrus KMS + (bnc#890599); Adding a new patch: + U_fb-Fix-invalid-bpp-for-24bit-depth-window.patch + while obsoleting two patches: + u_render-Don-t-generate-invalid-pixman-format-when-using-a-24bpp-framebuffer-with-a-32bit-depth-visual.patch + u_fb-Correctly-implement-CopyArea-when-using-a-window-with-depth-32-and-24bpp.patch + +------------------------------------------------------------------- +Fri Aug 15 12:09:12 UTC 2014 - sndirsch@suse.com + +- no longer add /usr/lib[64]/xorg/modules/updates to module path + (FATE#317822) + +------------------------------------------------------------------- +Wed Aug 13 12:39:39 UTC 2014 - sndirsch@suse.com + +- only add /etc/alternatives/libglx.so as ghost on suse >= 1315 + +------------------------------------------------------------------- +Wed Aug 13 08:13:21 UTC 2014 - sndirsch@suse.com + +- added /etc/alternatives/libglx.so as ghost +- moved libglx-xorg.so to xorg/xorg-libglx.so to avoid messup in case + anybody runs ldconfig in modules/extensions + +------------------------------------------------------------------- +Tue Aug 12 12:26:52 UTC 2014 - sndirsch@suse.com + +- make use of update-alternatives for libglx.so (FATE#317822) + +------------------------------------------------------------------- +Thu Aug 7 17:35:12 UTC 2014 - eich@suse.com + +- Change U_ to u_ as these patches are not upstream yet: + * U_render-Don-t-generate-invalid-pixman-format-when-using-a-24bpp-framebuffer-with-a-32bit-depth-visual.patch + --> u_render-Don-t-generate-invalid-pixman-format-when-using-a-24bpp-framebuffer-with-a-32bit-depth-visual.patch + * U_fb-Correctly-implement-CopyArea-when-using-a-window-with-depth-32-and-24bpp.patch + --> u_fb-Correctly-implement-CopyArea-when-using-a-window-with-depth-32-and-24bpp.patch + (bnc#890599). + +------------------------------------------------------------------- +Thu Aug 7 14:50:55 CEST 2014 - tiwai@suse.de + +- Fix corrupted graphics with 24bpp on cirrus KMS (bnc#890599) + two patches added: + U_render-Don-t-generate-invalid-pixman-format-when-using-a-24bpp-framebuffer-with-a-32bit-depth-visual.patch + U_fb-Correctly-implement-CopyArea-when-using-a-window-with-depth-32-and-24bpp.patch + +------------------------------------------------------------------- +Tue Aug 5 06:19:04 UTC 2014 - eich@suse.com + +- U_BellProc-Send-bell-event-on-core-protocol-bell-when-requested.patch + Send XKB bell event on core protocol bell if such an event is requested. + This allows to override the system beep by a desktop provided sound + instead of silently ignore it (bnc#890323). + +------------------------------------------------------------------- +Thu Jul 17 15:50:10 UTC 2014 - tobias.johannes.klausmann@mni.thm.de + +- Update to version 1.16.0 (final): + + Glamor integration. This GL-based X acceleration subsystem now + offers reasonable performance that avoids software fall backs much + of the time. + + XWayland. This provides an X server integrated into a Wayland + window system. It uses Glamor for rendering, and so avoids most of + the performance problems inherent in window system layering. + + systemd integration. This provides for systemd-based launching and + management which improves boot performance and reliability + + Elimination of thousands of compiler warnings. We've been slowly + adding more and more compiler flags to the stock X build to warn us + of unsafe coding practices. Version 1.16 finally addresses the + enormous list of these warnings. + + Glamor for Xephyr. This X-on-X implementation now serves as the + primary development environment for our new 2D acceleration + subsystem, permitting rapid development and testing on a single + machine. + + Non-PCI device support. Many graphics devices are not enumerated + with the standard PCI APIs; now the X server can auto-detect and + configure them as it does in more conventional systems. + +------------------------------------------------------------------- +Wed Jul 9 13:05:56 UTC 2014 - sndirsch@suse.com + +- update to 1.16RC4 + * non-PCI device support stuff merged +- supersedes u_arch-Fix-image-and-bitmap-byte-order-for-ppc64le.patch + +------------------------------------------------------------------- +Thu Jun 5 13:30:12 UTC 2014 - tobias.johannes.klausmann@mni.thm.de + +- Update to 1.16RC3 +- Bugfixes all over the place + +------------------------------------------------------------------- +Fri May 30 23:44:55 UTC 2014 - eich@suse.com + +- u_render-Cast-color-masks-to-unsigned-long-before-shifting-them.patch: + Make sure result of shift operation fits into type of variable. This + fixes finding the correct visual for RENDER with a BGRA framebuffer + (bnc#876757). + +------------------------------------------------------------------- +Wed May 28 11:00:49 UTC 2014 - sndirsch@suse.com + +- %post: + * move SaX2 generated xorg.conf file to xorg.conf.sle11 + Only in very rare cases a static X configuration is still + required on sle12. And, in some cases the migration from a + static sle11 X configuration to a static sle12 X configuration + is not possible at all, e.g. some video and input drivers + are no longer available on sle12. In short, trying to migrate + will result in more harm than benefit. (bnc#877315) + * remove dangling link /etc/X11/XF86Config (bnc#879360, comment#15) + * prevent %postun of NVIDIA/fglrx driver packages from + restoring xorg.conf backup or running sax2 as fallback + to create a new xorg.conf (bcn#877315) + +------------------------------------------------------------------- +Sat May 24 09:16:08 UTC 2014 - eich@suse.com + +- Fix crash in abnormal condition (bnc#879666, bnc#879489): + * u_connection-avoid-crash-when-CloseWellKnownConnections-gets-called-twice.patch + Fix a crash when CloseWellKnownConnections() gets called twice. + This can happen if FatalError() is called in the shutdown procedure. + * u_CloseConsole-Don-t-report-FatalError-when-shutting-down.patch + Don't call FatalError() on errors in console ioctls when in shutdown. + +------------------------------------------------------------------- +Mon May 19 10:52:32 UTC 2014 - sndirsch@suse.com + +- Added n_xserver-optimus-autoconfig-hack.patch for FATE#316410. This + is a little hack to make the X server autoconfigure the output sinks + for Optimus laptops. This lets them automatically use outputs that + are only wired to a certain GPU. To be removed once our desktop + tools can configure this easily. + +------------------------------------------------------------------- +Tue May 13 13:19:30 UTC 2014 - tobias.johannes.klausmann@mni.thm.de + +- Remove upstreamed patches: +- u_xfree86-allow-fallback-to-PCI-bus-probe-for-non-seat0-seats.patch + (patch108) +- u_xfree86-add-new-key-MatchSeat-to-xorg-conf.patch (patch109) +- u_xfree86-add-short-description-about-MatchSeat-key-in-xorg-conf-man-page.patch + (patch110) + +------------------------------------------------------------------- +Mon May 5 13:29:21 UTC 2014 - tobias.johannes.klausmann@mni.thm.de + +- Remove N_fix_XWAYLAND_SCANNER_undefined.diff + Configure line is gone + +------------------------------------------------------------------- +Thu Apr 30 16:43:00 UTC 2014 - lbsousajr@gmail.com + +- Add new patches to make non-seat0 X servers work properly with + non-KMS video drivers: + + u_xfree86-allow-fallback-to-PCI-bus-probe-for-non-seat0-seats.patch + + u_xfree86-add-new-key-MatchSeat-to-xorg-conf.patch + + u_xfree86-add-short-description-about-MatchSeat-key-in-xorg-conf-man-page.patch + +------------------------------------------------------------------- +Mon Apr 28 09:02:06 UTC 2014 - sndirsch@suse.com + +- added missing pkgconfig(xf86dgaproto) BuildRequires + +------------------------------------------------------------------- +Sun Apr 27 23:55:29 UTC 2014 - stefan.bruens@rwth-aachen.de + +- N_fix_XWAYLAND_SCANNER_undefined.diff + * handle undefined XWAYLAND_SCANNER_RULES in configure; fix + compilation for openSUSE 12.3 + +------------------------------------------------------------------- +Fri Apr 25 01:36:46 UTC 2014 - tobias.johannes.klausmann@mni.thm.de + +- Add missing BuildRequires + +------------------------------------------------------------------- +Tue Apr 8 22:04:19 UTC 2014 - tobias.johannes.klausmann@mni.thm.de + +- Update to 1.16RC2 +- Build and pack XWayland DDX + +------------------------------------------------------------------- +Sat Mar 22 07:02:56 UTC 2014 - coolo@suse.com + +- obsolete glamor-devel from the correct package + +------------------------------------------------------------------- +Fri Mar 21 09:40:03 UTC 2014 - sndirsch@suse.com + +- obsolete also glamor and glamor-devel in addition to glamor-egl + +------------------------------------------------------------------- +Mon Feb 24 23:15:41 UTC 2014 - tobias.johannes.klausmann@mni.thm.de + +- Update to version 1.16.0pre: +- Remove upstreamed patches: + + Patch223: U_keep_non_seat0_x_server_from_touching_vts.patch + +------------------------------------------------------------------- +Mon Feb 24 11:01:00 UTC 2014 - eich@suse.com + +- u_arch-Fix-image-and-bitmap-byte-order-for-ppc64le.patch: + arch: Fix image and bitmap byte order for ppc64le (bnc#865069) + +------------------------------------------------------------------- +Fri Feb 7 17:31:29 UTC 2014 - eich@suse.com + +- remove creation of libxf86config which was once used bu SaX2. + +------------------------------------------------------------------- +Thu Jan 30 10:33:43 UTC 2014 - lbsousajr@gmail.com + +- Rename u_keep_non_seat0_x_server_from_touching_vts.patch to + U_keep_non_seat0_x_server_from_touching_vts.patch, since it's + now upstreamed. + * See: http://cgit.freedesktop.org/xorg/xserver/commit/?id=46cf2a60934076bf568062eb83121ce90b6ff596 + +------------------------------------------------------------------- +Wed Jan 15 13:39:58 UTC 2014 - sndirsch@suse.com + +- removed N_randr_fix_abi.patch, since it caused the crash with + current NVIDIA drivers built against xorg-server 1.15 (bnc#858827) + +------------------------------------------------------------------- +Tue Jan 7 16:02:22 UTC 2014 - sndirsch@suse.com + +- changed license back to MIT, since xf4nc is no longer patched + into X.Org sources (bnc#856905) + +------------------------------------------------------------------- +Wed Jan 1 05:35:47 UTC 2014 - crrodriguez@opensuse.org + +- Also build with --disable-linux-apm as lnx_apm.lo is still + built even if --disable-linux-acpi is used. + Both are obsolete and very likely dangerous to use nowadays. + +------------------------------------------------------------------- +Sun Dec 29 17:53:44 UTC 2013 - tobias.johannes.klausmann@mni.thm.de + +- Update to version 1.15.0: + The final 1.15 release! + +------------------------------------------------------------------- +Fri Dec 20 11:28:33 UTC 2013 - tobias.johannes.klausmann@mni.thm.de + +- Update to version 1.14.99.905 (1.15 RC5): + We're getting perilously close to 1.15 now; this should be the last RC + before we're done next week. If you haven't bothered to test a recent + candidate, now would be an awesome time to do so and make sure we're + releasing something that's going to work for you. + +------------------------------------------------------------------- +Mon Dec 16 11:56:23 UTC 2013 - lbsousajr@gmail.com + +- Add u_keep_non_seat0_x_server_from_touching_vts.patch + * See: http://cgit.freedesktop.org/~jwrdegoede/xserver/commit/?id=405e2805d3903a8a631f01924593a227c634f05d + * Pull request to main xserver git tree scheduled after 1.15 release + +------------------------------------------------------------------- +Thu Dec 12 14:57:15 UTC 2013 - msrb@suse.com + +- u_exa-only-draw-valid-trapezoids.patch + * Fix possible x server crash using invalid trapezoids. + (bnc#853846 CVE-2013-6424) + +------------------------------------------------------------------- +Thu Dec 12 14:27:20 UTC 2013 - eich@suse.com + +- Changed patch numbering, reordered patches to group + SUSE specific and to-be-upstreamed patches. +- Added descriptions to a number of patches. +- Renamed some patches: + * N_p_default-module-path.diff -> + N_default-module-path.diff + * n_xorg-x11-server-rpmmacros.patch -> + N_xorg-x11-server-rpmmacros.patch + + +------------------------------------------------------------------- +Wed Dec 11 15:26:59 UTC 2013 - eich@suse.com + +- Dropped: + * N_0001-Check-harder-for-primary-PCI-device.patch + Whith libpciaccess code path irrelevant for Linux. + * N_0001-Fix-segfault-when-killing-X-with-ctrl-alt-backspace.patch + Solved differently upstream + * N_bug-197858_dpms.diff + This one is upstream already - apparently nobody check this when + it no longer applied... + * N_bug534768-prefer_local_symbols.patch + Upstream has a better suggestion how to solve this. However this + patch is no longer needed + * N_dpms_screensaver.diff + This topic was solved slightly differently upstream - still patch + got ported without checking it's context. + * N_randr1_1-sig11.diff + No longer needed. Problem was fixed differently upstream. + * u_vgaHW-no-legacy.patch + Problem solved in the nv driver. +- Renamed: + Those patches will go upstream, thus they are prefixed by a u_: + * n__confine_to_shape.diff -> u_confine_to_shape.diff + * N_fbdevhw.diff -> u_fbdevhw.diff + * n_x86emu-include-order.patch -> u_x86emu-include-order.patch + * N_xorg-server-xdmcp.patchA -> u_xorg-server-xdmcp.patch + Those patches no longer apply but are kept for reference thus prefixed by b_: + * N_0001-Prevent-XSync-Alarms-from-senslessly-calling-CheckTr.patch -> + b_0001-Prevent-XSync-Alarms-from-senslessly-calling-CheckTr.patch + * N_cache-xkbcomp-output-for-fast-start-up.patch -> + b_cache-xkbcomp-output-for-fast-start-up.patch + * N_sync-fix.patch -> b_sync-fix.patch + Those patches came from a foreign source but are not upstream, yet, thus + prefix ux_: + * u_xserver_xvfb-randr.patch -> ux_xserver_xvfb-randr.patch + + + +------------------------------------------------------------------- +Wed Dec 11 00:35:57 UTC 2013 - tobias.johannes.klausmann@mni.thm.de + +- Update to version 1.14.99.904 (1.15 RC4): + Here's another RC this week. This includes fixes for the GLX regression + on OS X and Windows, and fixes for Xinerama and various extensions. +- Drop superseded patches: + + Patch143: n_autoconf-On-Linux-give-fbdev-driver-a-higher-precedence-than-vesa.patch + +------------------------------------------------------------------- +Thu Dec 5 12:18:30 UTC 2013 - sndirsch@suse.com + +- removed no longer applied n_Xvnc-pthread.diff from package + +------------------------------------------------------------------- +Thu Nov 28 14:08:58 UTC 2013 - tobias.johannes.klausmann@mni.thm.de + +- Update to 1.14.99.903 (1.15 RC3): +- Remove upstreamed patches: + + Patch228: u_aarch64-support.patch + + Patch229: u_disable-acpi-code.patch + A new configure option controls this now + + Patch240: U_revert_dri2_realloc_dri2_drawable_if-pixmap_serial_changes.patch + + Patch242: U_randr_dont_directly_set_changed_bits_in_randr_screen.patch + + Patch243: U_randr_report_changes_when_we_disconnect_a_GPU_slave.patch + + Patch244: u_randr_send_rrproviderchangenotify_event.patch + + Patch245: u_randr_send_rrresourcechangenotify_event.patch + + Patch246: u_randr_deliver_output_and_crtc_events_of_attached_output.patch + + Patch249: U_xserver_enable_grabdevice_by_default_for_non_seat0.patch +- Drop superseded patches: + + Patch16: N_p_xnest-ignore-getimage-errors.diff + + Patch79: N_edid_data_sanity_check.diff + +------------------------------------------------------------------- +Thu Nov 28 11:56:07 UTC 2013 - lbsousajr@gmail.com + +- Fix naming convention for last patch + +------------------------------------------------------------------- +Thu Nov 28 10:15:16 UTC 2013 - lbsousajr@gmail.com + +- Add U_xserver_enable_grabdevice_by_default_for_non_seat0.patch + * See http://cgit.freedesktop.org/xorg/xserver/commit/?id=c73c36b537f996574628e69681833ea37dec2b6e + +------------------------------------------------------------------- +Wed Nov 6 16:12:38 UTC 2013 - schwab@suse.de + +- N_x86emu-include-order.patch: Change include order to avoid conflict + with system header, remove duplicate definitions + +------------------------------------------------------------------- +Fri Nov 1 13:46:06 UTC 2013 - msrb@suse.com + +- N_randr_fix_abi.patch + * Fixes compatibility with nvidia binary drivers. (bnc#849152) + +------------------------------------------------------------------- +Mon Oct 28 08:00:16 UTC 2013 - sndirsch@suse.com + +- Update to prerelease 1.14.4-rc1 (1.14.3.901) + * bugfixes + * fixes for security issue CVE-2013-4396 +- obsoletes u_Avoid-use-after-free-in-dix-dixfonts.c-doImageText.patch + +------------------------------------------------------------------- +Fri Oct 25 12:31:46 UTC 2013 - msrb@suse.com + +- Add U_randr_dont_directly_set_changed_bits_in_randr_screen.patch, + U_randr_report_changes_when_we_disconnect_a_GPU_slave.patch, + u_randr_send_rrproviderchangenotify_event.patch, + u_randr_send_rrresourcechangenotify_event.patch, + u_randr_deliver_output_and_crtc_events_of_attached_output.patch, + u_randr_allow_rrselectinput_for_providerchange_and_resourcechange_events.patch + * Send randr 1.4 events to allow tools to react to new providers. (fate#316408, fate#316409) + +------------------------------------------------------------------- +Tue Oct 15 13:07:50 UTC 2013 - sndirsch@suse.com + +- u_Avoid-use-after-free-in-dix-dixfonts.c-doImageText.patch + * Fixes a security issue, in which an authenticated X client + can cause an X server to use memory after it was freed, + potentially leading to crash and/or memory corruption. + (CVE-2013-4396, bnc#843652) + +------------------------------------------------------------------- +Fri Sep 13 23:39:28 UTC 2013 - tobias.johannes.klausmann@mni.thm.de + +- Update to version 1.14.3: + Bugfix release. Changes all over the place. +- Remove upstreamed patches: + + Patch227: u_init_framebuffer_base.patch + +------------------------------------------------------------------- +Tue Sep 10 09:23:38 UTC 2013 - sndirsch@suse.com + +- removed modprobe options for NVIDIA kernel module, since these + have been moved to the NVIDIA packages themselves + +------------------------------------------------------------------- +Fri Aug 9 15:08:34 UTC 2013 - eich@suse.com + +- Delete N_0001-Xinput-Catch-missing-configlayout-when-deleting-dev.patch: + This patch is no longer appicable. The code has been reworked completely + thus the problem fixed with this most likely no longer exists. +- Delete N_Use-external-tool-for-creating-backtraces-on-crashes.patch: + This feature has multiple issues, there is no reason to keep the patch + around. + +------------------------------------------------------------------- +Fri Aug 9 13:25:41 UTC 2013 - tobias.johannes.klausmann@mni.thm.de + +- Remove the unused Xvnc packages +- Remove the now unused vnc macro +- Remove the Xvnc patches: + + Patch17: n_VNC-Add-support-for-VNC.patch + + Patch18: n_VNC-Readd-timeout-when-vnc-viewer-connection-breaks.patch + + Patch19: n_VNC-Fix-crash-when-no-depth-translation-is-required.patch + + Patch20: n_VNC-Don-t-let-VNC-access-the-framebuffer-directly-an.patch + + Patch21: n_VNC-Enable-use-of-all-keyboard-layouts-independent-o.patch + + Patch22: n_VNC-Fix-crash-due-to-unset-input-device-names.patch + + Patch23: n_Xvnc-pthread.diff + + Patch24: n_VNC-Add-proto.diff + +------------------------------------------------------------------- +Thu Aug 8 19:51:35 UTC 2013 - eich@suse.com + +- n_autoconf-On-Linux-give-fbdev-driver-a-higher-precedence-than-vesa.patch: + At SUSE we want to perfer the fbdev driver over the VESA driver + at autoconfiguration as it is expected that fbdev will work in + allmost all situations where no native driver can be found - + even under UEFI and with secure boot. + replaces: N_autoconfig_fallback_fbdev_first.diff + +------------------------------------------------------------------- +Thu Aug 8 15:55:14 UTC 2013 - sndirsch@suse.com + +- removed N_vidmode-sig11.diff (fixed upstream already) + +------------------------------------------------------------------- +Tue Jul 2 13:18:07 UTC 2013 - hrvoje.senjan@gmail.com + +- Update to version 1.14.2: ++ Bugfix release, changes include: + + dix: fix device scaling to use a [min,max[ range. + + dix: pre-scale x by the screen:device:resolution ratio + + os: Reset input buffer's 'ignoreBytes' field + + dix: don't overwrite proximity/focus classes + + dix: plug memory leak in freeing TouchClass + + os: Use ErrorFSigSafe from FatalError and it's friends + + dix: send the current axis value in DeviceChangedEvents (fdo#62321) + + Xi: Use correct destination when swapping barrier events + + xf86: don't hotplug output devices while VT switched. + +------------------------------------------------------------------- +Wed Jun 19 14:20:07 UTC 2013 - tobias.johannes.klausmann@mni.thm.de + +- Packaging changes: + + Added patch240: + U_revert_dri2_realloc_dri2_drawable_if-pixmap_serial_changes.patch + For detailed information visit: + http://cgit.freedesktop.org/xorg/xserver/commit/?id=77e51d5bbb97eb5c9d9dbff9a7c44d7e53620e68 + +------------------------------------------------------------------- +Thu Jun 6 15:21:18 UTC 2013 - msrb@suse.com + +- u_xserver_xvfb-randr.patch + * Add randr support to Xvfb (bnc#823410) + +------------------------------------------------------------------- +Sat May 11 09:32:10 UTC 2013 - schwab@suse.de + +- Update u_aarch64-support.patch: disable x86 asm also on aarch64 + +------------------------------------------------------------------- +Thu Apr 18 12:00:53 UTC 2013 - sndirsch@suse.com + +- u_disable-acpi-code.patch + * Don't build the ACPI code (bnc#805304) + +------------------------------------------------------------------- +Wed Apr 17 16:31:36 UTC 2013 - tobias.johannes.klausmann@mni.thm.de + +- Update to version 1.14.1: + This release contains the fix for CVE-2013-1940, see here for more + detail: http://lists.x.org/archives/xorg-devel/2013-April/036014.html + In the remainder we have two build fixes, a couple of comment fixes and a + change to the list.h code to inline the xorg_list_init function. Fairly + unintrusive, the lot. + +------------------------------------------------------------------- +Fri Apr 5 08:05:09 UTC 2013 - idonmez@suse.com + +- Add Source URL, see https://en.opensuse.org/SourceUrls + +------------------------------------------------------------------- +Wed Mar 13 16:46:09 UTC 2013 - sndirsch@suse.com + +- rebased u_aarch64-support.patch and reenabled it + +------------------------------------------------------------------- +Fri Mar 8 16:16:07 UTC 2013 - tobias.johannes.klausmann@mni.thm.de + +- u_aarch64-support.patch: Basic support for aarch64 disabled for + the initial build of 1.14.0! + +------------------------------------------------------------------- +Wed Mar 6 22:19:38 UTC 2013 - tobias.johannes.klausmann@mni.thm.de + +- Update to version 1.14.0: + Here's the 1.14 X server release; the last couple of weeks + yielded a couple of useful bug fixes, but nothing that earth + shattering. + + a bunch of fixes to the touch device + + a few fixes to the GPU hotplug bits + + software rendering speedups (due to using the new pixman APIs) + + elimination of a lot of warning messages (we've still too many) + + pointer barriers work + +There are lots of other fixes too, as always thanks to all who provided +patches, review and comments for this release! + +------------------------------------------------------------------- +Wed Mar 6 11:26:53 UTC 2013 - schwab@suse.de + +- u_aarch64-support.patch: Basic support for aarch64. + +------------------------------------------------------------------- +Thu Feb 21 00:41:00 UTC 2013 - tobias.johannes.klausmann@mni.thm.de + +- Update to version 1.14 RC2 1.13.99.902: + + + Remove upstreamed patches: + u_Do-not-use-intel-driver-on-Poulsbo-Oaktrail-Medfield.patch (patch225) + +------------------------------------------------------------------- +Wed Feb 20 13:36:40 UTC 2013 - sndirsch@suse.com + +- added u_init_framebuffer_base.patch: initialize buffer.base to fix + Xorg segfault in virtualbox guest (bnc#799480) + +------------------------------------------------------------------- +Thu Jan 31 18:09:30 UTC 2013 - tobias.johannes.klausmann@mni.thm.de + +- Update to version 1.13.2: + No commits since rc1. + Commits from rc1: + + EnableDisableExtensionError: Use ARRAY_SIZE rather than sentinel + + glx/dri2: initialise api to avoid indirect rendering failing randomly + + XQuartz: Avoid a possible deadlock with DRI on OS X 10.7.5 and OS + X 10.8.2 + + XQuartz: Add some verbose logging to debug xp_lock_window being + unbalanced + + XQuartz: Don't add the 15bit visual any more + + version bump for 1.13.1.901 (rc1) + + vfb: Initialize the GLX extension again. + +------------------------------------------------------------------- +Thu Jan 10 10:47:07 UTC 2013 - sndirsch@suse.com + +- disabled build of VNC (xf4vnc), which finally has been replaced + by the seperate xorg-x11-Xvnc source package (tigervnc) + +------------------------------------------------------------------- +Tue Jan 8 11:46:23 UTC 2013 - sndirsch@suse.com + +- let xorg-x11-server require xkeyboard-config again, since Xvfb + is part of this package and requires keyboard files as well + (bnc#797124) + +------------------------------------------------------------------- +Fri Dec 14 10:39:08 UTC 2012 - tobias.johannes.klausmann@mni.thm.de + +- Update to version 1.13.1: +- Remove upstreamed patches: (double checked) + + U_EXA-Track-source-mask-pixmaps-more-explicitly-for-Co.patch +- Removed unrecognized configure options + + "--enable-builddocs" + +------------------------------------------------------------------- +Tue Nov 27 13:00:41 UTC 2012 - werner@suse.de + +- Let the old Xfig program find the ghostscript fonts (bnc#784305) + +------------------------------------------------------------------- +Mon Nov 12 17:27:21 UTC 2012 - fcrozat@suse.com + +- Update N_autoconfig_fallback_fbdev_first.diff to ensure + modesetting driver is used before fbdev. + +------------------------------------------------------------------- +Tue Oct 30 10:45:57 UTC 2012 - sndirsch@suse.com + +- U_EXA-Track-source-mask-pixmaps-more-explicitly-for-Co.patch + Track source/mask pixmaps more explicitly for Composite fallback regions. + In particular, make sure pExaScr->src/maskPix are cleared when the + corresponding pictures aren't associated with drawables, i.e. solid or + gradient pictures. Without this, we would in some cases associate the + source/mask region with unrelated pixmaps from previous Composite + fallbacks, resulting in random corruption. (bnc#786153, fdo#47266) + +------------------------------------------------------------------- +Mon Oct 15 14:22:01 UTC 2012 - sndirsch@suse.com + +- u_vgaHW-no-legacy.patch + * likely fixes build on ppc + +------------------------------------------------------------------- +Mon Sep 24 19:52:16 UTC 2012 - opensuse@cboltz.de + +- /usr/bin/Xorg is no longer listed in /etc/permissions - remove + %set_permissions and %verify_permissions and re-enable rpm permission + check (bnc#632737 #c27) + +------------------------------------------------------------------- +Thu Sep 20 11:34:01 UTC 2012 - sndirsch@suse.com + +- N_driver-autoconfig.diff + * "ati" needs to be the second choice right after "fglrx"; there + must not be a gap between "fglrx" and "ati" introduced by + removing "radeonhd" from this list by the previous change + +------------------------------------------------------------------- +Tue Sep 18 21:41:15 UTC 2012 - sndirsch@suse.com + +- N_driver-autoconfig.diff: + * removed radeonhd and unichrome from driver list, since no + longer supported upstream + +------------------------------------------------------------------- +Wed Aug 8 20:15:33 UTC 2012 - tobias.johannes.klausmann@mni.thm.de + +- Update to version 1.13.0: + + Packaging changes: + - Unify naming of patches + - Drop upstreamed patches: 223, 224, 300 - 310 (double checked) + - Remove patch pio_ia64.diff - not applicable anymore + - Remove patch xserver-bg-none-root.patch - not applicable anymore + - Remove patch bug474071-fix1.diff - not appliable anymore + - Remove patch pci-legacy-mem-fallback.diff - not applicable anymore + - Remove patch pu_fixes.diff - not applicable anymore (xaa is gone) + +------------------------------------------------------------------- +Sun Jul 22 10:35:59 UTC 2012 - sndirsch@suse.com + +- u_Do-not-use-intel-driver-on-Poulsbo-Oaktrail-Medfield.patch + * Do not use intel driver on Poulsbo, Oaktrail, Medfield, CDV. + IDs stolen from Kernel psb driver. (bnc#772279) + * obsoletes xorg-detect-psb.patch + +------------------------------------------------------------------- +Tue Jul 17 01:42:30 UTC 2012 - sndirsch@suse.com + +- renamed patches of previous change according to our policy + u_* --> U_* (since these were rebased on upstream patches) + +------------------------------------------------------------------- +Fri Jul 13 00:19:59 UTC 2012 - badshah400@gmail.com + +- Add patches u_dri2_add_DRI2CreateDrawable2.patch and + u_0012-glx_Free_reference_to_destroyed_GLX_drawable.patch to fix + seemingly random crashes of the X stack [bnc#769553]; patches + came from upstream git commits, and were rebased to apply to + present version cleanly. + +------------------------------------------------------------------- +Mon Jul 9 21:28:59 UTC 2012 - tobias.johannes.klausmann@mni.thm.de + +- Update to Version 1.12.3 + + The third stable update to the X.Org X server 1.12 series is now available. + A few smaller changes only since the second RC, some memory leak fixes and two + fixes to avoid out-of-bounds array access. + +------------------------------------------------------------------- +Tue Jun 26 10:38:40 UTC 2012 - sndirsch@suse.com + +- removed redundant buildrequires to xorg-x11 meta package + +------------------------------------------------------------------- +Thu Jun 14 14:07:14 UTC 2012 - sndirsch@suse.com + +- change xorg-x11 requires to a requires for xkbcomp (xorg-x11 is + meanwhile a meta package, which requires any X sample app + package); background: Xserver uses xkbcomp on startup for + creating the cache file for xkb keyboard map. + +------------------------------------------------------------------- +Fri Jun 8 14:12:48 UTC 2012 - sndirsch@suse.com + +- let xorg-x11-server require Mesa, since that package includes + the DRI drivers (including the "swrast" DRI driver for software + rendering), which are required by GLX and AIGLX extensions + (bnc#765241) + +------------------------------------------------------------------- +Wed May 30 14:56:53 UTC 2012 - tobias.johannes.klausmann@mni.thm.de + +- Update to version 1.12.2 + +------------------------------------------------------------------- +Fri May 25 14:44:36 UTC 2012 - sndirsch@suse.com + +- no longer use obsolete %run_permissions; replaced it by + %set_permissions (bnc#764101) + +------------------------------------------------------------------- +Tue May 22 08:50:21 UTC 2012 - sndirsch@suse.com + +- added patches to implement GLX_ARB_create_context extensions + required for OpenGL 3.0 support (not upstream yet) + +------------------------------------------------------------------- +Wed May 9 16:40:01 UTC 2012 - sndirsch@suse.com + +- changed pixman-1-0 requires to version 0.24 (bnc#759537) + +------------------------------------------------------------------- +Wed Apr 25 12:44:12 UTC 2012 - sndirsch@suse.com + +- remove BuildRequires to ghostscript-library, since it conflicts + with ghostscript-mini apparently now required by some other + package + +------------------------------------------------------------------- +Wed Apr 18 22:52:23 UTC 2012 - mgorse@suse.com + +- Rebase VNC patches + Rebase confine_to_shape.diff + +------------------------------------------------------------------- +Sun Apr 15 12:35:03 UTC 2012 - dimstar@opensuse.org + +- Update to version 1.12.1 +- Drop xorg-docs-1.6.tar.bz2: the docs are provided in a sep. + package. +- Add ABI Provides verification: + + pre_checkin.sh to be launched with --tar before checkin (no + parameter given will try to do the right thing). + + pre_checkin.sh is used during build to verify that the ABI + values match the expectations, to ensure we provide by rpm what + the binaries do. +- Add rpm macro file, allowing driver and input packages to specify + %x11_abi_videodrv_req, %x11_abi_xinput_req. +- Rebased patches to apply on 1.12.1 code base: + + 0001-Check-harder-for-primary-PCI-device.patch + + 0001-Fix-segfault-when-killing-X-with-ctrl-alt-backspace.patch + + autoconfig_fallback_fbdev_first.diff + + bug534768-prefer_local_symbols.patch + + dpms_screensaver.diff + + driver-autoconfig.diff + + fbdevhw.diff + + fix-dpi-values.diff + + fix_fglrx_screendepth_issue.patch + + p_default-module-path.diff + + pu_fixes.diff + + p_xnest-ignore-getimage-errors.diff + + randr1_1-sig11.diff + + vidmode-sig11.diff + + xorg-detect-psb.patch + + xorg-server-xdmcp.patch + + zap_warning_xserver.diff + + sync-fix.patch +- Drop upstream fixed patches: + + U_dix-on-PointerRootWin-send-a-FocusIn-to-the-sprite-w.patch + + U_dix-send-focus-events-to-the-immediate-parent-44079.patch + + U_Don-t-call-deleted-Block-WakeupHandler.patch + + u_OS-acpi-Reconnect-to-acpid-when-it-gets-restarted.patch + + u_record-fix-sig11.patch + +------------------------------------------------------------------- +Thu Mar 22 00:25:39 UTC 2012 - jengelh@medozas.de + +- Parallel build with %_smp_mflags; strip redundant sections/tags +- Use pkgconfig symbols for BuildRequires/Requires + +------------------------------------------------------------------- +Tue Feb 28 21:39:17 UTC 2012 - sndirsch@suse.com + +- fixed buildreqs due to reorganization of libvnc/vncproto + +------------------------------------------------------------------- +Thu Feb 9 20:27:04 UTC 2012 - sndirsch@suse.com + +- fixed buildreqs due to splitted xorg-x11-libs + +------------------------------------------------------------------- +Fri Jan 13 14:40:00 UTC 2012 - sndirsch@suse.com + +- added /usr/share/fonts/misc/sgi to Xserver core font rendering + fontpath (bnc#738961) + +------------------------------------------------------------------- +Tue Jan 10 10:33:52 UTC 2012 - sndirsch@suse.com + +- U_dix-send-focus-events-to-the-immediate-parent-44079.patch/ + U_dix-on-PointerRootWin-send-a-FocusIn-to-the-sprite-w.patch + * fixed very visible bug in XI2 handling exposed by a gtk+ + bugfix (bnc #740332, fdo #44079) + +------------------------------------------------------------------- +Wed Nov 30 17:18:16 CET 2011 - ro@suse.de + +- also package list.h in s390 so that sax2-tools can build + +------------------------------------------------------------------- +Mon Nov 28 16:04:58 CET 2011 - ro@suse.de + +- complete s390 fixes + +------------------------------------------------------------------- +Mon Nov 28 16:02:56 CET 2011 - ro@suse.de + +- fix build on s390/s390x + +------------------------------------------------------------------- +Sun Nov 20 06:49:40 UTC 2011 - coolo@suse.com + +- add libtool as buildrequire to avoid implicit dependency + +------------------------------------------------------------------- +Wed Nov 9 17:40:42 UTC 2011 - sndirsch@suse.com + +- u_record-fix-sig11.patch + * If you aren't using the Record extension (and you aren't), you + can work around the bug by moving the code which accesses the + (non-existant) request buffer inside the loop looking at the + recording contexts (of which there should be none). + (bnc #728964, fdo #36930) + +------------------------------------------------------------------- +Tue Oct 18 18:38:41 UTC 2011 - eich@suse.com + +- U_Don-t-call-deleted-Block-WakeupHandler.patch: + Don't call deleted Bloxk/WakeupHandler() - this avoids + crashes when handlers are unregistered from within a handler + which are in the call chain behind the current handler + (bnc #723777). + +------------------------------------------------------------------- +Tue Oct 18 06:42:32 UTC 2011 - eich@suse.com + +- zap_warning_xserver.diff: + Fix man page to match changed behavior. + +------------------------------------------------------------------- +Tue Sep 6 15:55:01 UTC 2011 - sndirsch@suse.com + +- update to xorg-server 1.10.4 +- VNC patches completely redone by Egbert Eich (N-VNC-*) +- Xvnc-pthread.diff: small buildfix required for factory +- removed obsolete patches + * EXA-mixed-ModifyPixmapHeader-pitch-fixes.-bug-33929.patch + * Replace-malloc-with-calloc-to-initialize-the-buffers.patch + * U_xserver_fix-pixmaps-lifetime-tracking.patch + * commit-5c6a2f9.diff + * pad-size-of-system-memory-copy-for-1x1-pixmaps + * record-avoid-crash-when-calling-RecordFlushReplyBuff.patch + * xorg-server-stop-cpu-eating.diff +- adjusted patches + * bug534768-prefer_local_symbols.patch + * zap_warning_xserver.diff +- disabled patches for now + * 0001-Xinput-Catch-missing-configlayout-when-deleting-dev.patch + * cache-xkbcomp-output-for-fast-start-up.patch + * xserver-bg-none-root.patch + * 0001-Prevent-XSync-Alarms-from-senslessly-calling-CheckTr.patch +- set VIDEO_ABI_VERSION = 10 and INPUT_ABI_VERSION = 12 in specfile + +------------------------------------------------------------------- +Tue Aug 30 13:53:46 UTC 2011 - sndirsch@suse.com + +- U_xserver_fix-pixmaps-lifetime-tracking.patch + * avoid crash when enabling the desktop icons in gnome3 + (bnc#701199) + +------------------------------------------------------------------- +Mon Aug 29 16:24:24 UTC 2011 - sndirsch@suse.com + +- u_xf4nvc_missing-libz.patch + * Xvnc no longer can rely on the toolchain to add the required + libs, it uses directly. + +------------------------------------------------------------------- +Fri Jul 8 08:20:41 UTC 2011 - eich@suse.de + +- update: + * randr1_1-sig11.diff + removed accidentally forgotten debugging code. + * u_OS-acpi-Reconnect-to-acpid-when-it-gets-restarted.patch + made socket non-blocking. Idea taken from a pach for SLES11. + +------------------------------------------------------------------- +Thu Jul 7 16:02:13 UTC 2011 - eich@suse.de + +- don't look for 10-evdev.conf for anything older than 11.3 + (this includes SLE-11). + +------------------------------------------------------------------- +Thu Jul 7 10:10:34 UTC 2011 - eich@suse.de + +- remove use-last-screen.patch: + This patch has been rejected upstream. We will try to resolve + this issue differently by not providing any screen, monitor or + device section. + +------------------------------------------------------------------- +Thu Jul 7 10:08:05 UTC 2011 - eich@suse.de + +- remove disable-fbblt-opt.diff: + We are unable to reproduce this issue any more. + So let's remove the workaround and start from scratch + when issue resurfaces and find a proper fix. + +------------------------------------------------------------------- +Wed Jul 6 09:04:30 UTC 2011 - eich@suse.de + +- fixed bug-197858_dpms.diff: + removed pieces that have been solved differently today. + +------------------------------------------------------------------- +Wed Jul 6 07:48:17 UTC 2011 - eich@suse.de + +- remove moblin-use_preferred_mode_for_all_outputs.diff: + remove moblin specific patches. + +------------------------------------------------------------------- +Tue Jul 5 13:54:21 UTC 2011 - eich@suse.de + +- rename edit_data_sanity_check.diff -> edid_data_sanity_check.diff + +------------------------------------------------------------------- +Tue Jul 5 13:44:54 UTC 2011 - eich@suse.de + +- remove p_xkills_wrong_client.diff: + made obsolete by commit b7f3618f. + +------------------------------------------------------------------- +Tue Jul 5 12:45:46 UTC 2011 - eich@suse.de + +- remove xorg-server-1.8.0.diff: + issue is now resolved in spec file. + +------------------------------------------------------------------- +Tue Jul 5 05:11:47 UTC 2011 - eich@suse.de + +- fix zap_warning_fix.diff: + recover from noisy people. + +------------------------------------------------------------------- +Tue Jul 5 05:09:40 UTC 2011 - eich@suse.de + +- remove p_xorg_acpi.diff + add u_OS-acpi-Reconnect-to-acpid-when-it-gets-restarted.patch + removed redundant error message. + +------------------------------------------------------------------- +Mon Jul 4 17:01:40 UTC 2011 - eich@suse.de + +- remove mouse.diff: + Never understood what this patch was good for. + +------------------------------------------------------------------- +Mon Jul 4 16:58:46 UTC 2011 - eich@suse.de + +- remove p_bug96328.diff: + /dev/input/mice is the default mouse for X -configure + on Linux for a long time already. + +------------------------------------------------------------------- +Mon Jul 4 12:19:43 UTC 2011 - eich@suse.de + +- remove xephyr.diff: + solved by configure options in spec file. + +------------------------------------------------------------------- +Mon Jul 4 12:10:14 UTC 2011 - eich@suse.de + +- remove libdrm.diff: + not needed any more, drivers seem to be fixed. + +------------------------------------------------------------------- +Mon Jul 4 11:32:31 UTC 2011 - eich@suse.de + +- remove xorg-docs.diff: + solved in spec file. + +------------------------------------------------------------------- +Mon Jul 4 10:06:49 UTC 2011 - eich@suse.de + +- remove pixman.diff: + Doesn't seem to be needed any more. + +------------------------------------------------------------------- +Mon Jul 4 05:58:11 UTC 2011 - eich@suse.de + +- remove xorg-x11-nonroot-vesa.patch, org-server-nohwaccess.diff: + There are other things missing to make those patches useful. + +------------------------------------------------------------------- +Fri Jul 1 14:18:49 UTC 2011 - eich@suse.de + +- remove: xserver-1.6.1-nouveau.patch. + This patch was only cosmetic. + +------------------------------------------------------------------- +Fri Jul 1 13:41:18 UTC 2011 - eich@suse.de + +- remove: CVE-2010-2240-address_space_limit.patch + CVE-2010-2240-tree_depth_limit.patch + These security issues have been handled in the Linux kernel in a + much more general fashion. + +------------------------------------------------------------------- +Fri Jul 1 11:37:33 UTC 2011 - eich@suse.de + +- remove: bitmap_always_unscaled.diff + missing_font_paths.diff + This has now been solved in the spec file directly. + +------------------------------------------------------------------- +Thu May 26 14:47:53 UTC 2011 - mhopf@novell.com + +- xorg-server-xf4vnc-fix-keyboard-layout-handling.diff + Consolidate adapted patches for bugs 400520, 605015, and 660797 into + single patch: + - xorg-server-xf4vnc-bug660797-fix-keycode-lookup-and-isolevel3shift.diff + - xorg-server-xf4vnc-bug660797-multilayout.diff + - xorg-server-xf4vnc-bug605015-fix-keyboard-handling-xinput.diff +- Fix *major* memory leak introduced by original 1.9 enabling patch + +------------------------------------------------------------------- +Tue May 24 18:31:46 UTC 2011 - mhopf@novell.com + +- xorg-server-xf4vnc-bug660797-multilayout.diff + - bnc #605015, 660797, fallout of fix from May 10: + Keyboard handling was not XKB aware, which lead to a multitude of issues. + Situation with this patch is not perfect, but way better. + +------------------------------------------------------------------- +Thu May 19 17:46:39 UTC 2011 - mhopf@novell.com + +- xorg-server-xf4vnc-bug660797-fix-keycode-lookup-and-isolevel3shift.diff + - bnc #400520, fallout of previous fix: + Analysis for shift/level3 event faking was broken, leading to e.g + Shift+PgUp not being recognized correctly. + +------------------------------------------------------------------- +Thu Apr 21 14:16:01 UTC 2011 - mhopf@novell.com + +- bnc #605015 + - Enable use of all keyboard layouts, independent of remotely set layout + - Remove obsolete xorg-server-xf4vnc-bug605015-vnc-umlauts.diff + - xorg-server-xf4vnc-bug605015-fix-keyboard-handling-xinput.diff + This should basically already enable the use of other keyboards, if the + remote keyboard stays at US. + - xorg-server-xf4vnc-bug605015-fix-keycode-lookup-and-isolevel3shift.diff + This patch fixes keycode lookup (not using any static keyboard layout any + more) and ISO-Level3-Shift handling (enabling the use of keyboard layouts + that use AltGr for reaching certain characters). + +------------------------------------------------------------------- +Tue Apr 12 09:21:29 UTC 2011 - sndirsch@novell.com + +- Xvnc should require xkeyboard-config (bnc #682904) + +------------------------------------------------------------------- +Fri Mar 25 03:20:58 UTC 2011 - sndirsch@novell.com + +- EXA-mixed-ModifyPixmapHeader-pitch-fixes.-bug-33929.patch + * EXA/mixed: ModifyPixmapHeader pitch fixes. (bnc #678264, + bfo #33929) + +------------------------------------------------------------------- +Thu Mar 17 16:55:16 UTC 2011 - sndirsch@novell.com + +- Replace-malloc-with-calloc-to-initialize-the-buffers.patch + * Replace malloc with calloc to initialize the buffers[] as NULL + in do_get_buffers function (bnc #673595) + +------------------------------------------------------------------- +Thu Mar 17 13:35:55 UTC 2011 - sndirsch@novell.com + +- record-avoid-crash-when-calling-RecordFlushReplyBuff.patch + * record: avoid crash when calling RecordFlushReplyBuffer + recursively (bnc #673575) + +------------------------------------------------------------------- +Sat Feb 26 10:52:15 UTC 2011 - devel@navlost.eu + +- Added --enable-kdrive-evdev switch to ./configure so that + the evdev driver can be used with Xephyr's -keybd and -mouse + switches + +------------------------------------------------------------------- +Tue Feb 15 10:17:56 UTC 2011 - mhopf@novell.com + +- Disable Use-external-tool-for-creating-backtraces-on-crashes.patch: + - Security isn't exactly fond of the patch (bnc#666578) + - Patch potentially livelocks server in fork() (bnc#660166) + +------------------------------------------------------------------- +Fri Feb 11 16:41:02 UTC 2011 - mhopf@novell.com + +- Update xorg-server-xf4vnc-fixes_1_9.diff: + Fix Xvnc rendering issues. +- Enable build of Xvnc again. +- Merge xorg-server-xf4vnc-fix-crash-on-193.diff + into xorg-server-xf4vnc-fixes_1_9.diff + +------------------------------------------------------------------- +Thu Feb 3 17:36:16 UTC 2011 - sndirsch@novell.com + +- disabled build of Xvnc and moved Xvfb to main package; + xorg-x11-Xvnc will be a seperate package (bnc #660208) + +------------------------------------------------------------------- +Mon Jan 10 16:01:13 CET 2011 - vuntz@opensuse.org + +- Add xorg-server-stop-cpu-eating.diff to avoid eating 100% of the + CPU when auto-detecting which vt to use on startup. + +------------------------------------------------------------------- +Wed Jan 5 20:56:44 CET 2011 - jeffm@suse.de + +- pad-size-of-system-memory-copy-for-1x1-pixmaps: + * Pad size of system memory copy for 1x1 pixmaps (bnc#652523, + bfo#32803) + +------------------------------------------------------------------- +Mon Jan 3 06:35:03 UTC 2011 - sndirsch@novell.com + +- use-last-screen.patch + * adjusted the patch to no longer segfault the Xserver during + startup immediately when there isn't any screen section + specified at all (bnc #661989) + +------------------------------------------------------------------- +Mon Dec 27 22:41:54 UTC 2010 - sndirsch@novell.com + +- use-last-screen.patch + * Use last Screen section found to prefer xorg.conf (bnc #661536, + bfo #32430) + +------------------------------------------------------------------- +Tue Dec 21 18:21:22 UTC 2010 - sndirsch@novell.com + +- added xorg-server-xf4vnc-bug605015-vnc-umlauts.diff as patch, but + still disabled + +------------------------------------------------------------------- +Tue Dec 21 18:08:15 UTC 2010 - mhopf@novell.com + +- xorg-server-xf4vnc-fix-crash-on-193.diff + Fix vnc startup crashes (bnc #660208). + Reenabled build of Xvnc. Massive rendering errors, still. + +------------------------------------------------------------------- +Tue Dec 21 02:51:19 UTC 2010 - sndirsch@novell.com + +- bumped version number to 7.6_1.9.3 + +------------------------------------------------------------------- +Sun Dec 19 23:23:30 UTC 2010 - sndirsch@novell.com + +- sync-fix.patch + * fixes the issue that gnome screensaver fadeout could not be + stopped (bnc #648851) + +------------------------------------------------------------------- +Sun Dec 19 14:57:16 UTC 2010 - sndirsch@novell.com + +- xorg-docs 1.6 + +------------------------------------------------------------------- +Mon Dec 13 22:47:59 UTC 2010 - sndirsch@novell.com + +- xorg-server 1.9.3 + * This version is functionally equivalent to the second release + candidate. + +------------------------------------------------------------------- +Sat Dec 4 20:47:41 UTC 2010 - sndirsch@novell.com + +- xorg-server 1.9.2.902 (1.9.3 RC2) + * includes various build and bug fixes to stability and + correctness over previous releases + +------------------------------------------------------------------- +Fri Dec 3 03:30:50 UTC 2010 - sndirsch@novell.com + +- remove Xorg setuid bit (bnc #632737) + +------------------------------------------------------------------- +Sun Nov 14 09:15:22 UTC 2010 - sndirsch@novell.com + +- xorg-server 1.9.2.901 (1.9.3 RC1) + * many buildfixes and bugfixes + +------------------------------------------------------------------- +Fri Nov 12 12:52:01 UTC 2010 - sndirsch@novell.com + +- xorg-docs 1.5.99.901 (1.6 RC1) +- adjusted xorg-x11-doc.diff + +------------------------------------------------------------------- +Fri Nov 12 12:06:22 UTC 2010 - sndirsch@novell.com + +- xorg-docs-1.5 +- adjusted xorg-docs.diff + +------------------------------------------------------------------- +Tue Nov 9 23:49:23 UTC 2010 - sndirsch@novell.com + +- disabled again vnc build due to immediate assertion during + startup of Xvnc + +------------------------------------------------------------------- +Tue Nov 9 23:46:17 UTC 2010 - sndirsch@novell.com + +- uncommented non-existing + xorg-server-xf4vnc-bug605015-vnc-umlauts.diff + +------------------------------------------------------------------- +Tue Nov 9 18:40:57 UTC 2010 - mhopf@novell.com + +- xorg-server-xf4vnc-fixes_1_9.diff: + Fix build of vnc server for 1.9 Xserver series. + +------------------------------------------------------------------- +Mon Nov 1 23:47:32 UTC 2010 - sndirsch@novell.com + +- xorg-server 1.9.2 + * This is a brown-bag release to address an issue with the + xorg-server-1.9.1 tarball. The version of util-macros used to + build the 1.9.1 tarball was modified and could cause problems + due to the absence of the -fno-strict-aliasing CFLAG. This + tarball was packaged using the unmodified util-macros. + This additionally contains a fix for a regression in XQuartz + found by Christof Wolf. + +------------------------------------------------------------------- +Mon Oct 25 12:16:17 UTC 2010 - sndirsch@novell.com + +- commit-5c6a2f9.diff + * retain obsolete pixmapPrivate, just for ABI compatibility + * reenable patch + +------------------------------------------------------------------- +Sun Oct 24 09:53:06 UTC 2010 - sndirsch@novell.com + +- xorg-server 1.9.1 (final release) + * functionally equivalent to xorg-server 1.9.0.902 + +------------------------------------------------------------------- +Sat Oct 23 01:19:50 UTC 2010 - sndirsch@novell.com + +- disable commit-5c6a2f9.diff for now + +------------------------------------------------------------------- +Fri Oct 22 14:10:13 UTC 2010 - sndirsch@novell.com + +- commit-5c6a2f9.diff + xfree86: Kill pixmapPrivate with a vengeance (v2) + ScrnInfo->pixmapPrivate only existed in order to catch invalid + access to the framebuffer by making the backing data NULL across + the VT switch. This was causing more confusion in the higher + layers during mode setting without any real benefit, so remove + it. v2: Kill ShadowModifyPixmapHeader() as well. (ABI change!) + +------------------------------------------------------------------- +Fri Oct 15 18:59:14 UTC 2010 - sndirsch@novell.com + +- xorg-server 1.9.0.902 + * This release fixes an input regression introduced in 1.9.1 as + well as some additional memory management issues. +- obsoletes vbe-bufferoverflow.diff + +------------------------------------------------------------------- +Fri Oct 15 12:15:50 UTC 2010 - coolo@novell.com + +- Xvfb requires xkb rules, so adjust requires of the extra package + +------------------------------------------------------------------- +Fri Oct 1 23:56:25 UTC 2010 - sndirsch@novell.com + +- xorg-server 1.9.0.901 + * This is the first release candidate for xorg-server-1.9.1. + We've picked up fixes for some crashers and memory management + problems as well as some minor new features including RandR + support in XQuartz, 18bpp support in xfree86, and support for + the nds32 architecture in xfree86. +- adjusted zap_warning_xserver.diff + +------------------------------------------------------------------- +Wed Aug 25 13:32:09 UTC 2010 - mhopf@novell.com + +- Use-external-tool-for-creating-backtraces-on-crashes.patch, + xorg-backtrace: + Use external script /usr/bin/xorg-backtrace for creating reasonable + backtraces upon crashes. + +------------------------------------------------------------------- +Mon Aug 23 19:28:20 CEST 2010 - sndirsch@suse.de + +- set VIDEO_ABI_VERSION = 8 and INPUT_ABI_VERSION = 11 in specfile + +------------------------------------------------------------------- +Mon Aug 23 17:26:21 CEST 2010 - sndirsch@suse.de + +- xorg-server 1.9.0 + * obsolete patches: + - dmx-silly.patch + - fixed-SYNC-extension-trigger-BlockHandler-test.diff + - sw_cursor_on_randr.patch + - xorg-evdev-conf.diff + - xorg-server-commit-21ed660.diff + - xorg-server-revert-event-mask.patch + - xorg-x11-server-gl-apps-crash.patch + * adjusted patches + - 0001-Fix-segfault-when-killing-X-with-ctrl-alt-backspace.patch + - 0001-Xinput-Catch-missing-configlayout-when-deleting-dev.patch + - CVE-2010-2240-tree_depth_limit.patch + - cache-xkbcomp-output-for-fast-start-up.patch + - confine_to_shape.diff + - driver-autoconfig.diff + - fpic.diff + - xorg-detect-psb.patch + - xorg-server-1.8.0.diff + - xorg-server-nohwaccess.diff + - xorg-server-option_libxf86config.diff + - xorg-server-xf4vnc.patch + - xserver-1.6.1-nouveau.patch + - xserver-bg-none-root.patch + * vbe-bufferoverflow.diff + - fixes vbe buffer overflow +- disabled vnc build for now (standalone server + module) + +------------------------------------------------------------------- +Thu Aug 19 15:53:11 CEST 2010 - max@suse.de + +- Replaced the previous xdmcp fix with a simpler approach that + doesn't cause login problems in xdm and kdm. (bnc#625593) + +------------------------------------------------------------------- +Tue Aug 17 17:23:45 CEST 2010 - sndirsch@suse.de + +- CVE-2010-2240-address_space_limit.patch/ + CVE-2010-2240-tree_depth_limit.patch + * xorg stack/heap overlap fix (bnc #618152) + +------------------------------------------------------------------- +Mon Aug 16 12:50:39 CEST 2010 - sndirsch@suse.de + +- xorg-server-commit-21ed660.diff + * dix: make DeviceEvent coordinates signed for Xinerama + (bnc #628295, bfo #24986) + +------------------------------------------------------------------- +Tue Aug 10 20:56:13 CEST 2010 - sndirsch@suse.de + +- xorg-server-revert-event-mask.patch + * locked up mouse event mask patch (bnc #619034) + +------------------------------------------------------------------- +Mon Aug 9 18:14:40 CEST 2010 - vuntz@opensuse.org + +- Add xorg-x11-server-gl-apps-crash.patch to fix crash with GL + applications. See bnc#617651. The patch is taken from upstream on + the server-1.8-branch and simply updates the glx/ and + hw/xfree86/dri2/ directories. + +------------------------------------------------------------------- +Wed Aug 4 15:57:04 CEST 2010 - sndirsch@suse.de + +- use configure option "--with-sha1=libcrypto" to fix also plain + rpmbuilds (bnc #627872) + +------------------------------------------------------------------- +Thu Jul 8 16:49:54 CEST 2010 - max@suse.de + +- Fix some shortcomings in the xdmcp implementation. It used to + suppress loopback addresses from the list of potential display + addresses to report to xdm, even when talking to xdm through + a loopback address. Now only display addresses of the same kind + as the xdm connection are reported to xdm. + + This most notably helps Xvnc servers contacting the local xdm, + because they were severely affected by the suppression of + loopback addresses. + +------------------------------------------------------------------- +Mon Jun 28 18:09:36 CEST 2010 - sndirsch@suse.de + +- missing_font_paths.diff: + * added /usr/share/fonts/{misc/sgi,truetype} to core font + rendering default path; always use ":unscaled" for bitmap + font paths (bnc #616400) + +------------------------------------------------------------------- +Sat May 29 01:04:47 CEST 2010 - sndirsch@suse.de + +- xorg-detect-psb.patch + * remove again "intellegacy" from driver autoconfiguration; that + reverts previous change (bnc #608315) + +------------------------------------------------------------------- +Sun May 9 03:27:39 CEST 2010 - sndirsch@suse.de + +- xorg-detect-psb.patch + * added "intellegacy" as fallback for "intel" (gets active if + 'nomodeset' is set as kernel option) since there is now a new + package for the older intel driver, which still has UMS support + +------------------------------------------------------------------- +Thu Apr 29 01:36:52 CEST 2010 - sndirsch@suse.de + +- remove Xdmx manual page from xorg-x11-server, since it's already + in xorg-x11-server-extra + +------------------------------------------------------------------- +Mon Apr 26 10:40:11 UTC 2010 - eich@suse.de + +- Updated "Prevent XSync Alarms from senslessly calling CheckTrigger()" + to make sure SyncTriggerInit() readds trigger to counter (bnc #584919). + +------------------------------------------------------------------- +Mon Apr 26 12:08:44 CEST 2010 - sndirsch@suse.de + +- Xdmx was disabled in favor of Nomad repository but it is + apparently dead (no Xdmx for OpenSUSE 11.2, last build from + early 2009). This patch re-enables Xdmx with some silly typo + fixed (dmx-silly.patch). Contributed by . + +------------------------------------------------------------------- +Wed Apr 21 16:03:07 CEST 2010 - eich@suse.de + +- Prevent XSync Alarms from senslessly calling CheckTrigger() when inactive. + If an XSync Alarm is set to inactive there is no need to check if a trigger + needs to fire. Doing so if the counter is the IdleCounter will put the + server on 100 percent CPU load since the select timeout is set to 0 + (bnc #584919). + +------------------------------------------------------------------- +Sat Apr 10 20:54:18 CEST 2010 - sndirsch@suse.de + +- specfile cleanup +- removed no longer useful xlog2xconf.sh + +------------------------------------------------------------------- +Sat Apr 10 12:26:46 CEST 2010 - sndirsch@suse.de + +- adjusted moblin-xserver-no-root-2.patch, renamed it to + xorg-server-nohwaccess.diff and enable it by default +- rename moblin-xorg-x11-nonroot-vesa.patch to + xorg-x11-nonroot-vesa.patch +- removed obsolete patch 'xserver-boottime.patch' + +------------------------------------------------------------------- +Thu Apr 8 13:42:43 UTC 2010 - eich@novell.com + +- Adapted and fixed 'noroot-background' patch originally coming from + the Moblin project and enable by default. + +------------------------------------------------------------------- +Thu Apr 8 12:20:38 UTC 2010 - eich@suse.de + +- On ia64 the Xserver brings its own PIO functions (inb, outb, ...). + These are supposed to overrule the ones provided by glibc. + Unfortunately this doesn't seem to work under all circumstances. + Therefore use inX/outX_ia64 and set appropriate defines. + +------------------------------------------------------------------- +Thu Apr 8 11:50:30 UTC 2010 - eich@suse.de + +- Fix SIG11 on VT switch when using SW cursor with RandR (bnc #592614). + +------------------------------------------------------------------- +Thu Apr 8 11:49:46 CEST 2010 - ro@suse.de + +- fix evdev config file (use the one from xserver upstream) + +------------------------------------------------------------------- +Tue Apr 6 20:48:21 CEST 2010 - ro@suse.de + +- fix libxf86config (resolve references) + +------------------------------------------------------------------- +Tue Apr 6 18:20:00 CEST 2010 - sndirsch@suse.de + +- fix_fglrx_screendepth_issue.patch + * hardcode default color depth of fglrx driver to 24bit to fix + video driver autoconfiguration (bnc #593878) + +------------------------------------------------------------------- +Fri Apr 2 11:33:28 CEST 2010 - sndirsch@suse.de + +- update to 1.8 +- obsoletes xorg-server-walk_drivers.diff +- adjusted xorg-server-xf4vnc.patch +- xorg-server-1.8.0.diff + * install evdev config file to the right directory + +------------------------------------------------------------------- +Fri Mar 26 02:45:15 CET 2010 - sndirsch@suse.de + +- xorg-server-walk_drivers.diff: + * updated patch working more cleanly, fixed coding style, added + comments (Rüdiger Oertel) + +------------------------------------------------------------------- +Wed Mar 24 17:05:53 CET 2010 - sndirsch@suse.de + +- disabled udev support for openSUSE <= 11.2 (bnc #589997) + +------------------------------------------------------------------- +Wed Mar 24 02:37:56 CET 2010 - ro@suse.de + +- re-do xorg-server-walk_drivers.diff again, different approach + create screen sections for each possible drivers + now it is really using the first driver as in full autoconfig + +------------------------------------------------------------------- +Tue Mar 23 14:10:59 CET 2010 - sndirsch@suse.de + +- update to 1.7.99.902 +- fixed font path ("--with-fontrootdir") + +------------------------------------------------------------------- +Tue Mar 23 00:07:28 CET 2010 - ro@suse.de + +- xserver-1.6.1-nouveau.patch (from fedora) + Also, don't treat DRI setup failure as an error for nouveau. + +------------------------------------------------------------------- +Mon Mar 22 17:48:04 CET 2010 - ro@suse.de + +- rework xorg-server-walk_drivers.diff + +------------------------------------------------------------------- +Mon Mar 22 00:23:22 CET 2010 - ro@suse.de + +- re-implement walking list of possible drivers to find a working + one + +------------------------------------------------------------------- +Thu Mar 18 02:29:25 CET 2010 - ro@suse.de + +- update to 1.7.99 to get rid of hal + - refresh patches + - drop p_ia64-console.diff +- remove hal-devel from buildrequires +- add libudev-devel to buildrequires +- add --enable-config-udev to configure + +------------------------------------------------------------------- +Wed Mar 17 15:56:31 CET 2010 - ro@suse.de + +- drop un-applied patches + p_pci-off-by-one.diff.ia64 + xorg-x11-server-1.2.99-unbreak-domain.patch + ia64linuxPciInit.diff + exa-greedy.diff + commit-c941479.diff + moblin-hw-xf86-modes-Set-crtc-mode-rotation-transform-befo.patch + moblin-xfree86-move-didLock-assignment-down-to-where-the-f.patch + moblin-randr-fix-operation-order-so-that-rotation-transfor.patch + +------------------------------------------------------------------- +Wed Mar 17 06:20:25 CET 2010 - sndirsch@suse.de + +- update to 1.7.6 + * reintrocued record extension + * bugfixes + +------------------------------------------------------------------- +Sat Feb 20 08:35:14 CET 2010 - sndirsch@suse.de + +- update to 1.7.5 + * Only four fixes since the RC, with the fix for 25640 being + rather noteworthy - if your X server crashed on replugging + keyboards (or using a KVM), you're encouraged to upgrade. + - dix: restore lastDeviceEventTime update in dixSaveScreens + - Don't double-swap the RandR PropertyNotify event + - Xi: reset the sli pointers after copying device classes. + (bfo #25640) + - RENDER: Fix gradient and solid fill pictures with Xinerama, + and misc cleanup +- obsoletes + 0001-Don-t-double-swap-the-RandR-PropertyNotify-event.patch + +------------------------------------------------------------------- +Fri Feb 12 17:18:54 UTC 2010 - lchiquitto@novell.com + +- 0001-Don-t-double-swap-the-RandR-PropertyNotify-event.patch + * The event is swapped in randr.c/SRROutputPropertyNotifyEvent, + so it should not be swapped again here. + (bnc #573446, bfo #26511) + +------------------------------------------------------------------- +Sat Jan 16 19:06:44 CET 2010 - sndirsch@suse.de + +- set VIDEO_ABI_VERSION = 6 and INPUT_ABI_VERSION = 7 in specfile + +------------------------------------------------------------------- +Thu Jan 14 01:37:00 CET 2010 - ro@suse.de + +- update to 1.7.4 + - obsoletes acpi_events.diff + - obsoletes loadmod-bug197195.diff + - obsoletes events.diff + - obsoletes acpi-warning.diff + - obsoletes fbdev_fallback_fail_fix.diff + - obsoletes bug-507190_xorg-x11-server-bnc381139-randr-reprobe-on-unsuspend.diff + - obsoletes keyrelease-1.5.2.diff + - obsoletes 0001-Unclaim-PCI-slot-if-driver-probing-fails.patch + - obsoletes 0001-Fix-sporadic-segfault-on-resume-with-intel-KMS-due-t.patch + - obsoletes bug532341.diff + - obsoletes no-return-in-nonvoid-function.diff + - adjusted 0001-Fix-segfault-when-killing-X-with-ctrl-alt-backspace.patch + - adjusted bitmap_always_unscaled.diff + - adjusted bug-197858_dpms.diff + - adjusted cache-xkbcomp-output-for-fast-start-up.patch + - adjusted driver-autoconfig.diff + - adjusted fixed-SYNC-extension-trigger-BlockHandler-test.diff + - adjusted fpic.diff + - adjusted missing_font_paths.diff + - adjusted p_default-module-path.diff + - adjusted p_ia64-console.diff + - adjusted p_xorg_acpi.diff + - adjusted xorg-detect-psb.patch + - adjusted xorg-server-xf4vnc-disable-dmxvnc.diff + - adjusted xorg-server-xf4vnc-fix.diff + - adjusted xorg-server-xf4vnc.patch + - adjusted xorg-x11-server.changes + - adjusted xorg-x11-server.spec + - adjusted zap_warning_xserver.diff +- removed truetype_fontpath.diff +- removed libdri_noPanoramiXExtension_symbol.patch +- exa-greedy.diff not applied +- fixed xorg-detect-psb.patch: + rewrite to use second level switch statement for device_id +- /usr/$lib/X11/Options is gone + (Remove xorgcfg 'Options' list.) + +------------------------------------------------------------------- +Sun Dec 13 11:52:48 CET 2009 - sndirsch@suse.de + +- added xlog2xconf, which is a script to create a minimal xorg.conf + extracted from Xorg..log + +------------------------------------------------------------------- +Sun Nov 29 17:43:43 CET 2009 - sndirsch@suse.de + +- driver-autoconfig.diff: + * VIA chipsets: switched to "via" as first try since "via" is no + longer renamed to "chrome9" in -chrome9 driver package and + -unichrome driver package now disables the "via" wrapper + +------------------------------------------------------------------- +Fri Nov 27 22:14:24 CET 2009 - sndirsch@suse.de + +- missing_font_paths.diff + * added /usr/share/fonts/{URW,cyrillic} to font paths + (bnc #558915) + +------------------------------------------------------------------- +Mon Nov 2 10:05:55 CET 2009 - sndirsch@suse.de + +- build Xserver again with '-O2' instead of '-O0', which had been + an unintentional change (bnc #551789) + +------------------------------------------------------------------- +Mon Oct 19 15:16:22 CEST 2009 - sndirsch@suse.de + +- add 'Option "AutoAddDevices" "off"' to xorg.conf only as + documented comment, since it caused a lot of confusion + (bnc #548085 and various others) + +------------------------------------------------------------------- +Mon Oct 12 16:48:47 CEST 2009 - sndirsch@suse.de + +- xorg-server 1.6.5 + * This release fixes the fact that 1.6.4 would crash on drivers + that still tried to initialize the DGA extension. It also has + a minor improvement for Xephyr to support nesting within an + existing window at a different depth. +- obsoletes dga-removal-fix.diff + +------------------------------------------------------------------- +Fri Oct 9 03:38:53 CEST 2009 - sndirsch@suse.de + +- since we no longer use xorg.conf make ZapWarning the default + (bnc #545590) + +------------------------------------------------------------------- +Thu Oct 8 13:43:20 CEST 2009 - eich@suse.de + +- Fix segfault when killing X with ctrl-alt-backspace. (bnc #545363) + * The damage structure for the cursor is not deregistered before + deallocation, causing a subsequent DamageUnregister () to segfault. + The problem may leave the text console unrestored. + (0001-Fix-segfault-when-killing-X-with-ctrl-alt-backspace.patch) + +------------------------------------------------------------------- +Wed Oct 7 15:30:20 CEST 2009 - eich@suse.de + +- 0001-Check-harder-for-primary-PCI-device.patch (bnc #545458) + * Primary PCI devices are identified by checking for an 'PCIINFOCLASSES' + device which is VGA and has access to the memory bars enabled. + If there should be more than one device for which this is true + redo the check and also check if IO resoures are also enabled, + if this still doesn't turn up a unique result also check for + the presence of a BIOS rom. + +------------------------------------------------------------------- +Wed Oct 7 04:58:29 CEST 2009 - sndirsch@suse.de + +- driver-autoconfig.diff + * GeForce 6150SE support broken on nv (bnc #465190/544674) + +------------------------------------------------------------------- +Thu Oct 1 02:50:16 CEST 2009 - sndirsch@suse.de + +- dga-removal-fix.diff + * Here's an updated patch -- removes the _X_INTERNAL from the .c + files, renames xf86DiDGAInit to _xf86_di_dga_init_internal, + and renames xf86DiDGAReInit to _xf86_di_dga_reinit_internal. + +------------------------------------------------------------------- +Tue Sep 29 19:43:23 CEST 2009 - sndirsch@suse.de + +- dga-removal-fix.diff + * "Removing DGA ended up breaking any drivers calling into the old + xf86DiDGAInit function as it tried to see if DGA was already + enabled and ended up crashing if the VT wasn't completely + initialized. Oops." + +------------------------------------------------------------------- +Mon Sep 28 20:50:34 CEST 2009 - sndirsch@suse.de + +- xorg-server 1.6.4 + * fbdevhw: Test for graphics:fb%d as well as graphics/fb%d + * render: return the supported version rather than just passing + the proto's version + * xfree86/modes: Remove all framebuffer support from DGA + * dri2: Don't crash if pPriv is NULL. + * Don't send events through the master if the device has + SendCoreEvents off. + * Don't reset the lastDeviceEventTime when doing DPMS actions + * dix: append "built-ins" to the font path in SetDefaultFontPath + +------------------------------------------------------------------- +Mon Sep 28 20:32:13 CEST 2009 - sndirsch@suse.de + +- bug532341.diff + * fixes Xserver crash when running x11perf -shmputxy10 test case + (bnc #532341, bfo #23298) + +------------------------------------------------------------------- +Mon Sep 21 16:46:38 CEST 2009 - mhopf@novell.com + +- Less intrusive fix for server segfault. Should fix fdo #24010 (memleak). + +------------------------------------------------------------------- +Thu Sep 10 15:44:07 CEST 2009 - sndirsch@suse.de + +- %post: modify xorg.conf if required + * do not change input driver behaviour for existing X.Org + configurations + +------------------------------------------------------------------- +Wed Sep 9 23:29:33 CEST 2009 - sndirsch@suse.de + +- moblin-use_preferred_mode_for_all_outputs.diff + * use each outputs preferred mode (bnc #537488) + +------------------------------------------------------------------- +Tue Sep 8 17:28:32 CEST 2009 - mhopf@novell.com + +- Prefer locally defined symbols in modules (bnc #534768). + +------------------------------------------------------------------- +Fri Sep 4 18:11:09 CEST 2009 - mhopf@novell.com + +- 0001-Fix-sporadic-segfault-on-resume-with-intel-KMS-due-t.patch: + Fixes segfaults with intel and KMS upon resume (only occuring sporadically). + +------------------------------------------------------------------- +Thu Aug 27 18:26:05 CEST 2009 - eich@suse.de + +- Update to 1.6.4 RC1, adapted patches. + +------------------------------------------------------------------- +Fri Aug 14 02:33:19 CEST 2009 - sndirsch@suse.de + +- 0001-config-don-t-shutdown-the-libhal-ctx-if-it-failed-to.patch + * no longer need to revert commit c941479 (bnc #528397, bfo #23213) + +------------------------------------------------------------------- +Tue Aug 11 22:23:26 CEST 2009 - sndirsch@suse.de + +- revert commit c941479 (bnc #528397) + +------------------------------------------------------------------- +Tue Aug 4 10:50:34 CEST 2009 - eich@suse.de + +- Resynced with patches from Intel's Moblin project. +- Updated patches to aply cleanly again. + +------------------------------------------------------------------- +Sat Aug 1 10:47:53 CEST 2009 - sndirsch@suse.de + +- xorg-server 1.6.3 + * This mostly just collects a bunch of minor fixes since 1.6.2. + Two notable inclusions are: + - Replacing dixLookupResource with dixLookupResourceByType, + dixLookupResourceByClass. This returns us to having two + resource lookup functions, but this time we have a more + sensible name and argument set. + - Fixing RandR transforms for drivers providing set_mode_major. + These patches were originally slated to land in 1.6.2 but + I missed them somehow. +- obsoletes commit-cadf65a.diff + +------------------------------------------------------------------- +Wed Jul 8 02:09:43 CEST 2009 - sndirsch@novell.com + +- xorg-server 1.6.2 + * This is the second update to the 1.6 version and is designed + to be a drop-in compatible version with various bug fixes and + other improvements. +- obsoletes various patches + * bug-507190_xorg-x11-server-bnc381139-randr-fix-timestamps.diff + * includes-fix.diff + * security-Fix-a-crash-caused-by-wrong-ordering-of-fo.patch + * security-Grant-untrusted-windows-remove-access-on-a.patch + * security-Revert-behavior-of-extension-access-for-co.patch +- adjusted zap_warning_xserver.diff + +------------------------------------------------------------------- +Thu Jul 2 15:51:47 CEST 2009 - mhopf@novell.com + +- Adapt vnc patches to changes in input infrastructure + (fixes bnc #508553) + +------------------------------------------------------------------- +Wed Jun 24 18:17:18 CEST 2009 - mhopf@novell.com + +- Unclaim PCI slot if driver probing fails (fixes bnc #511529) + +------------------------------------------------------------------- +Fri Jun 19 21:37:02 CEST 2009 - sndirsch@suse.de + +- includes-fix.diff + * build fix +- truetype_fontpath.diff + * added /usr/share/fonts/truetype to default font path + +------------------------------------------------------------------- +Thu Jun 11 03:48:03 CEST 2009 - sndirsch@suse.de + +- use %moblin define in specfile + +------------------------------------------------------------------- +Wed Jun 10 16:39:15 CEST 2009 - sndirsch@suse.de + +- xserver-1.5.0-bg-none-root.patch + * removed patch for compalloc.c, which hurts on Moblin +- disabled xserver-1.5.0-bg-none-root.patch (only useful for Moblin) + +------------------------------------------------------------------- +Tue Jun 9 15:55:52 CEST 2009 - sndirsch@suse.de + +- diabled build of Xdmx since it conflict's with NOMAD's Xdmx + (bnc #511269) + +------------------------------------------------------------------- +Fri Jun 5 23:42:25 CEST 2009 - sndirsch@suse.de + +- driver-autoconfig.diff + * ati ==> fglrx --> radeonhd --> ati + * nv ==> nvidia --> nouveau --> nv (FATE #305109) + * openchrome ==> chrome9 --> openchrome --> unichrome + * registered vboxvideo +- obsoletes radeonhd.diff/radeonhd.h + +------------------------------------------------------------------- +Fri Jun 5 21:29:12 CEST 2009 - sndirsch@suse.de + +- keyrelease-git.diff + * xkb: Don't press+release keys on key events. Fixes submission + of F7 to apps on switch from console for drivers that switch + fast enough (bnc #141443). + +------------------------------------------------------------------- +Thu Jun 4 17:41:14 CEST 2009 - sndirsch@suse.de + +- autoconfig_fallback_fbdev_first.diff + * fallback to fbdev first, then vesa instead of the other way + round + +------------------------------------------------------------------- +Tue Jun 2 19:02:02 CEST 2009 - eich@suse.de + +Frederico's patches to support reprobing of connected displays on EnterVT +and fixes to set event timestamps properly. +- Re-probe RANDR outputs on laptop unsuspend. +- Make RANDR 'set' timestamps follow client specified time. +- Add missing fields to SRR*NotifyEvent(). + +------------------------------------------------------------------- +Tue Jun 2 14:46:19 CEST 2009 - eich@suse.de + +- Patches taken from Moblin: + * security: Grant untrusted windows remove access on all windows. + * security: Fix a crash caused by wrong ordering of format arguments. + * security: Revert behavior of extension access for compatibility. + * Autodetect Plousbo chips. + * add -nb command line option to supress root window background stet + on startup. + * cache xkb output for fast startup. + * make noPanoramiXExtension symbol local and initialize. + +------------------------------------------------------------------- +Thu May 28 15:23:44 CEST 2009 - sndirsch@suse.de + +- fbdev_fallback_fail_fix.diff + * fix fbdev fallback failure if no xorg.conf exists; fbdev driver + complained about required BusID (Egbert Eich) + +------------------------------------------------------------------- +Thu Apr 30 15:04:14 CEST 2009 - sndirsch@suse.de + +- instead of require do provide + INPUT_ABI_VERSION/VIDEO_ABI_VERSION to fix dependancy loop + +------------------------------------------------------------------- +Thu Apr 30 12:21:40 CEST 2009 - sndirsch@suse.de + +- xkeyboard-config should be required by xorg-x11-driver-input +- require INPUT_ABI_VERSION = 4 (provided by xorg-x11-driver-input) +- require VIDEO_ABI_VERSION = 5 (provided by xorg-x11-driver-video) +- require libpixman-1-0 >= 0.15.2 + +------------------------------------------------------------------- +Tue Apr 28 19:36:33 CEST 2009 - sndirsch@suse.de + +- enable DRI2 build + +------------------------------------------------------------------- +Tue Apr 14 22:38:39 CEST 2009 - sndirsch@suse.de + +- xorg-server 1.6.1 + +------------------------------------------------------------------- +Mon Mar 23 17:05:26 CET 2009 - sndirsch@suse.de + +- fixed-SYNC-extension-trigger-BlockHandler-test.diff (bnc #472046) + * Reworked ComputeBracketValues(): + * Reworked previous patch to IdleTimeBlockHandler() (commit 1f4fb022) + (Egbert Eich) + +------------------------------------------------------------------- +Tue Mar 10 16:09:14 CET 2009 - sndirsch@suse.de + +- commit-cadf65a.diff + * randr: Nuke broken set_origin shortcut. Shortcut is impossible + to implement this way, because we don't know for sure whether + the crtc of an output has changed or not. (bnc #482838) + +------------------------------------------------------------------- +Mon Mar 9 21:24:16 CET 2009 - mmarek@suse.cz + +- renamed modprobe config to /etc/modprobe.d/50-nvidia.conf + (required by new module-init-tools). + +------------------------------------------------------------------- +Sun Mar 8 23:35:19 CET 2009 - sndirsch@suse.de + +- radeonhd.diff/radeonhd.h: + * prefer radeonhd for autoconfig for ATI >= R500 + +------------------------------------------------------------------- +Sun Mar 8 03:59:17 CET 2009 - sndirsch@suse.de + +- added hal-devel to BuildRequires for input driver configuration + support via HAL, e.g. evdev + +------------------------------------------------------------------- +Wed Mar 4 13:28:06 CET 2009 - sndirsch@suse.de + +- removed randr12-8d230319040f0a7f72231da2bf5ec97dc3612e21.diff; + probably a wrong patch since this commit has been reverted right + after by commit b4193a2eee80895c5641e77488df0e72a73a3d99 again +- no longer overwrite xorg.conf with an obsolete one; obsoletes + disable-root-xorg_conf.diff + +------------------------------------------------------------------- +Tue Mar 3 05:06:02 CET 2009 - sndirsch@suse.de + +- regenerated xorg-server-xf4vnc.patch (still disabled) + +------------------------------------------------------------------- +Fri Feb 27 12:40:32 CET 2009 - sndirsch@suse.de + +- xorg-server 1.6.0 +- temporarily disabled build of Xvnc/libvnc.so +- obsoletes 64bit-portability-issue.diff, 64bit.diff, + commit-59f9fb4b8.diff, commit-a9e2030.diff, dga_cleanup.diff, + miPointerUpdate-crashfix.diff, p_mouse_misc.diff, + ps_showopts.diff, unplugged_monitor_crashfix.diff +- adjusted 0001-Xinput-Catch-missing-configlayout-when-deleting-dev.patch, + bitmap_always_unscaled.diff, confine_to_shape.diff, fbdevhw.diff, + p_ia64-console.diff, randr1_1-sig11.diff, xephyr.diff, + xorg-server-xf4vnc.patch, zap_warning_xserver.diff + +------------------------------------------------------------------- +Tue Feb 24 12:08:59 CET 2009 - sndirsch@suse.de + +- bug474071-fix1.diff + * fixes Xserver issue of bnc #474071 + +------------------------------------------------------------------- +Mon Feb 16 09:03:31 CET 2009 - sndirsch@suse.de + +- /var/X11R6/bin no longer covered by FHS; switched to + /var/lib/X11 (bnc #470969) + +------------------------------------------------------------------- +Sat Jan 31 15:21:21 CET 2009 - schwab@suse.de + +- Provide proper fallback when legacy_mem is not available. + +------------------------------------------------------------------- +Thu Jan 29 16:55:26 CET 2009 - sndirsch@suse.de + +- reenabled Security extension (bnc #470601) + +------------------------------------------------------------------- +Fri Jan 16 16:32:02 CET 2009 - sndirsch@suse.de + +- sysconfig.displaymanager.template + * reintroducing DISPLAYMANAGER_XSERVER sysconfig variable, since + it's still used by proprietary driver packages (bnc #466583) + +------------------------------------------------------------------- +Sat Dec 20 02:53:00 CET 2008 - sndirsch@suse.de + +- xorg-server-xf4vnc-clientTimeout.diff + * fixes vnc client timeout handling (bnc #441935) + +------------------------------------------------------------------- +Fri Nov 28 03:56:16 CET 2008 - sndirsch@suse.de + +- dpms_screensaver.diff + * DMPS calls dixSaveScreens() when turned on but not when turned + off. In most cases this is irrelevant as DPMS is done when a + key is hit in which case dixSaveScreens() will be called to + unblank anyhow. This isn't the case if we use xset (or the + DPMS extension directly) to unblank. (bnc #439495) + +------------------------------------------------------------------- +Wed Nov 26 14:35:30 CET 2008 - sndirsch@suse.de + +- rename "i810" driver entry in xorg.conf to "intel" during update + (bnc #448458) + +------------------------------------------------------------------- +Fri Nov 21 20:16:00 CET 2008 - sndirsch@suse.de + +- commit-a9e2030.diff + * int10: Do an mprotect(..,PROT_EXEC) on shmat()ed memory + ranges. When the linux kernel sets the NX bit vm86 segfaults + when it tries to execute code in memory that is not marked + EXEC. Such code gets called whenever we return from a VBIOS + call to signal the calling program that the call is actually + finished and that we are not trapping for other reasons + (like IO accesses). Use mprotect(2) to set these memory + ranges PROT_EXEC. (bnc #443440) + +------------------------------------------------------------------- +Thu Nov 13 17:55:01 CET 2008 - sndirsch@suse.de + +- 0001-Xinput-Catch-missing-configlayout-when-deleting-dev.patch + * In DeleteInputDeviceRequest (xf86Xinput.c), we access idev + members even if idev is null. This takes down the xserver + hard in some cases (kernel SIGABRT), and segfaults on other + cases (Luc Verhaegen). + +------------------------------------------------------------------- +Sat Nov 8 05:22:55 CET 2008 - sndirsch@suse.de + +- commit-59f9fb4b8.diff + * XAA PixmapOps: Sync before accessing unwrapped callbacks. + (bnc #435791) +- obsoletes XAA_pixmap_sync.diff + +------------------------------------------------------------------- +Fri Nov 7 15:04:01 CET 2008 - sndirsch@suse.de + +- XAA_pixmap_sync.diff + * By adding a line with SYNC_CHECK to the XAA_PIXMAP_OP_PROLOGUE + macro, all XAA pixmap callbacks now properly wait for the + hardware to be synced before calling the (next) unwrapped + callback. This effectively clears up all the drawing issues + we are seeing. (bnc #435791) + +------------------------------------------------------------------- +Thu Nov 6 17:51:47 CET 2008 - sndirsch@suse.de + +- vidmode-sig11.diff + * fixes Sig11 in vidmode extension (bnc #439354) + +------------------------------------------------------------------- +Wed Nov 5 17:18:29 CET 2008 - sndirsch@suse.de + +- unplugged_monitor_crashfix.diff + * prevent monitor from crashing during startup if statically + configured external has been unplugged (bfo #18246) + +------------------------------------------------------------------- +Tue Nov 4 18:04:15 CET 2008 - sndirsch@suse.de + +- removed glitz-devel from BuildRequires (bnc #441549) + +------------------------------------------------------------------- +Mon Oct 27 18:28:43 CET 2008 - sndirsch@suse.de + +- build and install libxf86config + header files also on s390(x) + (bnc #432738) + +------------------------------------------------------------------- +Mon Oct 27 17:28:36 CET 2008 - sndirsch@suse.de + +- removed p_ppc_domain_workaround.diff/ppc.diff to fix Xserver + start on ppc (bnc #437695) + +------------------------------------------------------------------- +Sat Oct 25 13:46:03 CEST 2008 - sndirsch@suse.de + +- xorg-server-xf4vnc-busyloop.diff + * prevent Xvnc from busylooping when client disconnects + (bnc #403901) + +------------------------------------------------------------------- +Fri Oct 17 15:52:27 CEST 2008 - sndirsch@suse.de + +- miPointerUpdate-crashfix.diff + * fixes Xserver crash at startup with ELO touchscreen + (bnc #436435) + +------------------------------------------------------------------- +Sat Oct 11 23:42:48 CEST 2008 - sndirsch@suse.de + +- xorg-server 1.5.2 + * int10: Remove useless check. + * int10: Don't warn when scanning for devices we don't have. + * int10: Fix a nasty memory leak. + * Revert "Array-index based devPrivates implementation." + * EDID: Catch monitors that encode aspect ratio for physical + size. + * Remove usage of mfbChangeWindowAttributes missed in + e4d11e58c... + * only build dri2 when DRI2 is enabled + * Array-index based devPrivates implementation. + * Fix GKVE with key_code > 255 + * xkb: fix use of uninitialized variable. + * DGA: Fix ProcXF86DGASetViewPort for missing support in driver. + * xkb: fix core keyboard map generation. (bfo #14373) + * xkb: squash canonical types into explicit ones on core + reconstruction. + * Check nextEnabledOutput()'s return in bestModeForAspect() +- obsoletes xorg-server-commit-d1bb5e3.diff + +------------------------------------------------------------------- +Fri Oct 10 04:26:40 CEST 2008 - sndirsch@suse.de + +- dga_cleanup.diff + * DGA: Mash together xf86dga.c and xf86dga2.c for a client state + tracking fix. + * DGA: Track client state even when using old style DGA. This + fixes the issue that a badly killed DGA will keep on hogging + mode/framebuffer/mouse/keyboard. (bnc #310232) + +------------------------------------------------------------------- +Thu Oct 9 14:59:06 CEST 2008 - sndirsch@suse.de + +- xorg-server-commit-d1bb5e3.diff + * DGA: Fix ProcXF86DGASetViewPort for missing support in driver. + Fixes a segfault when trying to activate a DGA mode without + checking whether DGA modesetting is at all possible. + (Luc Verhaegen) + +------------------------------------------------------------------- +Mon Sep 29 14:26:13 CEST 2008 - sndirsch@suse.de + +- make use of %configure macro + +------------------------------------------------------------------- +Tue Sep 23 21:30:54 CEST 2008 - sndirsch@suse.de + +- xorg-server 1.5.1 (planned for final X.Org 7.4 release) + * Conditionalize Composite-based backing store on + pScreen->backingStoreSupport. (Aaron Plattner) + * Move RELEASE_DATE below AC_INIT. (Adam Jackson) + * exa: disable shared pixmaps (Julien Cristau) + * Fix panoramiX request and reply swapping (Peter Harris) + +------------------------------------------------------------------- +Mon Sep 22 19:31:52 CEST 2008 - sndirsch@suse.de + +- disabled build of optional "xcliplist" module (bnc #428189) + +------------------------------------------------------------------- +Sat Sep 13 05:04:35 CEST 2008 - sndirsch@suse.de + +- added /usr/lib64/X11 dir to filelist to fix build on 64bit + platforms + +------------------------------------------------------------------- +Thu Sep 11 14:22:52 CEST 2008 - sndirsch@suse.de + +- bumped release number to 7.4 + +------------------------------------------------------------------- +Thu Sep 4 01:55:34 CEST 2008 - sndirsch@suse.de + +- xorg-server 1.5.0 + * almost certainly the server that will go into Xorg 7.4, + which is supposed to be available in a day or two +- obsoletes commit-5930aeb.diff/commit-78f50cd.diff + +------------------------------------------------------------------- +Thu Aug 28 12:46:01 CEST 2008 - sndirsch@suse.de + +- commit-5930aeb.diff/commit-78f50cd.diff + * obsoletes reverting of Mesa commit 1724334 (bfo #17069) + +------------------------------------------------------------------- +Fri Aug 8 10:50:48 CEST 2008 - sndirsch@suse.de + +- commit-50e80c3.diff obsolete now (bnc #415680) +- commit-f6401f9.diff obsolete + +------------------------------------------------------------------- +Wed Aug 6 17:24:40 CEST 2008 - schwab@suse.de + +- Fix crash in Xvnc when handling selections. + +------------------------------------------------------------------- +Tue Aug 5 10:29:46 CEST 2008 - sndirsch@suse.de + +- enabled build of record extension, which has been disabled + upstream for whatever reason + +------------------------------------------------------------------- +Sat Aug 2 00:11:12 CEST 2008 - sndirsch@suse.de + +- xorg-server-xf4vnc-abi-version.diff + * raised ABI version for xorg-server 1.5(-pre) + +------------------------------------------------------------------- +Thu Jul 24 12:45:16 CEST 2008 - sndirsch@suse.de + +- xorg-server 1.4.99.906 +- obsoletes commit-a18551c.diff + +------------------------------------------------------------------- +Tue Jul 22 11:17:44 CEST 2008 - sndirsch@suse.de + +- exa-greedy.diff + * Make sure exaMigrateTowardFb/Sys end up calling exaCopyDirty + (bfo #16773) + +------------------------------------------------------------------- +Fri Jul 18 17:19:08 CEST 2008 - schwab@suse.de + +- Kill useless warning. + +------------------------------------------------------------------- +Mon Jul 14 15:35:11 CEST 2008 - sndirsch@suse.de + +- improved ppc/ppc64 patch once more + +------------------------------------------------------------------- +Fri Jul 11 17:06:25 CEST 2008 - sndirsch@suse.de + +- improved ppc/ppc64 patch +- Xvfb (xorg-x11-server-extra) requires Mesa (swrast_dri.so) now + +------------------------------------------------------------------- +Thu Jul 10 10:27:18 CEST 2008 - sndirsch@suse.de + +- xorg-server-xf4vnc-TranslateNone.diff + * supposed to fix Xvnc crash when VNC client is running on a + display with the same color depth (bnc #389386) +- ppc.diff + * fixes build on ppc/ppc64 + +------------------------------------------------------------------- +Thu Jul 10 09:34:11 CEST 2008 - sndirsch@suse.de + +- enabled build of Xvnc/libvnc +- xorg-server-xf4vnc-disable-dmxvnc.diff + * disabled VNC feature in DMX to fix VNC build + +------------------------------------------------------------------- +Thu Jul 10 08:56:00 CEST 2008 - sndirsch@suse.de + +- updated to new vnc patch "xorg-server-xf4vnc.patch "by Dan + Nicholson, which is still disabled due to build errors +- obsoletes the following patches: + * xorg-server-1.4-vnc-64bit.diff + * xorg-server-1.4-vnc-disable_render.diff + * xorg-server-1.4-vnc-fix.patch + * xorg-server-1.4-vnc-memory.diff + * xorg-server-1.4-vnc-render_sig11.diff + * xorg-server-1.4-vnc.patch + +------------------------------------------------------------------- +Tue Jul 8 08:38:15 CEST 2008 - sndirsch@suse.de + +- commit-a18551c.diff + * Fix GLX in Xvfb and kdrive. + Xvfb could no longer be started: "Xvfb: symbol lookup error: + /usr/lib/dri/swrast_dri.so: undefined symbol: + _glapi_add_dispatch". This is fixed now. +- removed no longer appliable patch 'p_xf86Mode.diff' + +------------------------------------------------------------------- +Fri Jul 4 22:29:06 CEST 2008 - sndirsch@suse.de + +- xorg-server-1.4.99.905 + * obsolete patches + - XAANoOffscreenPixmaps.diff + - bug227111-ddc_screensize.diff + - commit-184e571.diff + - commit-29e0e18.diff + - commit-c6c284e.diff + - commit-f7dd0c7.diff + - commit-fa19e84.diff + - commit-feac075.diff + - glx-align.patch + - mfb_without_xorg.diff + - p_ValidatePci.diff + - p_vga-crashfix.diff + - xkb_action.diff + - xorg-server.diff + - xprint.diff + - xserver-mode-fuzzy-check.diff + * new patches + - 64bit-portability-issue.diff + - no-return-in-nonvoid-function.diff + * adjusted patches + - bitmap_always_unscaled.diff + - disable-root-xorg_conf.diff + - p_ppc_domain_workaround.diff + - pixman.diff + - ps_showopts.diff + - xorg-server-1.4-vnc.patch + - bug-197858_dpms.diff +- Mesa sources no longer required for xorg-server 1.5 +- VNC patches + build disabled for now +- disabled some IA64 patches for now + +------------------------------------------------------------------- +Fri Jun 13 15:31:51 CEST 2008 - sndirsch@suse.de + +- xorg-x11-Xvnc: added meta file for SuSEfirewall2 (bnc #398855) + +------------------------------------------------------------------- +Wed Jun 11 18:19:43 CEST 2008 - sndirsch@suse.de + +- xorg-server 1.4.2 + * CVE-2008-2360 - RENDER Extension heap buffer overflow + * CVE-2008-2361 - RENDER Extension crash + * CVE-2008-2362 - RENDER Extension memory corruption + * CVE-2008-1377 - RECORD and Security extensions memory corruption + * CVE-2008-1379 - MIT-SHM arbitrary memory read +- obsoletes bfo-bug15222.diff + +------------------------------------------------------------------- +Tue Jun 10 22:22:18 CEST 2008 - sndirsch@suse.de + +- xorg-server 1.4.1 + * Contains a few security and input fixes, some memory leak + fixes, and a few misc bits. + * obsolete patches: + - CVE-2007-5760-xf86misc.diff + - CVE-2007-6427-xinput.diff + - CVE-2007-6428-TOG-cup.diff + - CVE-2007-6429-shm_evi.diff + - CVE-2008-0006-pcf_font.diff + - commit-37b1258.diff + - commit-a6a7fad.diff + - remove_bogus_modeline.diff + - xserver-1.3.0-xkb-and-loathing.patch + * adjusted patches + - xorg-server-1.4-vnc.patch + +------------------------------------------------------------------- +Thu Jun 5 23:04:47 CEST 2008 - sndirsch@suse.de + +- bfo-bug15222.diff (bfo #15222, bnc #374318) + * CVE-2008-2360 - RENDER Extension heap buffer overflow + * CVE-2008-2361 - RENDER Extension crash + * CVE-2008-2362 - RENDER Extension memory corruption + * CVE-2008-1379 - MIT-SHM arbitrary memory read + * CVE-2008-1377 - RECORD and Security extensions memory corruption + +------------------------------------------------------------------- +Tue May 27 17:51:32 CEST 2008 - sndirsch@suse.de + +- xserver-mode-fuzzy-check.diff + * Make mode checking more tolerant like in pre-RandR times. + +------------------------------------------------------------------- +Mon May 26 19:27:39 CEST 2008 - sndirsch@suse.de + +- fix-dpi-values.diff + * fixes DPI values for RANDR 1.2 capable drivers (bnc #393001) + +------------------------------------------------------------------- +Fri May 16 16:52:03 CEST 2008 - sndirsch@suse.de + +- mention ZapWarning also in Xorg manual page (bnc #391352) + +------------------------------------------------------------------- +Fri May 16 12:15:57 CEST 2008 - sndirsch@suse.de + +- xorg-server-1.4-vnc-render_sig11.diff + * fixed sig11 in RENDER code (bnc #385677) + +------------------------------------------------------------------- +Wed May 14 18:19:15 CEST 2008 - sndirsch@suse.de + +- disabled patch to disable RENDER support in Xvnc, since it broke + 24bit color depth support (bnc #390011) + +------------------------------------------------------------------- +Mon May 5 14:56:01 CEST 2008 - sndirsch@suse.de + +- xorg-server-1.4-vnc-disable_render.diff + * disabled RENDER support in Xvnc (bnc #385677) + +------------------------------------------------------------------- +Mon Apr 21 21:20:37 CEST 2008 - sndirsch@suse.de + +- events.diff + * eating up key events before going into the idle loop upon vt + switch instead of after return (bnc #152522) + +------------------------------------------------------------------- +Mon Apr 21 18:40:41 CEST 2008 - sndirsch@suse.de + +- xkb_action.diff + * fixed remaining unitialized warning in X.Org (bnc #83910) + +------------------------------------------------------------------- +Sun Apr 20 05:17:28 CEST 2008 - sndirsch@suse.de + +- fbdevhw.diff + * screen blanking not supported by vesafb of Linux kernel + (bnc #146462) + +------------------------------------------------------------------- +Tue Apr 15 03:52:12 CEST 2008 - sndirsch@suse.de + +- no longer disable AIGLX by default + +------------------------------------------------------------------- +Thu Apr 10 06:55:28 CEST 2008 - sndirsch@suse.de + +- XAANoOffscreenPixmaps.diff + * disable Offscreen Pixmaps by default (bnc #376068) + +------------------------------------------------------------------- +Wed Apr 9 20:12:22 CEST 2008 - schwab@suse.de + +- Fix another o-b-1 in pci domain support. + +------------------------------------------------------------------- +Wed Apr 9 14:18:55 CEST 2008 - sndirsch@suse.de + +- randr1_1-sig11.diff + * fixes Xserver crash when running xrandr on a different virtual + terminal (Egbert Eich, bnc #223459) + +------------------------------------------------------------------- +Mon Apr 7 18:13:06 CEST 2008 - sndirsch@suse.de + +- commit-37b1258.diff + * possibly fixes unwanted autorepeat (bnc #377612, bfo #14811) + +------------------------------------------------------------------- +Sat Apr 5 04:03:18 CEST 2008 - sndirsch@suse.de + +- bitmap_always_unscaled.diff + * Default bitmap fonts should typically be set as unscaled (libv) + +------------------------------------------------------------------- +Sat Apr 5 03:49:02 CEST 2008 - sndirsch@suse.de + +- update to Mesa bugfix release 7.0.3 (final) sources + +------------------------------------------------------------------- +Wed Apr 2 09:37:56 CEST 2008 - sndirsch@suse.de + +- update to Mesa bugfix release 7.0.3 RC3 sources + +------------------------------------------------------------------- +Mon Mar 31 22:50:21 CEST 2008 - sndirsch@suse.de + +- confine_to_shape.diff + * fixes XGrabPointer's confine_to with shaped windows (bnc #62146) + +------------------------------------------------------------------- +Thu Mar 20 14:51:20 CET 2008 - sndirsch@suse.de + +- zap_warning_xserver.diff + * implements FATE #302988: ZapWarning (Luc Verhaegen) + Uses PCSpeaker for beep. Press once, beep. Press again within + 2s (which is ample), terminate. Documented in xorg.conf manpage. +- make the memory corruption fix by schwab a seperate patch to make + sure it won't get lost the next time I update the VNC patch + +------------------------------------------------------------------- +Wed Mar 19 20:11:26 CET 2008 - schwab@suse.de + +- Fix vnc server memory corruption. + +------------------------------------------------------------------- +Fri Mar 7 11:59:54 CET 2008 - sndirsch@suse.de + +- commit-a6a7fad.diff + * Don't break grab and focus state for a window when redirecting + it. (bnc #336219, bfo #488264) + +------------------------------------------------------------------- +Fri Feb 22 04:08:22 CET 2008 - sndirsch@suse.de + +- update to Mesa bugfix release 7.0.3 RC2 sources + * Fixed GLX indirect vertex array rendering bug (14197) + * Fixed crash when deleting framebuffer objects (bugs 13507, + 14293) + * User-defined clip planes enabled for R300 (bug 9871) + * Fixed glBindTexture() crash upon bad target (bug 14514) + * Fixed potential crash in glDrawPixels(GL_DEPTH_COMPONENT) (bug + 13915) + * Bad strings given to glProgramStringARB() didn't generate + GL_INVALID_OPERATION + * Fixed minor point rasterization regression (bug 11016) + +------------------------------------------------------------------- +Mon Feb 4 15:24:58 CET 2008 - sndirsch@suse.de + +- added Requires:xkeyboard-config to xorg-x11-server + +------------------------------------------------------------------- +Fri Feb 1 15:23:25 CET 2008 - sndirsch@suse.de + +- commit-50e80c3.diff: + * never overwrite realInputProc with enqueueInputProc + (bnc#357989, bfo#13511) + +------------------------------------------------------------------- +Thu Jan 24 16:26:23 CET 2008 - sndirsch@suse.de + +- only switch to radeon driver in %post if radeonold driver is no + longer available (Bug #355009) +- some more cleanup in %post + +------------------------------------------------------------------- +Thu Jan 24 11:41:44 CET 2008 - schwab@suse.de + +- Move manpage to the sub package that provides the binary. + +------------------------------------------------------------------- +Wed Jan 23 12:29:17 CET 2008 - sndirsch@suse.de + +- update to Mesa bugfix release 7.0.3 RC1 sources + * Added missing glw.pc.in file to release tarball + * Fix GLUT/Fortran issues + * GLSL gl_FrontLightModelProduct.sceneColor variable wasn't + defined + * Fix crash upon GLSL variable array indexes (not yet supported) + * Two-sided stencil test didn't work in software rendering + * Fix two-sided lighting bugs/crashes (bug 13368) + * GLSL gl_FrontFacing didn't work properly + * glGetActiveUniform returned incorrect sizes (bug 13751) + * Fix several bugs relating to uniforms and attributes in GLSL + API (Bruce Merry, bug 13753) + * glTexImage3D(GL_PROXY_TEXTURE_3D) mis-set teximage depth field + +------------------------------------------------------------------- +Mon Jan 21 17:30:48 CET 2008 - sndirsch@suse.de + +- updated patch for CVE-2007-6429 once more (X.Org Bug #13520) + * Always test for size+offset wrapping. + +------------------------------------------------------------------- +Sun Jan 20 02:54:11 CET 2008 - sndirsch@suse.de + +- updated patch for CVE-2007-6429 (Bug #345131) + * Don't spuriously reject <8bpp shm pixmaps. + Move size validation after depth validation, and only validate + size if the bpp of the pixmap format is > 8. If bpp < 8 then + we're already protected from overflow by the width and height + checks. + +------------------------------------------------------------------- +Fri Jan 18 00:53:20 CET 2008 - sndirsch@suse.de + +- X.Org security update + * CVE-2007-5760 - XFree86 Misc extension out of bounds array index + * CVE-2007-6427 - Xinput extension memory corruption. + * CVE-2007-6428 - TOG-cup extension memory corruption. + * CVE-2007-6429 - MIT-SHM and EVI extensions integer overflows. + * CVE-2008-0006 - PCF Font parser buffer overflow. + +------------------------------------------------------------------- +Wed Dec 12 23:30:09 CET 2007 - sndirsch@suse.de + +- xorg-server 1.4.0.90 (prerelease of 1.4.1) + +------------------------------------------------------------------- +Fri Nov 30 22:29:25 CET 2007 - sndirsch@suse.de + +- pixman.diff + * fixed include path for pixman.h + +------------------------------------------------------------------- +Thu Nov 29 19:45:14 CET 2007 - sndirsch@suse.de + +- remove_bogus_modeline.diff + * remove bogus monitor modelines provided by DDC (Bug #335540) + +------------------------------------------------------------------- +Tue Nov 27 19:03:27 CET 2007 - sndirsch@suse.de + +- commit-184e571.diff + * Adjust offsets of modes that do not fit virtual screen size. +- commit-c6c284e.diff + * Initialize Mode with 0 in xf86RandRModeConvert. +- commit-f6401f9.diff + * Don't segfault if referring to a relative output where no modes survived. +- commit-f7dd0c7.diff + * Only clear crtc of output if it is the one we're actually working on. +- commit-fa19e84.diff + * Fix initial placement of LeftOf and Above. + +------------------------------------------------------------------- +Thu Nov 22 23:01:03 CET 2007 - sndirsch@suse.de + +- pixman.diff no longer required + +------------------------------------------------------------------- +Sun Nov 18 14:14:22 CET 2007 - sndirsch@suse.de + +- s390(x): allow mfb build without Xorg server being built + +------------------------------------------------------------------- +Thu Nov 15 22:00:47 CET 2007 - sndirsch@suse.de + +- commit-29e0e18.diff + * Make config file preferred mode override monitor preferred + mode. +- commit-feac075.diff + * Leave hardware-specified preferred modes alone when user + preference exists. +- obsoletes preferred_mode-fix.diff + +------------------------------------------------------------------- +Thu Nov 15 15:47:36 CET 2007 - sndirsch@suse.de + +- added xorg-x11-fonts-core/xorg-x11 to Requires (Bug #341312) + +------------------------------------------------------------------- +Wed Nov 14 17:18:00 CET 2007 - schwab@suse.de + +- ia64linuxPciInit: allocate extra space for fake devices. + +------------------------------------------------------------------- +Sat Nov 10 20:09:23 CET 2007 - sndirsch@suse.de + +- updated to Mesa 7.0.2 (final) sources + +------------------------------------------------------------------- +Wed Oct 31 23:00:15 CET 2007 - sndirsch@suse.de + +- updated to Mesa 7.0.2 RC1 sources + +------------------------------------------------------------------- +Tue Oct 23 14:56:13 CEST 2007 - sndirsch@suse.de + +- xorg-server-1.4-vnc-64bit.diff + * fixes segfault on 64bit during Xserver start; make sure to + define _XSERVER64 by having HAVE_DIX_CONFIG_H defined and + therefore including dix-config.h, so Atom is CARD32 instead of + unsigned long before and no longer messes up the pInfo structure + in xf86rfbMouseInit/xf86rfbKeybInit +- finally enabled build of xf4vnc (standalone Xvnc and VNC Xserver + module) + +------------------------------------------------------------------- +Fri Oct 19 04:03:57 CEST 2007 - sndirsch@suse.de + +- updated xf4vnc patch; still disabled due to problematic vnc module + +------------------------------------------------------------------- +Tue Oct 9 19:07:57 CEST 2007 - sndirsch@suse.de + +- preferred_mode-fix.diff + * more reasonable patch (Bug #329724) + +------------------------------------------------------------------- +Thu Oct 4 12:55:11 CEST 2007 - sndirsch@suse.de + +- preferred_mode-fix.diff + * fixed endless loop if PreferredMode is set (Bug #329724) + +------------------------------------------------------------------- +Wed Oct 3 19:08:19 CEST 2007 - sndirsch@suse.de + +- removed obsolete patch p_pci-domain.diff (Bug #308693, comment #26) +- apply p_pci-off-by-one.diff.ia64 on all platforms since it clearly + only affects platforms, where INCLUDE_XF86_NO_DOMAIN is *not* set; + this still not explains why we have seen Xserver hangups with the + patch in place on at least some %ix86/x86_64 machines with fglrx/ + nvidia driver IIRC; it needs to verified if this problem is still + reproducable ... (Bug #308693, comment #25) + +------------------------------------------------------------------- +Wed Oct 3 14:55:42 CEST 2007 - sndirsch@suse.de + +- xserver-1.3.0-xkb-and-loathing.patch + * Ignore (not just block) SIGALRM around calls to Popen()/Pclose(). + Fixes a hang in openoffice when opening menus. (Bug #245711) + +------------------------------------------------------------------- +Wed Oct 3 14:12:03 CEST 2007 - sndirsch@suse.de + +- added missing ia64Pci.h; required for IA64 + +------------------------------------------------------------------- +Wed Oct 3 13:41:42 CEST 2007 - sndirsch@suse.de + +- recreated p_pci-off-by-one.diff.ia64; the default fuzz factor of + patch (2) resulted in a hunk applied to the wrong function and + therefore broke the build :-( + +------------------------------------------------------------------- +Sat Sep 29 00:51:38 CEST 2007 - sndirsch@suse.de + +- xorg-server 1.4 + * Welcome to X.Org X Server 1.4, now with hotplugging input to go + with the hotplugging output. Also included in this release are + many performance and correctness fixes to the EXA acceleration + architecture, support for DTrace profiling of the X Server, + accelerated GLX_EXT_texture_from_pixmap with supporting DRI + drivers, and many improvements to the RandR 1.2 support that + was added in xorg-server-1.3. The X Server now relies on the + pixman library, which replaces the fb/fbcompose.c and + accelerated implementations that were previously shared through + code-duplication with the cairo project. + * obsolete patches: + - bug-259290_trapfault.diff + - cfb8-undefined.diff + - commit-c09e68c + - i810_dri_fix_freeze.diff + - p_bug159532.diff + - p_enable-altrix.diff + - p_pci-ce-x.diff + - p_pci-off-by-one.diff + - p_xorg_rom_read.diff + - randr12-2926cf1da7e4ed63573bfaecdd7e19beb3057d9b.diff + - randr12-5b424b562eee863b11571de4cd0019cd9bc5b379.diff + - randr12-aec0d06469a2fa7440fdd5ee03dc256a68704e77.diff + - randr12-b2dcfbca2441ca8c561f86a78a76ab59ecbb40e4.diff + - randr12-b4193a2eee80895c5641e77488df0e72a73a3d99.diff + - remove__GLinterface.patch + - support_mesa6.5.3.patch + - use-composite-for-unequal-depths.patch + - x86emu.diff + - xephyr-sig11-fix.diff + * adjusted patches: + - 64bit.diff + - bug-197858_dpms.diff + - bug227111-ddc_screensize.diff + - disable-root-xorg_conf.diff + - fpic.diff + - glx-align.patch + - libdrm.diff + - p_bug96328.diff + - p_ia64-console.diff + - p_vga-crashfix.diff + - xephyr.diff +- pixman.diff: + * search for pixman instead of pixman-1 +- bumped version to 7.3 + +------------------------------------------------------------------- +Tue Sep 25 19:11:13 CEST 2007 - sndirsch@suse.de + +- remove wrongly prebuilt xf1bpp files after extracting tarball; + fixes vga module loading (Bug #328201) +- do not use "make -j" to (quick)fix xf1bpp build +- do not apply p_pci-domain.diff on IA64 +- use updated off-by-one patch by schwab for IA64 + +------------------------------------------------------------------- +Fri Sep 21 16:45:02 CEST 2007 - sndirsch@suse.de + +- edit_data_sanity_check.diff: + * added sanity check for monitor EDID data (Bug #326454) + +------------------------------------------------------------------- +Tue Sep 11 18:05:39 CEST 2007 - sndirsch@suse.de + +- reverted changes by schwab on Fri Sep 7; these resulted i a black + screen during Xserver start with any driver on non-IA64 platforms + +------------------------------------------------------------------- +Mon Sep 10 17:10:44 CEST 2007 - sndirsch@suse.de + +- use-composite-for-unequal-depths.patch: + * Use Composite when depths don't match (Bug #309107, X.Org Bug + #7447) + +------------------------------------------------------------------- +Fri Sep 7 23:16:06 CEST 2007 - schwab@suse.de + +- Update off-by-one patch. +- Remove empty patch. + +------------------------------------------------------------------- +Mon Sep 3 23:08:42 CEST 2007 - sndirsch@suse.de + +- fbdevhw.diff: + * ignore pixclock set to 0 by Xen kernel (Bug #285523) + +------------------------------------------------------------------- +Fri Aug 31 17:02:26 CEST 2007 - sndirsch@suse.de + +- added several RANDR 1.2 fixes (Bug #306699) + * randr12-2926cf1da7e4ed63573bfaecdd7e19beb3057d9b.diff + Allocate the right number of entries for saving crtcs + * randr12-5b424b562eee863b11571de4cd0019cd9bc5b379.diff + Set the crtc before the output change is notified. Set the new + randr crtc of the output before the output change notification + is delivered to the clients. Remove RROutputSetCrtc as it is + not really necessary. All we have to do is set the output's + crtc on RRCrtcNotify + * randr12-8d230319040f0a7f72231da2bf5ec97dc3612e21.diff + Fix the output->crtc initialization in the old randr setup + * randr12-aec0d06469a2fa7440fdd5ee03dc256a68704e77.diff + Fix a crash when rotating the screen. Remember output->crtc + before setting a NULL mode because RRCrtcNotify now sets + output->crtc to NULL. Use the saved crtc to set the new mode. + * randr12-b2dcfbca2441ca8c561f86a78a76ab59ecbb40e4.diff + RRScanOldConfig cannot use RRFirstOutput before output is + configured. RRFirstOutput returns the first active output, + which won't be set until after RRScanOldConfig is finished + running. Instead, just use the first output (which is the only + output present with an old driver, after all). + * randr12-b4193a2eee80895c5641e77488df0e72a73a3d99.diff + RRScanOldConfig wasn't getting crtcs set correctly. The output + crtc is set by RRCrtcNotify, which is called at the end of + RRScanOldConfig. Several uses of output->crtc in this function + were wrong. + +------------------------------------------------------------------- +Thu Aug 23 12:33:57 CEST 2007 - sndirsch@suse.de + +- i810_dri_fix_freeze.diff: + * fixes freeze after pressing Ctrl-Alt-BS (X.Org Bug #10809) + +------------------------------------------------------------------- +Thu Aug 23 05:32:04 CEST 2007 - sndirsch@suse.de + +- xserver-mode-fuzzy-check.diff: + * Fix for Xserver being more fuzzy about mode validation + (Bug #270846) + +------------------------------------------------------------------- +Sat Aug 18 11:05:14 CEST 2007 - sndirsch@suse.de + +- disable AIGLX by default; without enabled Composite extension + (still problematic on many drivers) it's rather useless anyway +- updated xorg.conf manual page + +------------------------------------------------------------------- +Sat Aug 11 14:02:02 CEST 2007 - dmueller@suse.de + +- fix fileconflict over doc/MAINTAINERS +- build parallel + +------------------------------------------------------------------- +Sat Aug 4 06:01:53 CEST 2007 - sndirsch@suse.de + +- updated Mesa source to bugfix release 7.0.1 + +------------------------------------------------------------------- +Fri Jul 20 00:20:18 CEST 2007 - sndirsch@suse.de + +- xephyr-sig11-fix.diff: + * long vs. CARD32 mismatch in KeySym definitions between client + and server code - this patch seems to fix it (and the input + rework in head fixed it as well in a different way) + (Bug #235320) + +------------------------------------------------------------------- +Sat Jul 14 13:18:56 CEST 2007 - sndirsch@suse.de + +- fixed build on s390(x) + +------------------------------------------------------------------- +Tue Jul 3 21:09:06 CEST 2007 - sndirsch@suse.de + +- added X(7) and security(7) manual pages + +------------------------------------------------------------------- +Sat Jun 23 04:56:28 CEST 2007 - sndirsch@suse.de + +- updated Mesa source to final release 7.0 + +------------------------------------------------------------------- +Thu Jun 21 16:11:30 CEST 2007 - sndirsch@suse.de + +- updated Mesa source to release 7.0 RC1 + * Mesa 7.0 is a stable, follow-on release to Mesa 6.5.3. The only + difference is bug fixes. The major version number bump is due + to OpenGL 2.1 API support. + +------------------------------------------------------------------- +Wed Jun 6 15:47:13 CEST 2007 - sndirsch@suse.de + +- simplified p_default-module-path.diff + +------------------------------------------------------------------- +Tue May 22 18:22:44 CEST 2007 - sndirsch@suse.de + +- disabled build of Xprt +- moved Xdmx, Xephyr, Xnest and Xvfb to new subpackage + xorg-x11-server-extra + +------------------------------------------------------------------- +Wed May 2 22:39:31 CEST 2007 - sndirsch@suse.de + +- commit-c09e68c: + * Paper over a crash at exit during GLX teardown + +------------------------------------------------------------------- +Mon Apr 30 22:21:38 CEST 2007 - sndirsch@suse.de + +- updated to Mesa 6.5.3 sources +- obsoletes the following patches: + * bug-211314_mesa-destroy_buffers.diff + * bug-211314_mesa-framebuffer-counting.diff + * bug-211314-patch-1.diff + * bug-211314-patch-2.diff + * bug-211314-patch-3.diff + * bug-211314-patch-4.diff + * bug-211314-patch-5.diff + * bug-211314-patch-6.diff + * bug-211314-patch-7.diff + * bug-211314-patch-8.diff + * bug-211314-patch-9.diff + * bug-211314-patch-10.diff + * bug-211314-patch-11.diff + * bug-211314_mesa-refcount-memleak-fixes.diff + * Mesa-6.5.2-fix_radeon_cliprect.diff +- remove__GLinterface.patch/ + support_mesa6.5.3.patch + * required Xserver changes for Mesa 6.5.3 + +------------------------------------------------------------------- +Sat Apr 28 09:54:28 CEST 2007 - sndirsch@suse.de + +- xorg-x11-server-1.2.99-unbreak-domain.patch: + * This patch fixes some multi-domain systems such as Pegasos with + xorg-server 1.3. Since pci-rework should get merged soon and + this patch is a bit of a hack, it never got pushed upstream. + (X.Org Bug #7248) + +------------------------------------------------------------------- +Fri Apr 27 17:00:21 CEST 2007 - sndirsch@suse.de + +- back to Mesa 6.5.2 (Bug #269155/269042) + +------------------------------------------------------------------- +Wed Apr 25 19:35:35 CEST 2007 - sndirsch@suse.de + +- Mesa update: 4th RC ready + * This fixes some breakage in RC3. + +------------------------------------------------------------------- +Tue Apr 24 18:57:09 CEST 2007 - sndirsch@suse.de + +- Mesa update: 3rd release candidate + * updated Windows/VC8 project files. + +------------------------------------------------------------------- +Sun Apr 22 11:48:52 CEST 2007 - sndirsch@suse.de + +- updated to Mesa 6.5.3rc2 sources + * a number of bug fixes since the first RC + +------------------------------------------------------------------- +Sat Apr 21 17:41:52 CEST 2007 - sndirsch@suse.de + +- updated to Mesa 6.5.3rc1 sources +- obsoletes the following patches: + * bug-211314_mesa-destroy_buffers.diff + * bug-211314_mesa-framebuffer-counting.diff + * bug-211314-patch-1.diff + * bug-211314-patch-2.diff + * bug-211314-patch-3.diff + * bug-211314-patch-4.diff + * bug-211314-patch-5.diff + * bug-211314-patch-6.diff + * bug-211314-patch-7.diff + * bug-211314-patch-8.diff + * bug-211314-patch-9.diff + * bug-211314-patch-10.diff + * bug-211314-patch-11.diff + * bug-211314_mesa-refcount-memleak-fixes.diff + * Mesa-6.5.2-fix_radeon_cliprect.diff +- GL-Mesa-6.5.3.diff: + * adjusted GL subdir to Mesa 6.5.3rc1 + +------------------------------------------------------------------- +Fri Apr 20 07:11:16 CEST 2007 - sndirsch@suse.de + +- xserver 1.3.0.0 release + * Syncmaster 226 monitor needs 60Hz refresh (#10545). + * In AIGLX EnterVT processing, invoke driver EnterVT before + resuming glx. + * Disable CRTC when SetSingleMode has no matching mode. Update + RandR as well. + * Rotate screen size as needed from RandR 1.1 change requests. + * Add quirk for Acer AL1706 monitor to force 60hz refresh. + * RandR 1.2 spec says CRTC info contains screen-relative geometry + * typo in built-in module log message + * Use default screen monitor for one of the outputs. + * Allow outputs to be explicitly enabled in config, overriding + detect. + * Was accidentally disabling rotation updates in mode set. + * Disable SourceValidate in rotation to capture cursor. + +------------------------------------------------------------------- +Tue Apr 10 15:33:59 CEST 2007 - sndirsch@suse.de + +- Mesa-6.5.2-fix_radeon_cliprect.diff: + * fixes X.Org Bug #9876 + +------------------------------------------------------------------- +Fri Apr 6 13:21:07 CEST 2007 - sndirsch@suse.de + +- bug-259290_trapfault.diff: + * fixes crash caused by bug in XRender code (Bug #259290) + +------------------------------------------------------------------- +Fri Apr 6 12:08:17 CEST 2007 - sndirsch@suse.de + +- xserver 1.2.99.905 release: + * CVE-2007-1003: XC-MISC Extension ProcXCMiscGetXIDList() Memory + Corruption + * X.Org Bug #10296: Fix timer rescheduling +- obsoletes bug-243978_xcmisc.diff + +------------------------------------------------------------------- +Fri Apr 6 12:07:33 CEST 2007 - sndirsch@suse.de + +- xserver 1.2.99.904 release: + * Don't erase current crtc for outputs on CloseScreen + +------------------------------------------------------------------- +Thu Apr 5 00:37:51 CEST 2007 - sndirsch@suse.de + +- bug-243978_xcmisc.diff: + * mem corruption in ProcXCMiscGetXIDList (CVE-2007-1003, Bug #243978) + +------------------------------------------------------------------- +Wed Apr 4 22:07:02 CEST 2007 - sndirsch@suse.de + +- bug-211314_mesa-refcount-memleak-fixes.diff: + * Fix for memleaks and refount bugs (Bug #211314) + +------------------------------------------------------------------- +Fri Mar 30 12:16:47 CEST 2007 - sndirsch@suse.de + +- p_default-module-path.diff: + * only return /usr/%lib/xorg/modules in "-showDefaultModulePath" + Xserver option (Bug #257360) +- set Xserver version to 7.2.0 with configure option + (Bugs #257360, #253702) + +------------------------------------------------------------------- +Tue Mar 27 21:47:36 CEST 2007 - sndirsch@suse.de + +- xserver 1.2.99.903 release: + * Create driver-independent CRTC-based cursor layer. + * Allow xf86_reload_cursors during server init. + * Don't wedge when rotating more than one CRTC. + * Correct ref counting of RRMode structures + * Remove extra (and wrong) I2C ByteTimeout setting in DDC code. + * Slow down DDC I2C bus using a RiseFallTime of 20us for old + monitors. + * Clean up Rotate state on server reset. + * Clear allocated RandR screen private structure. + * Clean up xf86CrtcRec and xf86OutputRec objects at CloseScreen. + * Make sure RandR events are delivered from RRCrtcSet. + * Fix Pending property API, adding RRPostPendingProperty. + * Incorrect extra memory copy in RRChangeOutputProperty. + * Ensure that crtc desired values track most recent mode. + * Make pending properties force mode set. And, remove + AttachScreen calls. + * Set version to 1.2.99.903 (1.3 RC3) + * fbdevhw: Consolidate modeset ioctl calling, report failure if + it modifies mode. + * fbdevhw: Fix some issues with the previous commit. + * fbdevhw: Use displayWidth for fbdev virtual width when + appropriate. + * fbdevhw: Override RGB offsets and masks after setting initial + mode. + * fbdevhw: Consider mode set equal to mode requested if virtual + width is larger. + * fbdevhw: Only deal with RGB weight if default visual is True- + or DirectColor. + * Add per-drawable Xv colour key helper function. + * Bump video driver ABI version to 1.2. + +------------------------------------------------------------------- +Mon Mar 19 22:22:43 CET 2007 - sndirsch@suse.de + +- no longer apply bug-211314_mesa-context.diff, + bug-211314_p_drawable_privclean.diff (Bug #211314, comment #114) +- added different Mesa patches (Bug #211314, comments #114/#115) + +------------------------------------------------------------------- +Thu Mar 15 13:29:53 CET 2007 - schwab@suse.de + +- Remove bug197190-ia64.diff, fix x86emu instead. + +------------------------------------------------------------------- +Wed Mar 14 22:09:12 CET 2007 - sndirsch@suse.de + +- xserver 1.2.99.902 release: + * Xprint: shorten font filename to fit in tar length limit + * Move xf86SetSingleMode into X server from intel driver. + * Add xf86SetDesiredModes to apply desired modes to crtcs. + * Use EDID data to set screen physical size at server startup. + * Allow relative positions to use output names or monitor + identifiers. + * Add xf86CrtcScreenInit to share initialization across drivers. + * Add hw/xfree86/docs/README.modes, documenting new mode setting + APIs. + * Remove stale monitor data when output becomes disconnected. + * Revert "Xprint includes a filename which is too long for tar." + * Revert "Xext: Update device's lastx/lasty when sending a motion + event with XTest." + * Xext: Update device's lastx/lasty when sending a motion event + with XTest. + +------------------------------------------------------------------- +Wed Mar 14 17:09:25 CET 2007 - sndirsch@suse.de + +- xf86crtc_allowdual.diff no longer required; replaced by + xrandr_12_newmode.diff in xrandr (xorg-x11 package) + +------------------------------------------------------------------- +Wed Mar 14 15:43:46 CET 2007 - sndirsch@suse.de + +- bug197190-ia64.diff: + * missing -DNO_LONG_LONG for IA64 (Bug #197190) + +------------------------------------------------------------------- +Fri Mar 9 16:10:23 CET 2007 - sndirsch@suse.de + +- xf86crtc_allowdual.diff: + * allows dualhead even when the second monitor is not yet + connected during Xserver start + +------------------------------------------------------------------- +Tue Mar 6 11:42:23 CET 2007 - sndirsch@suse.de + +- %post: replace "i810beta" with "intel" in existing xorg.conf + +------------------------------------------------------------------- +Mon Mar 5 11:49:08 CET 2007 - sndirsch@suse.de + +- xserver 1.2.99.901 release: + * RandR 1.2 + * EXA damage track + * minor fixes + +------------------------------------------------------------------- +Mon Feb 19 11:00:49 CET 2007 - sndirsch@suse.de + +- use global permissions files for SUSE > 10.1 (Bug #246228) + +------------------------------------------------------------------- +Thu Feb 1 11:03:39 CET 2007 - sndirsch@suse.de + +- improved bug-197858_dpms.diff to fix Xserver crash (Bug #197858) + +------------------------------------------------------------------- +Mon Jan 29 16:40:43 CET 2007 - sndirsch@suse.de + +- bug-197858_dpms.diff: + * finally fixed "X server wakes up on any ACPI event" issue + (Bug #197858) + +------------------------------------------------------------------- +Thu Jan 25 17:56:57 CET 2007 - sndirsch@suse.de + +- bug-211314_p_drawable_privclean.diff: + * fixed for cleaning up pointers + +------------------------------------------------------------------- +Wed Jan 24 19:17:06 CET 2007 - sndirsch@suse.de + +- fixed build + +------------------------------------------------------------------- +Wed Jan 24 18:01:06 CET 2007 - sndirsch@suse.de + +- bug-211314_p_drawable_privclean.diff: + * fixes Xserver crash in Mesa software rendering path (Bug #211314) + +------------------------------------------------------------------- +Tue Jan 23 11:45:28 CET 2007 - sndirsch@suse.de + +- xserver 1.2.0 release + * Bug #9219: Return BadMatch when trying to name the backing + pixmap of an unrealized window. + * Bug #9219: Use pWin->viewable instead of pWin->realized to + catch InputOnly windows too. + * Fix BSF and BSR instructions in the x86 emulator. + * Bug #9555: Always define _GNU_SOURCE in glibc environments. + * Bug #8991: Add glXGetDrawableAttributes dispatch; fix texture + format therein. + * Bump video and input ABI minors. + * Fix release date. + * Fix syntax error in configure check for SYSV_IPC that broke + with Sun cc + * Map missing keycodes for Sun Type 5 keyboard on Solaris SPARC + * Update pci.ids to 2006-12-06 from pciids.sf.net + * Xorg & Xserver man page updates for 1.2 release + * xorg.conf man page should say "XFree86-DGA", not "Xorg-DGA" + * Xserver man page: remove bc, add -wr + * Update pci.ids to 2007-01-18 snapshot + * Update Xserver man page to match commit + ed33c7c98ad0c542e9e2dd6caa3f84879c21dd61 + * Fix Tooltip from minimized clients + * Fix Xming fails to use xkb bug + * Fix bad commit + * Set Int10Current->Tag for the linux native int10 module + * added mipmap.c + * configure.ac: prepare for 1.2.0 (X11R7.2) + * sparc: don't include asm/kbio.h -- it no longer exists in + current headers. + * Minor typos in Xserver man page. + * Fix several cases where optimized paths were hit when they + shouldn't be. + * Try dlsym(RTLD_DEFAULT) first when finding symbols. + * Fix RENDER issues (bug #7555) and implement RENDER add/remove + screen + * For Xvfb, Xnest and Xprt, compile fbcmap.c with -DXFree86Server + * Multiple integer overflows in dbe and render extensions + * Require glproto >= 1.4.8 for GLX. + * __glXDRIscreenProbe: Use drmOpen/CloseOnce. + * xfree86/hurd: re-add missing keyboard support (bug #5613) + * remove last remaning 'linux'isms (bug #5613) +- obsoletes + * Mesa-6.5.2.diff + * xorg-server-1.1.99.901-GetDrawableAttributes.patch + * int10-fix.diff + * cve-2006-6101_6102_6103.diff +- disabled build of VNC server/module + +------------------------------------------------------------------- +Wed Jan 17 20:21:04 CET 2007 - sndirsch@suse.de + +- bug-211314_mesa-context.diff: + * fixes Xserver crash in software rendering fallback (Bug #211314) + +------------------------------------------------------------------- +Tue Jan 16 22:50:02 CET 2007 - sndirsch@suse.de + +- 0018-vnc-support.txt.diff + * fixed unresolved symbols vncRandomBytes/deskey in VNC module + (terminated Xserver when client connected) + +------------------------------------------------------------------- +Tue Jan 16 19:05:39 CET 2007 - sndirsch@suse.de + +- bug227111-ddc_screensize.diff: + * allow user overrides for monitor settings (Bug #227111) + +------------------------------------------------------------------- +Mon Jan 15 18:27:54 CET 2007 - sndirsch@suse.de + +- loadmod-bug197195.diff: + * check the complete path (Bug #197195) + +------------------------------------------------------------------- +Sun Jan 14 15:12:59 CET 2007 - sndirsch@suse.de + +- added build of VNC support (0018-vnc-support.txt/ + 0018-vnc-support.txt.diff); see 0018-vnc-support.txt.mbox for + reference + +------------------------------------------------------------------- +Tue Jan 9 17:05:27 CET 2007 - sndirsch@suse.de + +- cve-2006-6101_6102_6103.diff: + * CVE-2006-6101 iDefense X.org ProcRenderAddGlyphs (Bug #225972) + * CVE-2006-6102 iDefense X.org ProcDbeGetVisualInfo (Bug #225974) + * CVE-2006-6103 iDefense X.org ProcDbeSwapBuffers (Bug #225975) + +------------------------------------------------------------------- +Tue Dec 19 15:11:17 CET 2006 - sndirsch@suse.de + +- int10-fix.diff + * Set Int10Current->Tag for the linux native int10 module (X.Org + Bug #9296) + * obsoletes p_initialize-pci-tag.diff + +------------------------------------------------------------------- +Tue Dec 19 14:40:20 CET 2006 - sndirsch@suse.de + +- reverted latest change by schwab (Bug #197190, comment #67) + +------------------------------------------------------------------- +Mon Dec 18 17:08:00 CET 2006 - schwab@suse.de + +- Fix off-by-one in pci multi-domain support [#229278]. + +------------------------------------------------------------------- +Wed Dec 13 18:26:05 CET 2006 - sndirsch@suse.de + +- libdrm.diff: + * no longer fail when some driver tries to load "drm" module + +------------------------------------------------------------------- +Tue Dec 12 05:37:31 CET 2006 - sndirsch@suse.de + +- xorg-server-1.1.99.901-GetDrawableAttributes.patch: + * hopefully fixes AIGLX issues (X.Org Bug #8991) + +------------------------------------------------------------------- +Fri Dec 8 20:56:59 CET 2006 - sndirsch@suse.de + +- another 64bit warning fix + +------------------------------------------------------------------- +Sat Dec 2 22:35:59 CET 2006 - sndirsch@suse.de + +- X.Org 7.2RC3 release + * Add a -showDefaultModulePath option. + * Add a -showDefaultLibPath option. + * Add DIX_CFLAGS to util builds. + * Fix release date, and tag 1.1.99.903 + * make X server use system libdrm - this requires libdrm >= 2.3.0 + * DRI: call drmSetServerInfo() before drmOpen(). + * add extern to struct definition + * fixup configure.ac problems with DRI_SOURCES and LBX_SOURCES + * bump to 1.1.99.903 + * remove CID support (bug #5553) + * dri: setup libdrm hooks as early as possible. + * Bug #8868: Remove drm from SUBDIRS now that the directory is gone. + * Fix typo before the last commit. + * Fix GL context destruction with AIGLX. + * On DragonFLy, default to /dev/sysmouse (just like on FreeBSD). + * ffs: handle 0 argument (bug #8968) + * Bug #9023: Only check mice for "mouse" or "void" if identifier + is != NULL. Fix potential NULL pointer access in timer code. +- updated Mesa sources to 6.5.2 + +------------------------------------------------------------------- +Tue Nov 28 15:45:20 CET 2006 - sndirsch@suse.de + +- xserver-timers.diff: + * fix null pointer reference in timer code (Bug #223718) + +------------------------------------------------------------------- +Mon Nov 20 21:59:38 CET 2006 - sndirsch@suse.de + +- p_pci-off-by-one.diff: + * readded off by one fix, which has been dropped by accident + (Bug #197190) + +------------------------------------------------------------------- +Mon Nov 20 12:35:34 CET 2006 - sndirsch@suse.de + +- acpi_events.diff: + * distinguish between general and input devices also for APM + (Bug #197858) + +------------------------------------------------------------------- +Tue Nov 14 22:56:16 CET 2006 - sndirsch@suse.de + +- removed /etc/X11/Xsession.d/92xprint-xpserverlist (Bug #220733) + +------------------------------------------------------------------- +Tue Nov 14 16:31:28 CET 2006 - sndirsch@suse.de + +- mouse-fix.diff: + * prevent driver from crashing when something different than + "mouse" or "void" is specified; only check mice for "mouse" + or "void" if identifier is != NULL. (X.Org Bug #9023) + +------------------------------------------------------------------- +Tue Nov 14 05:13:29 CET 2006 - sndirsch@suse.de + +- X.Org 7.2RC2 release +- adjusted p_enable-altrix.diff, p_pci-domain.diff +- obsoletes p_pci-ia64.diff, xorg-xserver-ia64-int10.diff + p_pci-legacy-mmap.diff +- Changes in RC2 since RC1 + Aaron Plattner: + Fix standard VESA modes. + Adam Jackson: + Bug #6786: Use separate defines for server's Fixes support level. + 'make dist' fixes. + Fix distcheck. + Include a forgotten ia64 header in the distball. Builds on ia64 now. + configure.ac bump. + Alan Coopersmith: + Make sure xorgcfg files are included even when dist made with + --disable-xorgcfg + Use getisax() instead of asm code to determine available x86 ISA + extensions on Solaris + Pre-release message should tell users to check git, not CVS, for updates + Fix automake error: BUILT_SOURCES was defined multiple times on Solaris + Bug #1997: AUDIT messages should contain uid for local accesses + If getpeerucred() is available, include pid & zoneid in audit messages + too + Make _POSIX_C_SOURCE hack work with Solaris headers + Alan Hourihane: + Small modification to blocking signals when switching modes. + Bjorn Helgaas: + Do not map full 0-1MB legacy range + Bram Verweij: + xfree86/linux acpi: fix tokenising + Daniel Stone: + GetTimeInMillis: spuport monotonic clock + WaitForSomething: allow time to rewind + Revert "WaitForSomething: allow time to rewind" + Revert "GetTimeInMillis: spuport monotonic clock" + add 'general socket' handler, port ACPI to use it + WaitForSomething: allow time to rewind + WaitForSomething: only rewind when delta is more than 250ms + GetTimeInMillis: spuport monotonic clock + GetTimeInMillis: simplify monotonic test + GetTimeInMillis: use correct units for clock_gettime + os: fix sun extensions test + Eamon Walsh: + Bug #8875: Security extension causes Xorg to core dump on server reset + whitespace adjust + More work on Bug #8875: revert previous fix and try using client + argument + Bug #8937: Extension setup functions not called on server resets + Egbert Eich: + Fixing mach64 driver bailing out on ia64 + Make int10 fully domain aware. + Erik Andren: + remove XFree86 changelogs (bug #7262) + Joshua Baergen: + Create xorg.conf.example (Gentoo bug #138623). + Laurence Withers: + CreateColormap: fix return value (bug #7083) + Matthias Hopf: + Build with -D_PC on ix86 only. + Added missing domain stripping in already domain aware code. + Added linux 2.6 compatible domain aware device scanning code. + Fixing domain support for ia64 + Add domain support to linuxPciOpenFile(). + Fix device path in altixPCI.c to be domain aware. + Fix obviously wrong boundary checks + cleanup unused vars. + Matthieu Herrb: + kill GNU-make'ism. + Handle building in a separate objdir + Michel Dänzer: + Fix __glXDRIbindTexImage() for 32 bpp on big endian platforms. + Fix test for Option "IgnoreABI". + Myron Stowe: + xfree86: re-enable chipset-specific drivers for Linux/ia64 + Rich Coe: + CheckConnections: don't close down the server client (bug #7876) + +------------------------------------------------------------------- +Thu Nov 9 14:47:08 CET 2006 - sndirsch@suse.de + +- p_ppc_domain_workaround.diff: + * ugly workaround for still missing domain support on ppc + (Bug #202133) + +------------------------------------------------------------------- +Sat Nov 4 17:10:59 CET 2006 - sndirsch@suse.de + +- updated to snapshot of xserver-1.2-branch (soon to be released + as X.Org 7.2RC2) + * Make sure xorgcfg files are included even when dist made with + --disable-xorgcfg + * Small modification to blocking signals when switching modes. + * Use getisax() instead of asm code to determine available x86 + ISA extensions on Solaris + * Pre-release message should tell users to check git, not CVS, + for updates + * Fix __glXDRIbindTexImage() for 32 bpp on big endian platforms. + * Create xorg.conf.example (Gentoo bug #138623). + * Fix test for Option "IgnoreABI". + This option has plenty of potential for wasting the time of bug + triagers without pretending it's always on. + * kill GNU-make'ism. + * Handle building in a separate objdir + * Fix automake error: BUILT_SOURCES was defined multiple times on Solaris + * Bug #1997: AUDIT messages should contain uid for local accesses + * If getpeerucred() is available, include pid & zoneid in audit messages too + +------------------------------------------------------------------- +Wed Nov 1 11:48:09 CET 2006 - sndirsch@suse.de + +- added /etc/modprobe.d/nvidia + +------------------------------------------------------------------- +Wed Oct 25 14:07:58 CEST 2006 - sndirsch@suse.de + +- xorg-xserver-ia64-int10.diff: + * build int10 module with _PC only on %ix86 (Bug #197190) + +------------------------------------------------------------------- +Mon Oct 23 15:44:05 CEST 2006 - sndirsch@suse.de + +- added build of Xephyr; useful for debugging KDE apps (coolo) + +------------------------------------------------------------------- +Tue Oct 17 12:30:13 CEST 2006 - sndirsch@suse.de + +- cfb8-undefined.diff: + * fixes warning for undefined behaviour + +------------------------------------------------------------------- +Tue Oct 17 06:55:19 CEST 2006 - aj@suse.de + +- Own /etc/X11/Xsession.d directory. + +------------------------------------------------------------------- +Mon Oct 16 22:07:55 CEST 2006 - aj@suse.de + +- Use /etc/X11/Xsession.d. + +------------------------------------------------------------------- +Sat Oct 14 06:32:52 CEST 2006 - sndirsch@suse.de + +- updated to X.Org 7.2RC1 + +------------------------------------------------------------------- +Fri Oct 13 13:52:23 CEST 2006 - sndirsch@suse.de + +- only disable AIGLX by default on SUSE <= 10.1 (Bug #197093) +- no longer fake release version for fglrx driver (Bug #198125) + +------------------------------------------------------------------- +Mon Oct 9 20:21:46 CEST 2006 - sndirsch@suse.de + +- glx-align.patch: + * reenabled -D__GLX_ALIGN64 on affected plaforms (X.Org Bug #8392) +- Fixes to p_pci-domain.diff (Bug #197572) + * internal domain number of by one (was supposed to be a cleanup, + but other code dependet on this semantics) + * fixed another long-standing of-by-1 error +- p_enable-altrix.diff (Bug #197572) + * This additional patch enables the build of the altrix detection + routines, which have apparently not been included in Xorg 7.1 + yet. This patch needs a autoreconf -fi after application. + +------------------------------------------------------------------- +Mon Sep 18 15:56:41 CEST 2006 - sndirsch@suse.de + +- updated to Mesa 6.5.1 + +------------------------------------------------------------------- +Wed Sep 13 15:11:44 CEST 2006 - sndirsch@suse.de + +- disable-fbblt-opt.diff: + * Disable optimization (introduced by ajax) due to a general vesa + driver crash later in memcpy (Bug #204324) + +------------------------------------------------------------------- +Sat Sep 9 10:37:00 CEST 2006 - sndirsch@suse.de + +- removed two source files with imcompatible license from Mesa + tarball (Bug #204110) +- added a check to specfile to make sure that these will not be + reintroduced with the next Mesa update again (Bug #204110) + +------------------------------------------------------------------- +Fri Sep 1 23:38:13 CEST 2006 - sndirsch@suse.de + +- moved xf86Parser.h,xf86Optrec.h back to /usr/include/xorg, since + SaX2 build issues have finally been resolved by making use of + "-iquote /usr/include/xorg -I." + +------------------------------------------------------------------- +Thu Aug 31 10:29:10 CEST 2006 - sndirsch@suse.de + +- disable-root-xorg_conf.diff: + * no longer consider to read /root/xorg.conf + +------------------------------------------------------------------- +Tue Aug 29 17:52:01 CEST 2006 - sndirsch@suse.de + +- only require xorg-x11-fonts-core ('fixed' + 'cursor' fonts) + +------------------------------------------------------------------- +Mon Aug 28 13:12:06 CEST 2006 - sndirsch@suse.de + +- fake release version for fglrx driver again, since using + IgnoreABI does not help (the check for the ABI version is in the + binary-only fglrx driver) + +------------------------------------------------------------------- +Sun Aug 27 08:34:23 CEST 2006 - sndirsch@suse.de + +- added Requires: xorg-x11-driver-{input,video} (Bug #202080) + +------------------------------------------------------------------- +Fri Aug 25 16:54:00 CEST 2006 - sndirsch@suse.de + +- ignore-abi.diff: + * adds IgnoreABI option for xorg.conf (same as -ignoreABI) +- remove .la files +- no longer fake release version for fglrx driver; use the new + IgnoreABI option instead! + +------------------------------------------------------------------- +Fri Aug 25 11:11:04 CEST 2006 - sndirsch@suse.de + +- PCI/IA64 Patches (Bug #197572): + * apply new p_pci-domain.diff (mhopf) + * apply new p_pci-ce-x.diff (mhopf) + +------------------------------------------------------------------- +Thu Aug 24 16:59:21 CEST 2006 - sndirsch@suse.de + +- PCI/IA64 Patches (Bug #197572): + * removed p_mappciBIOS_complete.diff (already applied upstream) + * apply p_pci-ia64.diff + * apply p_pci-legacy-mmap.diff only for IA64 (as before) + * disabled for now: + - p_pci-domain.diff: still issues with it + - p_pci-ce-x.diff: sits on top of p_pci-domain.diff + +------------------------------------------------------------------- +Sun Aug 20 11:36:57 CEST 2006 - sndirsch@suse.de + +- added PCI/IA64 patches, but disabled them for now (Bug #197572) +- remove comp. symlinks in /usr/X11R6/bin for openSUSE >= 10.2 + +------------------------------------------------------------------- +Fri Aug 18 13:05:07 CEST 2006 - sndirsch@suse.de + +- fixed build for s390/s390x, e.g. use configure options + --disable-install-libxf86config + --disable-aiglx + --disable-dri + --disable-xorg +- changed os-name to "openSUSE" instead of "Linux" before +- fake release version for fglrx driver :-( + +------------------------------------------------------------------- +Thu Aug 17 22:02:10 CEST 2006 - sndirsch@suse.de + +- xinerama-sig11.diff: + * prevents Xserver Sig11 with broken Xinerama config (Bug #135002) + +------------------------------------------------------------------- +Tue Aug 15 16:19:29 CEST 2006 - sndirsch@suse.de + +- moved /usr/%_lib/pkgconfig/xorg-server.pc to xorg-x11-server +- added pkgconfig to Requires of xorg-x11-server + +------------------------------------------------------------------- +Sat Aug 12 11:47:02 CEST 2006 - sndirsch@suse.de + +- disable-aiglx.diff: + * disabled AIGLX by default (related to Bug #197093); enable it + with 'Option "AIGLX" "true"' in ServerFlags section of xorg.conf + +------------------------------------------------------------------- +Wed Aug 9 16:25:09 CEST 2006 - sndirsch@suse.de + +- enabled build of aiglx + +------------------------------------------------------------------- +Wed Aug 9 10:51:31 CEST 2006 - sndirsch@suse.de + +- patch font path also in xorg.conf when set to /usr/lib/X11/fonts/ + or /usr/X11/lib/X11/fonts + +------------------------------------------------------------------- +Tue Aug 8 15:11:07 CEST 2006 - sndirsch@suse.de + +- patch xorg.conf in %post: + * radeonold/radeon10b driver --> radeon driver + +------------------------------------------------------------------- +Mon Aug 7 19:26:36 CEST 2006 - sndirsch@suse.de + +- added "Requires: xorg-x11-fonts" to prevent issues like + "could not open default font 'fixed'" for any Xserver + +------------------------------------------------------------------- +Mon Aug 7 17:42:43 CEST 2006 - sndirsch@suse.de + +- make sure that symlinks + /usr/bin/X --> /var/X11R6/bin/X + /var/X11R6/bin/X --> /usr/bin/Xorg + are packaged. +- p_xorg_acpi.diff: + * fixed for archs which don't have HAVE_ACPI defined, e.g. ppc + +------------------------------------------------------------------- +Mon Aug 7 11:02:11 CEST 2006 - sndirsch@suse.de + +- p_xf86Mode.diff: + * removes wrong warning (Bug #139510) +- p_xorg_acpi.diff: + * reconnect to acpid when acpid has been killed (Bug #148384) +- p_xkills_wrong_client.diff: + * This patch has unveiled two other problems. One is rather + serious as there seems to be a non-zero possibility that the + Xserver closes the wrong connection and this closes the wrong + client when it looks for stale sockets of clients that have + disappeared (eich, Bug #150869) +- p_bug159532.diff: + * X Clients can intentionally or unintenionally crash X11 by + using composite on depth 4 pixmaps. This patch fixes this. + (Bug #159532) +- p_xnest-ignore-getimage-errors.diff: + * ignores the X error on GetImage in Xnest (Bug #174228, + X.Org Bug #4411) +- p_initialize-pci-tag.diff: + * initialize PCI tag correctly, which is used by an IA64 specific + patch (see Bug #147261 for details); fixes Xserver crashes with + fglrx driver - and possibly other drivers like vesa - during + initial startup (!), VT switch and startup of second Xserver + (SLED10 Blocker Bugs #180535, #170991, #158806) +- p_ia64-console.diff: + * fixes MCA after start of second Xserver (Bug #177011) + +------------------------------------------------------------------- +Sat Aug 5 22:48:38 CEST 2006 - sndirsch@suse.de + +- p_mouse_misc.diff: + * fix X server crashes with synaptics driver (Bug #61702) +- pu_fixes.diff + * Fixes not yet in the official version +- p_bug96328.diff: + * fallback mouse device checking +- p_vga-crashfix.diff: + * fixes vga driver crash (#133989) +- p_xorg_rom_read.diff + * read rom in big chunks instead of byte-at-a-time (Bug #140811) +- ps_showopts.diff + * Xserver "-showopts" option to print available driver options + (Bug #137374) + +------------------------------------------------------------------- +Sat Aug 5 10:15:01 CEST 2006 - sndirsch@suse.de + +- add /var/X11R6/bin directory for now (Bug #197188) + +------------------------------------------------------------------- +Wed Aug 2 16:12:46 CEST 2006 - sndirsch@suse.de + +- fix setup line + +------------------------------------------------------------------- +Mon Jul 31 22:02:22 CEST 2006 - sndirsch@suse.de + +- fixed fatal compiler warnings + +------------------------------------------------------------------- +Mon Jul 31 18:04:12 CEST 2006 - sndirsch@suse.de + +- always (and only) patch xorg.conf if necessary + +------------------------------------------------------------------- +Mon Jul 31 15:54:33 CEST 2006 - sndirsch@suse.de + +- update to xorg-server release 1.1.99.3 + +------------------------------------------------------------------- +Fri Jul 28 14:45:29 CEST 2006 - sndirsch@suse.de + +- use "-fno-strict-aliasing" + +------------------------------------------------------------------- +Thu Jul 27 11:49:41 CEST 2006 - sndirsch@suse.de + +- use $RPM_OPT_FLAGS +- remove existing /usr/include/X11 symlink in %pre + +------------------------------------------------------------------- +Wed Jul 26 17:49:31 CEST 2006 - sndirsch@suse.de + +- install xf86Parser.h,xf86Optrec.h to /usr/include instead of + /usr/include/xorg, so it is no longer necessary to specify + "-I/usr/include/xorg" which resulted in including a wrong + "shadow.h" (by X.Org) when building SaX2 (strange build error) + +------------------------------------------------------------------- +Tue Jul 25 10:47:24 CEST 2006 - sndirsch@suse.de + +- added permissions files + +------------------------------------------------------------------- +Tue Jul 25 09:15:46 CEST 2006 - sndirsch@suse.de + +- add compatibility symlink /usr/X11R6/bin/Xorg + +------------------------------------------------------------------- +Fri Jul 21 16:30:04 CEST 2006 - sndirsch@suse.de + +- p_ValidatePci.diff: + * no longer call ValidatePci() to fix i810 driver issues + (Bug #191987) + +------------------------------------------------------------------- +Fri Jul 21 00:04:37 CEST 2006 - sndirsch@suse.de + +- fixed build + +------------------------------------------------------------------- +Tue Jun 27 10:10:31 CEST 2006 - sndirsch@suse.de + +- created package + diff --git a/xorg-x11-server.keyring b/xorg-x11-server.keyring new file mode 100644 index 0000000..6184134 --- /dev/null +++ b/xorg-x11-server.keyring @@ -0,0 +1,243 @@ +-----BEGIN PGP PUBLIC KEY BLOCK----- +Version: GnuPG v2 + +mQGiBEab+moRBACDH5yKqS3wcc5bdxY7PBNuwKvF5TKMfagmSvuRDtZjjIIWaA/n +Z1KboV9Gq5g7kP7+Kfu+Qgd8u65eVsWwmPW10fXvj3aCU53glx2EdGdrHcgiyH2g +EQfPiyBw+trIppWFRV0IDXSLMA1FNC92t2nSG/VFHaPTVwcgkIRSfcXDvwCglGdE +a6f4uLqoNHP+m4yYnzapFuMD/R4+2AJDAvEWKDdYCGZzlawjAmmWyXrmT7/C/mx9 +8qUR473l4buXjHgDkkXXlHqdzil1vK85PhrKzNJDCCmlHUJNz+QwiAMOLwpD+kwV +Pb57RG7y+a5JQ5+jtVw4RlUxZIk/wj2An9YBO3A5vR7PdjM32ZJCN2+aM4dYfNzQ +xQKTA/47icvBaBVTl9rztjg2pd2Aqpc1P/GsIYLGj7XjnnJvGAENBHSH1QjpZMJG +CTS9oJ+B0/wrIr+pA+MdFgYAb6ojMQJOO6UChjWWSGjMFcs/CeXhxlLBido3DtAE +TbNTwO6OEfAvdosvTdhJFnwvZlJ+zZGGy5CrF2Fd9PUe9tmASbQoQWxhbiBDb29w +ZXJzbWl0aCA8YWxhbmNAZnJlZWRlc2t0b3Aub3JnPohiBBMRAgAiBQJPZ87eAhsD +BgsJCAcDAgYVCAIJCgsEFgIDAQIeAQIXgAAKCRCi+54IHy0TDmYGAJ0TBfcvF8FT +J7K00QUWb1W/6BcoaACfUWshKQ/r565KDCAa+KpqYB9W4zqIaAQTEQIAKAIbAwYL +CQgHAwIGFQgCCQoLBBYCAwECHgECF4AFAlF50WIFCRRD2HgACgkQovueCB8tEw6J +8QCgj3AIFzaI7ro1IOVqour9EQRVUlIAoIKtUrFRHavTQ1r175HhsjWgYr0itCtB +bGFuIENvb3BlcnNtaXRoIDxhbGFuLmNvb3BlcnNtaXRoQHN1bi5jb20+iGAEExEC +ACAFAkab+moCGwMGCwkIBwMCBBUCCAMEFgIDAQIeAQIXgAAKCRCi+54IHy0TDvaZ +AJ9vEM9IPD/YHXSL9F+CkoT9pX8IFwCgjQ5xtceXkbTGVZdOicZ222mV9MmIZgQT +EQIAJgIbAwYLCQgHAwIEFQIIAwQWAgMBAh4BAheABQJRedFiBQkUQ9h4AAoJEKL7 +nggfLRMO6sUAn0jl3h9rY4OJ13Lu7nsKclyhDpOqAKCFgTmaDGRuDRxloLg9jftr +n7a7vrQuQWxhbiBDb29wZXJzbWl0aCA8YWxhbi5jb29wZXJzbWl0aEBvcmFjbGUu +Y29tPohlBBMRAgAlAhsDBgsJCAcDAgYVCAIJCgsEFgIDAQIeAQIXgAUCT2fPgQIZ +AQAKCRCi+54IHy0TDrxZAJ4ucO4mWDBUEnPni/KikswECcSSQgCeM0sYiNPOo7o6 +I20jWb+MpeVttA2IawQTEQIAKwIbAwYLCQgHAwIGFQgCCQoLBBYCAwECHgECF4AC +GQEFAlF50WIFCRRD2HgACgkQovueCB8tEw7QWQCfSIFVTaBSD0Y07DY3EhWi857g +0SYAnAv1oFd9diK8UkPD0QMhIKM0gfSnuQINBEab+m8QCACaeWlJYaOa1IaUuopO +7KbAEBT0bsnDyjDbtCeBdL/zqD89PObKFfMrS4+B6ghpNmWpodY0oJYmcLpPZu1e +1oMcfpwSWsKVg1/3iizmxK3w8EOHXzhb421y0DJjZ0DWlBiFizz95fBrgThzKutA +bvkz4Ietu71J7S+UREBEKk1yM1gulNdELA25S8CL3TlUnRhecZfzdZsl80ir67Gc +FraBXPBvb/YXAo4bTdbJvW+zo3OdYmV73HrXLz8uUQOgFFt8hBMWnnVHS57yBfbI +xWCHyVhVWIdgIGr5xq3unxfjVdr9838d8EU+x/f/5uGCA2CZoGYMkHHF3oE8HxgS +Kt6LAAMGB/9RYjFDDBEuSJc9pw6iHfgwlhAgFOsILyBUXF62VsQ8Qfma55kwl6AA +9MXnaXzpER6fF01XP/TFPsEPpWUcdjkOjCVtFxrhbx5veCmRf/B81gNgIe1OJ9Pt +7C6ZOs1nHmats2TRdMlU48A/fPsTStUPbD/GjinbYPMjB94YrCkeq3Vvpn1+atEP +BqJdoWbBR/6siIZz84Vw5J7jofBOYjJM63o1V1BJ/vmM49t14z+fUjmy851ZMsSP +pASPar1RD3xQQ8m4x1qi3IEXAqVwM44sxIvv3d9Yg2thKyR1eEeNqG3nBaoj56A7 +Yl9yIj+8/X5sTOGlj2WUar6vtYbecJJ/iEkEGBECAAkFAkab+m8CGwwACgkQovue +CB8tEw6C6ACgh2EacP138hLp8NWC/7jGc5e/KiEAnRVXFzW6g/N6lYVuC8u4cgy/ +KNGiuQINBFF51SEBEACh6YzpmNOep9LbGaFvauXoLDHJebSgvLopq4TtOZ56vuf+ +tP2HnQvvlfXPW/9/1+ztvC8gZALQYA9MSWUg0NA4U8ygKegM40LQbyOvLopxsMUo +0/qEKTzMaoQNSNJM6BAwnRKlfh7FTgBHWwIv7T/W23Uw88FXPDFg64mpgVKnOd0W +9NDH38veN+VIE0uIAITMADYcul2ZjjAYSEzs8RSVBA0wybS2xNG9Yz0UEuzR0IGp +NYp5rrzzHN8ALqBHEgkrdcbqW2LAaFzoyucAv3hNSyHWaEcltjpE9eNA6g2fM30S +A/OtIZ4q52IG9PUzzbY/d6bnVAFLek/frXCzeP68YcRzsLHuuihhzuG0Na2epn3K +OkmHfVetHC+oQtnjHnMsWZYjLte5Y+xF/JcVB/qJiIB3OxxqMlEelflgetHMVo+b +9Oc3Xi3mdmiwXDxYcZXwxEpvH+Hs3SUg0tUGZgtD+Yd0SX4YX5nQa/JB86+9ddQ9 +fzu9QL9VVeRcifWMVEsaeCD7syuyW24FR3AOj716w81lLJZmYDwA6Sh+IU5hvzXQ +qoRF3Ln72OrOcjZLAfF90Xjb7kksnxp0c95L7citF8wuykV9j6riyOgPCiaax8GR +qhAdTQxvG9ommJ4ITo8nyGBFUBd5xn2gcL+JawjxKGUlGivH/zUGYzVPDUMk5wAR +AQABiQJtBBgRCgAPBQJRedUhAhsCBQkJZgGAAikJEKL7nggfLRMOwV0gBBkBCgAG +BQJRedUhAAoJEM/fFIgoxkKn1uYP/3TnSR7dt3HTMs+VQA2hO7vi9BPnl/RrRxeC +euPXl7LoufRLWx4dp13RoXeUqkPBQ4vRghCmkOEt9Z/2ASxAQpI+0dCDIpFtqO/P +ycQ6LwfPmi+tOoYJmnzVcdWiLISIJa5fF5bt7I3gLxuPFumI3S9pn6yAx4yFcDmb +DIoWzib0k+kN7qR3Z5ow7TORwkJiOTRFw1mI+iGboSZ56w1sDbMmFeCj6FAcQHKi +MgnmW1bLLllpxz11/FWr1avfL6Vcp3xsxmKSWw49fQv7rTIyhiOXXL21WrnAO1/6 +JLca8UukgQ4biGgBPeGR5W8an8h3xEyPy2tmfwCwwLWHYSUdoEpEx8ikltUKmJbp +Unwf/5Z52uOJpk7kTjWwzYG9BRkr7bATGfNIhw6j4FH0utJMQnxa7Ehn0xVPl+EA +M6U7VCRHK/ieB1Cw3jH8DoIIVX5isRV1n7nfMQ2gl7ssC07VYDAmaeD+zAMriZWs +bBU7vnNVZcveIK5OFDLQCyzKgl0qLAOPdIC00nYNx0sMbdkPyyXcuNu2SDL4xlyK +7p7PFPzpi/XVYFrt2yR7C+vEpMfE7Ot6kzfUFzPzwfvFcDmguzyfoOreNA5Xjpnb +EvHDd9cn+SgfK7C+Lp+LtcqzCX6Z0m5TzLucCYt5I6APg3eWRasfZ04uMAY31WBg +j7JXqufSvJEAmMdQp5WXKut9CE8vXQf2hwkK8toAmwcGdkbH/ZK9OUvLi4ZcFt70 +Ur0b +=xH1V +-----END PGP PUBLIC KEY BLOCK----- +-----BEGIN PGP PUBLIC KEY BLOCK----- +Version: GnuPG v2 + +mQGiBD8b0wYRBACph9kRJmP+4+JGsCgFlFoy4vFO0DCG+jmkQN0n1wdInt/N/UtA +sZToO72AUmfmYizA+IEbzBrx0UnUo3w3BDmHxUWf/akZiPUz9AA/YFY4xC3MY2OK +VN2Jz6YSce4zJ5jd2ZRobHm4HuIf/8yqSCcsv7FNfrLaTNIFRs5gYYsqZwCgwmkp +RSLRc8WAnHrTWNQDaEFM2rUEAKTjrTjMN8+KGd0BxNX7HiTSqQP++nXNwAYs1oWB +Yt82YHj9SvRCqCzD1pzJQivYnlNoWDza1VeMnfdAvkdia8z4lYbO/RunXZJvra3Z +VDm+izq+uwUAyvFuEYnNz09VSqwXKT6+XW0Xtz2vHq52r6DS6mK8cGJHZ5OhrRjq +UEYxA/9STh+QfA98xtNoRcf52E/46r7IpCj440oRVc9lMfxQZrLGQNqp7sPdIhGQ +CCo2NUII5hkhdAG71kpbfSXU4Sh32p1cU1KYCAkDFfb49bKuAs+Pff8v6FGZxTdd +AinPZr4BbsYJatk818aTCnu0+s7L8jL5GPfeyuyEMKwzVBx2mLQpUGV0ZXIgSHV0 +dGVyZXIgKFdoby1UKSA8b2ZmaWNlQHdoby10Lm5ldD6IRgQQEQIABgUCPyZd9AAK +CRAxKkm802WJtQJ2AKCuZPqsSxFtrHh3vMLXpzmF1Gk1DgCgrV7f+A9NpkYzPiQK +nyzX3kb53jqIRgQQEQIABgUCQApO8gAKCRAkkHkTqLdyOKXuAJ0awetW7KLequ5w +bRIYcbDukt9QsgCffAvxsB3YXORG9PnYx3Qd2WKiFdGIRgQQEQIABgUCQAyMfAAK +CRAtURMMV/bnvdD+AJ9AuFu4uEHlqANyLjE6F+0lNfqHzACffl/TTo26T6ikwSFi +puniCtS/w2yIRgQQEQIABgUCQMQJ8wAKCRAE3Uhrsk4s930xAJ0UM2jRbfkUWDjj +tHA5qiNk5ku6qwCfScSgkLm+EKfI7OzFAOopa5LSsUeIRgQSEQIABgUCQAZZYwAK +CRCml0fm7Bs4OS+4AJwPAdK0RFqk0FxdcOZgEIiSevhIMQCggAt1F4+PDq01u/JT +1LaLH6vcj/aIRgQSEQIABgUCQAqJ+QAKCRDCsHn89cdSVpcoAJ4wXtsKP0ka9wNC ++VWa1+Ssw9h3SgCgkqOhRS26Svc7rgJZ0aHa53052tKIRgQSEQIABgUCQAtDqQAK +CRA8Y8o/oLPoiz5BAKCLW6zgmroiQKB5EaI6MKTpEn6y+wCdH8edOA5rdiiNoDXx +fdrp5L2O2MSIRgQSEQIABgUCQAyNrQAKCRBa6RlsHeXyaRdXAKCLuL5caS8d4WQN +EFRMTl5TC9WJTwCgrTpj50y5Rn2bkIDrolpv1t6t+EiIRgQSEQIABgUCQBIOZwAK +CRAtQ2Ay0CIa0nYQAJ9qIKrAqXld5i165D1OOfI3Hot2iACgjctJVT1bZTLCxJcg +bih2T+zbD9uIRgQSEQIABgUCQBOxCgAKCRCFMAOu3onHXFlxAJsGvLGKec9gqG1e +At2pgqtrn4SkrQCgx35W3kGyCYGXG/L7dXNtPPNa3KaIRgQSEQIABgUCQBXjHQAK +CRAiGMgejnwD/w12AKCHLLO3eqqwGhWLX0ys7T7pXWnRVwCfSaMs8XlfauaHLqbw +OcGvrJPBhxaIRgQSEQIABgUCQBicOgAKCRAESetNaTUTh9f7AJ975KGrbE+BV2+v +tEx6olIiXHELpACfVGbarcF4y5V6EadqfEQC8WtVhjiIRgQSEQIABgUCQBpGxAAK +CRCXWuW+Ha5Wc7EmAKDB9tFRgz6Xrmf6g5XBIGsYHMSnNACeJYeTx+tihse4/NdZ +1xGU12oSAciIRgQSEQIABgUCQFgq4AAKCRAhuVdcp9kWAi2hAKDM5u/Lo6nReFxQ +IjKihaP9Dkb7KwCgotUNmV6q6AgS21YTbxg814NsZrCIRgQSEQIABgUCQG7LZQAK +CRDXKjXRa5G1hCK1AJ9OSoVUdmXDXCWj3SlLgZ/ObrFUvACfWtPXyc7ArMkMgoU3 +IL032k8EbzqIRgQTEQIABgUCP48vGgAKCRDmAsqjSEK1tMDMAJ4wp27dGYjNSyj2 ++zkJW6UdwZx+twCeNxJWbJKZR8YHVE+ERbuMU2OEiteIRgQTEQIABgUCQAdFDgAK +CRBFiyjaLHHWPQSVAJsEnIgJBd+7XVFND548g2ncnOuPOQCfdVpEvfOvznAy268n +ZqmA80vByNaIRgQTEQIABgUCQAfi1QAKCRCgLNqfPQi2EoXBAJ0W8qvDZucBtxHJ +VU66i6jZVCgwoACeOD4rT2m6YIaXpLYA/cJbeyGSX1+IRgQTEQIABgUCQAkaIAAK +CRBW37Z3LhW4WYUJAJ0YuCLIMNen+e+6xtvOjv6mF4xc5QCfWNoh5S1mpJ2rWMSP +p1UUxp297B2IRgQTEQIABgUCQAokuwAKCRCsqWuZ/t48LvT8AJsG1rRRDGy2e+xt +/8ocU5qPjDJ5rACdEqDWq+8/27LUgABsMbVVf26/7EiIRgQTEQIABgUCQAvQnQAK +CRDmix3Su/HM73sAAJ4vVmW+ObH01UlLhAIJlcovzSdF4QCgo+0l8Bm3BBSpoASx +SZszYCwdNOWIRgQTEQIABgUCQAxijwAKCRCOYuf3ZAEai2NXAKCIVWAYHuPZeG7h +VTNk2fuRhRGb7wCdFiJSWeil9zWos7Rc+l1t4zvYOFuIRgQTEQIABgUCQAygMQAK +CRDIHVGzO6c6LIbqAKCpOZtcX0wcPMH4c2vHO7Ik+6dwyQCguEyhow+uQ8AxXdZP +UniXG2gLX1+IRgQTEQIABgUCQA9MUAAKCRA51HTjafHvV+KvAKCQ0eaNlJyEjoVX +iTVNUiyE/4WMdACgote5Zj2Twi7NeXlAa+WPkD2181eIRgQTEQIABgUCQBGzbwAK +CRCKZ3GcLegns1xXAJ9fPVeWE/sFtnEkxOJcYjnR6ZBkQQCcDOL5vd6Y46qDXjBS +dY7k1ox9mvqIRgQTEQIABgUCQBG0XgAKCRCAxpglEI9gu0zsAJ0VXhPVAGF66tH+ +bhRosfmerGPbkwCgl8JhboLh8tJjfIu+rqkZSCeRcUmIRgQTEQIABgUCQBSC6QAK +CRB274zoh7HPtVW0AKCo2a+Qq1tWJgQ8oiUs7Wo0fnE3bACdHzCo+N5FSYU/UvOA +y6NSb38TNc6IRgQTEQIABgUCQBryTQAKCRAo/LxS51BlLskwAJ9OskVyG+jAetJ6 +s1IuAm0ckrG2nQCfeCYYz+SmmsryPYw1XDl/pHdqISGIRgQTEQIABgUCQJfQUQAK +CRAWD6xZgnKioa/yAKCvzwPgnZzoPjPpjAKtcyyz8lxpzACgsfmfDOF47FMfVKWP +jEKz1eReEAqIRgQTEQIABgUCQN/TNQAKCRAXW4/hvruTP73FAJ9OJqXWuSx8KtBo +f4PFwfnTUXPQYgCgghRvm7XpfKuqRnvHSnYU+Bt5f9eIRgQTEQIABgUCQaJalwAK +CRBCnwFbCWxN06enAJ9kdhO8NBTqflkRAg7moXMRqew/GwCdFeghO7RA5Bsfpcm3 +6Ln0VNkiT6OIWQQTEQIAGQUCPxvTBgQLBwMCAxUCAwMWAgECHgECF4AACgkQ4jt+ +cLRn8L/0RACfWo3KTMUg+uPRqA6RXxk04CWjXaMAoJeIxOpZLB3RBltPnSi7PyVQ +IkHFiJwEEgECAAYFAkAGO40ACgkQfjFQpnY76QFI3wP+P/M6i5NEBqdkr+CpIK5L +KfHB8KBYYSXMfs/8woYhiyRgqVmmdwkbnv/9KEZocVTqu24R6BxGfPw7zD+lvD8l +9+TTrq9OhU+zAfsjBQdgY35NGET5aWOB25bq/1sLFOxzUqe5jXT2OWt1t/kVzLtK +rka9tJSqJTVetGDLZ4giUtOJARwEEwECAAYFAkAsk4MACgkQnvi/HyptydItOwf/ +VWKWqU3Ap9N5ihKseK2ljFi704zLpOXEEZzb1bzuPdOe7BDSSbktBiQ5XDl7krDZ +2y3XhObstIC3cli0sxf6DTPNji/9ouHqORuvyOSILLzlG60N67w3NJ9vbvpIzNWc +XddyWOA/Boj0+XTgCrb3PodQ/CicKCVXceo78BvFfGwpAf7rdKIK/RvomKgN1/qn +rhWCDFLdY785zT5qSFykwBW6IBalyzafJkeTKTH5OF6eTTlX7r9LWTYfl/eqbsTi +h6o+KbSzm1IcSDEv0P2SHWKP6XLVxCE4qqG1sN8qTJh2+104p21NfWCIZBGhKpCE +vG9X2uFJpQ8dP7/OfV7dNbkBDQQ/G9MIEAQAk56jmDlmFUfDtQ+9yep23QHmQm16 +1JMlyLsqgTnSpl/9ECZkrO1n7GvoT3w4Y+motBrNgvEIP9D85POm+KfQy5H9DOkW +mI1LQiQaUufca7Fep8+sWc0GuEUXX9WCZsNrYmtTDF88W8EFNmyqWBJvDbBmgVET +BndNhL7DDdsCNrsAAwUD/3vTI1a//OVw8wJVATfB8GFubM08j/GVXEDqjpjXm5E1 +hi75D6wXV5sac61o8T6JTtVnFkI1C9Gzf623ann0+uYlRyRyWf3KU7YBpQj4S+SU +wOdJbXdCNdwgAWFixZrMKJ1xEv+rXIJX+K69za4trDq2OR4ID4qRMzqOb3SjqMP6 +iEYEGBECAAYFAj8b0wgACgkQ4jt+cLRn8L+vIwCgg7y9oJK4NeDX1e6zXNOeytZy +9hoAnigKVkYBlc2jpAKdD+bULpWgw+sz +=Q/D0 +-----END PGP PUBLIC KEY BLOCK----- +-----BEGIN PGP PUBLIC KEY BLOCK----- +Comment: Hostname: pgp.surf.nl +Version: Hockeypuck 2.1.2 + +xsDiBERd0h4RBACflXMwRMuZ/gICB7oM/SwnYMoDeRVaZHYT2RtI6iaNQpovoMas +fbLX31icweQm9sMLQJR/bNABpp28Fs1S4yNt9SwAProigexyWl3fFE3uqoVRmglZ +uQdyXl7nnPC7A3hxHPX88tsZS4UlLFRssTjNnrzzhSR3xyyIlOJnmG5pJwCg/yaH +DECRtdWm9gIJZwfM6S+ANYUD/0s6FPCIdbDqCzNcMH7YZID+JjBOU3VlRdXfzGmx +Iy2aPBpC9pkb0EUEL94QZ5Ysa1EGNnNUPq8dQWOr/NllCt2/l0HDLGoziBCpBTvG +ZNnFaJoErG0kmCH2u0w9VmKKSBq6C0sI8rFW1JthKc/bu6ucBKKbpi4sFYAMyZHn +sNbzA/9VYevyns5TmZeR7t+x8YRj6xZxWVNGm20gnBBhHVnq/EGIn4a/YN1NLFNc +4EuarFnzl0w6L1IQHanM+ajBJgzL4oSYCufhTSXgA2utrpIRtKkRW9JH6zt3J5hk +W8oIcEsY3YRKQ3iVKS3Kz8PgSwezNewFT6o3Juu//95O5qSm8s0iT2xpdmllciBG +b3VyZGFuIDxmb3VyZGFuQHhmY2Uub3JnPsJ6BBMRAgA6AhsjBgsJCAcDAgQVAggD +BBYCAwECHgECF4ACGQEWIQRn3IbyYj/F/Uu1Il0UcG2+HktFQAUCXx7jggAKCRAU +cG2+HktFQMAMAJ4kmAtOA9YEazO+1TNxEvEDZbEDSwCfUVR27NAtNegGOMO7piF1 +KrurTenCaQQTEQIAKQIbIwYLCQgHAwIEFQIIAwQWAgMBAh4BAheABQkaVB3SBQJG +o8t0AhkBAAoJEBRwbb4eS0VANIcAn39YcAnhLnB1pIRQDuBIiIhhFMScAKDZYHMB +1WIaknrKZSOnjwKBHw2nOcJjBBMRAgAjBQJEXdIeBQkJZgGABgsJCAcDAgQVAggD +BBYCAwECHgECF4AACgkQFHBtvh5LRUDz7ACgmLpkFGTjcUGnzXnjIw071JQi0HQA +nisMFnp0kBQIqdv2lufZ9YxXZhD3wkYEEBECAAYFAkRm8GUACgkQLXYbC37EqKxO +LQCeNE+A668Qj5DB2vmibAV5rn4pMhwAnjgUS/l03Ckfq7jCx1jc3DxSh9UQwkYE +EBECAAYFAkUMKvkACgkQRR//0/1eDw85jgCfXsyjpqetxwwoyc6LVAdvAhljhF8A +nAgKOMp8LG6DDrhRomp4kjv0SHegzSNPbGl2aWVyIEZvdXJkYW4gPGZvdXJkYW5A +Z21haWwuY29tPsJ3BBMRAgA3AhsjBgsJCAcDAgQVAggDBBYCAwECHgECF4AWIQRn +3IbyYj/F/Uu1Il0UcG2+HktFQAUCXx7jgwAKCRAUcG2+HktFQJ5GAJ9yYpsMZ5oW +I8Kv1qGf0MlRRZgxTACeL0BZ4Ni2nm5Exuv2CJxeT/KpcJ3CZgQTEQIAJgIbIwYL +CQgHAwIEFQIIAwQWAgMBAh4BAheABQJGo8tYBQkaVB3SAAoJEBRwbb4eS0VAhKgA +n3Js4UVMHITK3bgpcECV6xfuoEiUAKCZa2BJbdnOgbAlcbSScRGpI8MMPMJmBBMR +AgAmBQJGo8gKAhsjBQkJZgGABgsJCAcDAgQVAggDBBYCAwECHgECF4AACgkQFHBt +vh5LRUBydACfba08blV5kvAdN/mSKD1NgAHsiIcAoPbpCWW3IUiZ/1T9v8YTuDbt +LWkLzSVPbGl2aWVyIEZvdXJkYW4gPG9mb3VyZGFuQHJlZGhhdC5jb20+wncEExEC +ADcCGyMGCwkIBwMCBBUCCAMEFgIDAQIeAQIXgBYhBGfchvJiP8X9S7UiXRRwbb4e +S0VABQJfHuODAAoJEBRwbb4eS0VAwOoAn1jPsEMWv/z9pqvw2We5FDLbi0ncAJ9W +bA5E1fHh8m31NdSyFy2tXt8wfcJmBBMRAgAmAhsjBgsJCAcDAgQVAggDBBYCAwEC +HgECF4AFAkajy1gFCRpUHdIACgkQFHBtvh5LRUCnMwCg3qt90PZGBCjwC+RXRQH1 ++RznWzEAoKydVzIVeRC2vkGIRUx+k5jX333owmYEExECACYFAkajyDkCGyMFCQlm +AYAGCwkIBwMCBBUCCAMEFgIDAQIeAQIXgAAKCRAUcG2+HktFQAsZAKCa9lmgwpkL +zUpX4caWZi/L8KSK8ACePisjM/gv90AVd+0Br0G98yhLD9LOwU0ERF3SSRAIAI0c +lctVOjdLUtE1ZRYS7Reu/oXSPns8duS4CLHmknF3kgn8uN6L6fptwFzh3yizCMGv +Td4YA4/NimzsQxXmar9fDRg/VHEPsaHrWanE3VPMxBoRyPtnNeQtQXrRb8XCZllo +GvmYQ/CZ8N9IaUq/Q8bbpqyr+dJy/gy+gc0aCxPdZhghxvOKrcJZg7zks52cQegz +Tne6rjU0o/eTeySkWgboL4RaLQndUVX7LJ1UgL3mxr30fgv6JxmN8YkD6lSbb8+i +vXhHX8LNuY8wmX+tCIrlm+20hpWtLEyB3HSnqgyC7Y1v0ZPYmQaRm1AQcafikFml +9CieH9DaV6avfPQLkgsAAwUH/2BX9xYtFY85fSKP7Kz0ClcCHpuweIkmTbPWDT91 +HQmf2dRbzI88CV3ZzawJMJHHL1Nua7CGNX1Z+cFJz4QTkyAOXXNlbHaVRXF2Epnw +FfjF5UM/D5j3YiUhXoam1LKz8/VRw3ZDDdc349jKPJEWNEmqs9NeGhSC2YsL2TsO +BaBzWPvRXS1otPCaKOTuDa9h2T8om2SEvqvJjd0jdC0o4khJ8zsYtE3vZBXbyfdf +cn5ktWedyEt6lcRMI04bvu2+j6B68GwtVDNr/RHaDPd+UkbZSHwiRoxGkRUQttYv +Lh/NrtLo8a6NQFWAePMM8nU2P7n6AcRf357nqbwnQWJ/TyvCXQQYEQIAHRYhBGfc +hvJiP8X9S7UiXRRwbb4eS0VABQJfHuPcAAoJEBRwbb4eS0VAnL4Anim4vNYyrDc8 +NTdS3mgWGtdXVjWdAKCjUhzkN3uCaYNJR6h0Y1thYuPEJMJMBBgRAgAMBQJGo8tj +BQkaVB2nAAoJEBRwbb4eS0VA5e0AoO/nFK4k4fsAgsLMs02kk3plifoAAJ4iK85P +2PawnJlnupv80Q8b7w2UVcJMBBgRAgAMBQJEXdJJBQkJZgGAAAoJEBRwbb4eS0VA +ugQAoOlJ2NPM8mRqRCA2ZKXPqz7TGm64AKCTLcYRDmqX4aZcgK4yRBbe8GXhDA== +=rEW/ +-----END PGP PUBLIC KEY BLOCK----- +-----BEGIN PGP PUBLIC KEY BLOCK----- +Comment: FD00 04A2 6EAD FE43 A4C3 F249 C6F7 AE20 0374 452D +Comment: Povilas Kanapickas + +xsBNBE53SRgBCADJBhoKw9dmUYjNm9njQpq0uEDXQb/yBJQ/dJiNbEke8rKF0+eN +XU1bbZzIx6mjywNWsVFiFQV+ty43pO2FoKctD6gPyHYdPM1ZrS6ZlaKv6wXU9HHt +5Wz8znnP5bifwUh+sjkgQ0OETTcv82xmslblFNZWm14EuqKmMbl5jmqAJVpmnX5o +UeWzRG+/eSmg4gV6MQFdNzBX6SaEPShcm4U/qQ+vmxsJtjwjnINHE3UB0nPEQHju +BQAE2FaztYMkm9i3FpVYRfwdz31PGacJxqaTKNPSBUKfHv00dE5nEa9CrJsZpmRa +BRK402zYunFVCI9Sjvijl99P4gfgRClot3WzABEBAAHNJVBvdmlsYXMgS2FuYXBp +Y2thcyA8cG92aWxhc0ByYWRpeC5sdD7CwJIEEwECACUCGwMGCwkIBwMCBhUIAgkK +CwQWAgMBAh4BAheABQJSkk6WAhkBACEJEMb3riADdEUtFiEE/QAEom6t/kOkw/JJ +xveuIAN0RS1BPgf/UAUgwkzHyfX4Byhmr7GfT2cMWZOGGZG675+IBJU0SaIFRwzz +UNHZRqOhib4UDVbWE/eQCIIsqKA71ehuRnQEI/HMfmfp+dQI1rVG2fPm75riLPG8 +6SB6/VecY84grDyhJIa2XhZyWx+KG+ylIM1P2RIG/j48mnp4gFOxp/kplvbSWP+O +n16JEXmMLkMpuP/s+wRFrwToC9YEw0jjeojGwNyRbuIEuiZPM7+dLD94DFo3CzMg +nzfVsAze1psDb1eZOxVhfIUZaj9YQVjOqiz/vPLb6paE7DSojtEmcMbZPJ3SBnNq +z0Xt3WDZs40zvl/QIcGuqS5307B4FhBni5NuwMLAjwQTAQIAIgUCUpJOkwIbAwYL +CQgHAwIGFQgCCQoLBBYCAwECHgECF4AAIQkQxveuIAN0RS0WIQT9AASibq3+Q6TD +8knG964gA3RFLWbxB/9Pxj3uv5oOf9JaLRsw/b9MBDAv+sPVrdbCBpwduurDkjuc +z4FJm7Hb5eIo6Vi9G3MblksKTZ9AhSlNpNtKKpYfqaVK0fGMDzA3Hc35N81wz078 +ayIIyR4uZoN60bVYNR9kMtR65UUoQri8NzecB6xnF3CadBMb6vxwGbwAFTXRkux4 +HBTzFgpQXp+a0Rs74h7fbsS7oYfQWMoOB+C5N3yZzzWukctk9Wxf/phZ7/WaHq03 +uZSAsUi3GNC+DedKwhOHx7W1d9xHXEwpmzlrwohB1Cg+boENzrDdCCjSPtaJG6TV +C1hyXOtCXcywQa+Wzm5QI48SZk0wb3xXsv+wntgizsBNBE53SRgBCACUMb8g27EE +CYN0yh+EKsBVkAjAt9GjVqLW+ZFJjnxVzmpbD8UG0NzgvEaHCG+S0z4UQr58srhu +8Gj5OBDI8Sj2sJIoP2M1ekzmOZUJjiFhv0u0/y25eO2q6T4Akf41p6aelaVMJ1fp +wvD804cIGh3fS7RDzZ9AIUV/7VA8OTxOuNNOulzmmHJbIY1ReKRG+P7+WW59XFmj +CegLGfOA3zcsI+VGk7M5kYt95lwy+Yb+6luFIcpEiJeUHRgeq4qbnkx/F/SFayQN +kyeKQUq8QaFxHBSuUzwu38Lyr9x+i1zN59q0HMPiUc0EsbBlaFLJ7IFge00mlaQB +pmsty/bWIF6pABEBAAHCwHYEGAECAAkFAk53SRgCGwwAIQkQxveuIAN0RS0WIQT9 +AASibq3+Q6TD8knG964gA3RFLVWOB/9gdb6I1pcoVtegYPiGmokwWkA5MNgFMY37 +k71gVARu4kTcJ8w5tyaNTCP2khEyTDUlj2pY5VFsWpsXNVPf0NmAkXQV/j9qta9u +Tlt4f88x9yvITc5pMnF98cUDY09QJPeeV2B5cF3E5JBPfs4bmtsVBwJi/6isvHd9 +6/vkc8HGlpWJfZJic+K9SNo6jxWy0MiCGcEAqs0WXrGdLY7Lvaf8TI/GBuWIbFkf +U/c6Oz90A8HFOMXMG2ffDmtD7hQZIrVCLdhg7hXaq7eXl4MlZGjgKOOZHLTpOrHR +bBqT9FJdOjVocUZKA7KD1+5AQvEh5elDZGKIcyWtgIoiUd1SjKXR +=h52C +-----END PGP PUBLIC KEY BLOCK----- diff --git a/xorg-x11-server.macros.in b/xorg-x11-server.macros.in new file mode 100644 index 0000000..d3db706 --- /dev/null +++ b/xorg-x11-server.macros.in @@ -0,0 +1,17 @@ +# RPM macros for XOrg ABI Definitions + +# Add a Requires for the correct VIDEO Driver ABI +%x11_abi_videodrv_req \ +Requires: X11_ABI_VIDEODRV = @abi_videodrv@ + +%x11_abi_xinput_req \ +Requires: X11_ABI_XINPUT = @abi_xinput@ + +%x11_abi_ansic_req \ +Requires: X11_ABI_ANSIC = @abi_ansic@ + +%x11_abi_extension_req \ +Requires: X11_ABI_EXTENSION = @abi_extension@ + +%x11_abi_has_dpms_get_capabilities \ +Requires: X11_ABI_HAS_DPMS_GET_CAPABILITIES diff --git a/xorg-x11-server.spec b/xorg-x11-server.spec new file mode 100644 index 0000000..0138f8f --- /dev/null +++ b/xorg-x11-server.spec @@ -0,0 +1,654 @@ +# +# spec file for package xorg-x11-server +# +# 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/ +# + + +#Compat macro for new _fillupdir macro introduced in Nov 2017 +%if ! %{defined _fillupdir} + %define _fillupdir /var/adm/fillup-templates +%endif + +%define pci_ids_dir %{_datadir}/X11/xorg_pci_ids +# now built separately in xwayland pkg with more recent sources (boo#1182677) +%define have_wayland 0 + +%define build_suid_wrapper 1 + +%if 0%{?build_suid_wrapper:1} + %if 0%{?suse_version} >= 1550 + %define suid_wrapper_dir %{_bindir} + %else + %define build_suid_wrapper 0 + %endif +%endif + +Name: xorg-x11-server +Version: 21.1.12 +Release: 0 +URL: http://xorg.freedesktop.org/ +Summary: X +License: MIT +Group: System/X11/Servers/XF86_4 +Source0: https://xorg.freedesktop.org/archive/individual/xserver/xorg-server-%{version}.tar.xz +Source10: https://xorg.freedesktop.org/archive/individual/xserver/xorg-server-%{version}.tar.xz.sig +Source11: xorg-x11-server.keyring +Source1: sysconfig.displaymanager.template +Source2: README.updates +Source3: xorgcfg.tar.bz2 +Source4: xorg-backtrace +Source5: 50-extensions.conf +Source6: modesetting.ids +Source7: xkb-tmpfiles.conf +# RPM Macros to be installed. The ABI Versions will be injected by configure. +Source90: xorg-x11-server.macros.in +# Source91 and Source99 are used to ensure proper ABI provides. +Source91: xorg-server-provides +Source92: pre_checkin.sh + +BuildRequires: bison +BuildRequires: flex +BuildRequires: libtool +BuildRequires: pkgconfig +BuildRequires: python-rpm-macros +BuildRequires: systemd-rpm-macros +BuildRequires: pkgconfig(bigreqsproto) >= 1.1.0 +BuildRequires: pkgconfig(compositeproto) +BuildRequires: pkgconfig(damageproto) >= 1.1 +BuildRequires: pkgconfig(dbus-1) >= 1.0 +BuildRequires: pkgconfig(dri) >= 7.8.0 +BuildRequires: pkgconfig(dri2proto) +BuildRequires: pkgconfig(dri3proto) +BuildRequires: pkgconfig(egl) +BuildRequires: pkgconfig(epoxy) >= 1.1 +%if 0%{?have_wayland} == 1 +BuildRequires: pkgconfig(wayland-client) +BuildRequires: pkgconfig(wayland-protocols) +%endif +BuildRequires: pkgconfig(fixesproto) >= 4.1 +BuildRequires: pkgconfig(fontconfig) +BuildRequires: pkgconfig(fontenc) +BuildRequires: pkgconfig(fontsproto) +BuildRequires: pkgconfig(fontutil) +BuildRequires: pkgconfig(freetype2) +BuildRequires: pkgconfig(gbm) +BuildRequires: pkgconfig(gl) +BuildRequires: pkgconfig(glproto) +BuildRequires: pkgconfig(ice) +BuildRequires: pkgconfig(inputproto) >= 1.9.99.902 +BuildRequires: pkgconfig(kbproto) >= 1.0.3 +BuildRequires: pkgconfig(libdrm) +BuildRequires: pkgconfig(libsystemd) +BuildRequires: pkgconfig(libxcvt) +BuildRequires: pkgconfig(openssl) +BuildRequires: pkgconfig(pciaccess) >= 0.8.0 +BuildRequires: pkgconfig(pixman-1) >= 0.24 +BuildRequires: pkgconfig(presentproto) +BuildRequires: pkgconfig(randrproto) >= 1.5.0 +BuildRequires: pkgconfig(renderproto) >= 0.11 +BuildRequires: pkgconfig(resourceproto) +BuildRequires: pkgconfig(scrnsaverproto) +BuildRequires: pkgconfig(sm) +BuildRequires: pkgconfig(x11) +BuildRequires: pkgconfig(xau) +BuildRequires: pkgconfig(xaw7) +BuildRequires: pkgconfig(xcb-aux) +BuildRequires: pkgconfig(xcb-icccm) +BuildRequires: pkgconfig(xcb-image) +BuildRequires: pkgconfig(xcb-keysyms) +BuildRequires: pkgconfig(xcb-renderutil) +BuildRequires: pkgconfig(xcmiscproto) >= 1.2.0 +BuildRequires: pkgconfig(xdmcp) +BuildRequires: pkgconfig(xext) >= 1.0.99.4 +BuildRequires: pkgconfig(xextproto) >= 7.1.99 +BuildRequires: pkgconfig(xf86dgaproto) +BuildRequires: pkgconfig(xf86driproto) +BuildRequires: pkgconfig(xf86vidmodeproto) +BuildRequires: pkgconfig(xfixes) +BuildRequires: pkgconfig(xfont2) +BuildRequires: pkgconfig(xi) >= 1.2.99.1 +BuildRequires: pkgconfig(xineramaproto) +BuildRequires: pkgconfig(xkbcomp) +BuildRequires: pkgconfig(xkbfile) +BuildRequires: pkgconfig(xmu) +BuildRequires: pkgconfig(xorg-macros) +BuildRequires: pkgconfig(xpm) +BuildRequires: pkgconfig(xproto) >= 7.0.31 +BuildRequires: pkgconfig(xrender) +BuildRequires: pkgconfig(xres) +BuildRequires: pkgconfig(xshmfence) +BuildRequires: pkgconfig(xt) +BuildRequires: pkgconfig(xtrans) >= 1.3.1 +BuildRequires: pkgconfig(xtst) >= 1.0.99.2 +BuildRequires: pkgconfig(xv) +### udev support (broken on openSUSE 11.2, see also bnc #589997) +%if 0%{?suse_version} >= 1130 +BuildRequires: pkgconfig(libudev) >= 143 +%endif + +Requires(pre): %fillup_prereq +Requires: pkgconfig +Requires: xkbcomp +Recommends: xorg-x11-fonts-core +Requires: libpixman-1-0 >= 0.24 +%(cat %{SOURCE91}) +Requires: Mesa +%if 0%{?suse_version} >= 1315 +Requires(post): update-alternatives +Requires(postun):update-alternatives +%endif +Provides: xorg-x11-server-glx +Obsoletes: xorg-x11-server-glx + +Provides: glamor = %{version} +Provides: glamor-egl = %{version} +Obsoletes: glamor < %{version} +Obsoletes: glamor < 7.6_%{version} +Obsoletes: glamor-egl < %{version} +Obsoletes: glamor-egl < 7.6_%{version} + +Provides: xf86-video-modesetting = %{version} +Obsoletes: xf86-video-modesetting < %{version} +Obsoletes: xf86-video-modesetting < 7.6_%{version} + +%if 0%{?suse_version} >= 1500 +Provides: xf86-video-ast +Obsoletes: xf86-video-ast +Provides: xf86-video-cirrus +Obsoletes: xf86-video-cirrus +%endif + +Provides: xorg-x11-server = 7.6_%{version} +Obsoletes: xorg-x11-server < 7.6_%{version} +# get rid of meta packages still requiring/recommending obsolete +# drivers packages (boo#1121525) +%if 0%{?suse_version} >= 1500 +Provides: xorg-x11-driver-input = 7.6_1 +Obsoletes: xorg-x11-driver-input < 7.6_1 +Provides: xorg-x11-driver-video = 7.6_1 +Obsoletes: xorg-x11-driver-video < 7.6_1 +%endif + + # Remove (also from depending driver(s)) when updating X11_ABI_VIDEODRV by updating the server package - NOTE: also remove from xorg-x11-server.macros.in ! +Provides: X11_ABI_HAS_DPMS_GET_CAPABILITIES + +Requires: xkeyboard-config + +# Install it by default; otherwise we run into too much package build failures +# when Xvfb is being used for testing ... +# Unfortunately we need a requires here due to OBS not installing 'recommended' +# packages :-( +Requires: xorg-x11-server-Xvfb + +# PATCH-FEATURE-OPENSUSE n_xorg-x11-server-rpmmacros.patch dimstar@opensuse.org -- Provide RPM macros to require correct ABI Versions. +Patch1: N_default-module-path.diff +Patch2: N_zap_warning_xserver.diff +Patch3: N_driver-autoconfig.diff +Patch4: N_fix_fglrx_screendepth_issue.patch +Patch5: n_raise_default_clients.patch +Patch6: N_fix-dpi-values.diff +Patch7: N_Install-Avoid-failure-on-wrapper-installation.patch +Patch8: u_xorg-wrapper-Drop-supplemental-group-IDs.patch +Patch9: u_xorg-wrapper-build-Build-position-independent-code.patch +Patch10: u_xorg-wrapper-Xserver-Options-Whitelist-Filter.patch +Patch11: n_xorg-wrapper-rename-Xorg.patch +Patch12: n_xorg-wrapper-anybody.patch +Patch100: u_01-Improved-ConfineToShape.patch +Patch101: u_02-DIX-ConfineTo-Don-t-bother-about-the-bounding-box-when-grabbing-a-shaped-window.patch +Patch104: u_xorg-server-xdmcp.patch + +Patch117: xorg-x11-server-byte-order.patch + +Patch160: u_vesa-Add-VBEDPMSGetCapabilities-VBEDPMSGet.patch + +Patch208: u_Panning-Set-panning-state-in-xf86RandR12ScreenSetSize.patch +Patch209: u_pci-primary-Fix-up-primary-PCI-device-detection-for-the-platfrom-bus.patch +Patch210: u_os-connections-Check-for-stale-FDs.patch + +Patch215: u_Use-better-fallbacks-to-generate-cookies-if-arc4rand.patch + +Patch1000: n_xserver-optimus-autoconfig-hack.patch + +Patch1162: b_cache-xkbcomp-output-for-fast-start-up.patch +Patch1211: b_0001-Prevent-XSync-Alarms-from-senslessly-calling-CheckTr.patch +Patch1222: b_sync-fix.patch + +Patch1401: u_randr-Do-not-crash-if-slave-screen-does-not-have-pro.patch + +Patch1503: u_xfree86-Do-not-claim-pci-slots-if-fb-slot-is-already.patch + +Patch1900: u_no-lto-for-tests.patch + +Patch1910: u_modesetting-Fix-dirty-updates-for-sw-rotation.patch + +Patch1920: u_xf86-Accept-devices-with-the-hyperv_drm-driver.patch +Patch1921: u_xf86-Accept-devices-with-the-kernels-ofdrm-driver.patch + +Patch1930: u_xfree86-activate-GPU-screens-on-autobind.patch + +Patch1960: u_sync-pci-ids-with-Mesa.patch + +Patch2000: u_fbdevhw_kernel6.9_break_fbdev_open.patch + +Patch1218176: u_miCloseScreen_check_for_null_pScreen_dev_private.patch +Patch1222442: U_render-Avoid-possible-double-free-in-ProcRenderAddGl.patch + +%description +This package contains the X.Org Server. + +%package extra +Summary: Additional Xservers Xephyr, Xnest) +Group: System/X11/Servers/XF86_4 +Requires: Mesa +Requires: xkbcomp +Requires: xkeyboard-config +Recommends: xorg-x11-fonts-core +Provides: xorg-x11-Xnest +Obsoletes: xorg-x11-Xnest + +%description extra +This package contains additional Xservers (Xephyr, Xnest). + +%package Xvfb +Summary: Virtual Xserver Xvfb +Group: System/X11/Servers/XF86_4 +Requires: Mesa +Requires: xkbcomp +# Xvfb requires keyboard files as well (bnc#797124) +Requires: xkeyboard-config +Recommends: xorg-x11-fonts-core +Provides: xorg-x11-Xvfb +Provides: xorg-x11-server:/usr/bin/Xvfb +Obsoletes: xorg-x11-Xvfb + +%description Xvfb +This package contains the virtual Xserver Xvfb. + +%if 0%{?have_wayland} == 1 +%package wayland +Summary: Xwayland Xserver +Group: System/X11/Servers/XF86_4 +Requires: xkbcomp +Requires: xkeyboard-config +Recommends: xorg-x11-fonts-core + +%description wayland +This package contains the Xserver running on the Wayland Display Server. +%endif + +%if 0%{?build_suid_wrapper} == 1 +%package wrapper +Summary: Xserver SUID Wrapper +Group: System/X11/Servers/XF86_4 +PreReq: permissions +Requires: xorg-x11-server == %{version} + +%description wrapper +This package contains an SUID wrapper for the Xserver. +%endif + +%package sdk +Summary: X +Group: System/Libraries +Requires: autoconf +Requires: automake +Requires: c_compiler +Requires: libtool +Requires: xorg-x11-server +Requires: pkgconfig(fontconfig) +Requires: pkgconfig(fontenc) +Requires: pkgconfig(freetype2) +Requires: pkgconfig(ice) +Requires: pkgconfig(libdrm) +Requires: pkgconfig(libevdev) +Requires: pkgconfig(libudev) +Requires: pkgconfig(mtdev) +Requires: pkgconfig(sm) +Requires: pkgconfig(x11) +Requires: pkgconfig(xau) +Requires: pkgconfig(xdmcp) +Requires: pkgconfig(xext) +Requires: pkgconfig(xfixes) +Requires: pkgconfig(xkbfile) +Requires: pkgconfig(xmu) +Requires: pkgconfig(xorg-macros) +Requires: pkgconfig(xpm) +Requires: pkgconfig(xrender) +Requires: pkgconfig(xt) +Requires: pkgconfig(xtrans) +Requires: pkgconfig(xv) +Provides: xorg-x11-sdk +Obsoletes: xorg-x11-sdk +Provides: glamor-devel = %{version} +Obsoletes: glamor-devel < %{version} +Obsoletes: glamor-devel < 7.6_%{version} +Provides: xorg-x11-server-sdk = 7.6_%{version} +Obsoletes: xorg-x11-server-sdk < 7.6_%{version} + +%description sdk +This package contains the X.Org Server SDK. + +%package source +Summary: Source code of X.Org server +Group: Development/Sources + +%description source +This package contains patched sources of X.Org Server. + +%prep +%setup -q -n xorg-server-%{version} -a3 +# Early verification if the ABI Defines are correct. Let's not waste build cycles if the Provides are wrong at the end. +sh %{SOURCE92} --verify . %{SOURCE91} + +%if 0%{?suse_version} < 1315 +%patch -P 1 +%endif +%patch -P 2 -p1 +%patch -P 3 -p0 +%patch -P 4 -p0 +%patch -P 5 -p1 +%patch -P 6 -p0 +%patch -P 7 -p1 +%patch -P 8 -p1 +%patch -P 9 -p1 +%patch -P 10 -p1 +%patch -P 11 -p1 +%patch -P 12 -p1 +# +%patch -P 100 -p1 +#%patch -P 101 -p1 +%patch -P 104 -p1 +%patch -P 117 -p1 +%patch -P 160 -p1 +%patch -P 208 -p1 +%patch -P 209 -p1 +### not applicable anymore +#%patch -P 210 -p1 +%patch -P 215 -p1 +### apparently supersed by upstream +### commit 078277e4d92f05a90c4715d61b89b9d9d38d68ea +### Author: Dave Airlie +### Date: Fri Aug 17 09:49:24 2012 +1000 +### +### xf86: autobind GPUs to the screen +#%patch -P 1000 -p1 + +### disabled for now +#%patch -P 1162 -p1 +### disabled for now +#%patch -P 1211 -p1 +### patch222 might not be applicable anymore +#%patch -P 1222 -p1 +%patch -P 1401 -p1 +%patch -P 1503 -p1 +%patch -P 1900 -p1 +%patch -P 1910 -p1 +%patch -P 1920 -p1 +%patch -P 1921 -p1 +%patch -P 1930 -p1 +%patch -P 1960 -p1 +%patch -P 2000 -p1 + +%patch -P 1218176 -p1 + +%patch -P 1222442 -p1 + +%build +# We have some -z now related errors during X default startup (boo#1197994): +# - when loading modesetting: gbm_bo_get_plane_count +# - when loading fbdev: fbdevHWSave +# - when loading vesa: VBESetModeParameters +# this is directly visible on startup, so easy to test later on. +export SUSE_ZNOW=0 + +%global _lto_cflags %{?_lto_cflags} -ffat-lto-objects +test -e source-file-list || \ + find -L . -type f \! -name '*.orig' \! -path ./source-file-list > \ + source-file-list + +autoreconf -fi +%if 0%{?pci_ids_dir:1} +export PCI_TXT_IDS_DIR=%{pci_ids_dir} +%endif +%configure CFLAGS="%{optflags} -fno-strict-aliasing" \ + --enable-xf86vidmode \ + --enable-xdmcp \ + --enable-xdm-auth-1 \ + --enable-dri \ + --enable-dri2 \ + --enable-dri3 \ + --enable-glamor \ + --enable-xnest \ + --enable-kdrive \ + --enable-kdrive-evdev \ + --enable-xephyr \ + --disable-xfake \ + --disable-xfbdev \ + --enable-record \ + --enable-xcsecurity \ + --enable-systemd-logind \ + --with-sha1=libcrypto \ + --disable-linux-acpi \ + --disable-linux-apm \ + --enable-xorg \ +%if 0%{?suse_version} > 1120 + --enable-config-udev \ +%endif +%if 0%{?have_wayland} == 1 + --enable-xwayland \ +%else + --disable-xwayland \ +%endif +%if 0%{?build_suid_wrapper} == 1 + --enable-suid-wrapper \ + --libexecdir=%{suid_wrapper_dir} \ +%endif + --with-log-dir="/var/log" \ + --with-os-name="openSUSE" \ + --with-os-vendor="SUSE LINUX" \ + --with-fontrootdir="/usr/share/fonts" \ + --with-xkb-path="/usr/share/X11/xkb" \ + --with-xkb-output="/var/lib/xkb/compiled" \ + --with-default-font-path="/usr/share/fonts/misc:unscaled,\ +/usr/share/fonts/Type1/,/usr/share/fonts/100dpi:unscaled,\ +%if 0%{?suse_version} > 1210 +/usr/share/fonts/75dpi:unscaled,/usr/share/fonts/ghostscript/,\ +%else +/usr/share/fonts/75dpi:unscaled,/usr/share/fonts/URW/,\ +%endif +/usr/share/fonts/cyrillic:unscaled,\ +/usr/share/fonts/misc/sgi:unscaled,\ +/usr/share/fonts/truetype/,built-ins" +make %{?_smp_mflags} V=1 +make -C hw/kdrive %{?_smp_mflags} + +%install +%make_install +make -C hw/kdrive install DESTDIR=%{buildroot} +# remove .la files +find %{buildroot}%{_libdir}/xorg/modules/ -name "*.la" | \ + xargs rm +install -m 644 hw/xfree86/parser/{xf86Parser.h,xf86Optrec.h} \ + %{buildroot}%{_includedir}/xorg +# bnc #632737 +chmod u-s %{buildroot}%{_bindir}/Xorg +%if 0%{?pci_ids_dir:1} +%__mkdir_p %{buildroot}%{pci_ids_dir} +install -m 644 %{S:6} %{buildroot}%{pci_ids_dir} +%endif +%if 0%{?build_suid_wrapper} == 1 +mv %{buildroot}%{_bindir}/Xorg \ + %{buildroot}%{_bindir}/Xorg.bin +mv %{buildroot}%{_bindir}/Xorg.sh \ + %{buildroot}%{_bindir}/Xorg +%endif +ln -snf Xorg %{buildroot}%{_bindir}/X +%if 0%{?suse_version} > 1120 +%{__install} -m 644 %{S:5} %{buildroot}%{_datadir}/X11/xorg.conf.d +%endif +%if 0%{?suse_version} < 1315 +mkdir -p %{buildroot}%{_libdir}/xorg/modules/updates/{fonts,input,linux,drivers,multimedia,extensions} +install -m 644 $RPM_SOURCE_DIR/README.updates %{buildroot}%{_libdir}/xorg/modules/updates +%endif +# FATE#325524 +mkdir -p %{buildroot}%{_datadir}/factory/%{_localstatedir}/lib/xkb/compiled +mv %{buildroot}%{_localstatedir}/lib/xkb/compiled/README.compiled %{buildroot}%{_datadir}/factory/%{_localstatedir}/lib/xkb/compiled/ +mkdir -p %{buildroot}%{_tmpfilesdir} +install -m 644 %{S:7} %{buildroot}%{_tmpfilesdir}/xkb.conf +mkdir -p %{buildroot}%{_fillupdir} +install -m 644 %_sourcedir/sysconfig.displaymanager.template \ + %{buildroot}%{_fillupdir}/sysconfig.displaymanager-%{name} +install -m 755 $RPM_SOURCE_DIR/xorg-backtrace %{buildroot}%{_bindir}/xorg-backtrace +cp %{S:90} . +./config.status --file xorg-x11-server.macros +install -D xorg-x11-server.macros %{buildroot}/usr/lib/rpm/macros.d/macros.xorg-server +%if 0%{?suse_version} >= 1315 +mkdir -p %{buildroot}%{_libdir}/xorg/modules/extensions/xorg +mv %{buildroot}%{_libdir}/xorg/modules/extensions/libglx.so \ + %{buildroot}%{_libdir}/xorg/modules/extensions/xorg/xorg-libglx.so +ln -snf %{_sysconfdir}/alternatives/libglx.so %{buildroot}%{_libdir}/xorg/modules/extensions/libglx.so +%endif + +mkdir -p %{buildroot}/usr/src/xserver +xargs cp --parents --target-directory=%{buildroot}/usr/src/xserver < source-file-list +# unneeded python2 script; simply remove it (boo#1179591) +rm -f %{buildroot}/usr/src/xserver/config/fdi2iclass.py +# fix permissions for tigervnc build later (needed since latest autoconf) +chmod 0755 %{buildroot}/usr/src/xserver/config.guess +chmod 0755 %{buildroot}/usr/src/xserver/config.sub +chmod 0755 %{buildroot}/usr/src/xserver/install-sh +# Fix python shebang, use specific python version to do not depend on /usr/bin/python3 +%{?python3_fix_shebang_path:%python3_fix_shebang_path %{buildroot}/usr/src/xserver/hw/xwin/glx/gen_gl_wrappers.py} + +%post +%tmpfiles_create xkb.conf +%{fillup_only -an displaymanager} +# Move SaX2 generated xorg.conf file to xorg.conf.sle11 +# +# Only in very rare cases a static X configuration is still +# required on sle12. And, in some cases the migration from a +# static sle11 X configuration to a static sle12 X configuration +# is not possible at all, e.g. some video and input drivers +# are no longer available on sle12. In short, trying to migrate +# will result in more harm than benefit. +if [ -f etc/X11/xorg.conf -a ! -f etc/X11/xorg.conf.sle11 ]; then + echo "xorg.conf exists and xorg.conf.sle11 does not" + if grep -q "SaX generated X11 config file" etc/X11/xorg.conf; then + echo "move SaX generated xorg.conf to xorg.conf.sle11" + mv etc/X11/xorg.conf etc/X11/xorg.conf.sle11 + # remove dangling link (bnc#879360, comment#15) + rm -f etc/X11/XF86Config + # prevent %postun of NVIDIA/fglrx driver packages from restoring xorg.conf + # backup or running sax2 as fallback to create a new xorg.conf (bcn#877315) + rm -f etc/X11/xorg.conf.nvidia-post \ + etc/X11/xorg.conf.fglrx-post + chmod -x usr/sbin/sax2 + fi +fi +%if 0%{?suse_version} >= 1315 +%_sbindir/update-alternatives \ + --force --install %{_libdir}/xorg/modules/extensions/libglx.so libglx.so %{_libdir}/xorg/modules/extensions/xorg/xorg-libglx.so 50 +%endif +exit 0 + +%if 0%{?suse_version} >= 1315 +%postun +if [ "$1" = 0 ] ; then + "%_sbindir/update-alternatives" --remove libglx.so %{_libdir}/xorg/modules/extensions/xorg/xorg-libglx.so +fi +%endif + +%if 0%{?build_suid_wrapper} == 1 +%post wrapper +%set_permissions %{suid_wrapper_dir}/Xorg.wrap + +%verifyscript wrapper +%verify_permissions -e %{suid_wrapper_dir}/Xorg.wrap +%endif + +%files +%defattr(-,root,root) +%if 0%{?suse_version} > 1120 +%if 0%{?pci_ids_dir:1} +%dir %{pci_ids_dir} +%{pci_ids_dir}/modesetting.ids +%endif +%dir %{_datadir}/X11/xorg.conf.d +%{_datadir}/X11/xorg.conf.d/*.conf +%endif +%{_tmpfilesdir}/xkb.conf +%dir %{_localstatedir}/lib/xkb +%dir %{_localstatedir}/lib/xkb/compiled +%dir %{_libdir}/xorg +%{_libdir}/xorg/protocol.txt +%{_mandir}/man1/* +%exclude %{_mandir}/man1/Xephyr.1* +%exclude %{_mandir}/man1/Xnest.1* +%dir %{_datadir}/factory +%dir %{_datadir}/factory/var +%dir %{_datadir}/factory/var/lib +%dir %{_datadir}/factory/var/lib/xkb +%dir %{_datadir}/factory/var/lib/xkb/compiled +%{_datadir}/factory/%{_localstatedir}/lib/xkb/compiled/README.compiled +%{_bindir}/Xorg +%if 0%{?build_suid_wrapper} == 1 +%{_bindir}/Xorg.bin +%endif +%{_bindir}/X + +%{_bindir}/gtf +%{_libdir}/xorg/modules/ +%{_mandir}/man4/* +%{_mandir}/man5/* +%{_fillupdir}/sysconfig.displaymanager-%{name} +%if 0%{?suse_version} >= 1315 +%ghost %{_sysconfdir}/alternatives/libglx.so +%endif +%{_bindir}/xorg-backtrace + +%if 0%{?have_wayland} == 1 +%files wayland +%{_bindir}/Xwayland +%endif + +%if 0%{?build_suid_wrapper} == 1 +%files wrapper +%defattr(-,root,root) +%attr(4755,root,root) %{suid_wrapper_dir}/Xorg.wrap +%endif + +%files extra +%defattr(-,root,root) +%{_bindir}/Xephyr +%{_bindir}/Xnest +%{_mandir}/man1/Xephyr.1* +%{_mandir}/man1/Xnest.1* + +%files Xvfb +%defattr(-,root,root) +%{_bindir}/Xvfb + +%files sdk +%defattr(-,root,root) +%{_includedir}/xorg/ +%{_libdir}/pkgconfig/*.pc +%{_datadir}/aclocal/*.m4 +/usr/lib/rpm/macros.d/macros.xorg-server + +%files source +%defattr(-,root,root) +/usr/src/xserver + +%changelog diff --git a/xorgcfg.tar.bz2 b/xorgcfg.tar.bz2 new file mode 100644 index 0000000..e1cb747 --- /dev/null +++ b/xorgcfg.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b378cbde472bb170e28e12b571c7b69b8d2acc407ce0906d2707e6a80ca1f4ed +size 16508