[Touch-packages] [Bug 1952970] Re: mesa GLX change leads to wine showing GLXBadFBConfig

2022-01-27 Thread Timo Aaltonen
looks like it's still unresolved upstream

** Changed in: mesa (Ubuntu)
   Importance: Undecided => Medium

** Changed in: mesa (Ubuntu)
   Status: New => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to mesa in Ubuntu.
https://bugs.launchpad.net/bugs/1952970

Title:
  mesa GLX change leads to wine showing GLXBadFBConfig

Status in mesa package in Ubuntu:
  Confirmed

Bug description:
  A mesa GLX change (somewhere between the 20.0.4 and 21.0.3) causes
  both wine and Proton (on an older system that does not have Vulkan..
  SandyBridge, OpenGL 3.3..) to exit with GLXBadFBConf when it tries to
  fire up OpenGL.

  Wine, for Direct3D support it tries to fire up (in order) Vulkan then
  progressively older OpenGL versions fro 4.5 down to 2.1 or maybe even
  1.4 (of course the older the OpenGL the lower supported Direct3D
  version).  Wine does not like getting an error back with the same
  transaction serial number as it sent out.

  See https://gitlab.freedesktop.org/mesa/mesa/-/issues/3969
  Mesa issue 3969,  
  The patch there throws in an "XNoOp()" to increment the transaction serial 
number.

  But the patch there caused issues in other apps, per 
  https://gitlab.freedesktop.org/mesa/mesa/-/issues/4763
  Mes  issue 4763,
  They found XNoOp() increments the serial number, but xcb keeps a "shadow 
copy" of the serial number which is not incremented, causing problems.   
XFlush() increments the serial number, keeps xcb in sync and happy, with no 
real side effects (running XFlush() frequently would slow things down, but this 
code only runs when a GLX context is being created anyway which just doesn't 
happen all that frequently.)

  Please find attached a patch implementing the updated patch suggested
  in issue 4763.

  ProblemType: Bug
  DistroRelease: Ubuntu 20.04
  Package: libglx-mesa0 21.0.3-0ubuntu0.3~20.04.5
  ProcVersionSignature: Ubuntu 5.13.0-22.22~20.04.1-generic 5.13.19
  Uname: Linux 5.13.0-22-generic x86_64
  ApportVersion: 2.20.11-0ubuntu27.21
  Architecture: amd64
  BootLog: Error: [Errno 13] Permission denied: '/var/log/boot.log'
  CasperMD5CheckResult: skip
  CompositorRunning: None
  CurrentDesktop: GNOME-Flashback:GNOME
  Date: Wed Dec  1 18:59:43 2021
  DistUpgraded: Fresh install
  DistroCodename: focal
  DistroVariant: ubuntu
  ExtraDebuggingInterest: Yes, including running git bisection searches
  GraphicsCard:
   Advanced Micro Devices, Inc. [AMD/ATI] Picasso [1002:15d8] (rev c2) (prog-if 
00 [VGA controller])
 Subsystem: Dell Picasso [1028:0a12]
  InstallationDate: Installed on 2020-05-05 (575 days ago)
  InstallationMedia:
   
  MachineType: Dell Inc. Inspiron 3505
  ProcEnviron:
   TERM=screen.xterm-256color
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.13.0-22-generic 
root=UUID=57669cb0-fd65-4eb0-9898-ed10f33d44d0 ro quiet splash 
nvme_core.io_timeout=300 nosmt vt.handoff=7
  SourcePackage: mesa
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 05/31/2021
  dmi.bios.release: 5.3
  dmi.bios.vendor: Dell Inc.
  dmi.bios.version: 1.4.7
  dmi.board.asset.tag: not specified
  dmi.board.name: 0RV9WY
  dmi.board.vendor: Dell Inc.
  dmi.board.version: A00
  dmi.chassis.type: 10
  dmi.chassis.vendor: Dell Inc.
  dmi.chassis.version: 1.4.7
  dmi.modalias: 
dmi:bvnDellInc.:bvr1.4.7:bd05/31/2021:br5.3:svnDellInc.:pnInspiron3505:pvr1.4.7:rvnDellInc.:rn0RV9WY:rvrA00:cvnDellInc.:ct10:cvr1.4.7:sku0A12:
  dmi.product.family: Inspiron
  dmi.product.name: Inspiron 3505
  dmi.product.sku: 0A12
  dmi.product.version: 1.4.7
  dmi.sys.vendor: Dell Inc.
  version.compiz: compiz N/A
  version.libdrm2: libdrm2 2.4.105-3~20.04.2
  version.libgl1-mesa-dri: libgl1-mesa-dri 21.0.3-0ubuntu0.3~20.04.5
  version.libgl1-mesa-glx: libgl1-mesa-glx 21.0.3-0ubuntu0.3~20.04.5
  version.xserver-xorg-core: xserver-xorg-core 2:1.20.11-1ubuntu1~20.04.2
  version.xserver-xorg-input-evdev: xserver-xorg-input-evdev N/A
  version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:19.1.0-1
  version.xserver-xorg-video-intel: xserver-xorg-video-intel 
2:2.99.917+git20200226-1
  version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.16-1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mesa/+bug/1952970/+subscriptions


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1952970] Re: mesa GLX change leads to wine showing GLXBadFBConfig

2021-12-01 Thread Ubuntu Foundations Team Bug Bot
The attachment "wine-fix-updated.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
Touch seeded packages, which is subscribed to mesa in Ubuntu.
https://bugs.launchpad.net/bugs/1952970

Title:
  mesa GLX change leads to wine showing GLXBadFBConfig

Status in mesa package in Ubuntu:
  New

Bug description:
  A mesa GLX change (somewhere between the 20.0.4 and 21.0.3) causes
  both wine and Proton (on an older system that does not have Vulkan..
  SandyBridge, OpenGL 3.3..) to exit with GLXBadFBConf when it tries to
  fire up OpenGL.

  Wine, for Direct3D support it tries to fire up (in order) Vulkan then
  progressively older OpenGL versions fro 4.5 down to 2.1 or maybe even
  1.4 (of course the older the OpenGL the lower supported Direct3D
  version).  Wine does not like getting an error back with the same
  transaction serial number as it sent out.

  See https://gitlab.freedesktop.org/mesa/mesa/-/issues/3969
  Mesa issue 3969,  
  The patch there throws in an "XNoOp()" to increment the transaction serial 
number.

  But the patch there caused issues in other apps, per 
  https://gitlab.freedesktop.org/mesa/mesa/-/issues/4763
  Mes  issue 4763,
  They found XNoOp() increments the serial number, but xcb keeps a "shadow 
copy" of the serial number which is not incremented, causing problems.   
XFlush() increments the serial number, keeps xcb in sync and happy, with no 
real side effects (running XFlush() frequently would slow things down, but this 
code only runs when a GLX context is being created anyway which just doesn't 
happen all that frequently.)

  Please find attached a patch implementing the updated patch suggested
  in issue 4763.

  ProblemType: Bug
  DistroRelease: Ubuntu 20.04
  Package: libglx-mesa0 21.0.3-0ubuntu0.3~20.04.5
  ProcVersionSignature: Ubuntu 5.13.0-22.22~20.04.1-generic 5.13.19
  Uname: Linux 5.13.0-22-generic x86_64
  ApportVersion: 2.20.11-0ubuntu27.21
  Architecture: amd64
  BootLog: Error: [Errno 13] Permission denied: '/var/log/boot.log'
  CasperMD5CheckResult: skip
  CompositorRunning: None
  CurrentDesktop: GNOME-Flashback:GNOME
  Date: Wed Dec  1 18:59:43 2021
  DistUpgraded: Fresh install
  DistroCodename: focal
  DistroVariant: ubuntu
  ExtraDebuggingInterest: Yes, including running git bisection searches
  GraphicsCard:
   Advanced Micro Devices, Inc. [AMD/ATI] Picasso [1002:15d8] (rev c2) (prog-if 
00 [VGA controller])
 Subsystem: Dell Picasso [1028:0a12]
  InstallationDate: Installed on 2020-05-05 (575 days ago)
  InstallationMedia:
   
  MachineType: Dell Inc. Inspiron 3505
  ProcEnviron:
   TERM=screen.xterm-256color
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.13.0-22-generic 
root=UUID=57669cb0-fd65-4eb0-9898-ed10f33d44d0 ro quiet splash 
nvme_core.io_timeout=300 nosmt vt.handoff=7
  SourcePackage: mesa
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 05/31/2021
  dmi.bios.release: 5.3
  dmi.bios.vendor: Dell Inc.
  dmi.bios.version: 1.4.7
  dmi.board.asset.tag: not specified
  dmi.board.name: 0RV9WY
  dmi.board.vendor: Dell Inc.
  dmi.board.version: A00
  dmi.chassis.type: 10
  dmi.chassis.vendor: Dell Inc.
  dmi.chassis.version: 1.4.7
  dmi.modalias: 
dmi:bvnDellInc.:bvr1.4.7:bd05/31/2021:br5.3:svnDellInc.:pnInspiron3505:pvr1.4.7:rvnDellInc.:rn0RV9WY:rvrA00:cvnDellInc.:ct10:cvr1.4.7:sku0A12:
  dmi.product.family: Inspiron
  dmi.product.name: Inspiron 3505
  dmi.product.sku: 0A12
  dmi.product.version: 1.4.7
  dmi.sys.vendor: Dell Inc.
  version.compiz: compiz N/A
  version.libdrm2: libdrm2 2.4.105-3~20.04.2
  version.libgl1-mesa-dri: libgl1-mesa-dri 21.0.3-0ubuntu0.3~20.04.5
  version.libgl1-mesa-glx: libgl1-mesa-glx 21.0.3-0ubuntu0.3~20.04.5
  version.xserver-xorg-core: xserver-xorg-core 2:1.20.11-1ubuntu1~20.04.2
  version.xserver-xorg-input-evdev: xserver-xorg-input-evdev N/A
  version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:19.1.0-1
  version.xserver-xorg-video-intel: xserver-xorg-video-intel 
2:2.99.917+git20200226-1
  version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.16-1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mesa/+bug/1952970/+subscriptions


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1952970] Re: mesa GLX change leads to wine showing GLXBadFBConfig

2021-12-01 Thread Henry Wertz
Suggested patch.

For now, I've been running mesa 20.0.x on the affected system from (21.0.x is 
in ubuntu-updates, 20.0.x in base ubuntu repo, so I downgraded to that and 
thank goodness for apt-mark hold...)  But I can update it straight away to test 
any update that comes out.
Thanks!
--Henry

** Patch added: "wine-fix-updated.diff"
   
https://bugs.launchpad.net/ubuntu/+source/mesa/+bug/1952970/+attachment/5544778/+files/wine-fix-updated.diff

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to mesa in Ubuntu.
https://bugs.launchpad.net/bugs/1952970

Title:
  mesa GLX change leads to wine showing GLXBadFBConfig

Status in mesa package in Ubuntu:
  New

Bug description:
  A mesa GLX change (somewhere between the 20.0.4 and 21.0.3) causes
  both wine and Proton (on an older system that does not have Vulkan..
  SandyBridge, OpenGL 3.3..) to exit with GLXBadFBConf when it tries to
  fire up OpenGL.

  Wine, for Direct3D support it tries to fire up (in order) Vulkan then
  progressively older OpenGL versions fro 4.5 down to 2.1 or maybe even
  1.4 (of course the older the OpenGL the lower supported Direct3D
  version).  Wine does not like getting an error back with the same
  transaction serial number as it sent out.

  See https://gitlab.freedesktop.org/mesa/mesa/-/issues/3969
  Mesa issue 3969,  
  The patch there throws in an "XNoOp()" to increment the transaction serial 
number.

  But the patch there caused issues in other apps, per 
  https://gitlab.freedesktop.org/mesa/mesa/-/issues/4763
  Mes  issue 4763,
  They found XNoOp() increments the serial number, but xcb keeps a "shadow 
copy" of the serial number which is not incremented, causing problems.   
XFlush() increments the serial number, keeps xcb in sync and happy, with no 
real side effects (running XFlush() frequently would slow things down, but this 
code only runs when a GLX context is being created anyway which just doesn't 
happen all that frequently.)

  Please find attached a patch implementing the updated patch suggested
  in issue 4763.

  ProblemType: Bug
  DistroRelease: Ubuntu 20.04
  Package: libglx-mesa0 21.0.3-0ubuntu0.3~20.04.5
  ProcVersionSignature: Ubuntu 5.13.0-22.22~20.04.1-generic 5.13.19
  Uname: Linux 5.13.0-22-generic x86_64
  ApportVersion: 2.20.11-0ubuntu27.21
  Architecture: amd64
  BootLog: Error: [Errno 13] Permission denied: '/var/log/boot.log'
  CasperMD5CheckResult: skip
  CompositorRunning: None
  CurrentDesktop: GNOME-Flashback:GNOME
  Date: Wed Dec  1 18:59:43 2021
  DistUpgraded: Fresh install
  DistroCodename: focal
  DistroVariant: ubuntu
  ExtraDebuggingInterest: Yes, including running git bisection searches
  GraphicsCard:
   Advanced Micro Devices, Inc. [AMD/ATI] Picasso [1002:15d8] (rev c2) (prog-if 
00 [VGA controller])
 Subsystem: Dell Picasso [1028:0a12]
  InstallationDate: Installed on 2020-05-05 (575 days ago)
  InstallationMedia:
   
  MachineType: Dell Inc. Inspiron 3505
  ProcEnviron:
   TERM=screen.xterm-256color
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.13.0-22-generic 
root=UUID=57669cb0-fd65-4eb0-9898-ed10f33d44d0 ro quiet splash 
nvme_core.io_timeout=300 nosmt vt.handoff=7
  SourcePackage: mesa
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 05/31/2021
  dmi.bios.release: 5.3
  dmi.bios.vendor: Dell Inc.
  dmi.bios.version: 1.4.7
  dmi.board.asset.tag: not specified
  dmi.board.name: 0RV9WY
  dmi.board.vendor: Dell Inc.
  dmi.board.version: A00
  dmi.chassis.type: 10
  dmi.chassis.vendor: Dell Inc.
  dmi.chassis.version: 1.4.7
  dmi.modalias: 
dmi:bvnDellInc.:bvr1.4.7:bd05/31/2021:br5.3:svnDellInc.:pnInspiron3505:pvr1.4.7:rvnDellInc.:rn0RV9WY:rvrA00:cvnDellInc.:ct10:cvr1.4.7:sku0A12:
  dmi.product.family: Inspiron
  dmi.product.name: Inspiron 3505
  dmi.product.sku: 0A12
  dmi.product.version: 1.4.7
  dmi.sys.vendor: Dell Inc.
  version.compiz: compiz N/A
  version.libdrm2: libdrm2 2.4.105-3~20.04.2
  version.libgl1-mesa-dri: libgl1-mesa-dri 21.0.3-0ubuntu0.3~20.04.5
  version.libgl1-mesa-glx: libgl1-mesa-glx 21.0.3-0ubuntu0.3~20.04.5
  version.xserver-xorg-core: xserver-xorg-core 2:1.20.11-1ubuntu1~20.04.2
  version.xserver-xorg-input-evdev: xserver-xorg-input-evdev N/A
  version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:19.1.0-1
  version.xserver-xorg-video-intel: xserver-xorg-video-intel 
2:2.99.917+git20200226-1
  version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.16-1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mesa/+bug/1952970/+subscriptions


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp