Your Digital Media Has Never Looked So Good

 
jm_maclaren
Topic Author
Posts: 329
Joined: Mon Oct 16, 2006 9:03 am

Re: release for myth.21+fixes

Mon May 05, 2008 5:55 am

magicjohn wrote:
Jim,

I recently got myth 0.21+fixes compiled on my Thecus n2100 ARM NAS box and apparently it uses protocol 40.

When trying to use Mythroku .82i, I get a protocol mismatch as Myth 0.21 apparently uses protocol 40. Whenever mythroku tries to play a saved recording, it says it cannot open the file.

I have tried to revert back to myth 0.20 and cannot get it to compile on my ARM processor.

Do you have plans to go to protocol 40? Is there anything I can do? Should this work?

Thanks,
John


I am running 0.81 fixes under mythbuntu 8.04 with no problems. First reboot the roku and fire up mythroku again. Once there is a failure (crash) with the decoder open it will continue to give this type of error. Make sure you have the backend ip set up correctly in mythroku.roku. If it still fails on mpeg2 recordings that play on other front ends then telnet to your roku and start it from the command line.

In the directory do a
./mythroku.app -backend=your ip number >& log &
then look at the log and post that.

I assume your shows show up on the 1st screen
Does you roku use a fixed ip?
Did you set up the mysql database table mysql/user to allow access from your roku per my web site?
Did you unpack the Themes package?
If you press menu or rotate do those screens work?
Does live tv work?

I don't know of others with these problems and you error does not sound like a protocol error. Mythroku starts with 8 and negotiates up from there.

James
 
magicjohn
Posts: 7
Joined: Sun Nov 04, 2007 8:15 pm

segmentation violation on .82j

Mon May 05, 2008 5:27 pm

I am trying to run .82j on my myth 0.21+fixes installation.

I am getting this:

mythroku2.app -settingsdir=/tmp -backend=192.168.1.100 -dbuser=roku -themedir=/mnt/flash1/Themes


ATI Xilleon X225-A13 (Device ID: 4855 Revision: 3)

Aper PhysBase Size VirtBase AperBase Access
00 18000000 00010000 2aacd000 2aacd000 MM
01 08000000 08000000 2b3ad000 2b3ad000 MM
02 1c000000 04000000 333ad000 333ad000 MM
03 10010000 00001000 2aae5000 2aae5000 MM
07 10011000 00000100 2aae6000 2aae6000 MM
08 10011100 00000100 2aae7000 2aae7100 MM
10 00002200 00000008 00002200 00002200 IO
11 00002208 00000004 00002208 00002208 IO
12 00002220 00000010 00002220 00002220 IO
14 00000000 00008000 00000000 173ad000 MM
15 00000000 00008000 00000000 173ad000 MM
16 00000000 00008000 00000000 173ad000 MM
17 00000000 00008000 00000000 173ad000 MM
18 00000000 00008000 00000000 173ad000 MM
19 00000000 00008000 00000000 173ad000 MM
20 00000000 00008000 00000000 173ad000 MM
22 10008000 00008000 2aadd000 2aadd000 MM


XCLK = 165 MHz
MCLK = 99 MHz
MIPS = 299 MHz

Memory Configuration: 32-bit 2-Channel DDR.
Channel 0 Size: 02000000 (32 MB)
Channel 1 Size: 02000000 (32 MB)
Total mem Size: 04000000 (64 MB)

Detecting theater...
Error: Rage theater/theater2 not found on VIP bus.

Core Version: 14.0.0.0
LLD Version: 14.0.0.0
HKD Version: 14.0.0.0

Core initialization completed.


application directory =
default application directory =
default temp directory = tmp
default theme directory = Themes/mythroku/
opening fileThemes//mnt/flash1/Themes/defaults.txt
application directory =
temp directory = /tmp
temp directory = Themes//mnt/flash1/Themes
db_user = roku
db_pass =
2008-05-5 17:37:09.470 Unknown Debug cmyth_proglist_get_list: (ERROR) cmyth_rcv_len() ocunt (1155)

Segmentation fault


Any suggestions?
 
magicjohn
Posts: 7
Joined: Sun Nov 04, 2007 8:15 pm

additional information

Mon May 05, 2008 5:35 pm

Questions:

I assume your shows show up on the 1st screen
I get a segmentation violation before any screen shows up
Does you roku use a fixed ip?
Yes - 192.168.1.100
Did you set up the mysql database table mysql/user to allow access from your roku per my web site?
Yes
Did you unpack the Themes package?
I did grab the themes directory as listed in the 0.81 listing and put it on the flash. Is this the right one? There was no version number.

If you press menu or rotate do those screens work?
No.
Does live tv work?
No.

Thanks,
John
 
jm_maclaren
Topic Author
Posts: 329
Joined: Mon Oct 16, 2006 9:03 am

Mon May 05, 2008 6:15 pm

John

Is your backend is set up right. Please check :

Under mythtv-setup is your true backend ip set up to its ip (not 127.0.0.1) in both fields
Also the pin code on this page should be 0000 not blank.
Then the mysl.conf file should indicate the true backend ip not 127.0.0.1
then reboot the server then the roku. Does this help at all.
If not Ill post a mythroku with more debug info in it to trace the problem

I am running 0.21.20080304-01 rev 16638 (mythbuntu 8.04LTS)

Do you connect to your backend from any other remote front ends?

James
Last edited by jm_maclaren on Mon May 05, 2008 6:31 pm, edited 1 time in total.
 
jm_maclaren
Topic Author
Posts: 329
Joined: Mon Oct 16, 2006 9:03 am

Mon May 05, 2008 6:26 pm

hondo wrote:
Jim : I am trying to find the font color selection settings and the overlay graphic that you use for the upcoming recordings and search page. They don't seem to be in the same locations as the other graphics and text-font-color control settings ?

Help !


Do you want to change the font size/family or just the colors?
 
magicjohn
Posts: 7
Joined: Sun Nov 04, 2007 8:15 pm

got it!

Mon May 05, 2008 7:07 pm

Thanks so much Jim,

I had changed everything back to 127.0.0.1 when I was troubleshooting.

I did your suggested changes and I am watching it right now!

Thanks so much for your help and your coding.


John
 
hondo
Posts: 144
Joined: Thu Oct 27, 2005 3:43 pm

Tue May 06, 2008 2:45 pm

Jim - actually I want to change the colors of the fomnts used in the schedule/upcoming recordings and the white background graphic they are displayed in. The graphic is an overlay that comes when you hit rotate.[/img]
 
jm_maclaren
Topic Author
Posts: 329
Joined: Mon Oct 16, 2006 9:03 am

Tue May 06, 2008 2:57 pm

ok, I have a version that does that. I need to test it a bit more...
 
jm_maclaren
Topic Author
Posts: 329
Joined: Mon Oct 16, 2006 9:03 am

Wed May 07, 2008 7:43 pm

0.82k adds option -order_by_channel to order numerically all channels regardless of tuner number. New defaults.txt adds capablity to change fonts/text box colors on search page. TV guide cycles when you scroll off the top (bottom) guide displays bottom (top)

Enjoy
James
 
satz
Posts: 51
Joined: Sun Feb 05, 2006 12:30 am

Sun May 18, 2008 1:55 pm

I am seeing a crash running the latest version. It might be useful to output the program version number when it starts running. Not much in the output to help and apparently the dbglevel argument is compiled out.

Any clues appreciated.

Thanks,
Greg

ATI Xilleon X225-A13 (Device ID: 4855 Revision: 3)

Aper PhysBase Size VirtBase AperBase Access
00 18000000 00010000 2aacd000 2aacd000 MM
01 08000000 08000000 2b3ad000 2b3ad000 MM
02 1c000000 04000000 333ad000 333ad000 MM
03 10010000 00001000 2aae5000 2aae5000 MM
07 10011000 00000100 2aae6000 2aae6000 MM
08 10011100 00000100 2aae7000 2aae7100 MM
10 00002200 00000008 00002200 00002200 IO
11 00002208 00000004 00002208 00002208 IO
12 00002220 00000010 00002220 00002220 IO
14 00000000 00008000 00000000 173ad000 MM
15 00000000 00008000 00000000 173ad000 MM
16 00000000 00008000 00000000 173ad000 MM
17 00000000 00008000 00000000 173ad000 MM
18 00000000 00008000 00000000 173ad000 MM
19 00000000 00008000 00000000 173ad000 MM
20 00000000 00008000 00000000 173ad000 MM
22 10008000 00008000 2aadd000 2aadd000 MM


XCLK = 165 MHz
MCLK = 99 MHz
MIPS = 299 MHz

Memory Configuration: 32-bit 2-Channel DDR.
Channel 0 Size: 02000000 (32 MB)
Channel 1 Size: 02000000 (32 MB)
Total mem Size: 04000000 (64 MB)

Detecting theater...
Error: Rage theater/theater2 not found on VIP bus.

Core Version: 14.0.0.0
LLD Version: 14.0.0.0
HKD Version: 14.0.0.0

Core initialization completed.

acl| FwIrqRetrievalThread (Queue entry 0x373c51b4) started, Synchronization Mutex released
acl| AtiCore_NotificationMsgActivate(1, ATI_MSG_TYPE_INTERRUPT_OCCURRED) returns 0x0
acl| FwIrq_QueueCreate: Thread Synchronization Mutex 29 passed
acl| FwHkdCommunicationThread started, Synchronization Semaphore released
acl| AtiCore_NotificationMsgActivate(ATI_MSG_TYPE_FROM_HKD) returns 0x0
acl| FwHkdInit: Thread Synchronization Semaphore 29 passed
acl| Creating Message Event 0x1 for HKD Message Tag 0xb
acl| Waiting for the Message Event 0x1
acl| HkdCommunicationThread: AtiCore_NotificationMsgWait() returns a message 2 of length 8
acl| FwHkdCommunicationThread: FROM_HKD Message 0xd8086421 (Tag = 0xb) received
acl| Signalling the Message Event 0x1
acl| Message Event 0x1 is received with coreResult = 0x0
acl| Deleting Message Event 0x1
acl| FwHkdInit() success










application directory = ./.mythroku/
default application directory = ./.mythroku/
default temp directory = ./.mythroku/tmp
default theme directory = ./.mythroku/Themes/mythroku/
opening file./.mythroku/Themes/mythroku//defaults.txt
Reading List Font Information
system
26
hl_sel_color=242,244,79
nohl_sel_color=255,255,255
nohl_nosel_color=150,150,150
Reading Title Font Information
system
40
title_color=255,255,255
Reading Menu Font Information
system
26
title_color=255,255,255
Reading TVGuide Font Information
system
24
tvguide_sel_color=242,244,79
system
24
tvguide_nosel__color0,0,0
system
24
tvguide_program_color255,255,255
application directory = ./.mythroku/
temp directory = ./.mythroku/./.mythroku/cache
temp directory = ./.mythroku/Themes/mythroku/
db_user = roku
db_pass =
2008-05-18 14:46:42.363 Unknown Debug cmyth_proglist_get_list: (ERROR) cmyth_rcv_len() ocunt (94309)

mythbrowser rect0,0,1024,576
mythbrowser rect0,0,1024,576
mythbrowser rect0,0,1024,576
mythbrowser rect0,0,1024,576
mythbrowser rect0,0,1024,576
mythbrowser rect0,0,1024,576
mythbrowser rect0,0,1024,576
Utils::LoadBitmap() - ./.mythroku/Themes/mythroku//option-win.png
mythbrowser rect0,0,1024,576
Utils::LoadBitmap() - ./.mythroku/Themes/mythroku//option-win.png
Utils::LoadBitmap() - ./.mythroku/Themes/mythroku//option-win.png
Utils::LoadBitmap() - ./.mythroku/Themes/mythroku//option-win.png
ButtonStateChgCB:1
in MPLAY:: actionOpenProgInfo
m_frames =6057
Found 0 commercial breaks for current program.
libdvbpsi error (PSI decoder): TS discontinuity (received 8, expected 0)
libdvbpsi error (PSI decoder): TS discontinuity (received 3, expected 0)
MDecoder: Before Resume Streaming
In MDecoder::ResumeStreaming
MDECODER nBuffSize = 393216|17748833
0|start,stop376,124679720
1|start,stop1019269260,1353505060
2|start,stop4861417740,5075433932
3|start,stop6594142864,6858589116
./MythRoku.roku: line 3: 690 Segmentation fault ./.mythroku/mythroku.app -backend=myth -settingsdir=./.mythroku/cache -dbuser=roku -nolivetv -newestfirst
[/quote]
 
jm_maclaren
Topic Author
Posts: 329
Joined: Mon Oct 16, 2006 9:03 am

Sun May 18, 2008 4:14 pm

I set the debug level to none in the code as with debug output it seemed to slow the code down.




Does it play any recordings for you?
Is the failure a HD or SD recording
Is it commflagged
Did you play commflagged. If so will it and other plays w/o comm skipping. I think that is the issue

I will post a version that spits more info out.

I don;t see any crashes running a mythbuntu 8.4 backend.
 
satz
Posts: 51
Joined: Sun Feb 05, 2006 12:30 am

Sun May 18, 2008 5:17 pm

I upgraded my mythbuntu to the latest before sending that last crash output so I know that is current.

Seems to crash when I play a HD comm-flagged show.

Here is the output of trying a non-HD play normal, non-HD play comm-flagged, HD play normal and HD play comm-flagged.

Thanks,
Greg



ATI Xilleon X225-A13 (Device ID: 4855 Revision: 3)

Aper PhysBase Size VirtBase AperBase Access
00 18000000 00010000 2aacd000 2aacd000 MM
01 08000000 08000000 2b3ad000 2b3ad000 MM
02 1c000000 04000000 333ad000 333ad000 MM
03 10010000 00001000 2aae5000 2aae5000 MM
07 10011000 00000100 2aae6000 2aae6000 MM
08 10011100 00000100 2aae7000 2aae7100 MM
10 00002200 00000008 00002200 00002200 IO
11 00002208 00000004 00002208 00002208 IO
12 00002220 00000010 00002220 00002220 IO
14 00000000 00008000 00000000 173ad000 MM
15 00000000 00008000 00000000 173ad000 MM
16 00000000 00008000 00000000 173ad000 MM
17 00000000 00008000 00000000 173ad000 MM
18 00000000 00008000 00000000 173ad000 MM
19 00000000 00008000 00000000 173ad000 MM
20 00000000 00008000 00000000 173ad000 MM
22 10008000 00008000 2aadd000 2aadd000 MM


XCLK = 165 MHz
MCLK = 99 MHz
MIPS = 299 MHz

Memory Configuration: 32-bit 2-Channel DDR.
Channel 0 Size: 02000000 (32 MB)
Channel 1 Size: 02000000 (32 MB)
Total mem Size: 04000000 (64 MB)

Detecting theater...
Error: Rage theater/theater2 not found on VIP bus.

Core Version: 14.0.0.0
LLD Version: 14.0.0.0
HKD Version: 14.0.0.0

Core initialization completed.

acl| FwIrqRetrievalThread (Queue entry 0x373c51b4) started, Synchronization Mutex released
acl| AtiCore_NotificationMsgActivate(1, ATI_MSG_TYPE_INTERRUPT_OCCURRED) returns 0x0
acl| FwIrq_QueueCreate: Thread Synchronization Mutex 29 passed
acl| FwHkdCommunicationThread started, Synchronization Semaphore released
acl| AtiCore_NotificationMsgActivate(ATI_MSG_TYPE_FROM_HKD) returns 0x0
acl| FwHkdInit: Thread Synchronization Semaphore 29 passed
acl| Creating Message Event 0x1 for HKD Message Tag 0x6
acl| Waiting for the Message Event 0x1
acl| HkdCommunicationThread: AtiCore_NotificationMsgWait() returns a message 2 of length 8
acl| FwHkdCommunicationThread: FROM_HKD Message 0xb0086421 (Tag = 0x6) received
acl| Signalling the Message Event 0x1
acl| Message Event 0x1 is received with coreResult = 0x0
acl| Deleting Message Event 0x1
acl| FwHkdInit() success










application directory = ./.mythroku/
default application directory = ./.mythroku/
default temp directory = ./.mythroku/tmp
default theme directory = ./.mythroku/Themes/mythroku/
opening file./.mythroku/Themes/mythroku//defaults.txt
Reading List Font Information
system
26
hl_sel_color=242,244,79
nohl_sel_color=255,255,255
nohl_nosel_color=150,150,150
Reading Title Font Information
system
40
title_color=255,255,255
Reading Menu Font Information
system
26
title_color=255,255,255
Reading TVGuide Font Information
system
24
tvguide_sel_color=242,244,79
system
24
tvguide_nosel__color0,0,0
system
24
tvguide_program_color255,255,255
application directory = ./.mythroku/
temp directory = ./.mythroku/./.mythroku/cache
temp directory = ./.mythroku/Themes/mythroku/
db_user = roku
db_pass =
2008-05-18 18:05:21.553 Unknown Debug cmyth_proglist_get_list: (ERROR) cmyth_rcv_len() ocunt (94996)

mythbrowser rect0,0,1024,576
mythbrowser rect0,0,1024,576
mythbrowser rect0,0,1024,576
mythbrowser rect0,0,1024,576
mythbrowser rect0,0,1024,576
mythbrowser rect0,0,1024,576
Utils::LoadBitmap() - ./.mythroku/Themes/mythroku//option-win.png
mythbrowser rect0,0,1024,576
Utils::LoadBitmap() - ./.mythroku/Themes/mythroku//option-win.png
Utils::LoadBitmap() - ./.mythroku/Themes/mythroku//option-win.png
Utils::LoadBitmap() - ./.mythroku/Themes/mythroku//option-win.png
ButtonStateChgCB:0
in MPLAY:: actionOpenProgInfo
m_frames =7176
MDecoder: Before Resume Streaming
In MDecoder::ResumeStreaming
MDECODER nBuffSize = 393216|5176948
TSPF: Reserving PID filters for PS stream
done callback action
mythbrowser rect0,0,1024,576
mythbrowser rect0,0,1024,576
mythbrowser rect0,0,1024,576
got exit key
got exit key
Showing menu
2008-05-18 18:13:48.103 Unknown Debug cmyth_proglist_get_list: (ERROR) cmyth_rcv_len() ocunt (94997)

mythbrowser rect0,0,1024,576
Utils::LoadBitmap() - ./.mythroku/Themes/mythroku//option-win.png
mythbrowser rect0,0,1024,576
Utils::LoadBitmap() - ./.mythroku/Themes/mythroku//option-win.png
Utils::LoadBitmap() - ./.mythroku/Themes/mythroku//option-win.png
Utils::LoadBitmap() - ./.mythroku/Themes/mythroku//option-win.png
ButtonStateChgCB:1
in MPLAY:: actionOpenProgInfo
m_frames =7176
Found 5 commercial breaks for current program.
Found 5 commercial breaks for current program.
MDecoder: Before Resume Streaming
In MDecoder::ResumeStreaming
TSPF: Reserving PID filters for PS stream
done callback action
mythbrowser rect0,0,1024,576
mythbrowser rect0,0,1024,576
mythbrowser rect0,0,1024,576
got exit key
got exit key
Showing menu
2008-05-18 18:14:02.963 Unknown Debug cmyth_proglist_get_list: (ERROR) cmyth_rcv_len() ocunt (94997)

mythbrowser rect0,0,1024,576
mythbrowser rect0,0,1024,576
mythbrowser rect0,0,1024,576
mythbrowser rect0,0,1024,576
mythbrowser rect0,0,1024,576
Utils::LoadBitmap() - ./.mythroku/Themes/mythroku//option-win.png
mythbrowser rect0,0,1024,576
Utils::LoadBitmap() - ./.mythroku/Themes/mythroku//option-win.png
Utils::LoadBitmap() - ./.mythroku/Themes/mythroku//option-win.png
Utils::LoadBitmap() - ./.mythroku/Themes/mythroku//option-win.png
ButtonStateChgCB:0
in MPLAY:: actionOpenProgInfo
m_frames =6057
libdvbpsi error (PSI decoder): TS discontinuity (received 8, expected 0)
libdvbpsi error (PSI decoder): TS discontinuity (received 3, expected 0)
MDecoder: Before Resume Streaming
In MDecoder::ResumeStreaming
done callback action
mythbrowser rect0,0,1024,576
mythbrowser rect0,0,1024,576
mythbrowser rect0,0,1024,576
got exit key
__cmyth_send_message
__cmyth_send_message: sending message '49 QUERY_FILETRANSFER 30[]:[]REQUEST_BLOCK[]:[]32768'
__cmyth_rcv_length
__cmyth_rcv_length
got exit key
Showing menu
2008-05-18 18:14:18.683 Unknown Debug cmyth_proglist_get_list: (ERROR) cmyth_rcv_len() ocunt (94997)

mythbrowser rect0,0,1024,576
Utils::LoadBitmap() - ./.mythroku/Themes/mythroku//option-win.png
mythbrowser rect0,0,1024,576
Utils::LoadBitmap() - ./.mythroku/Themes/mythroku//option-win.png
Utils::LoadBitmap() - ./.mythroku/Themes/mythroku//option-win.png
Utils::LoadBitmap() - ./.mythroku/Themes/mythroku//option-win.png
ButtonStateChgCB:1
in MPLAY:: actionOpenProgInfo
m_frames =6057
Found 0 commercial breaks for current program.
libdvbpsi error (PSI decoder): TS discontinuity (received 8, expected 0)
libdvbpsi error (PSI decoder): TS discontinuity (received 3, expected 0)
MDecoder: Before Resume Streaming
In MDecoder::ResumeStreaming
justcommskipped=1 nextrabufffers = 30
justcommskipped=2 nextrabufffers = 30
justcommskipped=3 nextrabufffers = 30
justcommskipped=4 nextrabufffers = 30
justcommskipped=5 nextrabufffers = 30
justcommskipped=6 nextrabufffers = 30
justcommskipped=7 nextrabufffers = 30
done callback action
mythbrowser rect0,0,1024,576
justcommskipped=8 nextrabufffers = 30
justcommskipped=9 nextrabufffers = 30
justcommskipped=10 nextrabufffers = 30
justcommskipped=11 nextrabufffers = 30
justcommskipped=12 nextrabufffers = 30
justcommskipped=13 nextrabufffers = 30
mythbrowser rect0,0,1024,576
justcommskipped=14 nextrabufffers = 30
justcommskipped=15 nextrabufffers = 30
mythbrowser rect0,0,1024,576
justcommskipped=16 nextrabufffers = 30
justcommskipped=17 nextrabufffers = 30
justcommskipped=18 nextrabufffers = 30
justcommskipped=19 nextrabufffers = 30
justcommskipped=20 nextrabufffers = 30
justcommskipped=21 nextrabufffers = 30
justcommskipped=22 nextrabufffers = 30
justcommskipped=23 nextrabufffers = 30
justcommskipped=24 nextrabufffers = 30
justcommskipped=25 nextrabufffers = 30
justcommskipped=26 nextrabufffers = 30
justcommskipped=27 nextrabufffers = 30
justcommskipped=28 nextrabufffers = 30
justcommskipped=29 nextrabufffers = 30
justcommskipped=30 nextrabufffers = 30
OnFillBuffer : sending message through wormhole
MPlayApp::OnWormholeMessage DEADBEAD
./MythRoku.roku: line 3: 457 Segmentation fault ./.mythroku/mythroku.app -backend=myth -settingsdir=./.mythroku/cache -dbuser=roku -nolivetv -newestfirst

 
jm_maclaren
Topic Author
Posts: 329
Joined: Mon Oct 16, 2006 9:03 am

Sun May 18, 2008 8:24 pm

I can reproduce the bug here and reflects the problem of connecting two tables in mythconverg. One holds frame positions for commercial breaks, the other frame /byte positions in the stream. I tried to do a single mysql call to find the byte positions of the start and stop points for commercial breaks which seems to fail under certain circumstances.

I have a fix I am testing, so far so good. I will post an update as soon as I have played a couple of recordings.
 
jm_maclaren
Topic Author
Posts: 329
Joined: Mon Oct 16, 2006 9:03 am

Mon May 19, 2008 6:15 pm

try 0.82l which I believe fixes the comm skip bug
James
 
satz
Posts: 51
Joined: Sun Feb 05, 2006 12:30 am

Mon May 19, 2008 7:08 pm

This latest version plays my HD comm-flagged recordings. Good find. Thanks as always for your continued support.

I did notice that the downloaded file had a zip extension but it was the actual unzipped binary.

Thanks!

Who is online

Users browsing this forum: No registered users and 1 guest