![]() |
|
New MythTV add-on using libcmyth - Printable Version +- XBMC Community Forum (http://forum.xbmc.org) +-- Forum: Development (/forumdisplay.php?fid=32) +--- Forum: PVR Development (/forumdisplay.php?fid=136) +--- Thread: New MythTV add-on using libcmyth (/showthread.php?tid=110694) Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 |
- dubstar_04 - 2011-09-27 20:42 tsp42 Wrote:The leak should be closed now. Thank you for your quick work on this!! I am building a fresh clone. I will feed back if i find anything new. Thanks, Dubstar_04 - dubstar_04 - 2011-09-27 21:18 Wow, What an improvement!!! It starts up in seconds and memory usage is about 50MB now instead of 1.5GB!! One of the cpu cores is still pegged at 100% while xbmc is running, is there anyway of finding out what might cause it? maybe feedback to dushmaniac? thanks again, Dubstar_04 - tsp42 - 2011-09-28 23:55 dubstar_04 Wrote:Wow, The high CPU utilization on linux should be fixed now. Using a profiler is usually the best method to finding the cause. I use intel vTune on linux. - dubstar_04 - 2011-09-29 07:27 tsp42 Wrote:The high CPU utilization on linux should be fixed now. Using a profiler is usually the best method to finding the cause. I use intel vTune on linux. That seems to of fixed it. cpu useage is now ~18% compared to >!00% before. I am seeing a small memory leak, i can't be sure but i think its when loading the guide (timeline). The memory usage gently climbs from 50mb and never goes down. i will try and investigate this tonight. Thank you for your work, Dubstar_04 - dubstar_04 - 2011-09-29 18:07 There does seem to be a memory leak when selecting the EPG:Timeline view. logs from current build: Massif log: http://paste.ubuntu.com/699172/ Massive output file: http://paste.ubuntu.com/699173/ Valgrind log: http://paste.ubuntu.com/699174/ - tsp42 - 2011-09-29 22:25 Maybe related to this? I will try to improve the timers (and maybe the sorting of records) before investigation this leak further (not as severe as the last leak). It is a bit complicated to map the MythTV timers to the XBMC PVR timers (suggestions are appreciated). I've been thinking about showing a custom window when adding a recording with the different mythtv specific options at least this would reduce the need to mess around with the XBMC PVR code. - dubstar_04 - 2011-09-30 07:33 tsp42 Wrote:Maybe related to this? Dushmaniac may well be aware of the memory leak. I could always add the leak on his git repo next week if its not resolved. I had a quick look at the timers last week as not all the timers are pulled into xbmc. i never got to the bottom of the issue but it looks like anything that has a blue traffic light in mythtv-frontend is included the yellow ones are missed. the reasons for the colours vary. I was using a method to not include any timers that ended before the current time. That made the timers window easier to understand as only current and future recordings were shown. I will try and have a look at how the mapping works and see if i can understand it, although you have probably thought of everything i would suggest! if you can add a window through the cmyth add-on, that would be superb. maybe speak with dushmaniac regarding his intention to implement recording types in the future as i'm sure he would accept patches to the pvr code? - tsp42 - 2011-10-01 22:58 I've added sorting of recordings by date to the context menu. dubstar_04: Can you check if the missing timers are in the sql database (in the record table)? - dubstar_04 - 2011-10-01 23:47 tsp42 Wrote:I've added sorting of recordings by date to the context menu. I have just built the latest git. The recordings are much easier to understand now. thank you. I have done a side by side comparison of the mythconverge record table and xbmc timers and they tie up!! The majority of the mythtv pvr add-on is now complete!! just a few little nips and tucks and tweaks here and there (to the pvr framework) and it will be a usable everyday front end!!! really great work!! I can't thank you enough for the constant updates and fixes. - Hirs - 2011-10-02 11:19 Could you merge with master? there is a new feature I already can't live without it ![]() http://forum.xbmc.org/showthread.php?p=898913 I feel the perfect PVR is coming
|