Fullscreen Programs Always Crash, but Windowed Programs Don't

Questions about Wine on Linux
Locked
wineryguy
Newbie
Newbie
Posts: 2
Joined: Fri Jan 05, 2024 6:39 pm

Fullscreen Programs Always Crash, but Windowed Programs Don't

Post by wineryguy »

Hello,

I am using wine-8.0 (Debian 8.0~repack-4) with Debian 12. I have a problem that all programs crash while launching fullscreen. If I can manage to get a program to launch windowed, I have no issues. I have tested this across many different programs and get the same behavior. I am aware than I can use a virtual desktop to remedy the problem, but I would prefer true fullscreen if possible.

With MOST programs I get this error when trying to run fullscreen:

free(): invalid pointer
0024:err:seh:NtRaiseException Exception frame is not in stack limits => unable to dispatch exception.

However occasionally programs will give an error that looks something like this:

free(): invalid pointer
wine: Assertion failed at address F7F41549 (thread 0024), starting debugger...
Unhandled exception: 0x00610062 in 32-bit code (0x00000000).
Register dump:
...

I have tried using different versions of Wine, including Wine-staging and downgraded versions. I encounter the same problem no matter what I try. When using Debian 11, I never had this problem. I am using X11 with IceWM, which I used previously as well and had no problems like this.

Anyone know what might be going on here?
jkfloris
Level 12
Level 12
Posts: 3141
Joined: Thu Aug 14, 2014 10:10 am

Re: Fullscreen Programs Always Crash, but Windowed Programs Don't

Post by jkfloris »

Does it make a difference if you use a different version of your video card driver?
You could try to install a version from testing (trixie) or unstable (sid)
(and if you have a Nvidia GPU, experimental)
wineryguy
Newbie
Newbie
Posts: 2
Joined: Fri Jan 05, 2024 6:39 pm

Re: Fullscreen Programs Always Crash, but Windowed Programs Don't

Post by wineryguy »

I'm using Intel Iris 6100 integrated graphics with the i915 driver on Linux kernel 6.1. Using only the stable repo, I currently have two packages installed relating to my drivers:

firmware-misc-nonfree
xserver-xorg-video-intel

Xorg appears to NOT be using "xserver-xorg-video-intel" but is using the built-in modesetting driver instead.

When I sourced the testing and unstable repos, I found there was an upgraded version of "firmware-misc-nonfree" in the testing repo, however using the testing repo requires me to upgrade about 1200 other packages as well. I am not interested in using all of the testing packages generally just to try one. Is there a workaround to this problem?
Last edited by wineryguy on Sat Jan 06, 2024 3:15 pm, edited 2 times in total.
jkfloris
Level 12
Level 12
Posts: 3141
Joined: Thu Aug 14, 2014 10:10 am

Re: Fullscreen Programs Always Crash, but Windowed Programs Don't

Post by jkfloris »

I don't expect updating the firmware will change much for the Iris 6100 GPU.

Does Wine from WineHQ have the same problems?
wineryguy
Newbie
Newbie
Posts: 2
Joined: Fri Jan 05, 2024 6:39 pm

Re: Fullscreen Programs Always Crash, but Windowed Programs Don't

Post by wineryguy »

I just tried the WineHQ-stable and WineHQ-staging packages and both have the same fullscreen issue. The error messages are the same as well.
Last edited by wineryguy on Mon Jan 08, 2024 6:59 pm, edited 1 time in total.
jkfloris
Level 12
Level 12
Posts: 3141
Joined: Thu Aug 14, 2014 10:10 am

Re: Fullscreen Programs Always Crash, but Windowed Programs Don't

Post by jkfloris »

Did you install all the recommended packages when you installed Wine?
Make sure libxrandr2:{amd64,i386} and libxxf86vm1:{amd64,i386} are installed.

Code: Select all

apt policy libxxf86vm1:{amd64,i386} libxrandr2:{amd64,i386}
If these packages are already installed, can you give an example of a program that has problems?
wineryguy
Newbie
Newbie
Posts: 2
Joined: Fri Jan 05, 2024 6:39 pm

Re: Fullscreen Programs Always Crash, but Windowed Programs Don't

Post by wineryguy »

Looks like I was missing the package "libxrandr2:i386"

This fixed all of the fullscreen issues I've been having. Everything works now. Thanks for the help!!
Locked