[Wine] Can't open any program.

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.
Arthie

[Wine] Can't open any program.

Post by Arthie »

Well, since i've installed wine i cant open any aplication with it, i realy need help!
There is the log

Code: Select all

arthur@Caverna:/media/arthur/Jogos/Pokemon Miw$ wine P.O.exe
0009:fixme:thread:GetThreadUILanguage : stub, returning default language.
0009:fixme:nls:GetThreadPreferredUILanguages 00000038, 0x32c528, (nil) 0x32c550
0009:fixme:nls:get_dummy_preferred_ui_language (0x38 0x32c528 (nil) 0x32c550) returning a dummy value (current locale)
0009:fixme:nls:GetThreadPreferredUILanguages 00000038, 0x32c528, 0x106a680 0x32c550
0009:fixme:nls:get_dummy_preferred_ui_language (0x38 0x32c528 0x106a680 0x32c550) returning a dummy value (current locale)
0009:fixme:thread:GetThreadUILanguage : stub, returning default language.
0009:fixme:nls:GetThreadPreferredUILanguages 00000038, 0x32c528, (nil) 0x32c550
0009:fixme:nls:get_dummy_preferred_ui_language (0x38 0x32c528 (nil) 0x32c550) returning a dummy value (current locale)
0009:fixme:nls:GetThreadPreferredUILanguages 00000038, 0x32c528, 0x121a680 0x32c550
0009:fixme:nls:get_dummy_preferred_ui_language (0x38 0x32c528 0x121a680 0x32c550) returning a dummy value (current locale)
0009:fixme:thread:GetThreadUILanguage : stub, returning default language.
0009:fixme:nls:GetThreadPreferredUILanguages 00000038, 0x32c52c, (nil) 0x32c554
0009:fixme:nls:get_dummy_preferred_ui_language (0x38 0x32c52c (nil) 0x32c554) returning a dummy value (current locale)
0009:fixme:nls:GetThreadPreferredUILanguages 00000038, 0x32c52c, 0x23319b0 0x32c554
0009:fixme:nls:get_dummy_preferred_ui_language (0x38 0x32c52c 0x23319b0 0x32c554) returning a dummy value (current locale)
0009:fixme:win:EnumDisplayDevicesW ((null),0,0x32f5a4,0x00000000), stub!
0009:fixme:win:EnumDisplayDevicesW ((null),1,0x32f5a4,0x00000000), stub!
0009:fixme:win:EnumDisplayDevicesW ((null),0,0x32e764,0x00000000), 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:  155 (GLX)
  Minor opcode of failed request:  3 (X_GLXCreateContext)
  Value in failed request:  0x0
  Serial number of failed request:  354
  Current serial number in output stream:  358
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.
Mark Phelps
Level 7
Level 7
Posts: 1869
Joined: Mon Jun 10, 2013 4:39 pm

Re: [Wine] Can't open any program.

Post by Mark Phelps »

You didn't say, but are you trying to open apps that are installed in a Windows partition?

If so, you can't do that with Wine.
User avatar
Flemur
Level 20
Level 20
Posts: 10096
Joined: Mon Aug 20, 2012 9:41 pm
Location: Potemkin Village

Re: [Wine] Can't open any program.

Post by Flemur »

Arthie wrote: Tue Apr 09, 2019 10:36 am Well, since i've installed wine i cant open any aplication with it, i realy need help!
Which programs other than P.O.exe don't work? Does P.O.exe use HW graphics acceleration?

What does

Code: Select all

wine notepad 
say and do?
There is the log
[clip the warnings]
libGL error: failed to load driver: swrast
X Error of failed request: BadValue (integer parameter out of range for operation)
After a wine update I was getting that with Manjaro but not Ubuntu - and only on Photosop12. Fixed it on Manjaro by installing "winetricks" which brought in some libGL stuff.

Check your program's requirements here:
https://appdb.winehq.org/
Please edit your original post title to include [SOLVED] if/when it is solved!
Your data and OS are backed up....right?
Lord Boltar

Re: [Wine] Can't open any program.

Post by Lord Boltar »

Might want to have a look here about the PO.exe file

https://www.virustotal.com/en/file/4c23 ... 533887197/

are you running a cracked exe for Pokemon?
phd21
Level 20
Level 20
Posts: 10104
Joined: Thu Jan 09, 2014 9:42 pm
Location: Florida

Re: [Wine] Can't open any program.

Post by phd21 »

Hi Arthie,

Welcome to the wonderful world of Linux Mint and its excellent forum!

I just read your post and the good replies to it. Here are my thoughts on this as well.

It would help to know more about your system setup. If you run "inxi -Fxzd" and "lsusb" from the console terminal prompt, highlight the results, copy and paste them back here, that should provide enough information.

Normally, you would install a MS Windows application using their installer into Wine or Play On Linux. Exactly, which Pokemon game are you trying to play as there seems to be a lot of them? Can you provide a link to where you downloaded it from?

Hope this helps ...
Phd21: Mint 20 Cinnamon & KDE Neon 64-bit Awesome OS's, Dell Inspiron I5 7000 (7573, quad core i5-8250U ) 2 in 1 touch screen
Arthie

Re: [Wine] Can't open any program.

Post by Arthie »

Mark Phelps wrote: Tue Apr 09, 2019 11:38 am You didn't say, but are you trying to open apps that are installed in a Windows partition?

If so, you can't do that with Wine.
Oh, I didn't knew about this! Should i emulate the instalation with PlayOnLinux on my Mint?
Arthie

Re: [Wine] Can't open any program.

Post by Arthie »

Flemur wrote: Tue Apr 09, 2019 11:56 am
Arthie wrote: Tue Apr 09, 2019 10:36 am Well, since i've installed wine i cant open any aplication with it, i realy need help!
Which programs other than P.O.exe don't work? Does P.O.exe use HW graphics acceleration?

What does

Code: Select all

wine notepad 
say and do?
There is the log
[clip the warnings]
libGL error: failed to load driver: swrast
X Error of failed request: BadValue (integer parameter out of range for operation)
After a wine update I was getting that with Manjaro but not Ubuntu - and only on Photosop12. Fixed it on Manjaro by installing "winetricks" which brought in some libGL stuff.

Check your program's requirements here:
https://appdb.winehq.org/
Wine notepad is working, opened notepad!
I'll try install again the Pokemon, aand it is a Tibia mod! Some programs Like Risk of Rain and Hero Siege doesn't open, But Astroneer do.
and i will try instal winetricks too!
Arthie

Re: [Wine] Can't open any program.

Post by Arthie »

phd21 wrote: Tue Apr 09, 2019 12:58 pm Hi Arthie,

Welcome to the wonderful world of Linux Mint and its excellent forum!

I just read your post and the good replies to it. Here are my thoughts on this as well.

It would help to know more about your system setup. If you run "inxi -Fxzd" and "lsusb" from the console terminal prompt, highlight the results, copy and paste them back here, that should provide enough information.

Normally, you would install a MS Windows application using their installer into Wine or Play On Linux. Exactly, which Pokemon game are you trying to play as there seems to be a lot of them? Can you provide a link to where you downloaded it from?

Hope this helps ...
Thanks for Reply! There is some informations from inxi -Fxzd:

Code: Select all

System:
  Host: Caverna Kernel: 4.15.0-47-generic x86_64 bits: 64 compiler: gcc 
  v: 7.3.0 Desktop: Xfce 4.12.3 Distro: Linux Mint 19.1 Tessa 
  base: Ubuntu 18.04 bionic 
Machine:
  Type: Desktop Mobo: Gigabyte model: H81M-S1 v: x.x serial: <filter> 
  UEFI: American Megatrends v: FE date: 04/18/2014 
CPU:
  Topology: Quad Core model: Intel Core i7-4770S bits: 64 type: MT MCP 
  arch: Haswell rev: 3 L2 cache: 8192 KiB 
  flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 49490 
  Speed: 1864 MHz min/max: 800/3900 MHz Core speeds (MHz): 1: 1613 2: 1583 
  3: 1708 4: 1557 5: 1747 6: 1640 7: 1666 8: 1653 
Graphics:
  Device-1: Intel Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics 
  vendor: Gigabyte driver: i915 v: kernel bus ID: 00:02.0 
  Device-2: NVIDIA GM206 [GeForce GTX 960] vendor: eVga.com. driver: nvidia 
  v: 418.56 bus ID: 01:00.0 
  Display: x11 server: X.Org 1.19.6 driver: modesetting,nvidia 
  unloaded: fbdev,nouveau,vesa resolution: 1024x768~60Hz, 1600x900~60Hz 
  OpenGL: renderer: GeForce GTX 960/PCIe/SSE2 v: 4.6.0 NVIDIA 418.56 
  direct render: Yes 
Audio:
  Device-1: Intel Xeon E3-1200 v3/4th Gen Core Processor HD Audio 
  driver: snd_hda_intel v: kernel bus ID: 00:03.0 
  Device-2: Intel 8 Series/C220 Series High Definition Audio 
  vendor: Gigabyte driver: snd_hda_intel v: kernel bus ID: 00:1b.0 
  Device-3: NVIDIA vendor: eVga.com. driver: snd_hda_intel v: kernel 
  bus ID: 01:00.1 
  Device-4: Generalplus type: USB driver: hid-generic,snd-usb-audio,usbhid 
  bus ID: 3-5:4 
  Sound Server: ALSA v: k4.15.0-47-generic 
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet 
  vendor: Gigabyte driver: r8169 v: 2.3LK-NAPI port: d000 bus ID: 03:00.0 
  IF: enp3s0 state: up speed: 100 Mbps duplex: full mac: <filter> 
Drives:
  Local Storage: total: 931.51 GiB used: 625.90 GiB (67.2%) 
  ID-1: /dev/sda vendor: Seagate model: ST1000DM003-1CH162 size: 931.51 GiB 
  Optical-1: /dev/sr0 vendor: HL-DT-ST model: DVD-RAM GHB0N rev: JE00 
  dev-links: cdrom,cdrw,dvd,dvdrw 
  Features: speed: 8 multisession: yes audio: yes dvd: yes 
  rw: cd-r,cd-rw,dvd-r,dvd-ram state: running 
Partition:
  ID-1: / size: 138.34 GiB used: 50.48 GiB (36.5%) fs: ext4 dev: /dev/sda6 
  ID-2: swap-1 size: 8.44 GiB used: 268 KiB (0.0%) fs: swap dev: /dev/sda7 
Sensors:
  System Temperatures: cpu: 60.0 C mobo: 27.8 C gpu: nvidia temp: 63 C 
  Fan Speeds (RPM): N/A gpu: nvidia fan: 17% 
Info:
  Processes: 247 Uptime: 10h 48m Memory: 7.68 GiB used: 4.54 GiB (59.1%) 
  Init: systemd runlevel: 5 Compilers: gcc: 7.3.0 Shell: bash v: 4.4.19 
  inxi: 3.0.27 
and from lsusb:

Code: Select all

Bus 002 Device 002: ID 8087:8000 Intel Corp. 
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:8008 Intel Corp. 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 004: ID 1b3f:2008 Generalplus Technology Inc. 
Bus 003 Device 003: ID 275d:0a29  
Bus 003 Device 002: ID 258a:0016  
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Last edited by karlchen on Wed Apr 10, 2019 6:07 pm, edited 1 time in total.
Reason: replaced quote tags by code tags where appropriate
Arthie

Re: [Wine] Can't open any program.

Post by Arthie »

Mark Phelps wrote: Tue Apr 09, 2019 11:38 am You didn't say, but are you trying to open apps that are installed in a Windows partition?

If so, you can't do that with Wine.
Well, i can play some games from my Windows Partition, like Astroneer. But i will try install on mint system!
Arthie

Re: [Wine] Can't open any program.

Post by Arthie »

Flemur wrote: Tue Apr 09, 2019 11:56 am
Arthie wrote: Tue Apr 09, 2019 10:36 am Well, since i've installed wine i cant open any aplication with it, i realy need help!
Which programs other than P.O.exe don't work? Does P.O.exe use HW graphics acceleration?

What does

Code: Select all

wine notepad 
say and do?
There is the log
[clip the warnings]
libGL error: failed to load driver: swrast
X Error of failed request: BadValue (integer parameter out of range for operation)
After a wine update I was getting that with Manjaro but not Ubuntu - and only on Photosop12. Fixed it on Manjaro by installing "winetricks" which brought in some libGL stuff.

Check your program's requirements here:
https://appdb.winehq.org/
how can I get those libGL Stuff with winetricks?
phd21
Level 20
Level 20
Posts: 10104
Joined: Thu Jan 09, 2014 9:42 pm
Location: Florida

Re: [Wine] Can't open any program.

Post by phd21 »

Hi Arthie,

I do not see anything wrong with the results of the "inxi -Fxzd" console terminal command, so that is a good thing.

Can you provide me a download link to this PokemonTibia mod?

How did you install Wine? What version of Wine are you using?

Code: Select all

wine --version
Ubuntu - WineHQ Wiki
https://wiki.winehq.org/Ubuntu

How to install Wine 4.0 on Ubuntu - TechRepublic
https://www.techrepublic.com/article/ho ... rivatives/
phd21 - Is this to play Pokemon online? wrote:
Pokémon Online Downloads | Pokémon Online
Linux - All Distributions - Requires libzip2 libqt5quickparticles5 libqt5declarative5 (qtdeclarative5) libqt5multimedia5
http://pokemon-online.eu/pages/download/


therubyproject/rubyclient: A free and open-source Pokémon MMORPG client written in C++ based on otclient.
https://github.com/therubyproject/rubyclient

Compiling on Linux · edubart/otclient Wiki
https://github.com/edubart/otclient/wik ... g-on-Linux
Hope this helps ...
Phd21: Mint 20 Cinnamon & KDE Neon 64-bit Awesome OS's, Dell Inspiron I5 7000 (7573, quad core i5-8250U ) 2 in 1 touch screen
User avatar
Flemur
Level 20
Level 20
Posts: 10096
Joined: Mon Aug 20, 2012 9:41 pm
Location: Potemkin Village

Re: [Wine] Can't open any program.

Post by Flemur »

Arthie wrote: Tue Apr 09, 2019 9:05 pm how can I get those libGL Stuff with winetricks?
I think it was more of a fluke and the problem didn't exist on ubuntu which seems to have an entirely different set of "libGL" stuff.
Please edit your original post title to include [SOLVED] if/when it is solved!
Your data and OS are backed up....right?
Lord Boltar

Re: [Wine] Can't open any program.

Post by Lord Boltar »

When you installed WINE did you enable the 32bit dependencies?
Arthie

Re: [Wine] Can't open any program.

Post by Arthie »

phd21 wrote: Tue Apr 09, 2019 9:39 pm Hi Arthie,

I do not see anything wrong with the results of the "inxi -Fxzd" console terminal command, so that is a good thing.

Can you provide me a download link to this PokemonTibia mod?

How did you install Wine? What version of Wine are you using?

Code: Select all

wine --version
Ubuntu - WineHQ Wiki
https://wiki.winehq.org/Ubuntu

How to install Wine 4.0 on Ubuntu - TechRepublic
https://www.techrepublic.com/article/ho ... rivatives/
phd21 - Is this to play Pokemon online? wrote:
Pokémon Online Downloads | Pokémon Online
Linux - All Distributions - Requires libzip2 libqt5quickparticles5 libqt5declarative5 (qtdeclarative5) libqt5multimedia5
http://pokemon-online.eu/pages/download/


therubyproject/rubyclient: A free and open-source Pokémon MMORPG client written in C++ based on otclient.
https://github.com/therubyproject/rubyclient

Compiling on Linux · edubart/otclient Wiki
https://github.com/edubart/otclient/wik ... g-on-Linux
Hope this helps ...
There is the link for PokeTibia Mod: http://www.pokemon-miw.com/
I'll check my mint version and i'll reply your comment!
.
Arthie

Re: [Wine] Can't open any program.

Post by Arthie »

Lord Boltar wrote: Wed Apr 10, 2019 3:28 pm When you installed WINE did you enable the 32bit dependencies?
How can i check this?
Lord Boltar

Re: [Wine] Can't open any program.

Post by Lord Boltar »

How to Install WINE 4.0 stable from the terminal on Ubuntu based systems

If your system is 64 bit, you first need to enable the 32 bit architecture - run

Code: Select all

sudo dpkg --add-architecture i386
Next we need to add the repository and get the WINE Public key - run the following

Code: Select all

 wget -nc https://dl.winehq.org/wine-builds/winehq.key

Code: Select all

 sudo apt-key add winehq.key

Code: Select all

 sudo apt-add-repository https://dl.winehq.org/wine-builds/ubuntu/

Code: Select all

sudo apt-get update
Now you are ready to install - run

Code: Select all

sudo apt-get install --install-recommends winehq-stable
After it has finished installing we need to configure WINE - run -

Code: Select all

winecfg
This will install Wine Grecko and Wine Mono after this is done you are now finished with the installation. Only one last thing to do you will need to associate the ".exe" file extension to the WINE installer - simply right click the ".exe" file and select Properties, now select the "Open With" drop down tab and select "Wine Windows Program Loader"
Arthie

Re: [Wine] Can't open any program.

Post by Arthie »

Followed all the steps and here is what happen when i try play from Terminal:
wine P.OTC_OpenGL.exe
0012:fixme:heap:RtlSetHeapInformation (nil) 1 (nil) 0 stub
0012:fixme:heap:RtlSetHeapInformation (nil) 1 (nil) 0 stub
0019:fixme:process:SetProcessShutdownParameters (00000380, 00000000): partial stub.
001c:fixme:heap:RtlSetHeapInformation 0x350000 0 0x23e830 4 stub
001c:fixme:heap:RtlSetHeapInformation (nil) 1 (nil) 0 stub
0022:fixme:process:SetProcessShutdownParameters (00000380, 00000000): partial stub.
0009:fixme:thread:GetThreadUILanguage : stub, returning default language.
0009:fixme:nls:GetThreadPreferredUILanguages 00000038, 0xbcc52c, (nil) 0xbcc554
0009:fixme:nls:get_dummy_preferred_ui_language (0x38 0xbcc52c (nil) 0xbcc554) returning a dummy value (current locale)
0009:fixme:nls:GetThreadPreferredUILanguages 00000038, 0xbcc52c, 0x1163350 0xbcc554
0009:fixme:nls:get_dummy_preferred_ui_language (0x38 0xbcc52c 0x1163350 0xbcc554) returning a dummy value (current locale)
0009:fixme:advapi:LsaOpenPolicy ((null),0xbce760,0x00000001,0xbce758) stub
0009:fixme:advapi:LsaClose (0xcafe) 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: 155 (GLX)
Minor opcode of failed request: 3 (X_GLXCreateContext)
Value in failed request: 0x0
Serial number of failed request: 270
Current serial number in output stream: 274
Running P.O from a Wine disk (c), tried OpenGL and DX9 Version and no sucess anyway :(
Lord Boltar

Re: [Wine] Can't open any program.

Post by Lord Boltar »

Seems there was an issue with your OpenGL drivers. To solve the issue, run the following command to check out where your libraries were pointing to:

Code: Select all

ldconfig -p | grep libGL.so.1
post back your output

should look similar to this

libGL.so.1 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libGL.so.1
libGL.so.1 (libc6) => /usr/lib/i386-linux-gnu/libGL.so.1

I have a feeling the second line may be pointing to a mesa driver
Arthie

Re: [Wine] Can't open any program.

Post by Arthie »

Lord Boltar wrote: Fri Apr 12, 2019 10:38 pm Seems there was an issue with your OpenGL drivers. To solve the issue, run the following command to check out where your libraries were pointing to:

Code: Select all

ldconfig -p | grep libGL.so.1
post back your output

should look similar to this

libGL.so.1 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libGL.so.1
libGL.so.1 (libc6) => /usr/lib/i386-linux-gnu/libGL.so.1

I have a feeling the second line may be pointing to a mesa driver
There is:
libGL.so.1 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libGL.so.1
libGL.so.1 (libc6) => /usr/lib/i386-linux-gnu/libGL.so.1
Lord Boltar

Re: [Wine] Can't open any program.

Post by Lord Boltar »

Well your output is good have you tried to run in not using the terminal?
Locked

Return to “Software & Applications”