The new crash backtrace:
(gdb) bt
#0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
#1 0x00007fb60370c899 in __GI_abort () at abort.c:79
#2 0x0000560aacd068c0 in OsAbort () at ../../../../os/utils.c:1351
#3 0x0000560aacd0c4f9 in AbortServer () at ../../../../os/log.c:879
#4 0x0000560aacd0d35a in FatalError (f=f@entry=0x560aacd40230 "Caught signal
%d (%s). Server aborting\n") at ../../../../os/log.c:1017
#5 0x0000560aacd03c09 in OsSigHandler (unused=<optimised out>,
sip=0x7ffd89b28470, signo=11) at ../../../../os/osinit.c:156
#6 OsSigHandler (signo=11, sip=0x7ffd89b28470, unused=<optimised out>) at
../../../../os/osinit.c:110
#7 0x00007fb6038ef540 in <signal handler called> () at
/lib/x86_64-linux-gnu/libpthread.so.0
#8 0x0000560aacd02cf3 in ResetCurrentRequest
(client=client@entry=0x560aae67f0c0) at ../../../../os/io.c:560
#9 0x0000560aacccfa66 in DRI2WaitSwap (client=0x560aae67f0c0,
pDrawable=<optimised out>) at ../../../../../../hw/xfree86/dri2/dri2.c:1082
#10 0x00007fb6033fa5f1 in __glXDRIcontextWait (baseContext=<optimised out>,
cl=0x560aae67f1d8, error=0x7ffd89b28aa8) at ../../../../glx/glxdri2.c:291
#11 0x00007fb6033f29c7 in __glXForceCurrent (cl=0x560aae67f1d8,
tag=tag@entry=1, error=error@entry=0x7ffd89b28aa8) at
../../../../glx/glxext.c:621
#12 0x00007fb6033ee900 in xorgGlxMakeCurrent (client=0x560aae67f0c0, tag=1,
drawId=<optimised out>, readId=0, contextId=<optimised out>, newContextTag=0)
at ../../../../glx/glxcmds.c:616
#13 0x0000560aaccd378a in GlxFreeClientData (client=0x560aae67f0c0) at
../../../../glx/vndext.c:168
#14 0x0000560aacba838c in _CallCallbacks (pcbl=pcbl@entry=0x560aacdb2538
<ClientStateCallback>, call_data=call_data@entry=0x7ffd89b28b50) at
../../../../dix/dixutils.c:743
#15 0x0000560aacba2273 in CallCallbacks (call_data=0x7ffd89b28b50,
pcbl=0x560aacdb2538 <ClientStateCallback>) at ../../../../include/callback.h:83
#16 CloseDownClient (client=0x560aae67f0c0) at ../../../../dix/dispatch.c:3473
#17 0x0000560aacd045f1 in ospoll_wait (ospoll=0x560aad403a10,
timeout=<optimised out>) at ../../../../os/ospoll.c:651
#18 0x0000560aaccfd3b3 in WaitForSomething (are_ready=0) at
../../../../os/WaitFor.c:208
#19 0x0000560aacba2ca7 in Dispatch () at ../../../../include/list.h:220
#20 0x0000560aacba6f94 in dix_main (argc=12, argv=0x7ffd89b299b8,
envp=<optimised out>) at ../../../../dix/main.c:276
#21 0x00007fb60370e1e3 in __libc_start_main (main=0x560aacb90a00 <main>,
argc=12, argv=0x7ffd89b299b8, init=<optimised out>, fini=<optimised out>,
rtld_fini=<optimised out>, stack_end=0x7ffd89b299a8)
at ../csu/libc-start.c:308
#22 0x0000560aacb90a3e in _start ()
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to xorg-server in Ubuntu.
https://bugs.launchpad.net/bugs/1776447
Title:
Xorg's Indirect GLX broken from upstream regression
Status in X.Org X server:
New
Status in xorg-server package in Ubuntu:
Triaged
Bug description:
[Impact]
* IGLX is a way for an opengl application sending the 3D drawing GLX
commands to the Xorg server for rendering instead of using the DRI
infrastructure it is commonplace for High Performance Compute and
Scientific institutions to use this feature of the Xorg server. (ref:
https://www.phoronix.com/scan.php?page=news_item&px=Xorg-IGLX-
Potential-Bye-Bye)
* The feature is completely broken, currently, and any attempt to use
it will cause the Xorg server to crash. This feature has been broken
since a commit upstream in 2016.
* The attached patch is from the revert commit entered into the
upstream repository on 28 Jan 2020 following a git bisect of the bug
discovering the offending commit.
[Test Case]
* Create a new file at /etc/X11/xorg.conf.d/99-IGLX.conf with the
following contents:
```
Section "ServerFlags"
Option "IndirectGLX" "on"
EndSection
```
* Log out of your Xorg session
* Switch to a VT (Ctrl+Alt+F2) and login
* Run `sudo systemctl restart gdm` to restart Xorg
* Login to the graphical session
* If you do not have mesa-utils installed, then install it with the terminal
command `sudo apt install mesa-utils`
* Open a terminal and execute `LIBGL_ALWAYS_INDIRECT=1 glxgears`
* If the fix is successful then glxgears should start and remain active
without the Xorg server or glxgears crashing/segfaulting
[Regression Potential]
* This change is within DRI-related functionality and so might break
all 3D accelerated applications.
* There is a potential that the change is insufficient to fix the
IGLX feature and so attempts to use it may still have undesirable and
undefined results.
* Upstream has run the patch through their CI system, which passed
with no errors. This does not necessarily mean the patch will achieve
the desired results, but at least indicates that the code does compile
cleanly and can start an Xvfb headless instance.
[Other Info]
* This bug affects Ubuntu releases all the way back to, and
including, Bionic 18.04.
---- Original Bug Report Follows ----
There's already an upstream bug report here:
https://bugs.freedesktop.org/show_bug.cgi?id=99555
Basically, with Option "IndirectGLX" "True" and
LIBGL_ALWAYS_INDIRECT=1 I get immediate crashes e.g. with glxgear:
steved@xubuntu:~$ LIBGL_ALWAYS_INDIRECT=true glxgears
Running synchronized to the vertical refresh. The framerate should be
approximately the same as the monitor refresh rate.
X Error of failed request: 255
Major opcode of failed request: 155 (GLX)
Minor opcode of failed request: 1 (X_GLXRender)
Serial number of failed request: 42
Current serial number in output stream: 936
I am trying to run what is effectively a traditional X Terminal, but
as the hardware I am using has a 3D accelerated chipset it seems
sensible to try to use it..
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: xserver-xorg-core 2:1.19.6-1ubuntu4
ProcVersionSignature: Ubuntu 4.15.0-22.24-generic 4.15.17
Uname: Linux 4.15.0-22-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.1
Architecture: amd64
BootLog: Error: [Errno 13] Permission denied: '/var/log/boot.log'
Date: Tue Jun 12 10:09:30 2018
DistUpgraded: Fresh install
DistroCodename: bionic
DistroVariant: ubuntu
DkmsStatus:
rtl8812au, 4.3.8.12175.20140902+dfsg, 4.15.0-22-generic, x86_64: installed
rtl8812au, 4.3.8.12175.20140902+dfsg, 4.15.0-23-generic, x86_64: installed
ExtraDebuggingInterest: Yes
GraphicsCard:
Intel Corporation Device [8086:5a85] (rev 0b) (prog-if 00 [VGA controller])
Subsystem: Intel Corporation Device [8086:2212]
InstallationDate: Installed on 2018-05-31 (11 days ago)
InstallationMedia: Xubuntu 18.04 LTS "Bionic Beaver" - Release amd64
(20180426)
MachineType: AZW S I
ProcEnviron:
TERM=xterm
PATH=(custom, no user)
XDG_RUNTIME_DIR=<set>
LANG=en_GB.UTF-8
SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.15.0-22-generic
root=/dev/mapper/xubuntu--vg-root ro noresume
SourcePackage: xorg-server
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 12/18/2017
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 00.12
dmi.board.asset.tag: Default string
dmi.board.name: AB1
dmi.board.vendor: IP3 Tech
dmi.board.version: Default string
dmi.chassis.asset.tag: Default string
dmi.chassis.type: 35
dmi.chassis.vendor: Default string
dmi.chassis.version: Default string
dmi.modalias:
dmi:bvnAmericanMegatrendsInc.:bvr00.12:bd12/18/2017:svnAZW:pnSI:pvrDefaultstring:rvnIP3Tech:rnAB1:rvrDefaultstring:cvnDefaultstring:ct35:cvrDefaultstring:
dmi.product.family: Mini PC
dmi.product.name: S I
dmi.product.version: Default string
dmi.sys.vendor: AZW
version.compiz: compiz N/A
version.libdrm2: libdrm2 2.4.91-2
version.libgl1-mesa-dri: libgl1-mesa-dri 18.0.0~rc5-1ubuntu1
version.libgl1-mesa-glx: libgl1-mesa-glx 18.0.0~rc5-1ubuntu1
version.xserver-xorg-core: xserver-xorg-core 2:1.19.6-1ubuntu4
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev N/A
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:18.0.1-1
version.xserver-xorg-video-intel: xserver-xorg-video-intel
2:2.99.917+git20171229-1
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.15-2
To manage notifications about this bug go to:
https://bugs.launchpad.net/xorg-server/+bug/1776447/+subscriptions
--
Mailing list: https://launchpad.net/~desktop-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp