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

Network tab is changing native resolution #50

Closed
Protoncek opened this issue Oct 30, 2019 · 17 comments
Closed

Network tab is changing native resolution #50

Protoncek opened this issue Oct 30, 2019 · 17 comments
Labels
bug Features do not work properly Waiting for reply

Comments

@Protoncek
Copy link

Hi!
I just installed OctoScreen on RPi3 and 7 inch official LCD. Printer is original prusa MK3S.
Two things:
1.I found out that "unload filament" tab is not working.
2. screen resolution is fine until i open "network" tab. This tab opens in somewhat bigger resolution than it should - whole screen extends to the right a bit, so part of "back" arrow is missing. But, from this moment on ALL tabs are a bit bigger resolution. It's like that "network" tab is changing resolution from native 800x480 to 800x500.

Here all is ok:
20191030_191029
Network tab:
20191030_191042
Detail of right side - it's missing somewhat:
20191030_191253

@rhukster
Copy link

Try restarting the service, fixed it for me:

sudo systemctl restart octoscreen.service

@Protoncek
Copy link
Author

It does fix it, sure, but only temporary, until i touch network tab again, so long term it's not really a solution.

@alexkv alexkv added the bug Features do not work properly label Nov 23, 2019
@Protoncek
Copy link
Author

Hi!
I just wanted to say that i have yet another "strange" resolution shift: it happens right after i select file i click "print".
20191214_194839

@Protoncek
Copy link
Author

Protoncek commented Jan 2, 2020

Hello, alexkv!
Today i play a bit with this bug. I didn't solve anything, but i discovered interesting feature:
I took RPi4, i installed octoprint and octoscreen, i DIDN'T connect my printer, nor i did any setup in web interface, i just connected original 7 inch LCD and tested octoscreen.
Since without printer connected octoscreen crashes every 10-15 seconds (a known bug, as it seems), i found out that screen shift no longer appears after first crash and reload of octoscreen. However, it seems that this is not the case if i manually restart octoscreen service...

Other than that sadly i didn't come to a solution. If i set resolution to bigger (so that in fact i have smaller picture than whole LCD) i see that when touching "newtork" then resolution actually increases in X direction, creating black empty space on left side.
i tried changing resolution in /boot/config, tried in octoscreen config (even tried without config set in octoscreen config), nothing helps.
It's strange, i know... but i hope that information helps anything regarding this issue...

@AstroClimber
Copy link

AstroClimber commented Jan 2, 2020

Other than that sadly i didn't come to a solution. If i set resolution to bigger (so that in fact i have smaller picture than whole LCD) i see that when touching "newtork" then resolution actually increases in X direction, creating black empty space on left side.
i tried changing resolution in /boot/config, tried in octoscreen config (even tried without config set in octoscreen config), nothing helps.

Hi Protoncek,
Did you also set the two parameters framebuffer_width and framebuffer_height in /boot/config.txt when you are setting the resolution? For me, before I set those two framebuffers, the resolution changed when I click the network tab. But now, it has stopped changing.

@Protoncek
Copy link
Author

Yes, i did try that, i entered real resolution (800x480) and also 800x533, but same still happens. i disabled overscan, too, but same happens.
Interesting is that at print menu shift is sometimes less than the one i posted above...

@rhukster
Copy link

rhukster commented Jan 2, 2020

Seems to me the problem is just related to the WIFI network names overflowing the available area and pushing out the width of the display. Just need to hide the overflow and add some ellipsis, or reformat the output so there's more room for WIFI network names.

@DamnSkippy1999
Copy link

Hello, new to Github so my apologies for any errors. I have been using the Octoscreen for several weeks and have noticed the shift in resolution as well. Usually occurs when I queue up a print. I have not checked my framebuffer (in the middle of a print) settings yet but will verify shortly. I have not been able to tie it to a common variable. I originally thought it was due to longer prints but noticed it with shorter prints recently. I will observe the names of the prints and see if it happens when the length is rather long. I only notice the shift when printing but will test the Network screen to see if it happens on my end.

20200102_143516

@Protoncek
Copy link
Author

Protoncek commented Jan 2, 2020

Seems to me the problem is just related to the WIFI network names overflowing the available area and pushing out the width of the display. Just need to hide the overflow and add some ellipsis, or reformat the output so there's more room for WIFI network names.

Hm...i doubt it's wifi name in network tab... my Wifi names are short. It could be the problem on print tab, though. My print file names ARE quite long, so i'll check out with shorter tomorrow.

@Protoncek
Copy link
Author

As promised, today i tried to print gcode with very short name and ...voila! Screen shift is gone! So, it IS something with too long filenames.
On network tab i assume that first time, when there's empty space system "reserves" too much of blank space...

@SupremeCookie11
Copy link

Hi,

Any updates on when this might be fixed?

still cant get out of network screen due to scaling

@niccoreyes
Copy link

niccoreyes commented May 7, 2020

Currently having the same problem. I tried Protoncek's solution with short gcode name, and it doesn't appear again. It appears to be reproducible with long file names. Will continue to observe this behavior for my future prints. I am currently using a tft 3.5" display with 480x320 with waveshare drivers.

@sd-brady
Copy link

Hi!
I just wanted to say that i have yet another "strange" resolution shift: it happens right after i select file i click "print".
20191214_194839

I'm also having this same problem.

@rwaspe
Copy link

rwaspe commented May 24, 2020

Here is a fix: #126

@thebeline
Copy link
Contributor

@Psyclonian - Has this issue been resolved for you?

@JeffB42
Copy link
Collaborator

JeffB42 commented Mar 27, 2021

@Psyclonian 2.7.0 has been released, and 2.7 & 2.6 have fixed a lot of bugs. Please update to 2.7.0 and let me know if this is still an issue.

@JeffB42
Copy link
Collaborator

JeffB42 commented Apr 10, 2021

Closed due to lack of response.

@JeffB42 JeffB42 closed this as completed Apr 10, 2021
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Features do not work properly Waiting for reply
Projects
None yet
Development

No branches or pull requests