QPC on Linux -- suddenly stops working

Discussion and advice about emulating the QL on other machines.
Post Reply
User avatar
NormanDunbar
Forum Moderator
Posts: 2251
Joined: Tue Dec 14, 2010 9:04 am
Location: Leeds, West Yorkshire, UK
Contact:

QPC on Linux -- suddenly stops working

Post by NormanDunbar »

Oh hum, this happened today when starting QPC5v00 on Linux under Wine:


The solution is to add this bit to the command line:

Code: Select all

MESA_GL_VERSION_OVERRIDE=4.6
On my command line, I now have this:

Code: Select all

env WINEPREFIX="/home/norman/.wine" MESA_GL_VERSION_OVERRIDE=4.6 wine C:\\Program\ Files\ \(x86\)\\QPC5v00\\QPC2.exe 
And QPC now works fine again. I have not updated OpenGL or Wine -- at least that I'm aware of, but I did have a new kernel update since I last used QPC. Hopefully, this will help anyone else (Derek?) suffering the same problem.

In case it makes a difference, I'm on:

64 bit Linux Mint 20.1 Ulyssa
Linux hubble 5.4.0-80-generic #90-Ubuntu SMP Fri Jul 9 22:49:44 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

Wine is version "wine-5.0 (Ubuntu 5.0-3ubuntu1)"

Code: Select all

glxinfo -B
gives this:

Code: Select all

name of display: :0
display: :0  screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
    Vendor: nouveau (0x10de)
    Device: NV96 (0x648)
    Version: 21.0.3
    Accelerated: yes
    Video memory: 501MB
    Unified memory: no
    Preferred profile: core (0x1)
    Max core profile version: 3.3
    Max compat profile version: 3.3
    Max GLES1 profile version: 1.1
    Max GLES[23] profile version: 3.0
OpenGL vendor string: nouveau
OpenGL renderer string: NV96
OpenGL core profile version string: 3.3 (Core Profile) Mesa 21.0.3
OpenGL core profile shading language version string: 3.30
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile

OpenGL version string: 3.3 (Compatibility Profile) Mesa 21.0.3
OpenGL shading language version string: 3.30
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile

OpenGL ES profile version string: OpenGL ES 3.0 Mesa 21.0.3
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.00
And the fix came from here: https://www.reddit.com/r/linux_gaming/c ... fig_after/


Cheers,
Norm.


Why do they put lightning conductors on churches?
Author of Arduino Software Internals
Author of Arduino Interrupts

No longer on Twitter, find me on https://mastodon.scot/@NormanDunbar.
Derek_Stewart
Font of All Knowledge
Posts: 3928
Joined: Mon Dec 20, 2010 11:40 am
Location: Sunny Runcorn, Cheshire, UK

Re: QPC on Linux -- suddenly stops working

Post by Derek_Stewart »

HI,

I use Mint 19.3, the stock Wine version is v3.60.

But I added the PPA foe WineHQ and installed Wine v6.01

I do not appear to have the problem you describe., but I will monitor the situation


Regards,

Derek
User avatar
NormanDunbar
Forum Moderator
Posts: 2251
Joined: Tue Dec 14, 2010 9:04 am
Location: Leeds, West Yorkshire, UK
Contact:

Re: QPC on Linux -- suddenly stops working

Post by NormanDunbar »

Cheers Derek. I didn't have the problem either last week. Today, I did. I'll probably give Wine 6.xx a try when I can fit things in around the new puppy.

Cheers,
Norm


Why do they put lightning conductors on churches?
Author of Arduino Software Internals
Author of Arduino Interrupts

No longer on Twitter, find me on https://mastodon.scot/@NormanDunbar.
Post Reply