=== chihchun_afk is now known as chihchun === chihchun is now known as chihchun_afk === chihchun_afk is now known as chihchun === chihchun is now known as chihchun_afk === chihchun_afk is now known as chihchun === hikiko is now known as hikiko|ln === hikiko|ln is now known as hikiko === hikiko is now known as hikiko|ln === hikiko|ln is now known as hikiko === seb128_ is now known as seb128 === chihchun is now known as chihchun_afk === chihchun_afk is now known as chihchun === dandrader is now known as dandrader|afk === dandrader|afk is now known as dandrader === alan_g is now known as alan_g|EOD === dandrader is now known as dandrader|afk === chihchun is now known as chihchun_afk === dandrader|afk is now known as dandrader [21:16] bschaefer, I am trying to get the X11 Mir platform up and running, I keep getting http://pastebin.com/raw/ak2asHBf Does it seem familiar? [21:17] The error of course also occurs when trying to set up the TTY KMS Mir platform. [21:17] (This is with a fresh install of 16.04 with latest updates.) [21:27] Oh, and using the intel open source driver. [21:28] o good intel is needed! [21:28] * bschaefer looks [21:29] yeah it looks like a dependency didnt get pulled in [21:29] * bschaefer checks which ones you need [21:31] mir-platform-graphics-mesa-x9 mir-platform-input-evdev5 mir-client-platform-mesa5 [21:31] natosha, try installing those packages ^ [21:31] theres an issue with us hard depending on different platforms depending on the device [21:32] if you want the kms as well [21:32] mir-platform-graphics-mesa-kms9 [21:33] * bschaefer updates doc [21:45] o turns out: mir-graphics-drivers-desktop [21:45] should install all the desktop platforms! [21:49] bschaefer, Hmm, I only see mir-platform-graphics-mesa-x8 in apt [21:50] However, that seems to work [21:50] natosha, yeah i have a newer one... but mir-graphics-drivers-desktop should get all you need [21:50] * bschaefer has a totally messed up system with to many ppas :) [21:54] Hmm, Ok, so I have Mir running, and when I run the demo client, it shows some red wavy background in the Mir server window. (Success?) [21:55] natosha, yay yup [21:55] thats the client running on the mir server [21:55] (q to quit) [21:56] Ok, cool. [21:56] When I try to run the Unity/SDL2 test app, I don't get anything showing up, so need to figure out how exactly to debug, but at least we have something to start with now. [21:57] right, soo for that depending on the issue stdout/stderr is the main help [21:57] SDL_VIDEODRIVER=mir is required for X11 platform [21:57] Yeah, have that. [21:58] any output such as "Unable to find xxx platform?" [21:58] err mir platform? [21:58] or is it running as expected but no image? [21:58] (Got tricked by that when working on Wayland support; totally thought it was working long before it was *actually* working due to that darn, all-too-helpful fall-back-to-X behavior.) [21:58] :) [21:58] yeah [21:59] natosha, i suppose a simpler test would be to install 7kaa (it'll crash when it closes on the SDL2 mir platform) [21:59] and attempt to run that game on the server to show SDL2 is working on mir [21:59] Nah, the Unity logs indicate that it's not able to correctly create a gfx context. Seems like our problem. [22:00] yeah, though if it works for wayland it *should* work for mir [22:00] Though I guess I could also try with the TTY Mir setup as well, just to be sure. [22:00] yeah not a bad idea [22:00] Yes, this player works on Wayland, though I'm going to install another native instance using Wayland so I can compare behavior on the same hardware. [22:01] as they both use the SDL_egl backend [22:01] The computer I was using before for testing was using Wayland with the nouveau driver; this one is using the Intel driver, so that could be it as well (though it works fine in normal X11 mode). [22:02] natosha, hmm just to be on the safe side would be nice to get a different SDL app up and running to confrim [22:02] SDL2 issue or unitys [22:02] the version of SDL2 is 2.0.4 right? [22:04] Unity statically links SDL2 [22:05] It's currently using what was latest upstream a couple weeks ago, which was newer than 2.04 [22:05] *2.0.4 [22:05] o thats even better [22:05] In fact, there was some problem with 2.0.4 specifically that I couldn't use the official release [22:05] bschaefer, So trying to set up the TTY Mir session gives http://pastebin.com/raw/tMUM63LC [22:06] right you'll need the kms platform hmm [22:06] which you said you couldnt find? [22:06] did installing: mir-graphics-drivers-desktop [22:06] work? Im not sure if thats a new package [22:07] Oh, missed that. [22:08] * bschaefer finds the platform packaging a mess but there doesnt seem to be a good solution :( [22:13] The TTY Mir sessoin starts successfully. And I get the same behavior there. [22:13] natosha, also here is a simple SDL application: http://paste.ubuntu.com/16906817/ [22:13] that you can attempt to test on TTY/X11 [22:13] to check the SDL2 vs unity issue [22:13] LD_LIBRARY_PATH=/path/to/your/sdl2/ when compiling [22:14] should just be a bright green screen [22:19] the other thing to check... is possibly the SDL2 doesnt have mir built in with it (not sure the when it was built or if you have the required libraries to build SDL2 for Mir support) [22:20] * bschaefer writes down what you'll need to compile SDL2 with Mir support [22:20] The sample SDL program works, it seems. [22:20] The SDL library Unity links should have Mir and Wayland support both enabled . . . . I think. [22:20] In any case, it seems we have a reasonable test setup now. Will just need to debug. [22:21] Thanks. :-) [22:21] yup! [22:21] I'll be back if we have further issues with it. [22:21] natosha, np! I enjoy debugging so if you've any questions just poke me! [22:21] * bschaefer still around for ~3 or so hours [22:22] It's past midnight, so I'm going to bed :-) But I'll probably get to debugging this in the next few days. [22:22] o dang yeah, have a good night!