Ant Attack Black Screen

Questions about Wine on Linux
Post Reply
msknight
Level 2
Level 2
Posts: 13
Joined: Sat Sep 17, 2016 10:29 am

Ant Attack Black Screen

Post by msknight »

I'm trying to run the following game... https://github.com/steven-knock/ant-attack

I'm on Ubuntu 23.04 Cinnamon 5.6.7 - Wine version 8.0 repack-4 and I've loaded the vulkan and gl1 recommended libraries. I've been in winecfg and also shifted the dlls for direct X, various versions, to builtin. I've also tried changing to desktop environment

Running command is...

Code: Select all

wine "C:\users\michelle\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Ant Attack\Ant Attack.lnk"
Game runs, I hear music, but I get a black screen. On having to force the game to exit, that's the only time I seem to get any error to terminal. No errors are reported to the terminal on actual run time.

Code: Select all

X Error of failed request:  GLXBadContextState
  Major opcode of failed request:  152 (GLX)
  Minor opcode of failed request:  5 (X_GLXMakeCurrent)
  Serial number of failed request:  0
  Current serial number in output stream:  2777
X Error of failed request:  GLXBadContextState
  Major opcode of failed request:  152 (GLX)
  Minor opcode of failed request:  5 (X_GLXMakeCurrent)
  Serial number of failed request:  0
  Current serial number in output stream:  2777
jkfloris
Level 12
Level 12
Posts: 3141
Joined: Thu Aug 14, 2014 10:10 am

Re: Ant Attack Black Screen

Post by jkfloris »

that's the only time I seem to get any error to terminal
Do you get more information if you start the game from the directory where it is installed?

Code: Select all

cd "${HOME}/.wine/drive_c/Program Files (x86)/Ant Attack"
WINEDEBUG=fixme+all wine AntAttack.exe
msknight
Level 2
Level 2
Posts: 13
Joined: Sat Sep 17, 2016 10:29 am

Re: Ant Attack Black Screen

Post by msknight »

Thanks for taking the time to help.

I get the following. Also, I'm running an Nvidea 750Ti and i've been reading about issues with Nvidea drivers of late, but I wasn't about to start messing around too much on-spec, if you know what I mean.

Code: Select all

007c:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
007c:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
007c:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
007c:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0024:fixme:imm:ImeSetActiveContext (0001007E, 1): stub
0024:fixme:imm:ImmReleaseContext (00010088, 0001007E): stub
00cc:fixme:imm:ImeSetActiveContext (0000000000010026, 0): stub
00cc:fixme:imm:ImmReleaseContext (0000000000010020, 0000000000010026): stub
msknight
Level 2
Level 2
Posts: 13
Joined: Sat Sep 17, 2016 10:29 am

Re: Ant Attack Black Screen

Post by msknight »

Additional - I'm running Nvidea driver 535 for the GTX 750 Ti
msknight
Level 2
Level 2
Posts: 13
Joined: Sat Sep 17, 2016 10:29 am

Re: Ant Attack Black Screen

Post by msknight »

Further info... vuklaninfo shows two presentable surfaces, but the Nvidea is the first...

Code: Select all

Presentable Surfaces:
=====================
GPU id : 0 (NVIDIA GeForce GTX 750 Ti):
	Surface types: count = 2
		VK_KHR_xcb_surface
		VK_KHR_xlib_surface
	Formats: count = 2
....

GPU id : 1 (llvmpipe (LLVM 15.0.7, 256 bits)):
	Surface types: count = 2
		VK_KHR_xcb_surface
		VK_KHR_xlib_surface
	Formats: count = 2
Post Reply