[Bug 50496] New: OpenGL executable crashes unless wine is run as superuser.

WineHQ Bugzilla wine-bugs at winehq.org
Wed Jan 13 04:39:17 CST 2021


https://bugs.winehq.org/show_bug.cgi?id=50496

            Bug ID: 50496
           Summary: OpenGL executable crashes unless wine is run as
                    superuser.
           Product: Wine
           Version: 5.22
          Hardware: x86-64
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: -unknown
          Assignee: wine-bugs at winehq.org
          Reporter: adam at pimentel.space
      Distribution: ---

on linux-gentoo-5.4.80-r1 with wine-vanilla-5.22-r2, opengl .exe's cause wine
to crash. however they do work when wine is run with super-user privleges (e.g.
sudo wine ./saddle.exe). I have reason to believe this is a regression, because
I was able to run and test windows opengl executables in the past without
having to be logged in as root. i've attached the error log.

(the package was compiled with the opengl, abi_x86_64, abi_x86_32 features
enabled, amount others)

The executable is an OpenGL/SDL2 program I wrote and compiled with
mingw-w64-gcc. it is staticially-linked with GLEW and SDL2. would it help if I
attached the libraries I compiled against? I can also attach the executable if
you need, but I know .exe files usually get flagged as malware by email and
these sorts of things.

I am also using a wayland compositor (sway), and my x11 server is Xwayland. but
like I said earlier, wine has ran these executables in the past without having
to log in as root or log into an x11 server (e.g. xfce4). but I can test it in
xfce4 if you want.

In a windows VM the executable doesn't crash or require administrator
privileges. I've done some testing with it in virtualbox, but opengl in
virtualbox is an older incompatible version. I can also try with KVM/QEMU to
double check that that it's not a problem with the executable.

is it possible that it is just a file permissions error?

-- 
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.



More information about the wine-bugs mailing list