Opened 7 years ago

Closed 7 years ago

Last modified 6 years ago

#10335 closed defect (fixed)

Dreamweb SDL/OpenGL fullscreen mode broken in Linux

Reported by: wjp Owned by: bgK
Priority: normal Component: Engine: Dreamweb
Version: Keywords:
Cc: Game: Dreamweb


When switching to fullscreen in Dreamweb, I get a 640x480 hardware mode panning through 1920x1200 (my desktop resolution), like what could be obtained by xrandr --output [...] --mode 640x480 --panning 1920x1200+0+0, with the game taking up 1600x1200 in the full virtual resolution.

Bisecting points to 6e157429b7a5a64af6265d075c88595df2d6fd79.

Change History (4)

comment:1 by dafioram, 7 years ago

Maybe similar to #10286 and #10300. Except those had issues with the non-opengl renders.

comment:2 by csnover, 7 years ago

Per IRC this issue was apparently mitigated by using SDL_WINDOW_FULLSCREEN_DESKTOP instead of SDL_WINDOW_FULLSCREEN in the OpenGlSdl backend, which is how SurfaceSdl works, though a deeper investigation is still warranted since it’s not clear exactly what is going on here; OpenGL *should* just be scaling stuff to the hinted full screen resolution anyway, which means 640x480 -> 640x480 and then 320x200 -> 640x480, not going crazy like this.

comment:3 by csnover, 7 years ago

Owner: set to bgK
Resolution: fixed
Status: newclosed

bgK is my hero again, investigated what was going on and came up with a patch that made sense and was reported to fix the issue. It is added in commit 779b97ee3fb94cd2c80118febd6b451d454a7c54 and will be available in daily builds 2.0.0git-98 and later.

comment:4 by digitall, 6 years ago

Component: --Unset--Engine: Dreamweb
Game: Dreamweb
Note: See TracTickets for help on using tickets.