MythLogBot@irc.freenode.net :: #mythtv

Daily chat history

Current users (58):

dekarl, frobnic, gregl, jab416171, jafa, jpabq_, jpharvey, mad_enz, Merlin83b, MythLogBot, ramshadow, Roklobster, sraue, Warped, Anssi, blahdodo, ChanServ, clever, CyberJacob, davic, ElmerFudd, ghoti, GreyFoxx, hampton, Hydr0p0nX, ikevin, jams_, jya, KooeeeeennN, libsci, markspieth, MitchCapper, MythBuild, nephyrin, poptix, pppingme, rmeden, sheedy, sphery, stuarta, taylorr, tris, _charly_, brfransen, Chutt_, kwizart, Seeker`, enyc, jheizer_, jarle_, benklop, gary_buhrmaster, dmfrey, knowledg1junkie, Korny, gregbert, XDS2010|AFK, aloril_
Wednesday, August 16th, 2017, 00:22 UTC
[00:22:10] dekarl1 (dekarl1!~dekarl@mythtv/developer/dekarl) has joined #mythtv
[00:22:42] dekarl (dekarl!~dekarl@mythtv/developer/dekarl) has quit (Ping timeout: 260 seconds)
[01:49:59] Guest10049 (Guest10049!~dblain@c-73-100-248-159.hsd1.ma.comcast.net) has quit (Ping timeout: 240 seconds)
[01:51:33] dblain (dblain!~dblain@c-73-100-248-159.hsd1.ma.comcast.net) has joined #mythtv
[01:51:33] dblain (dblain!~dblain@mythtv/developer/dblain) has joined #mythtv
[01:51:33] dblain (dblain!~dblain@c-73-100-248-159.hsd1.ma.comcast.net) has quit (Changing host)
[03:42:14] ** hampton wants to know who's got the 47–48 year old database. :-) **
[03:57:34] Roklobster (Roklobster!~Dirkka@119-18-8-177.cust.aussiebb.net) has quit (Remote host closed the connection)
[06:27:03] SteveGoodey (SteveGoodey!~steve@host86-151-53-224.range86-151.btcentralplus.com) has joined #mythtv
[07:52:54] stuarta: hampton: hah, i suspect that may be a case of the epoch date sneaking in to the data somehow. now() – epoch() ~= 47 years
[08:01:05] willcooke (willcooke!~willcooke@host-92-6-128-128.as43234.net) has joined #mythtv
[08:01:06] willcooke (willcooke!~willcooke@host-92-6-128-128.as43234.net) has quit (Changing host)
[08:01:06] willcooke (willcooke!~willcooke@ubuntu/member/willcooke) has joined #mythtv
[08:31:02] ShapeShifter499 (ShapeShifter499!~ShapeShif@unaffiliated/shapeshifter499) has joined #mythtv
[08:33:10] ** stuarta decides to read up on wayland **
[08:42:03] SteveGoodey (SteveGoodey!~steve@host86-151-53-224.range86-151.btcentralplus.com) has quit (Quit: Konversation terminated!)
[09:05:52] stuarta: https://wayland.freedesktop.org/docs/html/ if anyone else is bored
[09:11:09] stuarta: but then there is qtwayland, which has done a lot of the hard work already
[09:34:59] stuarta: probably still need to read the wayland docs to understand the concepts
[10:34:01] Roklobster (Roklobster!~Dirkka@119-18-8-177.cust.aussiebb.net) has joined #mythtv
[10:48:26] stuarta: ugh, mythmainwindow.cpp is pretty horrible
[11:10:09] SteveGoodey (SteveGoodey!~steve@host86-151-53-224.range86-151.btcentralplus.com) has joined #mythtv
[11:19:01] stuarta: sigh, how can MythRenderBase be further up the inheritance tree than MythRenderEGL
[11:19:14] stuarta: https://code.mythtv.org/doxygen/classMythRenderEGL.html
[11:20:00] stuarta: ahah, it's a typo in the documentation i think
[11:21:05] stuarta: since the link takes you to MythRenderOpenGLES2
[11:21:43] ** stuarta facepalms **
[11:22:51] stuarta: libs/libmythtv/videoout_omx.cpp:typedef MythRenderOpenGL2ES MythRenderBase;
[11:22:51] stuarta: libs/libmythtv/videoout_omx.cpp:class MythRenderEGL : public MythRenderBase
[11:23:10] stuarta: so it's typedef'd which is confusing the doxygen docs
[11:23:21] Merlin83b (Merlin83b!~Daniel@2a00:1ee0:3:1337:3541:7d86:df3d:ba9f) has quit (Ping timeout: 255 seconds)
[11:31:09] Merlin83b (Merlin83b!~Daniel@office.34sp.com) has joined #mythtv
[12:04:35] Roklobster (Roklobster!~Dirkka@119-18-8-177.cust.aussiebb.net) has quit (Remote host closed the connection)
[12:33:28] sphery (sphery!~mdean@mythtv/developer/sphery) has quit (Ping timeout: 276 seconds)
[12:42:19] ShapeShifter499 (ShapeShifter499!~ShapeShif@unaffiliated/shapeshifter499) has quit (Remote host closed the connection)
[12:51:38] jheizer_ (jheizer_!~jheizer@2601:246:8200:70ab:ad18:8bd6:639c:f89a) has joined #mythtv
[12:52:37] jheizer (jheizer!~jheizer@2601:246:8200:70ab:4573:ff02:d1d7:9ca8) has quit (Ping timeout: 246 seconds)
[14:10:57] peterbennett (peterbennett!~Peter@mythtv/developer/peterbennett) has joined #mythtv
[14:11:08] gregl (gregl!~greg@cpe-66-67-122-101.nycap.res.rr.com) has quit (Quit: Leaving)
[14:12:46] peterbennett: stuarta: I am not a fan of typedef. It raises thee obfuscation factor in most cases.
[14:13:33] stuarta: peterbennett: sounds like you approve of the change then :)
[14:14:36] peterbennett: yep
[14:14:38] stuarta: i was trying to read the doxygen inheritance tree, and found a "MythRenderBase" between MythRenderEGL and MythRenderOpenGL2
[14:14:54] stuarta: https://code.mythtv.org/doxygen/classMythRenderEGL.html <- still there until the rebuild in ~3hrs
[14:15:56] stuarta: learnt some interesting things, like wayland only uses EGL calls, not GL, because GL pulls in GLX which pulls the X libraries
[14:16:42] peterbennett: So does OpenGL work?
[14:16:51] stuarta: i have no idea
[14:17:05] stuarta: i'm doing research as I don't know enough about the topic
[14:17:41] stuarta: started this rabbit hole, because i've noticed that libva is failing to properly initialize vaapi when running under wayland (the default on f26)
[14:18:24] stuarta: not quite sure yet where it's going wrong, but i suspect it's how we initialize the connection to the xserver
[14:18:51] peterbennett: The next version of Ubuntu also uses wayland
[14:19:02] stuarta: 17.10 ??
[14:19:30] stuarta: so that may increase the urgency of this somewhat
[14:20:00] peterbennett: Not sure if that is 17.10 or 18.04. I only use LTS versions
[14:20:12] stuarta: this is one of the reasons i released v29 for 17.10, to get some early exposure and fixes done so that we can ship v29.1 for 18.04 (the next LTS)
[14:20:25] peterbennett: Ubuntu 17.10 will offer a Wayland session alongside a traditional Xorg one.
[14:20:44] peterbennett: Not sure what that means
[14:20:45] stuarta: i use the LTS versions for my backend, and my prod frontend, however my main dev machine is f26
[14:21:33] stuarta: peterbennett: probably what f25 did, it was available as a selectable option when logging in, but not the default, now at f26, they've switched wayland to be the default, and you have to select xorg if you want it
[14:21:35] gary_buhrmaster: As long as one can still fall back to X session, there will be a workaround for now. Until (someone with copious free time) does the full wayland port...
[14:22:15] stuarta: gary_buhrmaster: i have been pondering a MythRenderWayland / MythPainterWayland
[14:23:19] stuarta: so as a consequence, rather than spending a lot of time learning low level wayland, QtWayland is becoming more attractive
[14:23:33] gary_buhrmaster: Excellent (the someone has been identified).
[14:23:39] stuarta: doh!
[14:23:54] jheizer_: LOLOLOL
[14:23:55] stuarta: although you can strike out "copious free time"
[14:24:25] stuarta: the more i look into it, the more horrible it becomes
[14:28:17] sphery (sphery!~mdean@mythtv/developer/sphery) has joined #mythtv
[14:34:44] peterbennett (peterbennett!~Peter@mythtv/developer/peterbennett) has quit (Quit: Leaving.)
[14:42:47] gregl (gregl!~greg@cpe-66-67-122-101.nycap.res.rr.com) has joined #mythtv
[15:21:37] Jordack (Jordack!~Jordack@75-151-31-172-Michigan.hfc.comcastbusiness.net) has joined #mythtv
[17:07:31] willcooke (willcooke!~willcooke@ubuntu/member/willcooke) has quit (Quit: Do your hobbies)
[17:47:28] dekarl1 is now known as dekarl
[17:50:49] dekarl: peterbennett, another reason for the ubuntu dominance in the stats is that many issues with the hardware profiler have been fixed on ubuntu... I bet that someone fixing all the issues on other platforms then their numbers will rise, too
[18:44:29] peterbennett (peterbennett!~Peter@mythtv/developer/peterbennett) has joined #mythtv
[18:44:50] gary_buhrmaster: dekarl: Does not mythbuntu also help (especially) new users enable the profiler? That (if true) may also be a contributing reason.
[18:48:29] tgm4883: gary_buhrmaster: no we do not
[18:48:58] peterbennett: dekarl: I would expect that if the profiler is working for a particular case (e.g. fedora 25) then it would work for all fedora 25, so the stats for that would be good
[18:49:04] tgm4883: To my knowledge, we can't do that
[18:49:30] tgm4883: We did ask our users to opt in
[18:49:57] peterbennett: dekarl: If there are os's totally missing then maybe it is not working there.
[18:56:00] gary_buhrmaster: tgm4883: Asking users to opt-in (not doing it for them) was was the help I was thinking of. None of the other packages (that I know of) make that hint.
[19:15:39] gary_buhrmaster: fwiw, the profiler runs under Fedora and smolt seems to have the right data
[19:30:31] rmeden (rmeden!~Robert@107-131-102-250.lightspeed.rcsntx.sbcglobal.net) has quit (Read error: Connection reset by peer)
[19:31:05] rmeden (rmeden!~Robert@107-131-102-250.lightspeed.rcsntx.sbcglobal.net) has joined #mythtv
[19:43:56] stuarta: peterbennett: dekarl i'd go with mythbuntu being the lowest barrier of entry to using mythtv
[19:44:35] dekarl: gary_buhrmaster: no, nothing special in terms of "making them turn it on more often"
[19:45:11] dekarl: its more that all corner cases have been handled on a case by case basis
[19:47:22] dekarl: simple stuff like https://github.com/MythTV/packaging/commit/a1 . . . da1e6b04e9a4 where the profiler depends on static data from other packages that are optional
[19:47:52] dekarl: no raspberry pi on the list until you add pci utils even in absence of a pci bus
[19:48:11] stuarta: dekarl: raspbian is there
[19:48:21] stuarta: as is arm cpu's
[19:51:24] peterbennett: stuarta: the profile does not work in my system
[19:51:26] dekarl: that's likely thanks to a maintainer that takes care. notice that Raspbian is ahead of the rest of Debian. looks like the debian-multimedia variant of MythTV has a hardware profiler that doesn't work as well
[19:51:38] stuarta: peterbennett: on the rpi?
[19:51:47] peterbennett: amd64
[19:52:12] stuarta: on ubuntu?
[19:52:20] stuarta: you on 16.04??
[19:52:24] gary_buhrmaster: stuarta: Does not your (countably infinite) TODO list include a smolt rework? Smolt is dead, after all.
[19:52:28] peterbennett: yep, this is my test system
[19:52:31] stuarta: gary_buhrmaster: of course
[19:52:36] peterbennett: AttributeError: 'NoneType' object has no attribute 'group'
[19:52:53] stuarta: not so much a rework, as a complete rewrite, much like the channel icon lookup service
[19:52:57] dekarl: ohh, what is it missing? can you pastebin the back trace?
[19:53:12] stuarta: which sadly also needs work, and a new icon source
[19:53:44] dekarl: and yes, we could replace it with something simpler that is mythtv custom. (nothing to lose as we are the last smolt users and all replacements died, too)
[19:53:58] peterbennett: https://pastebin.com/15wMC1Vz
[19:54:00] stuarta: dekarl: i have plenty of ideas ;-)
[19:54:42] stuarta: peterbennett: do you turn upnp off?
[19:55:42] peterbennett: No I just run the frontened with no argument
[19:56:12] dekarl: do you turn upnp off on the backend? and is this run as your mythtv user?
[19:57:00] peterbennett: Oh I think I set a PIN on the backend
[19:57:20] peterbennett: That will prevent retrieving a datbase password
[19:57:43] stuarta: basically it looks like it's not handling the case where it fails to get the data
[19:58:03] peterbennett: message "HouseKeeperTask 'HardwareProfiler' Failed." comes every time I start the frontend
[19:58:35] peterbennett: It looks like there is code in database.py to look in config.xml but that is not working
[19:59:46] stuarta: yeah, there is no check to handle if it fails to match anything
[19:59:59] stuarta: https://github.com/MythTV/mythtv/blob/master/ . . . ions.py#L469
[20:00:02] peterbennett: Actually the pin is 0000 on teh backend so that should be ok
[20:00:25] peterbennett: On my production system I set a pin to prevent unexpected access
[20:00:37] stuarta: also line 597, which is closer to the linenum in your backtrace
[20:00:38] peterbennett: But here it is 0000
[20:01:39] peterbennett: I'm afraid I don't understand much python
[20:01:49] stuarta: oh it's a horrible language
[20:02:14] stuarta: spent a couple of days rewriting the buildmaster config so it'll auto configure itself given the list of slaves and a branch name
[20:02:50] stuarta: anything that uses white space indentation instead of block quotes should be burned with fire
[20:04:09] peterbennett: I think the profiler may be working in my production system, just failing in test
[20:05:22] stuarta: anyway, would be curious to see what's in the res object
[20:07:33] peterbennett: The debug option -d does not seem to work
[20:08:52] stuarta: it'll need instrumenting with some debug code
[20:08:56] stuarta: pita
[20:09:12] peterbennett: Need to debug the debug code ?
[20:09:24] stuarta: nah, just what the connection is trying to do
[20:13:40] peterbennett: OK My config.xml had the wrong pin
[20:13:47] stuarta: :)
[20:13:52] peterbennett: I fixed it and the error is different
[20:13:59] stuarta: :(
[20:14:12] peterbennett: File "/home/peter/proj/build/mythtv/ttvdb/usr/local/lib/python2.7/dist-packages/ MythTV/database.py", line 1276, in __init__
[20:14:13] peterbennett: raise MythDBError(MythError.DB_CREDENTIALS)
[20:14:13] peterbennett: MythTV.exceptions.MythDBError: Could not find database login credentials
[20:16:53] peterbennett: I will try recreating the config.xml and see what happens – The frontend and others are able to handle a wrong pin by looking in config.xml for the database details but the python stuff seems less able.
[20:22:10] peterbennett (peterbennett!~Peter@mythtv/developer/peterbennett) has left #mythtv ()
[20:23:56] Roklobster (Roklobster!~Dirkka@119-18-8-177.cust.aussiebb.net) has joined #mythtv
[20:42:05] Jordack (Jordack!~Jordack@75-151-31-172-Michigan.hfc.comcastbusiness.net) has quit ()
[20:56:18] Chutt_ (Chutt_!~ijr@cpe-24-166-106-174.neo.res.rr.com) has joined #mythtv
[20:58:12] Chutt (Chutt!~ijr@cpe-24-166-106-174.neo.res.rr.com) has quit (Ping timeout: 260 seconds)
[21:00:17] SteveGoodey (SteveGoodey!~steve@host86-151-53-224.range86-151.btcentralplus.com) has quit (Quit: Konversation terminated!)
[21:01:02] peterbennett (peterbennett!~Peter@mythtv/developer/peterbennett) has joined #mythtv
[21:02:09] peterbennett: I recreated config.xml two ways – 1 with database name and password entered , 2 with UPNP
[21:02:33] peterbennett: In each case sendProfile.py is successful
[21:02:38] tgm4883 (tgm4883!uid23806@ubuntu/member/tgm4883) has quit (Quit: Connection closed for inactivity)
[21:02:54] peterbennett: The time it fails is if you have changed your PIN after creating your config.xml
[21:27:50] peterbennett (peterbennett!~Peter@mythtv/developer/peterbennett) has quit (Quit: Leaving.)
[21:40:22] Tobbe5178 (Tobbe5178!~asdf@2001:2002:51eb:d24e:999a:d832:c872:5038) has quit (Read error: Connection reset by peer)
[22:16:15] peterbennett (peterbennett!~Peter@mythtv/developer/peterbennett) has joined #mythtv
[22:16:15] peterbennett (peterbennett!~Peter@mythtv/developer/peterbennett) has quit (Client Quit)
[22:44:17] wagnerrp_ (wagnerrp_!~wagnerrp_@mythtv/developer/wagnerrp) has quit (Ping timeout: 248 seconds)

IRC Logs collected by BeirdoBot.
Please use the above link to report any bugs.