Strange shader manager problem

Support and general discussion.
Post Reply
User avatar
resle
Posts: 46
Joined: Mon 23 Feb, 2015 8:00 am

Strange shader manager problem

Post by resle » Sat 17 Feb, 2018 1:05 pm

A picture, first:
The attachment shader_1.JPG is no longer available
The shader manager became nonfunctional, presenting all variables as an unchangeable series of -0.0 values.
It doesn't matter what shader it is. Any shader I add and try to configure, on any machine I pick, seems to have the same issue.

I suspect it's something that hasn't really to do with the shaders, but rather with... widgets? As a fewtimes, trying repeatedly to edit the values, PCem crashed with errors concerning WX[something].dll but I have been unable to capture the dialog before the application closed completely.

Attaching configs as usual albeit I doubt there's any anomaly to observe within.
Attachments
shader_1.JPG
shader_1.JPG (75.29 KiB) Viewed 756 times

User avatar
resle
Posts: 46
Joined: Mon 23 Feb, 2015 8:00 am

Re: Strange shader manager problem

Post by resle » Sun 18 Feb, 2018 5:07 am

Fresh installation, same problem.

I am running PCem on Windows 10 x64:
Does PCem create any folder anywhere that could require cleanup? I couldn't find anything in the usual places such as user profile's roaming data, c:\programdata and so forth.

Alternatively, could this depend on anything having changed with the most recent Windows build?

User avatar
resle
Posts: 46
Joined: Mon 23 Feb, 2015 8:00 am

Re: Strange shader manager problem

Post by resle » Mon 19 Feb, 2018 7:30 am

I am at a loss: fresh install, different machine, and still the shader manager is nonfunctional like in the screenshot above.
Windows 10 build 17074 - I don't have a machine with an earlier build at hand, unfortunately. I have several VMs but none support Opengl 3.0.

Let me restate it for maximum clarity:
- PCem 13.1, Windows 10 x64
- Fresh install
- it happens regardless of what shader is used, I even tried with a very basic one I wrote myself on the fly
- it happens regardless of the machine's configuration (created a few from scratch)

I am puzzled that no one has stumbled into the same issue yet.

User avatar
kleptonin
Posts: 1
Joined: Wed 25 Apr, 2018 9:18 pm

Re: Strange shader manager problem

Post by kleptonin » Fri 27 Apr, 2018 9:14 pm

I have also come across this problem, after updating PCem from v13.1 to v14. Loading in a GLSL shader works okay, but trying to change any of the parameters results in the value being immediately changed to -0.00 in the interface, and trying to apply any changes results in a black image (I assume because any brightness/contrast/gamma values are set too low to show an image).

User avatar
resle
Posts: 46
Joined: Mon 23 Feb, 2015 8:00 am

Re: Strange shader manager problem

Post by resle » Sat 12 May, 2018 1:15 am

I just updated to v14, and I keep having the same problem.

Since setting the parameters manually (editing config files) works, I'd guess it's a problem of whatever controls/widgets are used for the UI.
Or, perhaps, a combination of those and what Windows version is in use (the problem for me happened immediately after a major Windows 10 feature update).

I tried going back to earlier pcEm versions, removing all roms, all shaders, even restoring previous gpu drivers, all to no effect.

User avatar
leilei
Posts: 537
Joined: Fri 25 Apr, 2014 4:47 pm

Re: Strange shader manager problem

Post by leilei » Sat 12 May, 2018 10:48 am

Oddly I get this bug with the release build from the site, but not in a self-made wx 3.0 gcc 4.7.2 build from the current revision. :S

User avatar
resle
Posts: 46
Joined: Mon 23 Feb, 2015 8:00 am

Re: Strange shader manager problem

Post by resle » Wed 16 May, 2018 12:05 am

leilei wrote:
Sat 12 May, 2018 10:48 am
Oddly I get this bug with the release build from the site, but not in a self-made wx 3.0 gcc 4.7.2 build from the current revision. :S
@Sarah: would it be a problem if leilei privately shared the unofficial, custom build with me (provided he wants to) to check whether it solves the problem or not? Just to narrow down the potential origins of this issue.

User avatar
SarahWalker
Site Admin
Posts: 1529
Joined: Thu 24 Apr, 2014 4:18 pm

Re: Strange shader manager problem

Post by SarahWalker » Wed 16 May, 2018 4:49 pm

Of course not! My request for not sharing development builds was _public_ distribution, not private.

User avatar
leilei
Posts: 537
Joined: Fri 25 Apr, 2014 4:47 pm

Re: Strange shader manager problem

Post by leilei » Thu 17 May, 2018 1:59 am

I'm not feeling up to giving out EXEs anyway. It'd have some of my hacky stuff applied to it and be nowhere as optimized, and I have a feeling if I do, i'll have to make a huge zip with all the dependencies...

JosepMa
Posts: 113
Joined: Tue 20 Jun, 2017 6:25 pm

Re: Strange shader manager problem

Post by JosepMa » Thu 17 May, 2018 6:45 pm

I wonder if all is caused by the use of wx 3.1 in Sarah's build (at least it was 3.1 on previous releases. now it's hard to tell since it's statically linked).

The stable version is still 3.0, although the development has gone on for some time. It might even be some small incompatibility between those versions.

Post Reply