IRC logs of Freenode #BZFlag for Thursday, 2019-11-21

*** Sgeo <Sgeo!~Sgeo@ool-18b982ad.dyn.optonline.net> has joined #bzflag00:10
*** disco- <disco-!~disco@unaffiliated/disco-> has quit IRC (Ping timeout: 240 seconds)00:12
*** disco- <disco-!~disco@unaffiliated/disco-> has joined #bzflag00:19
*** Zehra <Zehra!~Zehra@unaffiliated/zehra> has joined #bzflag00:33
*** Zehra <Zehra!~Zehra@unaffiliated/zehra> has quit IRC (Quit: Gone for now.)02:03
macsformein the video, it looks like bzflag is trying to launch on the (largest) 1080p screen, although it's tough to tell for sure03:04
macsformeactually I think the monitor info he posted confirms that03:07
blast007when I have the second display attached, my "Change Video Format" menu option is missing, so it's failing to build a list of resolutions03:25
blast007or, it did last time03:28
blast007I have the second screen hooked up and active, launched the game, and managed to get into the Change Video Format menu between the flickering03:28
blast007it's showing that the current resolution is 1366x768 (the resolution of the built-in screen) but it's showing up as a flashing image on secondary display, in the top left corner (though for at least one flash, it was in the bottom left)03:30
blast007I started windowed this time, and then tried to change the video format03:31
blast007the resolutions listed match up with the built-in monitor (up to 1366x768).  didn't do anything when I picked 1366x768, but when I picked the one below that it looked like the resolution of the built-in screen changed, but now it's just flashing between the desktop/terminal and solid black on the built-in screen03:32
blast007okay, so the reason I didn't get resolution options was because I was using Wayland instead of Xorg03:35
blast007(I had switched to Xorg before the last tests)03:35
blast007I'm not sure if it should be expected that we can't change resolutions on Wayland03:36
blast007swapping SDL_WINDOW_FULLSCREEN to SDL_WINDOW_FULLSCREEN_DESKTOP made no difference03:51
blast007the reason it flashes it that it repeatedly calls SDLWindow::create04:03
blast007in playing.cxx, doEvent, for BzfEvent::Resize, I'm seeing the event.resize values being 2560 and 144004:09
blast007I'm starting to dislike SDL...04:35
blast007I have this basic SDL2 / GLFW test program from last year: https://gist.github.com/blast007/57f6d95522932035ed57db27b6db707004:36
blast007if I have the resolution set to 800x600 in the program, SDL displays it on the laptop's internal display (after adjusting the desktop resolution to that)04:36
blast007but if I change it to be the native resolution of the internal display, it instead displays it full screen on the external monitor04:37
blast007whereas GLFW correctly displays it on the internal display04:37
macsformeso maybe it's related to the displays getting mixed up06:02
macsformeon his xrandr output, the order of displays is: the 1080p screen, the 1280x1024 screen (primary), and the 1440x900 screen06:05
macsformewhen he runs my SDL2 listResolutions.cpp program, the first two are reversed (the 1280x1024 primary screen is 0, the 1080p screen is 1, and the 1440x900 screen is 2)06:10
macsformethis section of code seems to suggest that we only pull resolutions from display 0: https://github.com/BZFlag-Dev/bzflag/blob/2.4/src/platform/SDL2Display.cxx#L19-L8106:13
macsformeyet in his video, bzflag is launching on the 1080p screen (what would be display 1), at a resolution that is only supported on that particular screen06:14
macsformeso I wonder what is making the game try that resolution06:18
*** FieldSobers <FieldSobers!~Artistics@unaffiliated/user49> has joined #bzflag06:18
*** Artistics <Artistics!~Artistics@unaffiliated/user49> has quit IRC (Read error: Connection reset by peer)06:19
*** FieldSobers <FieldSobers!~Artistics@unaffiliated/user49> has quit IRC (Max SendQ exceeded)06:20
BZNotifybzflag: macsforme commented on issue #201 "bzflag is not working properly with 3+ monitors" by jose1711 (https://git.io/Je625): Can you please launch the game in windowed mode and then take a scr...06:24
*** Artistics <Artistics!~Artistics@unaffiliated/user49> has joined #bzflag07:06
*** DTRemenak|RDP <DTRemenak|RDP!~DTRemenak@about/essy/CrazyCoder/DTRemenak> has joined #bzflag07:37
*** ChanServ sets mode: +v DTRemenak|RDP07:37
*** DTRemenak <DTRemenak!~DTRemenak@about/essy/CrazyCoder/DTRemenak> has quit IRC (Ping timeout: 250 seconds)07:38
*** DTRemenak|RDP is now known as DTRemenak07:38
*** DTRemenak <DTRemenak!~DTRemenak@about/essy/CrazyCoder/DTRemenak> has quit IRC (Quit: ChatZilla 0.9.93 [SeaMonkey 2.53/20180924130006])10:11
*** DTRemenak <DTRemenak!~DTRemenak@2605:e000:141f:c002:8b8:1d70:bf3b:50b7> has joined #bzflag10:12
*** ChanServ sets mode: +v DTRemenak10:12
macsforme~tupone++10:21
*** macsforme <macsforme!~macsforme@bzflag/developer/Constitution> has quit IRC (Quit: ZNC - http://znc.in)10:26
*** macsforme <macsforme!~macsforme@2604:a880:400:d0::e61:a001> has joined #bzflag10:27
*** ChanServ sets mode: +o macsforme10:27
blast007macsforme: no, it looked more like SDL being broken12:54
*** joevano <joevano!~joevano@bzflag/developer/JoeVano> has quit IRC (Remote host closed the connection)13:32
tuponemacsforme: I don't think we can remove the "SceneDatabase* db = new ZSceneDatabase;" line13:34
tuponemaybe the comment :)13:35
tuponeyes13:35
blast007macsforme: specifically, if I was trying to use the native resolution of the primary display, it was displaying the window on the secondary display13:59
blast007though with the demo code I had, it was showing up full-screen on the second display14:00
blast007I need to play around with that a bit more14:00
blast007I'll try some other resolutions to see if there's some "breaking point" when it flips to the other display14:01
*** joevano <joevano!~joevano@bzflag/developer/JoeVano> has joined #bzflag14:14
*** ChanServ sets mode: +v joevano14:14
BZNotifybzflag: The-Noah commented on issue #216 "Didn't die by SW" (https://git.io/Je6yt): Not really. It happened again on Urban Jungle where I was completel...16:31
BZNotifybzflag: The-Noah edited issue #204 "Thief doesn't always set reload timer before being able to fire." (https://git.io/fjiPD)16:32
BZNotifybzflag: The-Noah commented on issue #204 "Thief doesn't always set reload timer before being able to fire." (https://git.io/Je6yl): It happened again. Although I have tried multiple times and it does...16:35
*** The_Noah <The_Noah!~The_Noah@47.185.193.111> has joined #bzflag16:36
BZNotifybzflag: atupone synchronized pull request #226 "Zbuffer always" (https://git.io/JerAw)18:21
tuponeNeed to fix MSVC: BSP files were removed18:21
*** sam <sam!foobar@poulet.zoy.org> has joined #bzflag21:06
*** sam is now known as Guest8305021:07
*** McSpider <McSpider!~McSpider@li1055-178.members.linode.com> has quit IRC (Ping timeout: 240 seconds)21:12
*** catay <catay!~smertens@valyria.catay.be> has quit IRC (Ping timeout: 240 seconds)21:12
*** McSpider <McSpider!~McSpider@li1055-178.members.linode.com> has joined #bzflag21:13
*** Guest83050 is now known as sam21:26
macsformeI've never had one problem with SDL2 window management... no, not one... never... ;-)22:04
blast007:)22:11

Generated by irclog2html.py 2.17.3.dev0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!