Rockbox Xduoo X3
Feb 24, 2017 at 12:11 AM Post #1,366 of 2,617
I get the refill handler panic. But only now and again.

Can't help on the *PANIC* TLB refill handler issue.
 
From a generic non-Rockbox point of view, TLB refilling is a memory management function which is handled by the main processor.
 
According to this post (http://forums.rockbox.org/index.php?topic=17245.30) on the Rockbox forums, it appears that it's likely caused by some bug in the code. Even though that Rockbox thread is from 2008, it references players using the same Ingenic Jz47xx series of CPUs that the Xduoo X3 uses (X3 just using the more current version Ingenic JZ4760B as referenced https://www.rockbox.org/wiki/XDuooX3 and https://www.rockbox.org/wiki/IngenicJz47xx). The RB developer 'mcuelenaere' appears to have later corrected the issue (due to a typo in the code), as indicated by his 2nd post down.
 
That does't mean it's the exact same cause of the *PANIC* TLB refill handler crash on the XDuoo X3 code, but at least it's something to go on. The fact that the Rockbox thread is in the 'New Ports' section, could indicate that mcuelenaere's (corrected) code may not be part of the main Rockbox code. I don't know what version of the code XVortex is using as his base code, but that would be a good place to start IMO.
 
I wish I was an application developer so I could help more (I'm just IT Admin/DevOps who've supported developers for 20 yrs, so I'm used to assisting tracking down bugs), but perhaps XVortex will see this post and have a clue; maybe contact 'mcuelenaere', etc.
 
Feb 24, 2017 at 8:51 AM Post #1,367 of 2,617
  Can't help on the *PANIC* TLB refill handler issue.
..... I wish I was an application developer so I could help more (I'm just IT Admin/DevOps who've supported developers for 20 yrs, so I'm used to assisting tracking down bugs), but perhaps XVortex will see this post and have a clue; maybe contact 'mcuelenaere', etc.

 
I'm going to read through the post you;ve mentioned and see if it makes any sense.
I too am "Just IT Admin/DevOps". If you need some task automated and scripted, or if you need me to find a bug in a web server application, I'm your man. A proper useful program from scratch? I do that on occasion. Diving into rockbox to help, well I feel like my hands are tied. I tweak the code now and again and compile it. I've learned a lot about rockbox, but Im having some difficulties with 'C' programming in general, in tracing variables and logging certain events before a crash (at least on a portable device)
 
Mar 1, 2017 at 3:22 PM Post #1,368 of 2,617
  Seemed to work first time! Thanks masseo1. The voice seems to be some gloomy old robot!
 
Still getting a panic error every so often. But it auto reboots and gets on with it.


Hi there,
 
I have worked out getting an alternate voice that might sound better. Its a female voice, sounds a bit more natural.
See if it works.
 
Mar 1, 2017 at 4:25 PM Post #1,369 of 2,617
Thanks. Unfortunately I've already sent the X3 to my blind friend. I will see if he gets fed up with mumbling Marvin before changing.
 
The voicebox SPEEX voice is the best. It's really clear and well spoken. Shame we can't generate the file from that. I don't understand how the voice file works. Does it have every possible word in the menus already voice generated? Or does it work some other way?
 
Mar 1, 2017 at 5:02 PM Post #1,370 of 2,617
  Thanks. Unfortunately I've already sent the X3 to my blind friend. I will see if he gets fed up with mumbling Marvin before changing.
 
The voicebox SPEEX voice is the best. It's really clear and well spoken. Shame we can't generate the file from that. I don't understand how the voice file works. Does it have every possible word in the menus already voice generated? Or does it work some other way?

 
Youre welcome. Unfortunately I didn't mess around with another voice until this week.
The voices at "Speech at CMU"  (Caregie Mellon University speech research site) all sound a bit better than the default 'kal' voice thats used by default in Flite.
 
As far as the voice file, it seems to be generated  based on predefined phrases/statements in a code file  here: apps/lang/LANGUAGE.lang,
There seems to be about 760 predefined such phrases for english.
 
an example of a phrase looks like:
<phrase>
  id: LANG_EQUALIZER_BAND_CUTOFF
  desc: in the equalizer settings menu
  user: core
  <source>
    *: none
    swcodec: "Cutoff Frequency"
  </source>
  <dest>
    *: none
    swcodec: "Cutoff Frequency"
  </dest>
  <voice>
    *: none
    swcodec: "Cutoff Frequency"
  </voice>
</phrase>
 
Mar 1, 2017 at 11:41 PM Post #1,371 of 2,617
  Thanks. Unfortunately I've already sent the X3 to my blind friend. I will see if he gets fed up with mumbling Marvin before changing.
 
The voicebox SPEEX voice is the best. It's really clear and well spoken. Shame we can't generate the file from that. I don't understand how the voice file works. Does it have every possible word in the menus already voice generated? Or does it work some other way?

 
I meant to tell you that it's really cool getting this all set up for your blind friend.
 
What is he pairing the X3 with?
 
Mar 2, 2017 at 5:18 AM Post #1,372 of 2,617
I do it partly because he's a mate, and partly because I think it's so ridiculous that the technology to make life easy and fun for blind people is long since been developed, but no manufacturer is interested. All the money is in selling shiny colour screens to teenagers.

He has a sansa which he paired with a Cambridge audio portable speaker. I told him to go and pick up a second hand amp and speakers to get the best out of the X3!
 
Mar 2, 2017 at 5:24 AM Post #1,373 of 2,617
Youre welcome. Unfortunately I didn't mess around with another voice until this week.
The voices at "Speech at CMU"  (Caregie Mellon University speech research site) all sound a bit better than the default 'kal' voice thats used by default in Flite.

As far as the voice file, it seems to be generated  based on predefined phrases/statements in a code file  here: apps/lang/LANGUAGE.lang,
There seems to be about 760 predefined such phrases for english.

an example of a phrase looks like:


  id: LANG_EQUALIZER_BAND_CUTOFF

  desc: in the equalizer settings menu

  user: core

 

    *: none

    swcodec: "Cutoff Frequency"

 

 

    *: none

    swcodec: "Cutoff Frequency"

 

 

    *: none

    swcodec: "Cutoff Frequency"

 

So the lang file defines the list of words that the device needs - and the voice file is a tagged stack of mp3 clips?

I changed the menu on the X3 - removing everything except bookmarks, files and settings to simplify the interface. All fine - but in the settings the voice and the screen don't match! Doesn't matter though.
 
Mar 4, 2017 at 1:35 AM Post #1,377 of 2,617
X3 with voice is SO awesome.
 
Only complaint, it pronounces bass as bass! 
rolleyes.gif
 
 
Quick question, can't hear any difference with crossfeed off or simple (meier)?
 
Mar 6, 2017 at 12:22 AM Post #1,380 of 2,617
  X3 with voice is SO awesome.
 
Only complaint, it pronounces bass as bass! 
rolleyes.gif
 
 
Quick question, can't hear any difference with crossfeed off or simple (meier)?

Now I can't get this image out of my head
 

 

Users who are viewing this thread

Back
Top