Viewing Issue Advanced Details
|ID||Category [?]||Severity [?]||Reproducibility||Date Submitted||Last Update|
|06510||Graphics||Major||Always||Feb 23, 2017, 22:31||15 days ago|
|Assigned To||Resolution||Open||OS||Linux (32-bit)|
|Version||0.183||Fixed in Version||Build||Normal|
|Summary||06510: SDL2: -screen option not working for first display (of two)|
Hardware setup is dual monitor - Mame is directed to either monitor.
numscreens is set to 1 (Multiple outputs is not the objective).
When directed to the second monitor, Everything is working as expected - The display appears on the second monitor.
When directed to the first monitor, The display appears "On the monitor the mouse is located".
This behaviour also occurs when -screen option is set to default "auto"
Using -screen or -screen0 produces the same result.
Using fullscreen or window produces the same result.
|Steps To Reproduce||
To send display output to first LCD monitor (Not working as expected)
./sdlmame.0183.Mainline -window -screen screen0
To send display output to second LCD monitor (Working as expected)
./sdlmame.0183.Mainline -window -screen screen1
There is no warning if an invalid target screen is used.
./sdlmame.0183.Mainline -window -screen RndTxtNo warning is given that display "RndTxt" does not exist.
|Affected Sets / Systems||SDL2|
|There are no relationsihp linked to this issue.|
Feb 24, 2017, 21:50
Using SDLMAME 0.183 with Linux Mint 18.1, kernel 4.8 and NVIDIA proprietary drivers, I've confirmed that an invalid target screen does not throw an exception as it should.
I was unable to reproduce the screen0 issue. That doesn't mean it doesn't exist; however I can't extend displays under my current setup, only mirror them, so I can't say for sure.
Mar 6, 2017, 04:54
|Can anyone else using SDLMAME on Linux repo this?|
15 days ago
I thought I'd revisit this issue, And after some testing - Can be considered RESOLVED.
Since this bug was reported there has been a OS update (Debian 8 ---> Debian 9).
Using the same revision of Mame the issue was reported from no longer exhibits the same behaviour.
The correct behaviour occurs when using either window or fullscreen mode.
However no warning is issued if an invalid screen name is used as previously mentioned by shoegzer.
15 days ago
edited on: 15 days ago
This is a separate issue - But related.
Mame is lacking the ability to associate system reported displays with screens available.
List the display devices.
xrandr |grep connected
There is no way to tell Mame directly to use a specific video output - Even a disconnected one.
Mame lists connected video output devices and assigns "screenX" for reference.
ie. There is no association between "DVI-I-1" and "screen0".
Setting SDL videodriver 'x11' ...