Having issues since SR2 on some vertical games on my D9200 monitor (linux)
Here is the log from sinistar for example:
Working switchres v0.017s from GM 0.226
SwitchRes: v0.017s, Monitor: custom, Orientation: horizontal, Modeline generation: enabled SwitchRes: Monitor range 15250.00-18000.00,49.00-61.00,2.187,4.688,6.719,0.190,0.191,1.018,0,0,224,288,448,576 SwitchRes: Monitor range 20000.00-21500.00,49.00-61.00,2.910,3.000,4.440,0.451,0.164,1.048,0,0,320,360,0,0 SwitchRes: Monitor range 23900.00-29000.00,49.00-61.00,2.910,3.000,4.440,0.451,0.164,1.048,0,0,384,400,0,0 SwitchRes: Monitor range 29001.00-32000.00,49.00-61.00,0.636,3.813,1.906,0.318,0.064,1.048,0,0,400,512,0,0 SwitchRes: Monitor range 32000.00-35000.00,49.00-61.00,1.000,3.200,2.200,0.020,0.106,0.607,0,0,512,600,0,0 SwitchRes: xrandr version 1.6 SwitchRes: Found output connector 'VGA-0'
SwitchRes: Entering switchres_modeline_setup
SwitchRes: v0.017s:[sinistar] Calculating best video mode for 240x292@60.096153 orientation: rotated
SwitchRes: ( 1)x( 1)_(60=60.000000Hz)
rng(0): 728 x 544_60.096153i 17.878606 [fract] scale(2, 1, 1) diff(17.22, 0.00, 0.0000) ratio(3.033, 1.863)
rng(1): 432 x 320_60.096153p 21.394231 [fract] scale(1, 1, 1) diff(1.23, 0.00, 0.0000) ratio(1.800, 1.096)
rng(2): 536 x 400_60.096153p 26.682692 [fract] scale(1, 1, 1) diff(20.40, 0.00, 0.0000) ratio(2.233, 1.370)
rng(3): 640 x 480_60.096153p 31.550480 [fract] scale(1, 1, 1) diff(33.33, 0.00, 0.0000) ratio(2.667, 1.644)
rng(4): 736 x 552_60.096153p 34.675480 [fract] scale(2, 1, 1) diff(15.94, 36.07, 0.0000) ratio(3.067, 1.890)
SwitchRes: [sinistar] (1) vertical (240x292@60.096153)->(736x552@60.096153)
rng(4): 736 x 552_60.096153p 34.675480 [fract] scale(2, 1, 1) diff(15.94, 36.07, 0.0000) ratio(3.067, 1.890)
SwitchRes: Modeline "736x552_60 34.675480KHz 60.096153Hz" 32.733652 736 768 872 944 552 553 557 577 -hsync -vsync
Switchres: CRTC 0: mode 0x57, 648x480+0+0.
Switchres: xrandr change screen size.
Switchres: xrandr mode (GM-736x552_60.096153) (0x6fe) 32.733652MHz
SwitchRes: Setting option -rotate
SwitchRes: Setting option -noror
SwitchRes: Setting option -noautoror
SwitchRes: Setting option -norol
SwitchRes: Setting option -noautorol
SwitchRes: Setting option -keepaspect
SwitchRes: Setting option -unevenstretch
SwitchRes: Setting option -nounevenstretchx
SwitchRes: Setting option -noblack_frame_insertion
SwitchRes: Setting option -syncrefresh
SwitchRes: Setting option -waitvsync
SwitchRes: Setting option -filter
Available videodrivers: x11 wayland KMSDRM dummy
Current Videodriver: x11
Display #0
Renderdrivers:
opengl (0x0)
opengles2 (0x0)
software (0x0)
....
Adding monitor screen0 (736 x 552)
....
And the broken for me SR2.0 from GM 0.227 (same results on 0.228)
the screen locks up mostly black with a few lines of graphics on the top and requires switching consoles to reset monitor.
Available videodrivers: x11 wayland KMSDRM dummy
Current Videodriver: x11
Display #0
Renderdrivers:
opengl (0x0)
opengles2 (0x0)
software (0x0)
...
Enter init_monitors
Adding monitor screen0 (648 x 480)
Leave init_monitors
...
Switchres(v2.00) display[0]: monitor[custom] generation[on]
Switchres: Monitor range 15250.00-18000.00,49.00-61.00,2.187,4.688,6.719,0.190,0.191,1.018,0,0,224,288,448,576
Switchres: Monitor range 20000.00-21500.00,49.00-61.00,2.910,3.000,4.440,0.451,0.164,1.048,0,0,320,360,0,0
Switchres: Monitor range 23900.00-29000.00,49.00-61.00,2.910,3.000,4.440,0.451,0.164,1.048,0,0,384,400,0,0
Switchres: Monitor range 29001.00-32000.00,49.00-61.00,0.636,3.813,1.906,0.318,0.064,1.048,0,0,400,512,0,0
Switchres: Monitor range 32000.00-35000.00,49.00-61.00,1.000,3.200,2.200,0.020,0.106,0.607,0,0,512,600,0,0
XRANDR: <1> (xrandr_timing) creation (screen0)
XRANDR: <1> (xrandr_timing) checking X availability (early stub)
XRANDR: <1> (init) loading Xrandr library
XRANDR: <1> (init) loading X11 library
XRANDR: <1> (init) version 1.6
XRANDR: <1> (init) check screen number 0
XRANDR: <1> (init) check output connector 'HDMI-0' active 0 crtc 0
XRANDR: <1> (init) check output connector 'DVI-0' active 0 crtc 0
XRANDR: <1> (init) check output connector 'VGA-0' active 1 crtc 1 [SELECTED]
XRANDR: <1> (get_timing) mode 0057 648x480 refresh 60.000000 added
Switchres: [ 1] 648x 480 @ 60p* : XRANDR timing "648x480_60 31.500000KHz 60.000000Hz" 25.452000 648 664 760 808 480 490 492 525 -hsync -vsync
XRANDR: <1> (get_timing) mode 0058 640x480 refresh 60.000000 added
Switchres: [ 2] 640x 480 @ 60i : XRANDR timing "640x480_60i 15.750000KHz 60.000000Hz" 13.104000 640 664 728 832 480 484 490 525 interlace -hsync -vsync
Switchres: get_mode(0) 292 240 60.096154 1.333333
Switchres: Calculating best video mode for 292x240@60.096153 orientation: rotated
Switchres: [ 648]x[ 480]_[60=60.000000Hz]
rng(0): out of range
rng(1): out of range
rng(2): out of range
rng(3): 648 x 480_60.000000p 31.500000 [fract] scale(2, 1, 1) diff(31.69, 38.33, -0.0962) ratio(2.700, 1.622)
rng(4): out of range
Switchres: [ 640]x[ 480]_[60=60.000000Hz]
rng(0): 640 x 480_60.000000i 15.750000 [fract] scale(1, 1, 1) diff(33.33, 38.33, -0.0962) ratio(2.667, 1.622)
rng(1): out of range
rng(2): out of range
rng(3): out of range
rng(4): out of range
Switchres: ( 0)x( 0)_(0=0.000000Hz)
rng(0): 728 x 544_60.096153i 17.878606 [fract] scale(2, 1, 1) diff(17.22, 0.00, 0.0000) ratio(3.033, 1.838)
rng(1): 432 x 320_60.096153p 21.394231 [fract] scale(1, 1, 1) diff(1.23, 0.00, 0.0000) ratio(1.800, 1.081)
rng(2): 536 x 400_60.096153p 26.682692 [fract] scale(1, 1, 1) diff(20.40, 0.00, 0.0000) ratio(2.233, 1.351)
rng(3): 640 x 480_60.096153p 31.550480 [fract] scale(1, 1, 1) diff(33.33, 0.00, 0.0000) ratio(2.667, 1.622)
rng(4): 432 x 296_56.634304pd 35.000000 [integ] scale(1, 1, 1) diff(0.00, 0.00, -3.4618) ratio(1.800, 1.000)
Switchres: rotated (292x240@60.096153)->(432x296@56.634304)
rng(4): 432 x 296_56.634304pd 35.000000 [integ] scale(1, 1, 1) diff(0.00, 0.00, -3.4618) ratio(1.800, 1.000)
Switchres: Modeline "432x296_56 35.000000KHz 56.634304Hz" 19.460000 432 451 513 556 296 297 299 309 doublescan -hsync -vsync
XRANDR: <1> (add_mode) create mode SR-1_432x296@56.63
XRANDR: <1> (add_mode) mode 0707 432x296 refresh 56.634304 added
Switchres: added XRANDR timing "432x296_56 35.000000KHz 56.634304Hz" 19.460000 432 451 513 556 296 297 299 309 doublescan -hsync -vsync
XRANDR: <1> (set_timing) DISABLE crtc relocation
XRANDR: <1> (set_timing) crtc 0* [0057] 648x480+0+0 --> [0707] 432x296+0+0 flags [11]
XRANDR: <1> (set_timing) setting screen size to 432 x 296
SwitchRes: Setting option -keepaspect
SwitchRes: Setting option -nounevenstretch
SwitchRes: Setting option -nounevenstretchx
SwitchRes: Setting option -nowaitvsync
SwitchRes: Setting option -nosyncrefresh
Enter sdl_info::create
/dev/dri/card0 successfully opened
OpenGL: X.Org
OpenGL: AMD CEDAR (DRM 2.50.0 / 5.9.2-arch1-1-15khz, LLVM 10.0.1)
OpenGL: 3.1 Mesa 20.2.1
OpenGL: texture rectangle supported
OpenGL: non-power-of-2 textures supported (new method)
OpenGL: vertex buffer supported
OpenGL: pixel buffers supported
OpenGL: framebuffer object supported
OpenGL: GLSL supported, but disabled
OpenGL: max texture size 16384 x 16384
Leave renderer_ogl::create
...
Starting Sinistar (revision 3)
GL texture: copy 0, shader 0, dynamic 0, 292x240 292x240 [RGB32, Equal: 1, Palette: 0,
scale 1x1, border 0, pitch 512,292/16384], bytes/pix 4
GL texture: copy 0, shader 0, dynamic 0, 292x240 292x240 [RGB32, Equal: 1, Palette: 0,
scale 1x1, border 0, pitch 512,292/16384], bytes/pix 4
Average speed: 100.00% (2 seconds)
sdl_kill: closing audio
Enter sdlwindow_exit
Leave sdlwindow_exit
Switchres: exit
XRANDR: <1> (set_timing) DISABLE crtc relocation
XRANDR: <1> (set_timing) [WARNING] unexpected active modeline detected (last:[0707] now:[0057] 648x480+0+0 want:[0057])
XRANDR: <1> (set_timing) crtc 0* [0057] 648x480+0+0 flags [01]
XRANDR: <1> (set_timing) setting screen size to 648 x 480
XRANDR: <1> (delete_mode) remove mode SR-1_432x296@56.63
Switchres: success deleting mode XRANDR timing "432x296_56 35.000000KHz 56.634304Hz" 19.460000 432 451 513 556 296 297 299 309 doublescan -hsync -vsync
I'm sure it's some wrong or new setting I am missing or perhaps my modelines need fixing for 2.0
#
# OSD FULL SCREEN OPTIONS
#
switchres 1
switchres_backend auto
modesetting 1
modeline_generation 1
monitor custom
interlace 1
doublescan 1
super_width 2560
changeres 1
lock_system_modes 1 lock_unsupported_modes 1
refresh_dont_care 0
dotclock_min 0
v_shift_correct 0
pixel_precision 1
sync_refresh_tolerance 2.0
autosync 1
screen_compositing 0
screen_reordering 0
allow_hw_refresh 0
modeline auto
ps_timing auto
lcd_range auto
crt_range0 "15250-18000, 49-61, 2.187, 4.688, 6.719, 0.190, 0.191, 1.018, 0, 0, 224, 288, 448, 576"
crt_range1 "20000-21500, 49-61, 2.910, 3.000, 4.440, 0.451, 0.164, 1.048, 0, 0, 320, 360, 0, 0"
crt_range2 "23900-29000, 49-61, 2.910, 3.000, 4.440, 0.451, 0.164, 1.048, 0, 0, 384, 400, 0, 0"
crt_range3 "29001-32000, 49-61, 0.636, 3.813, 1.906, 0.318, 0.064, 1.048, 0, 0, 400, 512, 0, 0"
crt_range4 "32000-35000, 49-61, 1.000, 3.200, 2.200, 0.020, 0.106, 0.607, 0, 0, 512, 600, 0, 0"
crt_range5 auto
crt_range6 auto
crt_range7 auto
crt_range8 auto
crt_range9 auto
If I add the following to sinistar.ini then it works again like it did in sr 0.017s
resolution 736x552
So clearly something is off on my rotation settings. But almost every other vertical game works fine. I'm ok just making the manual change above but am curious if there is something causing this that I can fix to avoid that issue on any other games matching sinistar's resolution.
Thanks in advance for any help sorting this.