# Color display not working

**URL:** <https://crucible.hubbe.net/t/color-display-not-working/6206>\
**Category:** Proffieboards\
**Created:** [December 27, 2024, 9:24pm UTC](https://crucible.hubbe.net/t/color-display-not-working/6206 "2024-12-27T21:24:12Z")\
**Posts on this page:** 20\
**Page:** 2

<div class="post-metadata">

**Author:** ![profezzorn](https://crucible.hubbe.net/user_avatar/crucible.hubbe.net/profezzorn/32/8_2.png) [@profezzorn](https://crucible.hubbe.net/u/profezzorn)\
**Post date:** [December 31, 2024, 3:49am UTC](https://crucible.hubbe.net/t/color-display-not-working/6206/21 "2024-12-31T03:49:48Z")

</div>

Not entirely sure, but I don’t think so.

---

<div class="post-metadata">

**Author:** ![orntar](https://crucible.hubbe.net/user_avatar/crucible.hubbe.net/orntar/32/7024_2.png) [@orntar](https://crucible.hubbe.net/u/orntar)\
**Post date:** [December 31, 2024, 4:29am UTC](https://crucible.hubbe.net/t/color-display-not-working/6206/22 "2024-12-31T04:29:18Z")

</div>

ok, 4.2 did install.

Back to the repeating `Motion chip ... Motion chip timeout, trying auto-reboot of motion chip!`

`displaystate`  
returns:

```auto
to_send: 0
PCLK1: 40000000 PCLK2: 40000000
frame = 0 rownum_ = 0 next state: 502 buffered rows: 1
***Layer 0***
STOP File: 
play time: 51355ms POS: 0 EOF: 1 KBPS: 0.00 Bufsize: 0 next state: -2
 frame drop fps: 
***Layer 1***

```

```auto
show /tng/280x240/biocircuitry.pqf

```

returns

```auto
Showing /tng/280x240/biocircuitry.pqf

```

It does try to show something, but the screen is all garbled and the motion chip error stops. Looks like it crashed.

I have USB type set to Serial + Mass storage + WebUSB. The file biocircuitry.pqf is 5290kb.

---

<div class="post-metadata">

**Author:** ![profezzorn](https://crucible.hubbe.net/user_avatar/crucible.hubbe.net/profezzorn/32/8_2.png) [@profezzorn](https://crucible.hubbe.net/u/profezzorn)\
**Post date:** [December 31, 2024, 4:49am UTC](https://crucible.hubbe.net/t/color-display-not-working/6206/23 "2024-12-31T04:49:21Z")

</div>

> [@orntar](#):
>
> I have USB type set to Serial + Mass storage + WebUSB. The file biocircuitry.pqf is 5290kb.

Can you send me the file?  
I’ll give it a try.

---

<div class="post-metadata">

**Author:** ![orntar](https://crucible.hubbe.net/user_avatar/crucible.hubbe.net/orntar/32/7024_2.png) [@orntar](https://crucible.hubbe.net/u/orntar)\
**Post date:** [December 31, 2024, 5:16am UTC](https://crucible.hubbe.net/t/color-display-not-working/6206/24 "2024-12-31T05:16:37Z")

</div>

I pm’d you a link.

---

<div class="post-metadata">

**Author:** ![orntar](https://crucible.hubbe.net/user_avatar/crucible.hubbe.net/orntar/32/7024_2.png) [@orntar](https://crucible.hubbe.net/u/orntar)\
**Post date:** [January 10, 2025, 2:09am UTC](https://crucible.hubbe.net/t/color-display-not-working/6206/25 "2025-01-10T02:09:32Z")

</div>

I was finally able to update the proffie arduino plugin(4.6), in order to eliminate that variable. I am still having some issues, although the motion chip error seems to be gone.

I tried `displaystate` and got:

```auto
to_send: 0

PCLK1: 40000000 PCLK2: 40000000

frame = 0 rownum_ = 0 next state: 502 buffered rows: 1

***Layer 0***

STOP File:

play time: 18407ms POS: 0 EOF: 1 KBPS: 0.00 Bufsize: 0 next state: -2

frame drop fps:

***Layer 1***

STOP File:

play time: 18408ms POS: 0 EOF: 1 KBPS: 0.00 Bufsize: 0 next state: -2

frame drop fps:

***Layer 2***

```

I tried `show /tng/280x240/biocircuitry.pqf`, and got a garbled screen, but it seems to be animated.

So, it seems to be workingish, but doesn’t show an animation upon boot up, or at all, unless its called. Then the animation is scrambled.

Could it be resolution? I ran dpqoi on it and the images are 280x205. the display is technically listed as 240x280, could it be trying to display sideways and not fitting?

---

<div class="post-metadata">

**Author:** ![profezzorn](https://crucible.hubbe.net/user_avatar/crucible.hubbe.net/profezzorn/32/8_2.png) [@profezzorn](https://crucible.hubbe.net/u/profezzorn)\
**Post date:** [January 10, 2025, 3:01am UTC](https://crucible.hubbe.net/t/color-display-not-working/6206/26 "2025-01-10T03:01:08Z")

</div>

pqoi should be able to display images/video which is _smaller_ than the screen, but it is not able to handle images which are _larger_ than the screen. Rotating the screen is possible, but has to be done at the startup stage, and a 280x205 screen is different from a 205x280 screen.

So yes, it could totally be doing things sideways and not fitting. (It really ought to spit out an error if you try to use a video or image that is too big, I’m going to check/fix that.)

As for not showing the boot screen, what does the “effects” command say?

Finally: It sounds like this is working better with 4.6 than with 3.6, is that correct?

---

<div class="post-metadata">

**Author:** ![profezzorn](https://crucible.hubbe.net/user_avatar/crucible.hubbe.net/profezzorn/32/8_2.png) [@profezzorn](https://crucible.hubbe.net/u/profezzorn)\
**Post date:** [January 10, 2025, 3:14am UTC](https://crucible.hubbe.net/t/color-display-not-working/6206/27 "2025-01-10T03:14:39Z")

</div>

Looks like it already prints out an error if the file is too tall or too wide:

> <https://github.com/profezzorn/ProffieOS/blob/bd0d7f8cf1a878d8b1f5e80fbd9dc4a8993b4076/display/rgb565frame.h#L217>

---

<div class="post-metadata">

**Author:** ![orntar](https://crucible.hubbe.net/user_avatar/crucible.hubbe.net/orntar/32/7024_2.png) [@orntar](https://crucible.hubbe.net/u/orntar)\
**Post date:** [January 10, 2025, 3:15am UTC](https://crucible.hubbe.net/t/color-display-not-working/6206/28 "2025-01-10T03:15:20Z")

</div>

> [@profezzorn](#):
>
> pqoi should be able to display images/video which is _smaller_ than the screen, but it is not able to handle images which are _larger_ than the screen. Rotating the screen is possible, but has to be done at the startup stage, and a 280x205 screen is different from a 205x280 screen.
> 
> So yes, it could totally be doing things sideways and not fitting. (It really ought to spit out an error if you try to use a video or image that is too big, I’m going to check/fix that.)
> 
> As for not showing the boot screen, what does the “effects” command say?
> 
> Finally: It sounds like this is working better with 4.6 than with 3.6, is that correct?

`effects` returns:

```auto
Found vmend.wav files: one unnumbered file in common
Found vmbegin.wav files: one unnumbered file in common
Found mnum.wav files: 1-20 in subdirs in common
Found font.wav files: one unnumbered file in tng
Found hum.wav files: one unnumbered file in tng
Found boot.wav files: one unnumbered file in tng
Done listing effects.

```

Not sure I ever tried 3.6. I could if you need more info. but 4.6 is giving better results than 4.2.

Did you get a chance to look at the files? Likely the pqf is the wrong resolution.

---

<div class="post-metadata">

**Author:** ![orntar](https://crucible.hubbe.net/user_avatar/crucible.hubbe.net/orntar/32/7024_2.png) [@orntar](https://crucible.hubbe.net/u/orntar)\
**Post date:** [January 10, 2025, 3:16am UTC](https://crucible.hubbe.net/t/color-display-not-working/6206/29 "2025-01-10T03:16:43Z")

</div>

> [@profezzorn](#):
>
> Looks like it already prints out an error if the file is too tall or too wide:

I will go look, maybe I missed it. I am doing the pqf on a linux laptop. everything else on a windows desktop. 🙄

---

<div class="post-metadata">

**Author:** ![profezzorn](https://crucible.hubbe.net/user_avatar/crucible.hubbe.net/profezzorn/32/8_2.png) [@profezzorn](https://crucible.hubbe.net/u/profezzorn)\
**Post date:** [January 10, 2025, 3:18am UTC](https://crucible.hubbe.net/t/color-display-not-working/6206/30 "2025-01-10T03:18:24Z")

</div>

It could also be that I have messed up something related to this display.  
I’ve been meaning to try it myself for a while, it’s probably time…

> [@orntar](#):
>
> `effects` returns:

It’s not showing your boot.scr file.  
Where did you put it?

---

<div class="post-metadata">

**Author:** ![orntar](https://crucible.hubbe.net/user_avatar/crucible.hubbe.net/orntar/32/7024_2.png) [@orntar](https://crucible.hubbe.net/u/orntar)\
**Post date:** [January 10, 2025, 3:27am UTC](https://crucible.hubbe.net/t/color-display-not-working/6206/31 "2025-01-10T03:27:00Z")

</div>

> [@profezzorn](#):
>
> It’s not showing your boot.scr file.  
> Where did you put it?

it is in the folder `\tng\280x240\280x240_boot.scr`

I remade the pqf with a smaller resolution. It is now 240x176. I didn’t see any errors (but is smaller).

When I type `show /tng/280x240/biocircuitry.pqf` I still get a garbled screen, but it appears to be animated.

---

<div class="post-metadata">

**Author:** ![profezzorn](https://crucible.hubbe.net/user_avatar/crucible.hubbe.net/profezzorn/32/8_2.png) [@profezzorn](https://crucible.hubbe.net/u/profezzorn)\
**Post date:** [January 10, 2025, 4:53am UTC](https://crucible.hubbe.net/t/color-display-not-working/6206/32 "2025-01-10T04:53:57Z")

</div>

> [@orntar](#):
>
> it is in the folder `\tng\280x240\280x240_boot.scr`

I think it should be `\tng\280x2480\boot.scr`

(If there is an instruction somewhere I need to update, please let me know.)

---

<div class="post-metadata">

**Author:** ![orntar](https://crucible.hubbe.net/user_avatar/crucible.hubbe.net/orntar/32/7024_2.png) [@orntar](https://crucible.hubbe.net/u/orntar)\
**Post date:** [January 10, 2025, 5:24am UTC](https://crucible.hubbe.net/t/color-display-not-working/6206/33 "2025-01-10T05:24:02Z")

</div>

> [@profezzorn](#):
>
> I think it should be `\tng\280x240\boot.scr`

ok, I tried that, no difference. Nothing shown on boot, `show ...` just shows a garble image.

> [@profezzorn](#):
>
> (If there is an instruction somewhere I need to update, please let me know.)

instructions look ok, not sure where I got the file name.

---

<div class="post-metadata">

**Author:** ![profezzorn](https://crucible.hubbe.net/user_avatar/crucible.hubbe.net/profezzorn/32/8_2.png) [@profezzorn](https://crucible.hubbe.net/u/profezzorn)\
**Post date:** [January 10, 2025, 5:27am UTC](https://crucible.hubbe.net/t/color-display-not-working/6206/34 "2025-01-10T05:27:55Z")

</div>

> [@orntar](#):
>
> ok, I tried that, no difference. Nothing shown on boot, `show ...` just shows a garble image.

Did it show up in `effects` ?

---

<div class="post-metadata">

**Author:** ![orntar](https://crucible.hubbe.net/user_avatar/crucible.hubbe.net/orntar/32/7024_2.png) [@orntar](https://crucible.hubbe.net/u/orntar)\
**Post date:** [January 10, 2025, 5:31am UTC](https://crucible.hubbe.net/t/color-display-not-working/6206/35 "2025-01-10T05:31:21Z")

</div>

```auto
Found 280x240/idle.scr files: one unnumbered file in tng
Found 280x240/on.scr files: one unnumbered file in tng
Found 280x240/font.scr files: one unnumbered file in tng
Found 280x240/boot.scr files: one unnumbered file in tng
Found vmend.wav files: one unnumbered file in common
Found vmbegin.wav files: one unnumbered file in common
Found mnum.wav files: 1-20 in subdirs in common
Found font.wav files: one unnumbered file in tng
Found hum.wav files: one unnumbered file in tng
Found boot.wav files: one unnumbered file in tng
Done listing effects.

```

Yes, looks like it found the files. Nothing on the display.

---

<div class="post-metadata">

**Author:** ![profezzorn](https://crucible.hubbe.net/user_avatar/crucible.hubbe.net/profezzorn/32/8_2.png) [@profezzorn](https://crucible.hubbe.net/u/profezzorn)\
**Post date:** [January 10, 2025, 5:33am UTC](https://crucible.hubbe.net/t/color-display-not-working/6206/36 "2025-01-10T05:33:08Z")

</div>

Well, it’s a step in the right direction at least. 🙂

---

<div class="post-metadata">

**Author:** ![profezzorn](https://crucible.hubbe.net/user_avatar/crucible.hubbe.net/profezzorn/32/8_2.png) [@profezzorn](https://crucible.hubbe.net/u/profezzorn)\
**Post date:** [January 10, 2025, 9:26am UTC](https://crucible.hubbe.net/t/color-display-not-working/6206/37 "2025-01-10T09:26:44Z")

</div>

If it’s any consolation, I get garble too.  
Hopefully I’ll have a solution soon.

---

<div class="post-metadata">

**Author:** ![profezzorn](https://crucible.hubbe.net/user_avatar/crucible.hubbe.net/profezzorn/32/8_2.png) [@profezzorn](https://crucible.hubbe.net/u/profezzorn)\
**Post date:** [January 10, 2025, 10:08am UTC](https://crucible.hubbe.net/t/color-display-not-working/6206/38 "2025-01-10T10:08:36Z")

</div>

Try it now. (with the latest changes from github)

---

<div class="post-metadata">

**Author:** ![orntar](https://crucible.hubbe.net/user_avatar/crucible.hubbe.net/orntar/32/7024_2.png) [@orntar](https://crucible.hubbe.net/u/orntar)\
**Post date:** [January 10, 2025, 1:26pm UTC](https://crucible.hubbe.net/t/color-display-not-working/6206/39 "2025-01-10T13:26:28Z")

</div>

> [@orntar](#):
>
> show /tng/280x240/biocircuitry.pqf

 ![Screenshot 2025-01-10 062356](https://crucible.hubbe.net/uploads/default/original/2X/6/632b099ab09febd42dd602ea3a3993dc16ca8193.jpeg)

It worked!

---

<div class="post-metadata">

**Author:** ![orntar](https://crucible.hubbe.net/user_avatar/crucible.hubbe.net/orntar/32/7024_2.png) [@orntar](https://crucible.hubbe.net/u/orntar)\
**Post date:** [January 10, 2025, 1:43pm UTC](https://crucible.hubbe.net/t/color-display-not-working/6206/40 "2025-01-10T13:43:16Z")

</div>

> [@profezzorn](#):
>
> I think it should be `\tng\280x2480\boot.scr`
> 
> (If there is an instruction somewhere I need to update, please let me know.)

I think I found where I got the names…

> <https://github.com/profezzorn/ProffieOS/blob/10b02e2f5f0b22d5cf1f33f517edbe5ca21832fa/display/layer_controller.h>

edit: Not sure how I got to that page, however. The master is correct.

[Previous page](https://crucible.hubbe.net/t/color-display-not-working/6206.md?page=1)

[Next page](https://crucible.hubbe.net/t/color-display-not-working/6206.md?page=3)
