Opened 16 months ago

Closed 16 months ago

Last modified 4 months ago

#10312 closed defect (fixed)

WIN: "WARNING: unknown gfx mode -1!"

Reported by: rootfather Owned by: csnover
Priority: normal Component: Port: Win32
Keywords: Cc:
Game:

Description

OS: Windows 10
ScummVM revision: current master

Starting with 6e157429b7a5a64af6265d075c88595df2d6fd79, I receive the following warning when starting ScummVM with a default (or without) scummvm.ini file. I couldn't figure out any effects besides displaying this warning.

[2017-11-02 15:16:08] ScummVM 1.10.0git18521-g6e157429b7 (Nov  2 2017 15:15:55)
[2017-11-02 15:16:08] Vorbis FLAC RGB zLib Theora FreeType2 JPEG PNG cloud (servers) 
[2017-11-02 15:16:08] --- Log opened.
[2017-11-02 15:16:08] Using SDL Video Driver "windows"
[2017-11-02 15:16:08] Using SDL Audio Driver "wasapi"
[2017-11-02 15:16:08] SDL mixer sound format: 33056 differs from desired: 32784
[2017-11-02 15:16:08] Output sample rate: 44100 Hz
[2017-11-02 15:16:08] Output buffer size: 1024 samples
[2017-11-02 15:16:08] WARNING: unknown gfx mode -1!
*snip*

Change History (7)

comment:1 Changed 16 months ago by macca8

I get the same warning message with Mac OS X daily build 1.10.0git5294-g3f42f21 (3 Nov 2017) on OS X 10.6.8 & 10.11.6.
Except for using Fullscreen mode, I'm using standard ScummVM defaults (which includes a GFX mode of "default").
It appears to be written to the log on each occasion that the Launcher is displayed (which includes startup & when returning from a game).

comment:2 Changed 16 months ago by csnover

Owner: set to csnover

comment:3 Changed 16 months ago by csnover

Resolution: fixed
Status: newclosed

Thanks for your report! A patch for this issue has been added in commit 8e8ec3900c90fc9e18571df84c5e9e754479052b and will be available in daily builds 1.10.0git-5301 and later.

comment:4 Changed 16 months ago by rootfather

Thanks! Fix confirmed.

comment:5 Changed 16 months ago by macca8

Just confirming that the fix also works in Mac OS X.

I note that part of your fix includes: name == "default", as I've quoted above.
For the sake of accuracy, the correct text entry that I should have reported is actually "<default>", though it doesn't appear to have mattered here.

comment:6 Changed 16 months ago by csnover

The label used in the UI is localised and does not match the strings used internally for representing graphics modes.

comment:7 Changed 4 months ago by digitall

Component: PortsPort: Win32
Note: See TracTickets for help on using tickets.