[Ubuntu-x-swat] [Bug 1776447] Re: Indirect GLX (LIBGL_ALWAYS_INDIRECT=1) causes opengl programms to crash

2020-01-28 Thread Daniel Llewellyn
** Patch removed: "re-rolled debdiff for focal"
   
https://bugs.launchpad.net/xorg-server/+bug/1776447/+attachment/5323646/+files/xorg-server_1.20.6-1ubuntu2.debdiff

** Description changed:

  [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=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,
- Xenial 16.04.
+  * 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=
   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: 

[Ubuntu-x-swat] [Bug 1776447] Re: Indirect GLX (LIBGL_ALWAYS_INDIRECT=1) causes opengl programms to crash

2020-01-28 Thread Daniel Llewellyn
** Patch added: "debdiff for focal"
   
https://bugs.launchpad.net/xorg-server/+bug/1776447/+attachment/5323651/+files/xorg-server_1.20.6-1ubuntu2.debdiff

-- 
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xorg-server in Ubuntu.
https://bugs.launchpad.net/bugs/1776447

Title:
  Indirect GLX (LIBGL_ALWAYS_INDIRECT=1) causes opengl programms to
  crash

To manage notifications about this bug go to:
https://bugs.launchpad.net/xorg-server/+bug/1776447/+subscriptions

___
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-x-swat] [Bug 1776447] Re: Indirect GLX (LIBGL_ALWAYS_INDIRECT=1) causes opengl programms to crash

2020-01-28 Thread Daniel Llewellyn
** Patch added: "debdiff for eoan"
   
https://bugs.launchpad.net/xorg-server/+bug/1776447/+attachment/5323650/+files/xorg-server_1.20.5+git20191008-0ubuntu2.debdiff

-- 
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xorg-server in Ubuntu.
https://bugs.launchpad.net/bugs/1776447

Title:
  Indirect GLX (LIBGL_ALWAYS_INDIRECT=1) causes opengl programms to
  crash

To manage notifications about this bug go to:
https://bugs.launchpad.net/xorg-server/+bug/1776447/+subscriptions

___
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-x-swat] [Bug 1776447] Re: Indirect GLX (LIBGL_ALWAYS_INDIRECT=1) causes opengl programms to crash

2020-01-28 Thread Daniel Llewellyn
** Attachment added: "debdiff for eoan"
   
https://bugs.launchpad.net/xorg-server/+bug/1776447/+attachment/5323647/+files/xorg-server_1.20.5+git20191008-0ubuntu1.dsc

-- 
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xorg-server in Ubuntu.
https://bugs.launchpad.net/bugs/1776447

Title:
  Indirect GLX (LIBGL_ALWAYS_INDIRECT=1) causes opengl programms to
  crash

To manage notifications about this bug go to:
https://bugs.launchpad.net/xorg-server/+bug/1776447/+subscriptions

___
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-x-swat] [Bug 1776447] Re: Indirect GLX (LIBGL_ALWAYS_INDIRECT=1) causes opengl programms to crash

2020-01-28 Thread Daniel Llewellyn
** Attachment removed: "debdiff for eoan"
   
https://bugs.launchpad.net/xorg-server/+bug/1776447/+attachment/5323647/+files/xorg-server_1.20.5+git20191008-0ubuntu1.dsc

-- 
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xorg-server in Ubuntu.
https://bugs.launchpad.net/bugs/1776447

Title:
  Indirect GLX (LIBGL_ALWAYS_INDIRECT=1) causes opengl programms to
  crash

To manage notifications about this bug go to:
https://bugs.launchpad.net/xorg-server/+bug/1776447/+subscriptions

___
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-x-swat] [Bug 1776447] Re: Indirect GLX (LIBGL_ALWAYS_INDIRECT=1) causes opengl programms to crash

2020-01-28 Thread Daniel Llewellyn
** Patch removed: "debdiff for focal"
   
https://bugs.launchpad.net/xorg-server/+bug/1776447/+attachment/5323645/+files/xorg-server_1.20.6-1ubuntu2.debdiff

** Patch added: "re-rolled debdiff for focal"
   
https://bugs.launchpad.net/xorg-server/+bug/1776447/+attachment/5323646/+files/xorg-server_1.20.6-1ubuntu2.debdiff

-- 
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xorg-server in Ubuntu.
https://bugs.launchpad.net/bugs/1776447

Title:
  Indirect GLX (LIBGL_ALWAYS_INDIRECT=1) causes opengl programms to
  crash

To manage notifications about this bug go to:
https://bugs.launchpad.net/xorg-server/+bug/1776447/+subscriptions

___
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-x-swat] [Bug 1776447] Re: Indirect GLX (LIBGL_ALWAYS_INDIRECT=1) causes opengl programms to crash

2020-01-28 Thread Daniel Llewellyn
** Patch added: "debdiff for focal"
   
https://bugs.launchpad.net/xorg-server/+bug/1776447/+attachment/5323645/+files/xorg-server_1.20.6-1ubuntu2.debdiff

-- 
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xorg-server in Ubuntu.
https://bugs.launchpad.net/bugs/1776447

Title:
  Indirect GLX (LIBGL_ALWAYS_INDIRECT=1) causes opengl programms to
  crash

To manage notifications about this bug go to:
https://bugs.launchpad.net/xorg-server/+bug/1776447/+subscriptions

___
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-x-swat] [Bug 1776447] Re: Indirect GLX (LIBGL_ALWAYS_INDIRECT=1) causes opengl programms to crash

2020-01-28 Thread Daniel Llewellyn
** Description changed:

+ [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=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]
+ 
+  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 
+ 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
+   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
+  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]
+  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=
-  LANG=en_GB.UTF-8
-  SHELL=/bin/bash
+  TERM=xterm
+  PATH=(custom, no user)
+  XDG_RUNTIME_DIR=
+  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: 

[Ubuntu-x-swat] [Bug 1776447] Re: Indirect GLX (LIBGL_ALWAYS_INDIRECT=1) causes opengl programms to crash

2020-01-28 Thread Ubuntu Foundations Team Bug Bot
The attachment "xorg-server-iglx.diff" seems to be a patch.  If it
isn't, please remove the "patch" flag from the attachment, remove the
"patch" tag, and if you are a member of the ~ubuntu-reviewers,
unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by
~brian-murray, for any issues please contact him.]

** Tags added: patch

-- 
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xorg-server in Ubuntu.
https://bugs.launchpad.net/bugs/1776447

Title:
  Indirect GLX (LIBGL_ALWAYS_INDIRECT=1) causes opengl programms to
  crash

To manage notifications about this bug go to:
https://bugs.launchpad.net/xorg-server/+bug/1776447/+subscriptions

___
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-x-swat] [Bug 1776447] Re: Indirect GLX (LIBGL_ALWAYS_INDIRECT=1) causes opengl programms to crash

2020-01-28 Thread Steve Dodd
That would be excellent - thanks! IGLX is one of those things probably
not many people use, but those of us who do kind of really need it. It
also seems to be a thing in HPC / research circles:
https://www.phoronix.com/scan.php?page=news_item=Xorg-IGLX-Potential-
Bye-Bye

FWIW, I'm now (finally) using bionic everywhere..

-- 
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xorg-server in Ubuntu.
https://bugs.launchpad.net/bugs/1776447

Title:
  Indirect GLX (LIBGL_ALWAYS_INDIRECT=1) causes opengl programms to
  crash

To manage notifications about this bug go to:
https://bugs.launchpad.net/xorg-server/+bug/1776447/+subscriptions

___
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-x-swat] [Bug 1776447] Re: Indirect GLX (LIBGL_ALWAYS_INDIRECT=1) causes opengl programms to crash

2020-01-28 Thread Daniel Llewellyn
This is the upstream patch. It changes the return from
__glXDRIcontextWait from hardcoded -1 to noClientException which will
either be -1 or nothing. This is the pre-2016 behaviour that is being
restored.

** Patch added: "xorg-server-iglx.diff"
   
https://bugs.launchpad.net/xorg-server/+bug/1776447/+attachment/5323631/+files/xorg-server-iglx.diff

-- 
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xorg-server in Ubuntu.
https://bugs.launchpad.net/bugs/1776447

Title:
  Indirect GLX (LIBGL_ALWAYS_INDIRECT=1) causes opengl programms to
  crash

To manage notifications about this bug go to:
https://bugs.launchpad.net/xorg-server/+bug/1776447/+subscriptions

___
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-x-swat] [Bug 1776447] Re: Indirect GLX (LIBGL_ALWAYS_INDIRECT=1) causes opengl programms to crash

2020-01-28 Thread Daniel Llewellyn
A fix has now landed upstream. I think this could be a candidate for an
SRU cherry-pick for every supported release back to Xenial. The upstream
commit is
https://gitlab.freedesktop.org/xorg/xserver/commit/e1fa3beb2fe2519e69f859f0acdc68e5a770de27.
It's a very simple one-line change and is merely a revert of a prior
upstream commit.

-- 
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xorg-server in Ubuntu.
https://bugs.launchpad.net/bugs/1776447

Title:
  Indirect GLX (LIBGL_ALWAYS_INDIRECT=1) causes opengl programms to
  crash

To manage notifications about this bug go to:
https://bugs.launchpad.net/xorg-server/+bug/1776447/+subscriptions

___
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-x-swat] [Bug 1776447] Re: Indirect GLX (LIBGL_ALWAYS_INDIRECT=1) causes opengl programms to crash

2020-01-28 Thread Bug Watch Updater
** Changed in: xorg-server
   Status: Unknown => New

-- 
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xorg-server in Ubuntu.
https://bugs.launchpad.net/bugs/1776447

Title:
  Indirect GLX (LIBGL_ALWAYS_INDIRECT=1) causes opengl programms to
  crash

To manage notifications about this bug go to:
https://bugs.launchpad.net/xorg-server/+bug/1776447/+subscriptions

___
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-x-swat] [Bug 1776447] Re: Indirect GLX (LIBGL_ALWAYS_INDIRECT=1) causes opengl programms to crash

2020-01-28 Thread Daniel Llewellyn
** Tags added: disco eoan

-- 
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xorg-server in Ubuntu.
https://bugs.launchpad.net/bugs/1776447

Title:
  Indirect GLX (LIBGL_ALWAYS_INDIRECT=1) causes opengl programms to
  crash

To manage notifications about this bug go to:
https://bugs.launchpad.net/xorg-server/+bug/1776447/+subscriptions

___
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-x-swat] [Bug 1776447] Re: Indirect GLX (LIBGL_ALWAYS_INDIRECT=1) causes opengl programms to crash

2020-01-28 Thread Daniel Llewellyn
** Bug watch added: gitlab.freedesktop.org/xorg/xserver/issues #211
   https://gitlab.freedesktop.org/xorg/xserver/issues/211

** Changed in: xorg-server
   Importance: Medium => Unknown

** Changed in: xorg-server
 Remote watch: freedesktop.org Bugzilla #99555 => 
gitlab.freedesktop.org/xorg/xserver/issues #211

** Tags added: focal

-- 
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xorg-server in Ubuntu.
https://bugs.launchpad.net/bugs/1776447

Title:
  Indirect GLX (LIBGL_ALWAYS_INDIRECT=1) causes opengl programms to
  crash

To manage notifications about this bug go to:
https://bugs.launchpad.net/xorg-server/+bug/1776447/+subscriptions

___
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-x-swat] [Bug 1776447] Re: Indirect GLX (LIBGL_ALWAYS_INDIRECT=1) causes opengl programms to crash

2018-12-14 Thread Bug Watch Updater
** Changed in: xorg-server
   Status: Confirmed => Unknown

-- 
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xorg-server in Ubuntu.
https://bugs.launchpad.net/bugs/1776447

Title:
  Indirect GLX (LIBGL_ALWAYS_INDIRECT=1) causes opengl programms to
  crash

To manage notifications about this bug go to:
https://bugs.launchpad.net/xorg-server/+bug/1776447/+subscriptions

___
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-x-swat] [Bug 1776447] Re: Indirect GLX (LIBGL_ALWAYS_INDIRECT=1) causes opengl programms to crash

2018-06-13 Thread Daniel van Vugt
** Changed in: xorg-server (Ubuntu)
   Status: New => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xorg-server in Ubuntu.
https://bugs.launchpad.net/bugs/1776447

Title:
  Indirect GLX (LIBGL_ALWAYS_INDIRECT=1) causes opengl programms to
  crash

To manage notifications about this bug go to:
https://bugs.launchpad.net/xorg-server/+bug/1776447/+subscriptions

___
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-x-swat] [Bug 1776447] Re: Indirect GLX (LIBGL_ALWAYS_INDIRECT=1) causes opengl programms to crash

2018-06-12 Thread Bug Watch Updater
Launchpad has imported 8 comments from the remote bug at
https://bugs.freedesktop.org/show_bug.cgi?id=99555.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.


On 2017-01-26T20:40:44+00:00 Diplosarus wrote:

LIBGL_ALWAYS_INDIRECT=1 glxgears 
fails on latest git on r600 with:

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:  164

After rendering one frame. this is on a ATI HD5850. This is 100%
repeatable and occures with every opengl app. Direct Rendering works
fine.

Indirect rendering works with the vesa x11 driver and llvmpipe. xf86
-video-ati versus xf86-video-modestetting both fail.

Reply at: https://bugs.launchpad.net/ubuntu/+source/xorg-
server/+bug/1776447/comments/0


On 2017-01-27T08:23:43+00:00 Michel Dänzer wrote:

This code in __glXForceCurrent:

if (cx->wait && (*cx->wait) (cx, cl, error))
return NULL;

calls DRI2WaitSwap, which returns TRUE because there is a pending swap.
I suspect something to deal with this went missing at a higher level at
some point.

Reply at: https://bugs.launchpad.net/ubuntu/+source/xorg-
server/+bug/1776447/comments/1


On 2017-01-29T23:35:31+00:00 Diplosarus wrote:

Xorg 1.18.3 and below works fine, xorg 1.18.4 fails.

Reply at: https://bugs.launchpad.net/ubuntu/+source/xorg-
server/+bug/1776447/comments/2


On 2017-01-29T23:42:57+00:00 Diplosarus wrote:

Looking at the commits between 1.18.3 and 1.18.4 this commit seams
pertain to the case:
https://cgit.freedesktop.org/xorg/xserver/commit/?h=server-1.18-branch=54ba95861e5ae54051d3963e5e7ced7d69a6de7b

Reply at: https://bugs.launchpad.net/ubuntu/+source/xorg-
server/+bug/1776447/comments/3


On 2017-01-30T01:04:20+00:00 Michel Dänzer wrote:

(In reply to diplosarus from comment #3)
> Looking at the commits between 1.18.3 and 1.18.4 this commit seams pertain
> to the case:
> https://cgit.freedesktop.org/xorg/xserver/commit/?h=server-1.18-
> branch=54ba95861e5ae54051d3963e5e7ced7d69a6de7b

Does reverting that commit fix it?

Reply at: https://bugs.launchpad.net/ubuntu/+source/xorg-
server/+bug/1776447/comments/4


On 2017-03-20T11:18:34+00:00 Diplosarus wrote:

(In reply to Michel Dänzer from comment #4) 
> Does reverting that commit fix it?

No sadly not.

Also this bug Persists in 1.19.3

Reply at: https://bugs.launchpad.net/ubuntu/+source/xorg-
server/+bug/1776447/comments/5


On 2017-03-22T09:18:00+00:00 Michel Dänzer wrote:

Can you bisect between 1.18.3 and 1.18.4?

Reply at: https://bugs.launchpad.net/ubuntu/+source/xorg-
server/+bug/1776447/comments/6


On 2018-02-09T13:31:48+00:00 Kusanagi Kouichi wrote:

I tested with xf86-video-ati-7.10.0-23-g733f606d. xorg-server-1.18.4 is
good and xorg-server-1.19.0 is bad. Bisected and the result is:


7d33ab0f8c7958b205076f71e4b47c24aace77fd is the first bad commit
commit 7d33ab0f8c7958b205076f71e4b47c24aace77fd
Author: Adam Jackson 
Date:   Tue Jun 28 15:54:44 2016 -0400

dri2: Don't make reference to noClientException

noClientException is now never filled in with a meaningful value, it's
always -1. The sole caller of this function disregards the error value
in any case.

Reviewed-by: Eric Anholt 
Signed-off-by: Adam Jackson 

:04 04 50ecf07fd43345192f937697193acbc91086e975
6d6494a0a06aed80c78491b758f7e35bf3059389 M  glx


Without 7d33ab0f8c7958b205076f71e4b47c24aace77fd, xorg-server-1.19.0 works but 
xorg-server-1.19.0-587-gbebcc8477 doesn't work. No X error but the following 
errors in dmesg:
[1654246.207734] radeon :00:01.0: bo 90626cd73000 don't has a mapping 
in vm 90624f11d200
[1654246.212430] radeon :00:01.0: bo 90626cd73000 don't has a mapping 
in vm 90624f11d200
[1654246.220569] radeon :00:01.0: bo 90626cd73000 don't has a mapping 
in vm 90624f11d200
[1654246.220790] radeon :00:01.0: bo 90626cd73000 don't has a mapping 
in vm 90624f11d200
[1654246.220880] radeon :00:01.0: bo 90626cd73000 don't has a mapping 
in vm 90624f11d200
[1654246.236924] radeon :00:01.0: bo 90626cd73000 don't has a mapping 
in vm 90624f11d200
[1654246.237176] radeon