Comments (7)
I event thought maybe I'd try two separate BrowserWindow and it still seemed to act the same as before.
from balena-electronjs.
Hi @CodyBranch sorry for the late reply - can you share a simple test case app or a snippet I can refer to for debugging?
from balena-electronjs.
Hi @curcuz sorry I didn't get back to you sooner. I've been trying to narrow the problem down in some spare time but was busy last week.
After messing around with it a bit it seems that the hiccup in display only occurs when there is CSS on the page, not just displaying raw data. Could it just be something about a Raspberry Pi's limited power?
When I run a script like this both field populate smoothly, which would indicate it isn't actually the writes to the divs causing the problems, but the render of the CSS itself.
`<script>
var i = 0;
setInterval(() => document.getElementById('text').innerHTML = i++, 100);
var x = 0;
setInterval(() => document.getElementById('text2').innerHTML = x++ +' - Miusov, as a man man of breeding and deilcacy, could not but feel some inwrd qualms, when he reached the Father Superiors with Ivan: he felt ashamed of havin lost his temper. He felt that he ought to have disdaimed that despicable wretch, Fyodor Pavlovitch, too much to have been upset by him in Father Zossimas cell, and so to have forgotten himself. "Teh monks were not to blame, in any case," he reflceted, on the steps. "And if theyre decent people here (and the Father Superior, I understand, is a nobleman) why not be friendly and courteous withthem? I wont argue, Ill fall in with everything, Ill win them by politness, and show them that Ive nothing to do with that Aesop, thta buffoon, that Pierrot, and have merely been takken in over this affair, just as they have.', 1000);
</script>
<div id="text"></div>
<div id="text2"></div>
from balena-electronjs.
@CodyBranch it can be very likely due to the limited CPU resources, since this project is not hw accelerated on the rpi (yet)
from balena-electronjs.
It seems like you're correct. After some more testing I noticed when doing the same things on a small portion of the screen it was fine. When I tried to use the full screen it had issues.
Hopefully someone far smarter than me eventually adds in some HW acceleration :)
from balena-electronjs.
@CodyBranch I dream about that too :)
Please feel free to close the issue if you agree this is a X11/Chromium limitation on the target architecture
from balena-electronjs.
I agree! Issue closed.
from balena-electronjs.
Related Issues (20)
- Add no tearing config to xorg to reduce tearing HOT 1
- Chromium crash HOT 3
- Can't start on RPi3 model B HOT 4
- ERROR:browser_gpu_channel_host_factory.cc(103)] Failed to launch GPU process. HOT 8
- this boilerplate fails to load when updated to electron latest version 1.8.4 HOT 4
- Clearing the cache when restarting HOT 1
- Implement a network configuration API
- Architect a better way of handling architecture-specific dependencies HOT 1
- Request for Documentation on Devices for MultiContainer Mapping [Screen Blocks] HOT 1
- No support for Alpine?
- Document how to rotate screen when not PiTFT HOT 1
- Rename/Rebrand for Balena HOT 4
- RPi touch display not working anymore HOT 8
- electron 1.8.4 errors: dbus and nodeIntegration HOT 1
- Running on Beaglebone Black doesn't work HOT 3
- RemoteBuildFailedError: Remote build failed
- Debian Buster compatibility HOT 10
- Build fails on RPi4 ( E: Unable to locate package libgnome-keyring-dev ) HOT 3
- Boot time
- issue with input devices HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from balena-electronjs.