Cuperino / QPrompt-Teleprompter

Teleprompter software for all video creators. Built with ease of use, productivity, control accuracy, and smooth performance in mind.
https://qprompt.app
GNU General Public License v3.0
361 stars 24 forks source link

Pressing New does not clear current text #56

Closed videosmith closed 2 years ago

videosmith commented 2 years ago

Steps to Reproduce

  1. Copy/paste text from a text editor or enter text directly into app.
  2. Click New (as if you changed your mind... does not clear unless you save it first.

Expected behavior

Was hoping clicking New could also act like a Close file action with appropriate warning.

Device information

Cuperino commented 2 years ago

Fixed New and Load Guide buttons to reload respective files. Implemented save warnings for all possible circumstances.

videosmith commented 2 years ago

Good evening.  Which OS does your app perform better on? Debian Bullseye 64, the recently released Raspberry PI Buster/Bullseye upgrade to 64 or another OS? I'm interested in maximizing GPU utilization and stability (Debian Bullseye has a few screen redraw issues).

Regards, Stuart Message ID: @.***>

Cuperino commented 2 years ago

Honestly, I can't make a fair comparison between my Debian Bullseye 64 and Raspberry PI Bullseye's installs because I'm running each on completely different hardware. I use a 13" M1 Macbook Pro with a Debian VM to for convenience when creating the arm64 binaries, knowing that if they work on Debian Bullseye they will work on Raspberry Pi OS Bullseye 64 bit as well. I then use a Raspberry Pi 400 to test said binaries on Raspberry Pi OS.

Nevertheless, when it comes to running QPrompt on the Raspberry Pi, I advice that you use the Deb package with Raspberry Pi OS Bullseye 64 bit for the following reasons:

  1. Raspberry Pi OS comes with the PIXEL desktop environment, which is a fork of LXDE, which is the fastest Linux desktop environment of all in my opinion; which is based on my experiences running Linux on older hardware, dating as far back as the Intel Pentium III. There are a few window managers that perform better than LXDE, but some tend to be extremely lacking in functionality and may create graphical artifacts such as screen tear and draws from corrupt memory.

On an Intel i3-7100U (4) @ 2.4GHz CPU, I found using the Sway window manager with Wayland gives a great performance boost, free of graphical artifacts. It would probably be easier to try this window manager on Debian instead of RPi OS.

  1. Until more recently, the video drivers for VideoCore GPUs used in RPis weren't included included with upstream Linux kernels. This meant all distributions that ran on a Pi had to ship the same custom kernel as Raspbian to be able to work. Thus there was virtually no difference in performance apart from that of the efficiency of the desktop environment being used. Note that modern Linux kernels now include the Raspberry Pi's GPU drivers, but this kind of situation is still very common across ARM devices.

  2. The 32 bit version of Raspberry Pi OS would theoretically be faster, but I'm not able to create 32 bit binaries without sacrificing the embedding of fonts that add support for Asian writing systems, and I don't want to make QPrompt download options any more confusing. While you could try removing the fonts and compiling from source, but I doubt the performance increase is significant enough for it to be worth it. You can find the instructions to build from source over at: https://github.com/Cuperino/QPrompt/issues/38

  3. For reasons I don't know, the Flatpak performs slightly slower than other versions on the hardware that I've tried.

  4. The Flatpak failed to make use of accelerated graphics on the RPi OS Bullseye 64 bit beta. I honestly don't know if this was an issue with the beta, or an issue with Flatpaks themselves.

Cuperino commented 2 years ago

Oh, BTW @videosmith. I recently finished setting up a forum server for QPrompt. The idea is to keep support questions separate from bugs and feature requests. That way users in need of support can find answers to their questions faster if someone asked that question before. It also helps keep GitHub Issues more organized.

You can find the forum at https://forum.cuperino.com/. The link https://forum.qprompt.app/ also redirects you there.