Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
invictius

Why does gzdoom list multiple identical resolutions?

Recommended Posts

E.g 1280 and 1920 are each listed three times - are they actually 8, 16 and 32 bit colour modes or something?

Share this post


Link to post

To be honest, I never checked what is happening here. That code was inherited as-is from ZDoomGL, it's probably some bug in there.

Share this post


Link to post

I saw that bug in Chocolate-Setup. It uses SDL to detect the screen resolution. It may have something to do with the graphics driver not being installed.

Share this post


Link to post
axdoom1 said:

I saw that bug in Chocolate-Setup. It uses SDL to detect the screen resolution. It may have something to do with the graphics driver not being installed.


I don't think that's the case, it's happened on every video card I've owned since 2009.

Share this post


Link to post
invictius said:

I don't think that's the case, it's happened on every video card I've owned since 2009.

Have you installed your manufacturer's driver for each cards?

Share this post


Link to post
axdoom1 said:

Have you installed your manufacturer's driver for each cards?



It has nothing to do with the drivers, you can stop that.

Share this post


Link to post

^ If you're sure it's a bug in the code, then that's fine. Every time a saw a bug like this was because of the drivers.

Share this post


Link to post
axdoom1 said:

^ If you're sure it's a bug in the code, then that's fine. Every time a saw a bug like this was because of the drivers.


It's not because of drivers. I get the same thing, and I know for sure that I have my drivers installed. It's been happening for a while now too.

Share this post


Link to post

I had a look today, it was just a stupid bug in the function that collected the resolutions. As I said, I didn't write it myself, so I have no idea where the idea came from, but it just assumed that identical resolutions are sorted by display frequency in ascending order. But that's not the case - on my system it often had 60 Hz first and 59 Hz second, no idea what the point is - and these duplicates were not filtered out.

Will be fixed in the next dev build.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×