SDL2 fullscreen problems and high dpi screen support

Request help for teeworlds-related subjects (mapping, servers, ..).
For client issues, see our repositories (https://github.com/ddnet/ddnet/issues).
User avatar
deen
TECHNICAL Team
Posts: 3576
Joined: Mon May 05, 2014 2:30 pm
Player profile: https://ddnet.org/players/deen/
Discord: deen#5910

SDL2 fullscreen problems and high dpi screen support

Post by deen »

If you have fullscreen problems (fps drops, flicker) with the new SDL2 client, please try this.

If you have a high dpi screen (4k, 5k) and an OS that supports it (Windows 10, Mac OS X, maybe modern Linux) please test this client version:

Win32, Win64, Linux x86, Linux x86-64, OS X
User avatar
kamillentee
Posts: 687
Joined: Sat Jul 26, 2014 11:47 pm
Player profile: http://ddnet.tw/players/kamillentee/
Clan: |*KoG*|

Re: SDL2 fullscreen problems and high dpi screen support

Post by kamillentee »

Bildschirmfoto von »2016-05-07 19-29-24«.png
Bildschirmfoto von »2016-05-07 19-29-24«.png (523.03 KiB) Viewed 6236 times
Latest Source Arch(gnome)
User avatar
deen
TECHNICAL Team
Posts: 3576
Joined: Mon May 05, 2014 2:30 pm
Player profile: https://ddnet.org/players/deen/
Discord: deen#5910

Re: SDL2 fullscreen problems and high dpi screen support

Post by deen »

Thanks for the report, could reproduce it in Gnome, should be fixed by https://git.io/vwhz6 . Please try new version (full3).
Chairn
Posts: 400
Joined: Sat Apr 11, 2015 5:05 pm
Player profile: http://ddnet.tw/players/Chairn/
Clan: QuintessenZ

Re: SDL2 fullscreen problems and high dpi screen support

Post by Chairn »

Just updated, still have flickers even with this version.
Windows 7 64bits

It seems to happen when people are entering my screen zone.

edit: and escape does not work anymore in menu?
Chairn
Posts: 400
Joined: Sat Apr 11, 2015 5:05 pm
Player profile: http://ddnet.tw/players/Chairn/
Clan: QuintessenZ

Re: SDL2 fullscreen problems and high dpi screen support

Post by Chairn »

Any idea?
It's unplayable, i got fps drop every 5-10 seconds.
RayB.
Posts: 1170
Joined: Mon Dec 01, 2014 9:24 pm
Clan: TOP

Re: SDL2 fullscreen problems and high dpi screen support

Post by RayB. »

Idk if this help but I have also this problem...
User avatar
deen
TECHNICAL Team
Posts: 3576
Joined: Mon May 05, 2014 2:30 pm
Player profile: https://ddnet.org/players/deen/
Discord: deen#5910

Re: SDL2 fullscreen problems and high dpi screen support

Post by deen »

Try a clean settings_ddnet.cfg (also move settings.cfg away), show us your settings_ddnet, try on another system. Basically we need to figure out why some people get this while most don't.
RayB.
Posts: 1170
Joined: Mon Dec 01, 2014 9:24 pm
Clan: TOP

Re: SDL2 fullscreen problems and high dpi screen support

Post by RayB. »

I only have the ddnet settings and my client is pretty empty thanks to a data loss I have a refreshed settings_ddnet.cfg since 2 days, nothing changed still same laggs.

Code: Select all

cl_antiping_limit 0
cl_antiping 0
cl_antiping_players 1
cl_antiping_grenade 1
cl_antiping_weapons 1
cl_nameplates 1
cl_nameplates_always 1
cl_nameplates_teamcolors 1
cl_nameplates_size 50
cl_nameplates_clan 0
cl_nameplates_clan_size 30
cl_text_entities 1
cl_autoswitch_weapons 0
cl_autoswitch_weapons_out_of_ammo 1
cl_showhud 1
cl_showhud_healthammo 1
cl_showhud_score 1
cl_showrecord 0
cl_showchat 1
cl_show_chat_friends 0
cl_showkillmessages 1
cl_show_votes_after_voting 0
cl_show_local_time_always 0
cl_showfps 0
cl_showpred 0
cl_eye_wheel 1
cl_eye_duration 999999
cl_airjumpindicator 1
cl_threadsoundloading 0
cl_warning_teambalance 1
cl_mouse_deadzone 0
cl_mouse_followfactor 0
cl_mouse_max_distance 400
cl_dyncam_max_distance 1000
cl_dyncam_mousesens 0
cl_dyncam_deadzone 300
cl_dyncam_follow_factor 60
ed_zoom_target 0
ed_showkeys 0
cl_show_welcome 0
cl_motd_time 10
cl_ddnet_version_server "version.ddnet.tw"
cl_ddnet_update2_server "update2.ddnet.tw"
cl_ddnet_maps_server "maps.ddnet.tw"
cl_languagefile "languages/german.txt"
cl_vanilla_skins_only 0
cl_auto_statboard_screenshot 0
cl_auto_statboard_screenshot_max 10
cl_default_zoom 10
player_use_custom_color 1
player_color_body 2621374
player_color_feet 15663103
player_skin "clefairy"
ui_page 9
ui_toolbox_page 1
ui_server_address "95.172.92.151:8335"
ui_scale 100
ui_mousesens 100
ui_color_hue 160
ui_color_sat 70
ui_color_lht 175
ui_color_alpha 228
ui_colorize_ping 1
ui_colorize_gametype 1
ui_demo_selected ""
gfx_noclip 0
dummy_name "BlackBear"
dummy_clan ""
dummy_country -1
dummy_use_custom_color 1
dummy_color_body 1114112
dummy_color_feet 0
dummy_skin "brownbear"
cl_dummy_resetonswitch 0
player_name "RayB."
player_clan "good"
player_country -1
logfile ""
cl_cpu_throttle 0
cl_cpu_throttle_inactive 1
cl_editorundo 0
cl_load_country_flags 1
cl_skin_filter_string ""
cl_auto_demo_record 0
cl_auto_demo_max 10
cl_auto_screenshot 0
cl_auto_screenshot_max 10
cl_reset_wanted_weapon_on_death 1
cl_print_broadcasts 1
cl_friends_ignore_clan 0
inp_grab 0
br_filter_string "meo"
br_exclude_string ""
br_filter_full 0
br_filter_empty 0
br_filter_spectators 0
br_filter_friends 0
br_filter_country 0
br_filter_country_index -1
br_filter_pw 0
br_filter_ping 999
br_filter_gametype ""
br_filter_gametype_strict 0
br_filter_serveraddress ""
br_filter_pure 0
br_filter_pure_map 0
br_filter_compatversion 0
br_filter_exclude_countries ",RUS,CHL,BRA,ZAF,USA,CAN,CHN"
br_filter_exclude_types ",RUS,CHL,BRA,ZAF,USA,CAN,CHN,Infection,iCTF,gCTF,Vanilla,zCatch,openFNG,Monster,Block,Bomb,Foot"
br_sort 0
br_sort_order 0
br_max_requests 25
br_demo_sort 0
br_demo_sort_order 0
snd_buffer_size 512
snd_rate 48000
snd_enable 1
snd_enable_music 0
snd_volume 100
snd_device -1
snd_ambient_volume 68
snd_nonactive_mute 0
snd_game 1
snd_gun 1
snd_chat 1
snd_team_chat 1
snd_servermessage 1
snd_highlight 1
gfx_screen 0
gfx_screen_width 1024
gfx_screen_height 768
gfx_borderless 1
gfx_fullscreen 0
gfx_alphabits 0
gfx_color_depth 24
gfx_vsync 0
gfx_resizable 1
gfx_display_all_modes 0
gfx_texture_compression 0
gfx_high_detail 0
gfx_texture_quality 1
gfx_fsaa_samples 0
gfx_refresh_rate 0
gfx_finish 0
gfx_backgroundrender 1
gfx_text_overlay 10
gfx_asyncrender_old 1
gfx_tune_overlay 20
gfx_quad_as_triangle 1
gfx_highdpi 0
inp_mousesens 505
inp_mouseold 0
inp_ignored_modifiers 0
cl_race_binds 1
cl_race_binds_set 1
cl_reconnect_timeout 120
cl_reconnect_full 5
cl_message_system_hue 42
cl_message_system_sat 255
cl_message_system_lht 192
cl_message_highlight_hue 0
cl_message_highlight_sat 255
cl_message_highlight_lht 192
cl_message_team_hue 85
cl_message_team_sat 255
cl_message_team_lht 212
cl_message_hue 0
cl_message_sat 0
cl_message_lht 255
cl_laser_inner_hue 170
cl_laser_inner_sat 255
cl_laser_inner_lht 191
cl_laser_outline_hue 170
cl_laser_outline_sat 137
cl_laser_outline_lht 41
conn_timeout 100
conn_timeout_protection 1000
cl_show_ids 0
cl_scoreboard_on_death 1
cl_auto_race_record 1
cl_demo_name 1
cl_demo_assume_race 1
cl_race_ghost 1
cl_race_show_ghost 1
cl_race_save_ghost 1
cl_ddrace_scoreboard 1
cl_show_decisecs 1
cl_show_others 0
cl_show_others_alpha 40
cl_show_quads 1
cl_zoom_background_layers 0
cl_background_hue 0
cl_background_sat 0
cl_background_lht 128
cl_background_entities_hue 0
cl_background_entities_sat 0
cl_background_entities_lht 128
cl_background_entities ""
cl_background_show_tiles_layers 0
cl_unpredicted_shadow 0
cl_predict_ddrace 1
cl_show_ninja 1
cl_show_other_hook_coll 1
cl_chat_teamcolors 0
cl_chat_reset 1
cl_show_direction 0
cl_http_map_download 1
cl_old_gun_position 0
cl_confirm_disconnect 0
cl_timeout_code "VJICGiJfjlATpFtw"
cl_dummy_timeout_code "ZYwrHgplaFceEtag"
cl_input_fifo ""
cl_show_console 0
inp_joystick 0
cl_config_version 1
cl_demo_slice_begin -1
cl_demo_slice_end -1
cl_demo_show_speed 0
unbindall
bind tab "+scoreboard"
bind return "+show_chat; chat all"
bind space "+jump"
bind minus "spectate_previous"
bind 0 "toggle cl_overlay_entities 0 100"
bind 1 "+weapon1"
bind 2 "+weapon2"
bind 3 "+weapon3"
bind 4 "+weapon4"
bind 5 "+weapon5"
bind equals "spectate_next"
bind leftbracket "+prevweapon"
bind rightbracket "+nextweapon"
bind backquote "+statboard"
bind a "+left"
bind b "say /top5"
bind c "say /rank"
bind d "+right"
bind e "toggle cl_dummy_hammer 0 1"
bind h "emote 2"
bind i "+show_chat; chat all /c "
bind k "say /spec"
bind l "say /lock"
bind m "emote 5"
bind p "say /pause"
bind q "toggle cl_dummy 0 1"
bind r "+showhookcoll"
bind s "kill"
bind t "+show_chat; chat all"
bind u "+show_chat"
bind v "say /info"
bind w "toggle cl_dyncam 0 1"
bind y "+show_chat; chat team"
bind z "+show_chat; chat team"
bind f1 "toggle_local_console"
bind f2 "toggle_remote_console"
bind f3 "vote yes"
bind f4 "vote no"
bind f10 "screenshot"
bind pagedown "toggle cl_show_quads 0 1"
bind right "+right"
bind left "+left"
bind up "+jump"
bind kp_multiply "zoom"
bind kp_minus "zoom-"
bind kp_plus "zoom+"
bind kp_1 "say /emote happy 999999"
bind kp_2 "say /emote angry 999999"
bind kp_3 "say /emote pain 999999"
bind kp_4 "say /emote surprise 999999"
bind kp_5 "say /emote blink 999999"
bind kp_0 "say /emote normal 999999"
bind &228 "toggle cl_dummy_copy_moves 0 1"
bind lshift "+emote"
bind rshift "+spectate"
bind mouse1 "+fire"
bind mouse2 "+hook"
bind mouse3 "+spectate"
bind mousewheelup "+prevweapon"
bind mousewheeldown "+nextweapon"
Last edited by RayB. on Thu Jun 02, 2016 6:43 pm, edited 1 time in total.
User avatar
deen
TECHNICAL Team
Posts: 3576
Joined: Mon May 05, 2014 2:30 pm
Player profile: https://ddnet.org/players/deen/
Discord: deen#5910

Re: SDL2 fullscreen problems and high dpi screen support

Post by deen »

Some ideas:

Code: Select all

gfx_high_detail 1
gfx_finish 1
gfx_resizable 0
gfx_borderless 0
RayB.
Posts: 1170
Joined: Mon Dec 01, 2014 9:24 pm
Clan: TOP

Re: SDL2 fullscreen problems and high dpi screen support

Post by RayB. »

this changed a lot, thanks
Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests