Unusual FPS on MX150
birdkyle7918 opened this issue · 18 comments
OS: Ubuntu 18.04.3 LTS
Graphics Card: NVIDIA GeForce MX150
Compiled from source
The characters move at an unusual speed thus terminating the game.
每次刚开始就立刻结束吗?多尝试几次呢?
每次都是,我试了十次了,ubuntu环境
在终端中通过./snake
运行,把输出发一下。
刚开始游戏,可以瞬间看到里面的人物飞速移动,然后就game over
是从 release 下载的二进制版本还是自己编译的版本呢?
Effect #0: Death loaded
Effect #1: Blink (white) loaded
Effect #2: Vanish (30fm) loaded
Resources #0: wall_top_left 16 0 16 16 1 loaded
Resources #1: wall_top_mid 32 0 16 16 1 loaded
Resources #2: wall_top_right 48 0 16 16 1 loaded
Resources #3: wall_left 16 16 16 16 1 loaded
Resources #4: wall_mid 32 16 16 16 1 loaded
Resources #5: wall_right 48 16 16 16 1 loaded
Resources #6: wall_fountain_top 64 0 16 16 1 loaded
Resources #7: wall_fountain_mid_red_anim 64 16 16 16 3 loaded
Resources #8: wall_fountain_basin_red_anim 64 32 16 16 3 loaded
Resources #9: wall_fountain_mid_blue_anim 64 48 16 16 3 loaded
Resources #10: wall_fountain_basin_blue_anim 64 64 16 16 3 loaded
Resources #11: wall_hole_1 48 32 16 16 1 loaded
Resources #12: wall_hole_2 48 48 16 16 1 loaded
Resources #13: wall_banner_red 16 32 16 16 1 loaded
Resources #14: wall_banner_blue 32 32 16 16 1 loaded
Resources #15: wall_banner_green 16 48 16 16 1 loaded
Resources #16: wall_banner_yellow 32 48 16 16 1 loaded
Resources #17: column_top 80 80 16 16 1 loaded
Resources #18: column_mid 80 96 16 16 1 loaded
Resources #19: coulmn_base 80 112 16 16 1 loaded
Resources #20: wall_column_top 96 80 16 16 1 loaded
Resources #21: wall_column_mid 96 96 16 16 1 loaded
Resources #22: wall_coulmn_base 96 112 16 16 1 loaded
Resources #23: wall_goo 64 80 16 16 1 loaded
Resources #24: wall_goo_base 64 96 16 16 1 loaded
Resources #25: floor_1 16 64 16 16 1 loaded
Resources #26: floor_2 32 64 16 16 1 loaded
Resources #27: floor_3 48 64 16 16 1 loaded
Resources #28: floor_4 16 80 16 16 1 loaded
Resources #29: floor_5 32 80 16 16 1 loaded
Resources #30: floor_6 48 80 16 16 1 loaded
Resources #31: floor_7 16 96 16 16 1 loaded
Resources #32: floor_8 32 96 16 16 1 loaded
Resources #33: floor_ladder 48 96 16 16 1 loaded
Resources #34: floor_spikes_anim 16 176 16 16 4 loaded
Resources #35: wall_side_top_left 0 112 16 16 1 loaded
Resources #36: wall_side_top_right 16 112 16 16 1 loaded
Resources #37: wall_side_mid_left 0 128 16 16 1 loaded
Resources #38: wall_side_mid_right 16 128 16 16 1 loaded
Resources #39: wall_side_front_left 0 144 16 16 1 loaded
Resources #40: wall_side_front_right 16 144 16 16 1 loaded
Resources #41: wall_corner_top_left 32 112 16 16 1 loaded
Resources #42: wall_corner_top_right 48 112 16 16 1 loaded
Resources #43: wall_corner_left 32 128 16 16 1 loaded
Resources #44: wall_corner_right 48 128 16 16 1 loaded
Resources #45: wall_corner_bottom_left 32 144 16 16 1 loaded
Resources #46: wall_corner_bottom_right 48 144 16 16 1 loaded
Resources #47: wall_corner_front_left 32 160 16 16 1 loaded
Resources #48: wall_corner_front_right 48 160 16 16 1 loaded
Resources #49: wall_inner_corner_l_top_left 80 128 16 16 1 loaded
Resources #50: wall_inner_corner_l_top_rigth 64 128 16 16 1 loaded
Resources #51: wall_inner_corner_mid_left 80 144 16 16 1 loaded
Resources #52: wall_inner_corner_mid_rigth 64 144 16 16 1 loaded
Resources #53: wall_inner_corner_t_top_left 80 160 16 16 1 loaded
Resources #54: wall_inner_corner_t_top_rigth 64 160 16 16 1 loaded
Resources #55: edge 96 128 16 16 1 loaded
Resources #56: hole 96 144 16 16 1 loaded
Resources #57: doors_all 16 221 64 35 1 loaded
Resources #58: doors_frame_left 16 224 16 32 1 loaded
Resources #59: doors_frame_top 32 221 32 3 1 loaded
Resources #60: doors_frame_righ 63 224 16 32 1 loaded
Resources #61: doors_leaf_closed 32 224 32 32 1 loaded
Resources #62: doors_leaf_open 80 224 32 32 1 loaded
Resources #63: chest_empty_open_anim 304 288 16 16 3 loaded
Resources #64: chest_full_open_anim 304 304 16 16 3 loaded
Resources #65: chest_mimic_open_anim 304 320 16 16 3 loaded
Resources #66: flask_big_red 288 224 16 16 1 loaded
Resources #67: flask_big_blue 304 224 16 16 1 loaded
Resources #68: flask_big_green 320 224 16 16 1 loaded
Resources #69: flask_big_yellow 336 224 16 16 1 loaded
Resources #70: flask_red 288 240 16 16 1 loaded
Resources #71: flask_blue 304 240 16 16 1 loaded
Resources #72: flask_green 320 240 16 16 1 loaded
Resources #73: flask_yellow 336 240 16 16 1 loaded
Resources #74: skull 288 320 16 16 1 loaded
Resources #75: crate 288 298 16 22 1 loaded
Resources #76: coin_anim 288 272 8 8 4 loaded
Resources #77: ui_heart_full 288 256 16 16 1 loaded
Resources #78: ui_heart_half 304 256 16 16 1 loaded
Resources #79: ui_heart_empty 320 256 16 16 1 loaded
Resources #80: weapon_knife 293 18 6 13 1 loaded
Resources #81: weapon_rusty_sword 307 26 10 21 1 loaded
Resources #82: weapon_regular_sword 323 26 10 21 1 loaded
Resources #83: weapon_red_gem_sword 339 26 10 21 1 loaded
Resources #84: weapon_big_hammer 291 42 10 37 1 loaded
Resources #85: weapon_hammer 307 55 10 24 1 loaded
Resources #86: weapon_baton_with_spikes 323 57 10 22 1 loaded
Resources #87: weapon_mace 339 55 10 24 1 loaded
Resources #88: weapon_katana 293 82 6 29 1 loaded
Resources #89: weapon_saw_sword 307 86 10 25 1 loaded
Resources #90: weapon_anime_sword 322 81 12 30 1 loaded
Resources #91: weapon_axe 341 90 9 21 1 loaded
Resources #92: weapon_machete 294 121 5 22 1 loaded
Resources #93: weapon_cleaver 310 124 8 19 1 loaded
Resources #94: weapon_duel_sword 325 113 9 30 1 loaded
Resources #95: weapon_knight_sword 339 120 10 23 1 loaded
Resources #96: weapon_golden_sword 291 153 10 22 1 loaded
Resources #97: weapon_lavish_sword 307 145 10 30 1 loaded
Resources #98: weapon_red_magic_staff 324 145 8 30 1 loaded
Resources #99: weapon_green_magic_staff 340 145 8 30 1 loaded
Resources #100: weapon_spear 293 177 6 30 1 loaded
Resources #101: tiny_zombie_idle_anim 368 20 16 12 4 loaded
Resources #102: tiny_zombie_run_anim 432 20 16 12 4 loaded
Resources #103: goblin_idle_anim 368 37 16 11 4 loaded
Resources #104: goblin_run_anim 432 37 16 11 4 loaded
Resources #105: imp_idle_anim 368 48 16 16 4 loaded
Resources #106: imp_run_anim 432 48 16 16 4 loaded
Resources #107: skelet_idle_anim 368 80 16 16 4 loaded
Resources #108: skelet_run_anim 432 80 16 16 4 loaded
Resources #109: muddy_idle_anim 368 112 16 16 4 loaded
Resources #110: muddy_run_anim 368 112 16 16 4 loaded
Resources #111: swampy_idle_anim 432 112 16 16 4 loaded
Resources #112: swampy_run_anim 432 112 16 16 4 loaded
Resources #113: zombie_idle_anim 368 144 16 16 4 loaded
Resources #114: zombie_run_anim 368 144 16 16 4 loaded
Resources #115: ice_zombie_idle_anim 432 144 16 16 4 loaded
Resources #116: ice_zombie_run_anim 432 144 16 16 4 loaded
Resources #117: masked_orc_idle_anim 368 172 16 20 4 loaded
Resources #118: masked_orc_run_anim 432 172 16 20 4 loaded
Resources #119: orc_warrior_idle_anim 368 204 16 20 4 loaded
Resources #120: orc_warrior_run_anim 432 204 16 20 4 loaded
Resources #121: orc_shaman_idle_anim 368 236 16 20 4 loaded
Resources #122: orc_shaman_run_anim 432 236 16 20 4 loaded
Resources #123: necromancer_idle_anim 366 270 16 20 4 loaded
Resources #124: necromancer_run_anim 366 270 16 20 4 loaded
Resources #125: wogol_idle_anim 368 303 16 17 4 loaded
Resources #126: wogol_run_anim 432 303 16 17 4 loaded
Resources #127: chort_idle_anim 368 328 16 24 4 loaded
Resources #128: chort_run_anim 432 328 16 24 4 loaded
Resources #129: big_zombie_idle_anim 16 270 32 34 4 loaded
Resources #130: big_zombie_run_anim 144 270 32 34 4 loaded
Resources #131: ogre_idle_anim 16 320 32 32 4 loaded
Resources #132: ogre_run_anim 144 320 32 32 4 loaded
Resources #133: big_demon_idle_anim 16 364 32 36 4 loaded
Resources #134: big_demon_run_anim 144 364 32 36 4 loaded
Resources #135: elf_f_idle_anim 128 16 16 16 4 loaded
Resources #136: elf_f_run_anim 192 16 16 16 4 loaded
Resources #137: elf_f_hit_anim 256 16 16 16 1 loaded
Resources #138: elf_m_idle_anim 128 42 16 22 4 loaded
Resources #139: elf_m_run_anim 192 42 16 22 4 loaded
Resources #140: elf_m_hit_anim 256 36 16 28 1 loaded
Resources #141: knight_f_idle_anim 128 74 16 22 4 loaded
Resources #142: knight_f_run_anim 192 74 16 22 4 loaded
Resources #143: knight_f_hit_anim 256 74 16 22 1 loaded
Resources #144: knight_m_idle_anim 128 106 16 22 4 loaded
Resources #145: knight_m_run_anim 192 106 16 22 4 loaded
Resources #146: knight_m_hit_anim 256 106 16 22 1 loaded
Resources #147: wizzard_f_idle_anim 128 132 16 28 4 loaded
Resources #148: wizzard_f_run_anim 192 132 16 28 4 loaded
Resources #149: wizzard_f_hit_anim 256 132 16 28 1 loaded
Resources #150: wizzard_m_idle_anim 128 170 16 22 4 loaded
Resources #151: wizzard_m_run_anim 192 170 16 22 4 loaded
Resources #152: wizzard_m_hit_anim 256 164 16 28 1 loaded
Resources #153: lizard_f_idle_anim 128 205 16 19 4 loaded
Resources #154: lizard_f_run_anim 192 205 16 19 4 loaded
Resources #155: lizard_f_hit_anim 256 205 16 19 1 loaded
Resources #156: lizard_m_idle_anim 128 237 16 19 4 loaded
Resources #157: lizard_m_run_anim 192 237 16 19 4 loaded
Resources #158: lizard_m_hit_anim 256 237 16 19 1 loaded
Resources #159: fireball_explosion1 0 0 64 64 8 loaded
Resources #160: halo_explosion1 0 0 48 48 8 loaded
Resources #161: halo_explosion2 0 0 16 16 8 loaded
Resources #162: fireball 0 0 26 10 10 loaded
libpng warning: iCCP: known incorrect sRGB profile
Resources #163: floor_spike_disabled 0 0 16 16 1 loaded
Resources #164: floor_spike_enabled 48 0 16 16 1 loaded
Resources #165: floor_spike_out_ani 0 0 16 16 4 loaded
Resources #166: floor_spike_in_ani 64 0 16 16 4 loaded
libpng warning: iCCP: known incorrect sRGB profile
Resources #167: floor_exit 0 0 16 16 1 loaded
Resources #168: HpMed 0 0 16 16 9 loaded
Resources #169: SwordFx 0 0 48 48 10 loaded
libpng warning: iCCP: known incorrect sRGB profile
Resources #170: ClawFx 0 0 16 16 7 loaded
Resources #171: Shine 0 0 32 32 6 loaded
Resources #172: Thunder 0 0 64 256 8 loaded
Resources #173: BloodBound 0 0 64 49 15 loaded
Resources #174: arrow 0 0 32 16 1 loaded
Resources #175: explosion-2 0 0 64 64 8 loaded
libpng warning: iCCP: known incorrect sRGB profile
Resources #176: ClawFx2 0 0 32 32 5 loaded
Resources #177: Axe 0 0 18 18 4 loaded
Resources #178: cross_hit 0 0 48 48 10 loaded
Resources #179: blood1 0 0 16 16 1 loaded
Resources #180: blood2 16 0 16 16 1 loaded
Resources #181: blood3 32 0 16 16 1 loaded
Resources #182: blood4 48 0 16 16 1 loaded
Resources #183: SolidFx 0 0 51 32 6 loaded
Resources #184: SolidGreenFx 0 32 51 32 6 loaded
libpng warning: iCCP: known incorrect sRGB profile
Resources #185: IcePick 0 0 32 15 30 loaded
Resources #186: IceShatter 0 0 48 48 30 loaded
Resources #187: Ice 0 0 49 51 1 loaded
Resources #188: HolySword 32 0 16 16 1 loaded
Resources #189: FireSword 16 16 16 16 1 loaded
Resources #190: IceSword 16 32 16 16 1 loaded
Resources #191: GrassSword 16 48 16 16 1 loaded
Resources #192: IronSword 16 64 16 16 1 loaded
Resources #193: HolyShield 0 0 32 29 6 loaded
Resources #194: golden_cross_hit 0 0 48 48 10 loaded
libpng warning: iCCP: known incorrect sRGB profile
Resources #195: slider 0 0 128 19 1 loaded
Resources #196: bluebar 0 32 128 19 1 loaded
Resources #197: title 0 0 276 93 29 loaded
Resources #198: purple_ball 0 0 16 16 6 loaded
Resources #199: purple_exp 0 0 58 47 9 loaded
Resources #200: purple_staff 0 0 16 16 1 loaded
Resources #201: thunder_staff 16 0 16 16 1 loaded
Resources #202: Thunder_Yellow 0 0 64 256 8 loaded
Resources #203: attack_up 0 0 32 20 4 loaded
Resources #204: bow 0 0 16 16 1 loaded
Texts #0: DungeonRush loaded
Texts #1: By Rapiz loaded
Texts #2: PLACEHOLDER loaded
Texts #3: PLACEHOLDER loaded
Texts #4: Player 1 loaded
Texts #5: Player 2 loaded
Texts #6: Singleplayer loaded
Texts #7: Multiplayers loaded
Texts #8: Ranklist loaded
Texts #9: Exit loaded
Texts #10: Normal loaded
Texts #11: Hard loaded
Texts #12: Insane loaded
weapon done
BGM res/audio/main_title.ogg loaded
BGM res/audio/bg1.ogg loaded
BGM res/audio/bg2.ogg loaded
BGM res/audio/bg3.ogg loaded
Sound #0: res/audio/win.wav
Sound #1: res/audio/lose_2v.wav
Sound #2: res/audio/powerloss.wav
Sound #3: res/audio/hit_0.5v.wav
Sound #4: res/audio/sword_hit.wav
Sound #5: res/audio/claw_hit.wav
Sound #6: res/audio/arrow_hit.wav
Sound #7: res/audio/shoot.wav
Sound #8: res/audio/fireball_explosion.wav
Sound #9: res/audio/ice_shoot_0.5v.wav
Sound #10: res/audio/interaction1_0.75v.wav
Sound #11: res/audio/button1.wav
Sound #12: res/audio/thunder_2v.wav
Sound #13: res/audio/light_shoot.wav
Sound #14: res/audio/human_death.wav
Sound #15: res/audio/claw_hit_heavy.wav
Sound #16: res/audio/coin.wav
Sound #17: res/audio/med.wav
尝试进入normal模式之后再复制输出信息。
自己编译的版本
进入normal后:
..............................
..............................
....####......................
....####......................
..######################......
..######################......
..########################....
..########################....
....######################....
....######################....
..########################....
..########################....
..######################......
..######################......
..########################....
..########################....
..########################....
..########################....
..##########################..
..##########################..
..##########################..
..##########################..
....######################....
....######################....
....####################......
....####################......
....####################......
....####################......
....####################......
....####################......
....####################......
....####################......
....####################......
....####################......
....####################......
....####################......
......##################......
......##################......
........##############........
........##############........
..............................
..............................
..............................
..............................
..............................
exit: 16 11
开始界面的人物动画速度是否也不正常?正常速度应该和 README 里的图片一样。
你使用独显还是集成显卡?是否使用闭源驱动?请确认系统软件包和驱动已是最新。
初步判断是 SDL2 在你的环境中无法进行正常的垂直同步。
并且请在 issue 最开始附上系统、桌面环境、软件包版本、显卡以供其他人参考。可以使用neofetch
命令获取相关信息。
MX150独立显卡,人物移动速度不正常,移动非常快,另外我不了解闭源驱动
I will try to reproduce it in an Ubuntu VM.
好的谢谢,
I failed to reproduce it.
It's probably caused by the closed-source driver of MX150. Try using an opensource driver.
Everything works well after switching to intel graphics card. It's a fun game.
I always terminated the game within 5s...
I don't know that's because I'm unskillful or the characters move too fast💔
The game ran too fast for me on my Emscripten port https://github.com/midzer/DungeonRush/tree/emscripten too
This is how I fixed it midzer@8604da9
Would love to contribute something back...