Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problems with display / black screen after installation / upgrade (Kernel 5.4) #896

Closed
sr1329 opened this issue Aug 10, 2020 · 13 comments
Closed
Labels
bug Something isn't working

Comments

@sr1329
Copy link

sr1329 commented Aug 10, 2020

Describe the bug
Installed manually Octodash 2.0.0 ARM64 version onto Octopi 18.1 64bit. Followed all directions including autologin into the text interface. Usually an HDMI attached display would show a bunch of scrolling text and then a prompt. Now it shows two weird distorted diagonal lines of text. It resembles how a VCR head writes data diagonally on a rectangular piece of magnetic tape. Then instead of a prompt it just says "no signal".

I went to troubleshooting and got while attempting a manual start:

pi@octopi:~ $ octodash
The futex facility returned an unexpected error code.
Aborted
pi@octopi:~ $ export DISPLAY=:0
pi@octopi:~ $ ratpoison
ratpoison: There can be only ONE.
pi@octopi:~ $ octodash
libGL error: failed to create dri screen
libGL error: failed to load driver: vc4
libGL error: failed to create dri screen
libGL error: failed to load driver: vc4
MESA-LOADER: failed to retrieve device information
MESA-LOADER: failed to open vc4 (search paths /usr/lib/aarch64-linux-gnu/dri:$${ORIGIN}/dri:/usr/lib/dri)
failed to load driver: vc4
MESA-LOADER: failed to open kms_swrast (search paths /usr/lib/aarch64-linux-gnu/dri:$${ORIGIN}/dri:/usr/lib/dri)
failed to load driver: kms_swrast
MESA-LOADER: failed to open swrast (search paths /usr/lib/aarch64-linux-gnu/dri:$${ORIGIN}/dri:/usr/lib/dri)
failed to load swrast driver

To Reproduce

  1. Boot up machine
  2. Attempt to manually start Octodash

Expected behavior
Boot into OctoDash UI

Screenshots
If applicable, add screenshots to help explain your problem.

General Information:

  • Raspberry Pi 4B
  • Octopi 18.1 Beta
  • OctoDash Version 2.0.0
  • OctoPrint Version 1.4.2

Additional context
64 bit

@sr1329 sr1329 added the bug Something isn't working label Aug 10, 2020
@sr1329
Copy link
Author

sr1329 commented Aug 11, 2020

So I decided to try again on Octopi 17. No diagnosable weirdness however it too won’t launch into Octodash and gives errors. However it was updated to Kernel 5.4 and I believe that is what is breaking everything. I will go back and reinstall Octopi 17 and neglect to run apt-get upgrade and try again. This is on my test raspberry pi 4B 4GB.

@sr1329
Copy link
Author

sr1329 commented Aug 11, 2020

So I have tested on a new install with octopi 17. Apart from some issues reaching some mirrors to download packages (where it tells you to apt-get update - never change that to upgrade).

So it works now and I think the issue is with the new kernel. It has fully installed on the 32 bit updated kernel but doesn’t load. Ratpoison simply cannot open display.

As for Octopi 18 64bit that is still very weird and I’m not sure what happened there with the diagonal text scrolling.

Edit: Got it set up and running on another pi. Amazing program. Even got it customized to how I like it.

@sr1329
Copy link
Author

sr1329 commented Aug 13, 2020

Been playing with it and really like it. I discovered a fix for Hyperpixel 4 for use on kernel 5.4 or even 64bit raspbian. Apparently it works if you fix the hyperpixel driver so Octodash itself is okay on 5.4 or even 64 bit. I will try that install when I get home.

Regarding HDMI output I suspect it is an issue where it says cannot open Display 0. Hopefully in time it will work on both Hyperpixel and HDMI.

@Tobi0892
Copy link

@sr1329 Thank you for investigating the issue, I can confirm the bug

@UnchartedBull
Copy link
Owner

@sr1329 Could you maybe link the fixed driver for Hyperpixel here? If I understand you correctly everything is working once the correct driver has been installed?

@Tobi0892 did you manage to fix the issue as well or are you still having problems?

@Tobi0892
Copy link

Tobi0892 commented Aug 18, 2020

@UnchartedBull I applied all proposed fixes from the wiki but hadn't yet the time to investigate @sr1329 proposition. I'll keep you updated

@sr1329
Copy link
Author

sr1329 commented Aug 18, 2020

@sr1329 Could you maybe link the fixed driver for Hyperpixel here? If I understand you correctly everything is working once the correct driver has been installed?

@Tobi0892 did you manage to fix the issue as well or are you still having problems?

Actually this is on HDMI. I switched from Hyperpixel to 7” HDMI touchscreen. So no hyperpixel drivers are installed on the system.

I have a test system I intend to try the updated hyperpixel drivers on as well. For that system apparently the drivers work on kernel 5.4 but no landscape orientation is yet possible.

I am using Octodash on a 4GB 32bit pi Octopi 17; Octoprint 1.4.2. It works great. Only thing is the touch sensitive areas for the icons are hard to learn. They are very specific. For example back can only be activated when touching the “b” letter only. This might be because my screen resolution is 1024x600? Maybe the “touch here” areas could be demarcated but then again that may tank the very clean design.

Great touchscreen application and it completes my setup.

@UnchartedBull
Copy link
Owner

UnchartedBull commented Aug 19, 2020

@sr1329 the touch boxes should normally cover the whole icon and / or text. I'll have a look at that, but the resolution shouldn't be a huge issue. Does this happen on other buttons as well or only the back button?

I might redirect a few other issue here, which all seem to have the same problem with Kernel 5.4. There also was a driver linked in this issue: #892. So sorry for all the possible message, but I want to condense this into one issue so others can easily find it.

EDIT: Here is another link: https://github.com/TxBillbr/octodash-hyperpixel-fix. Seems like the screens are working again, just not in portrait mode (which is needed for OctoDash)

@UnchartedBull UnchartedBull changed the title Bootup screen split into 2 diagonals and display says "no signal". Problems with display / black screen after installation / upgrade (Kernel 5.4) Aug 19, 2020
@UnchartedBull UnchartedBull removed their assignment Aug 19, 2020
@sr1329
Copy link
Author

sr1329 commented Aug 19, 2020 via email

@UnchartedBull
Copy link
Owner

Screenshot 2020-08-19 at 19 50 32

That is the size of the back button (on 1024x600). Could you maybe touch & hold the same button in the files view and check how big your light grey box is?

@sr1329
Copy link
Author

sr1329 commented Aug 19, 2020 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants