Error: run CS1.6 => init_opengl OpenGL support is disabled

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
googlethink
Newbie
Newbie
Posts: 1
Joined: Thu May 24, 2018 7:59 am

Error: run CS1.6 => init_opengl OpenGL support is disabled

Post by googlethink »

wine Public/CS1.6/cstrike.exe -opengl

Code: Select all

0056:fixme:d3d:wined3d_dxtn_init Wine cannot find the txc_dxtn library, DXTn software support unavailable.
0056:err:wgl:init_opengl Failed to load libGL: libGL.so.1: cannot open shared object file: No such file or directory
0056:err:wgl:init_opengl OpenGL support is disabled.
0056:err:seh:setup_exception_record stack overflow 1920 bytes in thread 0056 eip 7bc66d26 esp 00240bb0 stack 0x240000-0x241000-0x340000
This is my wine config:

Code: Select all

wine wineboot

winetricks directmusic ddr=opengl fontsmooth=rgb win10 hosts glsl=disabled videomemorysize=default

winetricks corefonts wenquanyi lucida vlgothic unifont uff takao tahoma liberation ipamona eufonts baekmuk droid fontfix

winetricks d3dx10 d3dx10_43 d3dx11_42 d3dx11_43 d3dx9 d3dx9_24 d3dx9_25 d3dx9_26 d3dx9_27 d3dx9_28 d3dx9_29 d3dx9_30 d3dx9_31 d3dx9_32 d3dx9_33 d3dx9_34 d3dx9_35 d3dx9_36 d3dx9_37 d3dx9_38 d3dx9_39 d3dx9_40 d3dx9_41 d3dx9_42 d3dx9_43

wine .cache/winetricks/vcrun2012/vcredist_x64.exe
wine .cache/winetricks/vcrun2013/vcredist_x64.exe
wine .cache/winetricks/vcrun2015/vc_redist.x64.exe
wine .cache/winetricks/vcrun2017/VC_redist.x64.exe

winetricks vb6run vcrun6 riched20 riched30 xact xact_jun2010 xinput gdiplus msxml3 msxml4 msxml6 wsh56vb colorprofile wininet quartz comctl32ocx comdlg32ocx winhttp cmd mfc40 mfc42 amstream dinput mdx physx xmllite
User avatar
DarkShadow44
Level 8
Level 8
Posts: 1207
Joined: Tue Nov 22, 2016 5:39 pm

Re: Error: run CS1.6 => init_opengl OpenGL support is disabl

Post by DarkShadow44 »

Now that's a lot of overrides. But why did you disable glsl? Usually that's no necessary.

It's failing to load your libGL.so, do you have your graphics driver properly installed (both 32bit and 64bit)?
dj--alex
Level 3
Level 3
Posts: 59
Joined: Sun Aug 23, 2009 4:59 am

Re: Error: run CS1.6 => init_opengl OpenGL support is disabl

Post by dj--alex »

I have this problem too

Linux mint 19 01cd:err:wgl:init_opengl OpenGL support is disabled.

Problems only with 32bit applications!
If i run FinalFantasy 15 all ok.

I create already 4 threads and its driving my mad

https://devtalk.nvidia.com/default/topi ... er-swrast/
https://steamcommunity.com/app/221410/d ... 646880313/
https://ubuntuforums.org/showthread.php ... st13803083
meganix
Newbie
Newbie
Posts: 2
Joined: Sat Aug 04, 2018 5:14 pm

Re: Error: run CS1.6 => init_opengl OpenGL support is disabl

Post by meganix »

But the steam itself supports Linux and the games should go without it. At least those from Valve.
dj--alex
Level 3
Level 3
Posts: 59
Joined: Sun Aug 23, 2009 4:59 am

Re: Error: run CS1.6 => init_opengl OpenGL support is disabl

Post by dj--alex »

okay supported

but i cannot run steam on 2 OS
without steam all64bit games ok


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
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: Error: run CS1.6 => init_opengl OpenGL support is disabl

Post by Bob Wya »

dj--alex wrote:I have this problem too

Linux mint 19 01cd:err:wgl:init_opengl OpenGL support is disabled.

Problems only with 32bit applications!
What's the output from:

Code: Select all

sudo apt-get install inxi
# >>>>
sudo lspci -v | grep 'VGA'
glxinfo | egrep '^[[:alpha:]]'
inxi -G
which wine
wine --version
on your system?

You need to split your Windows applications (running under Wine) into separate WINEPREFIX's, and ease up on the overrides! :lol:
Too much, muchly too much. :shock:
You've no doubt just got too many native dll's in that WINEPREFIX, it's literally sinking under the weight... :cry:
See: WineHQ FAQ: 6.5 Wineprefixes.

Ta
Bob
dj--alex
Level 3
Level 3
Posts: 59
Joined: Sun Aug 23, 2009 4:59 am

Re: Error: run CS1.6 => init_opengl OpenGL support is disabl

Post by dj--alex »

Useless information
You dont read problem is not only for wine
not works Steam on MX linux 17.1 and not work some other apps with OpenGL support is disabled
works only NEW software using 64bit.
(default install sudo synaptic nvidia-410 (nvidia-driver-4100

I 10 years never using even 2nd wineprefix.
only for one game i do this. and i dont use pol or lutris. i don't like it

I thinking for Total commander or etc not need for EVERY APPLICATION create wineprefix
or for AcdSee 3.0 ( it have a fast rename ability)
and both requires 32bit nvidia libs

For linux mint 19 i found solution. and for MX Linux 17.1 i don't found solution
Driver for Mint unusable for MX Linux 17.1 but i try aptitude install
i post later if works

I install this and do aptitude install nvidia-driver-410 nvidia-driver-410:i386
[spoiler]
user@PC1:/media/user/F/Work/ISOLinux4Home/MINT19 RECREATE/Nvidia410Mint19FIX18.04$ dir
0install.sh
libnvidia-cfg1-410_410.57-0ubuntu0~gpu18.04.1_amd64.deb
libnvidia-compute-410_410.57-0ubuntu0~gpu18.04.1_amd64.deb
libnvidia-compute-410_410.57-0ubuntu0~gpu18.04.1_i386.deb
libnvidia-decode-410_410.57-0ubuntu0~gpu18.04.1_amd64.deb
libnvidia-decode-410_410.57-0ubuntu0~gpu18.04.1_i386.deb
libnvidia-encode-410_410.57-0ubuntu0~gpu18.04.1_amd64.deb
libnvidia-encode-410_410.57-0ubuntu0~gpu18.04.1_i386.deb
libnvidia-fbc1-410_410.57-0ubuntu0~gpu18.04.1_amd64.deb
libnvidia-fbc1-410_410.57-0ubuntu0~gpu18.04.1_i386.deb
libnvidia-gl-410_410.57-0ubuntu0~gpu18.04.1_amd64.deb
libnvidia-gl-410_410.57-0ubuntu0~gpu18.04.1_i386.deb
libnvidia-ifr1-410_410.57-0ubuntu0~gpu18.04.1_amd64.deb
libnvidia-ifr1-410_410.57-0ubuntu0~gpu18.04.1_i386.deb
nvidia-compute-utils-410_410.57-0ubuntu0~gpu18.04.1_amd64.deb
nvidia-dkms-410_410.57-0ubuntu0~gpu18.04.1_amd64.deb
nvidia-driver-410_410.57-0ubuntu0~gpu18.04.1_amd64.deb
nvidia-driver-410_410.57-0ubuntu0~gpu18.04.1_i386.deb
nvidia-graphics-drivers-410_410.57-0ubuntu0~gpu18.04.1.debian.tar.xz
nvidia-graphics-drivers-410_410.57-0ubuntu0~gpu18.04.1.dsc
nvidia-graphics-drivers-410_410.57.orig.tar.gz
nvidia-headless-410_410.57-0ubuntu0~gpu18.04.1_amd64.deb
nvidia-headless-no-dkms-410_410.57-0ubuntu0~gpu18.04.1_amd64.deb
nvidia-kernel-common-410_410.57-0ubuntu0~gpu18.04.1_amd64.deb
nvidia-kernel-source-410_410.57-0ubuntu0~gpu18.04.1_amd64.deb
nvidia-utils-410_410.57-0ubuntu0~gpu18.04.1_amd64.deb
xserver-xorg-video-nvidia-410_410.57-0ubuntu0~gpu18.04.1_amd64.deb
[/spoiler]
Locked