Please help run 32bit apps wine on 64bit System

Questions about applications and software
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
dj--alex

Please help run 32bit apps wine on 64bit System

Post by dj--alex »

I tries everything what i can found with one WEEK and i giveup
I think is 32bit support games broken in driver ot etc.

I select hardware forum, i thinking it's driver problem.

Please help with
:: 0009:err:wgl:init_opengl Failed to load libGL:
0009:err:wgl:init_opengl OpenGL support is disabled.
or
\Games\\Steam-win32\\SteamApps\\common\\Unreal Tournament 3\\Binaries\\UT3.exe", 0x231eba8)
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast

Driver is not damaged !!!!
Normal DX10-DX11 games working in wine-dxvk. At lease No man's sky and Final Fantasy XV.
Normal Native games is working. (Unigine Valley)

Steam -Native gets Glxchoosevisual failed(swrast error of course)
I know how to fix run steam by command
sudo mv /usr/lib/i386-linux-gnu/mesa/libGL.so.1 /usr/lib/i386-linux-gnu/mesa/libGL.so.1.ba
if fix errors with STEAM native only. Wine still unfixed.
But after any update NVIDIA driver errors resurrected and i need to do it again
3 updates - 3 additional commands.

My mesa files
https://pp.userapi.com/c851032/v8510327 ... U3h1CM.jpg
Nvidia files
https://pp.userapi.com/c851032/v8510327 ... 4APtR4.jpg

I HAVE ISO IMAGE contains that bug i can share it on forum?
Maybe someone can load and check how to fix it?

Spaceengine - is free application.

Ryzen 1500, Mint linux 18.3 x64 Kernel 18.3 Nvidia 410 Driver (probowales 396 tez)
CLEAN wine staging 3.16 PREFIX. + or - DXVK - no alteres error.
Arch Linux user tells install "nvidia-utils" for 32bit apps run
nvidia-utils/lib32-nvidia-utils
I don't know how to correctly this named in Linux Mint
Where is lib32-nvidia-utils in Linux Mint? how to remove cursed swrast?

I have 2 HDD with 2 install of Linux Mint 18.3 updated.
PC1 is named PCN, PC2 is named PC2.
It's one computer with one working hardware just 2 HDD to load.

I don't interest in installs Mint 19 or Ubuntu 18.04
Im create ISO image with Mint 18.3 with ALL needed for me programs& home using.
and configured DXVK for all my applications and games.

I can share ISO image if anybody can helps. and if it allowed on forum.

Im just want to found solution fix 32bit problems.
All of other things works brilliant.

Bug https://bugs.launchpad.net/ubuntu/+sour ... bug/852101
WORKAROUND: reinstall libc6-i386 by running 'sudo apt-get install --reinstall libc6-i386'.
sudo apt-get install --reinstall libc6-i386 (NOT TESTED)

PCZ:NO WORK.

Code: Select all

E: Internal Error, No file name for libc6-i386:amd64
NO WORK ON PC2
user@PC2 ~ $ steam
Running Steam on linuxmint 18.3 64-bit
STEAM_RUNTIME is enabled automatically
Pins up-to-date!
Installing breakpad exception handler for appid(steam)/version(1536436120)
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast


or maybe today is this bug
https://bugs.launchpad.net/ubuntu/+sour ... bug/852873
A workaround for this bug:

Code: Select all

LD_LIBRARY_PATH=/usr/lib32/nvidia-current wine Spaceengine.exe CHECK AGAIN
maybe fix name?
LD_LIBRARY_PATH=/usr/lib32/nvidia-410 wine Spaceengine.exe
not helped.
libGL error: failed to load driver: swrast
I hate swrast.
PC2 HAVE A SAME ERROR:
user@PC2 /media/user/D/Games/SpaceEngine098/system $ LD_LIBRARY_PATH=/usr/lib32/nvidia-current wine Spaceengine.exe
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast

I get this error in Steam Native, All Wine 32bit old games.
New games 64bit wine - DX10-11 works like Final Fantasy XV.
I installed Nvidia-410, libcuda-410 and nvidia-settings.

u

Code: Select all

ser@PCN ~ $ glxinfo | grep 'direct rendering\| string'
direct rendering: Yes
server glx vendor string: NVIDIA Corporation
server glx version string: 1.4
client glx vendor string: NVIDIA Corporation
client glx version string: 1.4
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: GeForce GTX 1060 3GB/PCIe/SSE2
OpenGL core profile version string: 4.5.0 NVIDIA 410.48
OpenGL core profile shading language version string: 4.50 NVIDIA
OpenGL version string: 4.6.0 NVIDIA 410.48
OpenGL shading language version string: 4.60 NVIDIA
OpenGL ES profile version string: OpenGL ES 3.2 NVIDIA 410.48
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
user@PCN ~ $ 

Code: Select all

user@PCN ~ $ uname -a
Linux PCN 4.18.3-041803-generic #201808180530 SMP Sat Aug 18 09:32:58 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
user@PCN ~ $ lsb_release -a
No LSB modules are available.
Distributor ID:    LinuxMint
Description:    Linux Mint 18.3 Sylvia
Release:    18.3
Codename:    sylvia
user@PCN ~ $

Code: Select all

user@PCN /media/user/D/Games/Steam-win32/SteamApps/common/Unreal Tournament 3/Binaries $ wine UT3.exe
0171:err:winediag:wined3d_dll_init Setting multithreaded command stream to 0.
0171:fixme:gameux:GameExplorerImpl_VerifyAccess (0x14d930, L"Z:\\media\\user\\D\\Games\\Steam-win32\\SteamApps\\common\\Unreal Tournament 3\\Binaries\\UT3.exe", 0x231eba8)
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
0171:err:wgl:X11DRV_WineGL_InitOpenglInfo  couldn't initialize OpenGL, expect problems
0171:fixme:dbghelp:validate_addr64 Unsupported address fffffffff7b90000
0171:fixme:dbghelp:validate_addr64 Unsupported address fffffffff7b80000
0171:fixme:faultrep:ReportFault 0x231eb94 0x0 stub
wine: Unhandled page fault on read access to 0x00000000 at address 0x13119d7 (thread 0171), starting debugger...
user@PCN /media/user/D/Games/Steam-win32/SteamApps/common/Unreal Tournament 3/Binaries $ 
======================
https://forum.winehq.org/viewtopic.php?p=66845
NOT HELPED
I figured out the issue - somehow Wine's trying to load the wrong libGL.so. I went in and changed the links like so.

Code: Select all

sudo rm /usr/lib/x86_64-linux-gnu/libGL.so
sudo ln -s /usr/lib/nvidia-current-updates/libGL.so /usr/lib/x86_64-linux-gnu/libGL.so

PCN /media/user/D/Games/SpaceEngine098/system $ wine SpaceEngine.exe 000b:fixme:winediag:start_process Wine Staging 3.16 is a testing version containing experimental patches.
000b:fixme:winediag:start_process Please mention your exact version when filing bug reports on winehq.org.
0009:fixme:ver:GetCurrentPackageId (0x32fcb4 (nil)): stub
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
0009:err:wgl:X11DRV_WineGL_InitOpenglInfo  couldn't initialize OpenGL, expect problems
wine: Unhandled page fault on read access to 0x00000000 at address (nil) (thread 0009), starting debugger...
Unhandled exception: page fault on read access to 0x00000000 in 32-bit code (0x00000000).
Register dump:
 CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
 EIP:00000000 ESP:0032fb94 EBP:0032fc60 EFLAGS:0

sudo apt-get upgrade not helped

I tries another method

user@PCN /media/user/D/Games/SpaceEngine098/system $ LD_LIBRARY_PATH=/usr/lib32/nvidia-current wine SpaceEngine.exe

Code: Select all

user@PCN /media/user/D/Games/SpaceEngine098/system $ LD_LIBRARY_PATH=/usr/lib32/nvidia-current wine SpaceEngine.exe
000b:fixme:winediag:start_process Wine Staging 3.16 is a testing version containing experimental patches.
000b:fixme:winediag:start_process Please mention your exact version when filing bug reports on winehq.org.
0009:fixme:ver:GetCurrentPackageId (0x32fcb4 (nil)): stub
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
X Error of failed request:  BadValue (integer parameter out of range for operation)
  Major opcode of failed request:  154 (GLX)
  Minor opcode of failed request:  3 (X_GLXCreateContext)
  Value in failed request:  0x0
  Serial number of failed request:  253
  Current serial number in output stream:  257
user@PCN /media/user/D/Games/SpaceEngine098/system $ 

Code: Select all

user@PCN /media/user/D/Games/SpaceEngine098/system $ wine SpaceEngine.exe
002b:fixme:ver:GetCurrentPackageId (0x32fcb4 (nil)): stub
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
X Error of failed request:  BadValue (integer parameter out of range for operation)
  Major opcode of failed request:  154 (GLX)
  Minor opcode of failed request:  3 (X_GLXCreateContext)
  Value in failed request:  0x0
  Serial number of failed request:  253
  Current serial number in output stream:  257
user@PCN /media/user/D/Games/SpaceEngine098/system $
PC2 Same error

========
https://www.linux.org.ru/forum/games/14487728 tells
sudo apt-get install -t libgl1-nvidia-glx

not helped of course

Code: Select all

user@PCN ~/Рабочий стол $ sudo apt-get install -t libgl1-nvidia-glx
[sudo] пароль для user:
Чтение списков пакетов… Готово
E: Значение «libgl1-nvidia-glx» недопустимо для APT::Default-Release, так как выпуск недоступен в источниках
PC2 same error.
no file(s) error

searching continues
libGL error: No matching fbConfigs or visuals found libGL error: failed to load driver: swrast

Code: Select all

user@PCN ~ $ steam
Running Steam on linuxmint 18.3 64-bit
STEAM_RUNTIME is enabled automatically
Pins up-to-date!
Installing breakpad exception handler for appid(steam)/version(1536436120)
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
dj--alex

Re: Please help run 32bit apps wine on 64bit System

Post by dj--alex »

Someone tells remove bbswitch-dkms
This not helped

I create video with bug
https://youtu.be/hHnAjbqKrIA
gm10

Re: Please help run 32bit apps wine on 64bit System

Post by gm10 »

I was just wondering whether you're aware that Steam now comes with Proton, a Wine fork specifically for Steam. The feature is called Steam Play, enable it for all titles in Steam and then just click to play. I have not had any trouble with 32bit apps.
dj--alex

Re: Please help run 32bit apps wine on 64bit System

Post by dj--alex »

All i need - is found how to restore compactiblity 32bit apps with 64bit system
I need analog of Arch linux nvidia-utils/lib32-nvidia-utils


Maybe you skip part where i tell about Steam Native get error
Look at youtube video post upper
I run steam and i get error with SWRAST.

ISO image of my PC
https://cloud.mail.ru/public/4EBz/NfGLujChY
You can load and in Live without install try to run any application


I copy error log here

[spoiler]
user@PC2 /media/user/D/Games/SpaceEngine098/system $ steam
Running Steam on linuxmint 18.3 64-bit
STEAM_RUNTIME is enabled automatically
Pins up-to-date!
Installing breakpad exception handler for appid(steam)/version(1536436120)
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
Installing breakpad exception handler for appid(steam)/version(1536436120)
Installing breakpad exception handler for appid(steam)/version(1536436120)
Gtk-Message: Failed to load module "gail"
Gtk-Message: Failed to load module "atk-bridge"
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
Installing breakpad exception handler for appid(steam)/version(1536436120)
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
[2018-09-24 00:30:47] Startup - updater built Sep 8 2018 19:20:58
Looks like steam didn't shutdown cleanly, scheduling immediate update check
[2018-09-24 00:30:47] Checking for update on startup
[2018-09-24 00:30:47] Проверка на наличие обновлений...
[2018-09-24 00:30:48] Download skipped: /client/steam_client_ubuntu12 version 1536436120, installed version 1536436120
[/spoiler]

Proton not allow runs some of my games and i have very small library in Steam (yes im cannot buy everything for tests)
Exists applications from GOG\ Crappy uplay or other.
dj--alex

Re: Please help run 32bit apps wine on 64bit System

Post by dj--alex »

I found a temporatily solution
I delete with Synaptic these packets: libglapi-mesa:i386 libglu-mesa:i386
And...
All Win32 apps like "total commander" "Spaceengine" , Panolapse without reboot start works!
And Steam Native start works but with EVERY START tries reinstall libglapi-mesa:i386 (i just press CTRL-C to skip)
All games and Steam Native or etc 32bit apps works

But i think it's no good solution
Steam must don't require download mesa.
And if i want to remove Nvidia driver - how works system without it?
Mesa without this files can run Radeon\ Intel or it just works in 640x480 mode. I need test it.

Maybe exist another method to fix "SWRAST" problem ?
dj--alex

Re: Please help run 32bit apps wine on 64bit System

Post by dj--alex »

I get same error with Mint 19 x64 Mate

Get fresh system like 18 mint
don't use Oibaf. skip.
I install Nvidia 396 from PPA ( i cannot found Nvidia 410 with Vulkan 1.1.83 for Mint 19)
Install Wine 3.16 with PPA , Install DXVK 0.80
Nothing more.

Get fresh steam from official site

user@M19:~$ steam
Setting up Steam content in /home/user/.local/share/Steam
Package libgl1-mesa-dri:i386 needs to be installed
Package libgl1-mesa-glx:i386 needs to be installed
Running Steam on linuxmint 19 64-bit
STEAM_RUNTIME is enabled automatically
Pins potentially out-of-date, rebuilding...

i press CTRL-C instead of entering password.
I create backup and test it.

I test if allowed install it i get Glxvisuals failed and SWRAST problem.
[spoiler]
user@M19:~$ steam
Package libgl1-mesa-dri:i386 needs to be installed
Package libgl1-mesa-glx:i386 needs to be installed
Running Steam on linuxmint 19 64-bit
STEAM_RUNTIME is enabled automatically
Pins up-to-date!
Installing breakpad exception handler for appid(steam)/version(1536436120)
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
Installing breakpad exception handler for appid(steam)/version(1536436120)
Installing breakpad exception handler for appid(steam)/version(1536436120)
Gtk-Message: 15:52:48.145: Failed to load module "gail"
Gtk-Message: 15:52:48.146: Failed to load module "atk-bridge"
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast

[/spoiler]
dj--alex

Re: Please help run 32bit apps wine on 64bit System

Post by dj--alex »

system with Mint 19
i install nvidia-utils 396


https://pp.userapi.com/c830709/v8307091 ... MC57-c.jpg

screenshot
I today done third reinstall Linux Mint 19 X64

I install only Nvidia-396 driver
Download steam-latest.deb and run install
Wine is NOT installed and PPA is not addded, dpkg not added architecture i386

after install i get error message

Steam needs to install these additional packages:
libgl1-mesa-dri:i386, libgl1-mesa-glx:i386, libc6:i386
[sudo] пароль для user:

steam window console
I allow steam install this libraries.
(steam can correct fix this problem?)
reboot
and run steam and get

Code: Select all

GLXCHOOSEVISUAL FAILED
libGL error: failed to load driver: swrast
[2018-10-08 20:32:29] Startup - updater built Sep 8 2018 19:20:58
glXChooseVisual failed
glXChooseVisual failedMain.cpp (326) : Assertion Failed: Fatal Error: glXChooseVisual failed
Main.cpp (326) : Assertion Failed: Fatal Error: glXChooseVisual failed
now reinstall Linux mint 19 x64 4-times...

why this error appears?
from 2010 to may 2018 i NEVER see this stupid cursed error

after all i install Steam-windows (steam native not works)
and install Unreal Tournament 3 and get error

Code: Select all

01cd:fixme:gameux:GameExplorerImpl_VerifyAccess (0x2f737c8, L"Z:\\media\\user\\D\\Games\\Steam-win32\\steamapps\\common\\Unreal Tournament 3\\Binaries\\UT3.exe", 0x231eba8)
01cd:err:wgl:init_opengl Failed to load libGL: libGL.so.1: невозможно открыть разделяемый объектный файл: Нет такого файла или каталога
01cd:err:wgl:init_opengl OpenGL support is disabled.
dj--alex

Re: Please help run 32bit apps wine on 64bit System

Post by dj--alex »

With Linux MInt 19 is more serious error cannot be fixed
all tricks from Mint 18 cannot be used.
Maybe i do something wrong?


Video install process Linux Mint 19 x64 Mate DE
https://www.youtube.com/watch?v=gmCqiHLQubw
Instal on fresh system nvidia and steam , reboot, trying run steam, show work Unigine x64 game engine, trying run Panolapse and UT3.exe (32 bit applications)
https://www.youtube.com/watch?v=p0mi7hqE0O4
MX Linux 17.1 september x64 with Mate DE
Instal on fresh system nvidia and steam , reboot, trying run steam, show work Unigine x64 game engine, trying run Panolapse and UT3.exe (32 bit applications)
https://www.youtube.com/watch?v=Wt_nqWgGcTY

gksu bug (another problem)
https://www.youtube.com/watch?v=aZR_061stE0

I write all here
https://devtalk.nvidia.com/default/topi ... =6#5288585

Problem similar like in 18.3 but it in fresh install and it cannot be fixed by me.
I waste 20 days
Locked

Return to “Software & Applications”