[Bug 60437] New: RiSCAN_PRO: OpenGL child window renders black since wine 11.16
http://bugs.winehq.org/show_bug.cgi?id=60437 Bug ID: 60437 Summary: RiSCAN_PRO: OpenGL child window renders black since wine 11.16 Product: Wine Version: 11.16 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: opengl Assignee: wine-bugs@list.winehq.org Reporter: pyro4hell+winehq@gmail.com Target Milestone: --- Distribution: --- Created attachment 82250 --> http://bugs.winehq.org/attachment.cgi?id=82250 Patch file with workaround starting with wine-11.16 the pointcloud viewer in RiSCAN PRO (commercial Windows only program https://www.riegl.com/en-usa/products/detail/riscan-pro ) only renders black screen. The viewer is using an OpenGL sub-window With wine-11.15 the view works perfectly. I got a `git bisect` and got the following commit out of it: ``` 5cbad47284b52c69b8f2f30c3786d00ae69823b8 is the first 'bad' commit commit 5cbad47284b52c69b8f2f30c3786d00ae69823b8 (HEAD) Author: Rémi Bernon <rbernon@codeweavers.com> Date: Wed Aug 19 16:19:33 2026 +0200 opengl32: Restore read and draw buffers when popping default FBOs. dlls/opengl32/unix_wgl.c | 28 ++++++++++++++++++++++------ include/wine/opengl_driver.h | 1 + 2 files changed, 23 insertions(+), 6 deletions(-) ``` I reverted the commit based on wine-11.16 and the viewer worked again. On wine-11.19 the revert didn't work, but I found a workaround by not drawing the default buffer if its content is 0 (see attached patch file). App: RiSCAN_PRO.exe 2.26 Steps to reproduce: - Open RiSCAN_PRO.exe - load project - open pointcloud - see black viewer instead of pointcloud GPU / driver: NVIDIA GeForce RTX 3060 with proprietary driver 615.71.09 Session: both X11 and Wayland OS: both Kubuntu 24.04 and CachyOS using Plasma Wine build: --enable-archs=i386,x86_64 -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=60437 NeroBurner <pyro4hell+winehq@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Regression SHA1| |5cbad47284b52c69b8f2f30c378 | |6d00ae69823b8 Distribution|--- |ArchLinux -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=60437 --- Comment #1 from NeroBurner <pyro4hell+winehq@gmail.com> --- Created attachment 82251 --> http://bugs.winehq.org/attachment.cgi?id=82251 Screenshot showing RiSCAN PRO window on wine-11.19 with black viewer screen -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=60437 --- Comment #2 from NeroBurner <pyro4hell+winehq@gmail.com> --- Created attachment 82252 --> http://bugs.winehq.org/attachment.cgi?id=82252 Screenshot showing RiSCAN PRO with working viewer showing pointcloud -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=60437 --- Comment #3 from NeroBurner <pyro4hell+winehq@gmail.com> --- Created attachment 82253 --> http://bugs.winehq.org/attachment.cgi?id=82253 wine log with +opengl,+wgl opening RiSCAN PRO having the black screen log created with WINEDEBUG=+opengl,+wgl ./wine-build/wine 'C:\Program Files\Riegl_LMS\RiSCAN_PRO\RiSCAN_PRO.exe' > wine-11.19-riscan-black-window.log 2>&1 build with `wine-11.19` tag (without modifications) -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=60437 Ken Sharp <imwellcushtymelike@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression Summary|RiSCAN_PRO: OpenGL child |RiSCAN_PRO: OpenGL child |window renders black since |window renders black |wine 11.16 | CC| |rbernon@codeweavers.com -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=60437 --- Comment #4 from NeroBurner <pyro4hell+winehq@gmail.com> --- still happens on `wine-11.20`. The "Patch file with workaround" still applies cleanly and fixes the issue for me -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=60437 --- Comment #5 from NeroBurner <pyro4hell+winehq@gmail.com> --- Created attachment 82415 --> http://bugs.winehq.org/attachment.cgi?id=82415 apitrace of OpenGL RiSCAN window using https://github.com/apitrace/apitrace/releases/tag/14.0 I created a small trace that triggers the black/flickering OpenGL window on wine-11.16 and newer. On Linux or with a patched Wine the OpenGL trace plays fine created with patched wine-11.20 build running the following command: apitrace trace --output ~/tmp/RiSCAN.trace --api egl ./wine-build/wine 'C:\Program Files\Riegl_LMS\RiSCAN_PRO\RiSCAN_PRO.exe' Replay through wine (patched or unpatched) using the win64 executable of apitrace: wine qapitrace.exe ~/tmp/RiSCAN.trace and in the gui select "Trace - Replay" -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
participants (1)
-
WineHQ Bugzilla