flathub / net._86box._86Box

https://flathub.org/apps/details/net._86box._86Box
0 stars 1 forks source link

Vulkan related crash on 4.2.1 flatpak #17

Open jhstatewide opened 2 months ago

jhstatewide commented 2 months ago

What happened? Running 86box on Debian, amd64. When using the 4.2 Flatpak, everything works fine. When upgrading to 4.2.1 Flatpak, there is a vulkan related crash:

Qt: Session management error: Could not open network socket
#
# 86Box v4.2.1 logfile, created 2024/09/03 17:26:04
#
# VM: win98
#
# Emulator path: /app/bin/
# Userfiles path: /home/josh/86boxes/win98/
# ROM path: /home/josh/86boxes/win98/roms/
# ROM path: /app/bin/roms/
# ROM path: /home/josh/.var/app/net._86box._86Box/data/86Box/roms/
# ROM path: /app/share/86Box/roms/
# ROM path: /usr/share/86Box/roms/
# ROM path: /usr/share/runtime/share/86Box/roms/
# ROM path: /run/host/user-share/86Box/roms/
# ROM path: /run/host/share/86Box/roms/
# Configuration file: /home/josh/86boxes/win98/86box.cfg
#

Qt: version 5.15.10, platform "xcb"
Failed to load vulkan: Cannot load library vulkan: (vulkan: cannot open shared object file: No such file or directory)
initInstance: No Vulkan library available
Failed to create platform Vulkan instance

Reverting back to 4.2.0 solves this issue and 86box launches normally.

sudo flatpak update --commit=2f72ef5afddeb2dcd339e6d8ef041f02ba0d37ced1dcf69376fc3a4cd0fd092d net._86box._86Box

Setting the renderer to qt_software on 4.2.1 seems to have no effect and the vulkan crash happens anyway. For now I am sticking to 4.2.

Configuration file

[General]
vid_renderer = qt_software
dpi_scale = 0
video_filter_method = 0
host_cpu = Intel(R) Core(TM) i7-5557U CPU @ 3.10GHz
uuid = df836693-3abe-5a78-ab18-ff56abe81b43

[Machine]
machine = 5aa
cpu_family = k6_2
cpu_speed = 166666666
cpu_multi = 2.5
cpu_use_dynarec = 1
fpu_softfloat = 0
time_sync = local
fpu_type = internal
mem_size = 131072

[Video]
gfxcard = voodoo3_1k_pci
voodoo = 1

[Input devices]
mouse_type = ps2

[Sound]
fm_driver = nuked
sndcard = sb16

[Network]
net_01_link = 0
net_02_link = 0
net_03_link = 0
net_04_link = 0
net_01_card = novell_ne2k
net_01_net_type = slirp

[Storage controllers]
hdc = ide_pci_2ch
cassette_mode = load

[S3 ViRGE (325) PCI]
memory = 4
bilinear = 1
dithering = 1

[Novell NE2000 #1]
mac = 58:7c:56
base = 0300
irq = 9
bios_addr = 00000

[Hard disks]
hdd_01_parameters = 63, 16, 30476, 0, ide
hdd_01_fn = win98_root.vhd.VHD
hdd_01_speed = ramdisk
hdd_01_vhd_blocksize = 4096
hdd_01_ide_channel = 0:0

[Floppy and CD-ROM drives]
fdd_01_type = 35_2hd
fdd_02_type = none
cdrom_01_speed = 72
cdrom_01_parameters = 1, atapi
cdrom_01_ide_channel = 0:1
cdrom_01_image_history_01 = [....] (censored)
cdrom_01_image_history_02 = [....] (censored)
cdrom_01_type = 86BOX_CD-ROM_1.00

[Sound Blaster 16 PnP]
control_pc_speaker = 0
receive_input = 0
receive_input401 = 0

[3Dfx Voodoo Graphics]
type = 0
framebuffer_memory = 4
texture_memory = 4
bilinear = 1
dithersub = 1
dacfilter = 0
render_threads = 2
sli = 0
recompiler = 1

[Sound Blaster 16 #1]
base = 0220
base401 = 0330
irq = 10
dma = 1
dma16 = 5
opl = 1
control_pc_speaker = 0
receive_input = 1
receive_input401 = 0

[Ports (COM & LPT)]
serial1_enabled = 0
serial2_enabled = 0
lpt1_device = postscript

[Other removable devices]
zip_01_parameters = 0, atapi
zip_01_ide_channel = 1:0

[3dfx Voodoo3 1000]
memory = 16
bilinear = 1
dithersub = 1
dacfilter = 0
render_threads = 2
recompiler = 1

Operating system Debian 12

CPU Intel(R) Core(TM) i7-5557U CPU @ 3.10GHz

86Box version 4.2.1

Build architecture Linux - x64 (64-bit)

AsciiWolf commented 2 months ago

That's strange. I am experiencing the "Cannot load library vulkan" error even on the older 4.2 Flatpak version. (See this ticket.)