Wine is kinda messed up

Questions about Wine on Linux
Locked
PizzaRolls
Newbie
Newbie
Posts: 2
Joined: Sat Dec 04, 2021 4:16 pm

Wine is kinda messed up

Post by PizzaRolls »

I recently removed .wine from my home folder to get space to install Portal 2, then I realized i can install the game on another partition and so I did sudo apt install wine to get it back it didnt work. Then I tried sudo apt remove wine to remove it and sudo apt install wine to get it back and now it shows the error:
Initialize engine version: 5.3.5f1 (960ebf59018a)
GfxDevice: creating device client; threaded=1
X Error of failed request: GLXBadFBConfig
Major opcode of failed request: 153 (GLX)
Minor opcode of failed request: 0 ()
Serial number of failed request: 228
Current serial number in output stream: 228

wine version: wine-5.0 (Ubuntu 5.0-3ubuntu1
Ebiko
Level 1
Level 1
Posts: 9
Joined: Fri Dec 03, 2021 8:30 am

Re: Wine is kinda messed up

Post by Ebiko »

And that is exactly the reason why using wine prefixes is recommended.

Try purging Everything wine related. Not only removing it.

sudo apt remove --purge wine*
spoon0042
Level 6
Level 6
Posts: 572
Joined: Thu Dec 24, 2009 11:00 am

Re: Wine is kinda messed up

Post by spoon0042 »

You can try either or both of:

1. Upgrading wine, 5.0 is like two years old and 6.23 is the current 'devel' release. Instruction for Ubuntu are here: https://wiki.winehq.org/Ubuntu

2. Trying the workaround for the same or similar error from this thread: viewtopic.php?f=8&t=34889
... which is to set the environment variable MESA_GL_VERSION_OVERRIDE=4.5
PizzaRolls
Newbie
Newbie
Posts: 2
Joined: Sat Dec 04, 2021 4:16 pm

Re: Wine is kinda messed up

Post by PizzaRolls »

Ebiko wrote: Wed Dec 08, 2021 3:47 am And that is exactly the reason why using wine prefixes is recommended.

Try purging Everything wine related. Not only removing it.

sudo apt remove --purge wine*
i did that too
Locked