Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Rockbox Ports are now being developed for various digital audio players!

+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Hardware
| | |-+  Screen scrambled on Clip Zip with RB 3.15
« previous next »
  • Print
Pages: 1 [2]

Author Topic: Screen scrambled on Clip Zip with RB 3.15  (Read 988 times)

Offline Bilgus

  • Developer
  • Member
  • *
  • Posts: 537
Re: Screen scrambled on Clip Zip with RB 3.15
« Reply #15 on: February 27, 2020, 04:50:49 PM »
could you try V2 again it is an optimal solution that I can put in main with no issues to any other players
Logged

Offline sansalex

  • Member
  • *
  • Posts: 11
Re: Screen scrambled on Clip Zip with RB 3.15
« Reply #16 on: February 27, 2020, 05:05:57 PM »
Quote from: Bilgus on February 27, 2020, 04:50:49 PM
could you try V2 again it is an optimal solution that I can put in main with no issues to any other players

I'm afraid: with the new clean device, the build V2 still has the issues. It looks like V1 is the only one resolving, do you want me to check V3 again?
Logged

Offline Bilgus

  • Developer
  • Member
  • *
  • Posts: 537
Re: Screen scrambled on Clip Zip with RB 3.15
« Reply #17 on: February 27, 2020, 05:32:14 PM »
Ok here is another try that I won't feel too bad about pushing to main

Honestly I haven't heard of another clipzip user having this issue even among the 3 I personally have access to

http://www.mediafire.com/file/sdi2bb6ru64olgi/ClipZip_Corrupted_displayV5_2-27-20_rockbox-full.zip
Logged

Offline sansalex

  • Member
  • *
  • Posts: 11
Re: Screen scrambled on Clip Zip with RB 3.15
« Reply #18 on: February 28, 2020, 04:06:06 AM »
Quote from: Bilgus on February 27, 2020, 05:32:14 PM
Ok here is another try that I won't feel too bad about pushing to main

Yep, V5 is working fine!
May I ask the difference between V1/3 and V5? And why turning off/on is a dangerous solution? This is just for my curiosity.
Thanks, man  ;)
Logged

Offline Bilgus

  • Developer
  • Member
  • *
  • Posts: 537
Re: Screen scrambled on Clip Zip with RB 3.15
« Reply #19 on: February 28, 2020, 10:47:09 AM »
None of them are dangerous solutions just non optimal
V1 I turned the screen on and off when the backlight started up

v2 I noted the lcd code is using a static bool variable that is only implicitly initialized
     basically the compiler is expected to set it to false but since the bootloader already
     used this variable it is possible it is already initialized to true

v3 turn the screen off and on again right before rockbox loads the main menu

v5 the lcd_enable command blocks if already set to the same state so if its enabled it won't re-enable it
     There are two different displays for the clip zip and I'm guessing you have the rarer undocumented one
      With no device to test its really hard to write code for it so the best I can do is write code that doesn't affect other devices negatively
      AND hopefully fixes your device

Could you try one last build I noticed there has been a change in the code between 3.13 and 3.14 on the backlight initialization
again in the name of power savings could you try this reversion of http://gerrit.rockbox.org/r/#/c/989/
https://www.mediafire.com/file/4hj1ao2lm1nzwq8/ClipZip_Corrupted_displayV7_2-28-20_rockbox-full.zip

Here is the patch if you are interested in seeing it
http://gerrit.rockbox.org/r/#/c/2303/


« Last Edit: February 28, 2020, 01:36:57 PM by Bilgus »
Logged

Offline sansalex

  • Member
  • *
  • Posts: 11
Re: Screen scrambled on Clip Zip with RB 3.15
« Reply #20 on: February 28, 2020, 01:52:35 PM »
Quote from: Bilgus on February 28, 2020, 10:47:09 AM
     There are two different displays for the clip zip and I'm guessing you have the rarer undocumented one

That's what I was thinking: my hardware could be slightly different.
I still have the original box and it says product number is SDMX22-004G-E46R, I don't know if this information is useful.

Quote from: Bilgus on February 28, 2020, 10:47:09 AM
      With no device to test its really hard to write code for it so the best I can do is write code that doesn't affect other devices negatively
      AND hopefully fixes your device

Crystal clear.

Quote from: Bilgus on February 28, 2020, 10:47:09 AM
      Could you try one last build I noticed there has been a change in the code between 3.13 and 3.14 on the backlight initialization
      again in the name of power savings could you try this reversion of http://gerrit.rockbox.org/r/#/c/989/

I tested V6 and it works. However I see you now re-edited by providing a V7, I will try this.

EDIT: V7 working too.
« Last Edit: February 28, 2020, 01:58:17 PM by sansalex »
Logged

Offline Bilgus

  • Developer
  • Member
  • *
  • Posts: 537
Re: Screen scrambled on Clip Zip with RB 3.15
« Reply #21 on: February 28, 2020, 02:14:49 PM »
awesome I've already tested it on my device so i'll push it in a few days and it will be in all dev versions / releases from then on

Thanks for testing
Logged

Offline Bilgus

  • Developer
  • Member
  • *
  • Posts: 537
Re: Screen scrambled on Clip Zip with RB 3.15
« Reply #22 on: February 28, 2020, 02:20:15 PM »
The box for mine says SDMX22-004G-C57B but it means nothing to me lol I'm sure sandisk has (had) a nice list of what the last 4 characters mean
Logged

Offline sansalex

  • Member
  • *
  • Posts: 11
Re: Screen scrambled on Clip Zip with RB 3.15
« Reply #23 on: February 28, 2020, 03:41:47 PM »
Quote from: Bilgus on February 28, 2020, 02:14:49 PM
awesome I've already tested it on my device so i'll push it in a few days and it will be in all dev versions / releases from then on

Thanks for testing

Great! Thank you so much!  :)

Quote from: Bilgus on February 28, 2020, 02:20:15 PM
The box for mine says SDMX22-004G-C57B but it means nothing to me lol I'm sure sandisk has (had) a nice list of what the last 4 characters mean

They absolutely know the meaning and also the hardware nuances associated with those characters, but they'll never tell us the details hehe :-X
Logged

  • Print
Pages: 1 [2]
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Hardware
| | |-+  Screen scrambled on Clip Zip with RB 3.15
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.067 seconds with 14 queries.