Go to advanced search

by gkreidl
Mon Oct 21, 2019 8:27 pm
Forum: Raspbian
Topic: Install VLC 4.0 beta on raspbian
Replies: 3
Views: 103

Re: Install VLC 4.0 beta on raspbian

matteoraggi wrote:
Mon Oct 21, 2019 4:46 pm
So vlc 4.0 is not hardware accelerated too?
It may be compiled with support for MMAL or OMX, but it will miss all HW acceleration inside windows, as this has been added by RPT.
by gkreidl
Mon Oct 21, 2019 10:20 am
Forum: Python
Topic: learn Phython
Replies: 5
Views: 194

Re: learn Phython

Stop watching videos. Learn reading.
by gkreidl
Sat Oct 19, 2019 8:16 am
Forum: Raspbian
Topic: Kweb Suite (Minimal Kiosk Browser, omxplayerGUI)
Replies: 1539
Views: 664371

Re: Kweb Suite (Minimal Kiosk Browser, omxplayerGUI)

Hi Pi Pundits, I am currently using chromium-browser on Pi3 well to display weather information etc. However, I notice that chromium-browser consumes a lot of CPU and Memory. Instead, I installed the latest kweb browser and trying it out. The browser looks good and consumes lesser resources. Howeve...
by gkreidl
Sat Oct 19, 2019 7:54 am
Forum: Troubleshooting
Topic: glimagesink not found
Replies: 1
Views: 48

Re: glimagesink not found

glimagesink is in gst-plugins-base. Make sure, that it is installed.
by gkreidl
Fri Oct 18, 2019 8:50 am
Forum: Beginners
Topic: what does cd $cwd do?
Replies: 5
Views: 134

Re: what does cd $cwd do?

Nothing!

It means "change directory to current working directory" but this is where you already are (inside a terminal).
by gkreidl
Fri Oct 18, 2019 7:04 am
Forum: Python
Topic: Determine version of Python within running code?
Replies: 9
Views: 221

Re: Determine version of Python within running code?

Get the Python(3) documentation and start reading it (the important chapters) instead of googling around. The documentation is available in different formats. I prefer the Windows Help File format (chm), which is based on HTML but includes nice index and search functions. You need the xchm reader to...
by gkreidl
Wed Oct 16, 2019 7:40 am
Forum: General programming discussion
Topic: Liberation through Computer Literacy
Replies: 1206
Views: 58569

Re: Liberation through Computer Literacy

gkreidl, One could take a different point of view. Fundamentally any given program, when presented with the same data should produce the same result. If that is not the case then we don't have a program, we have a kind of random number generator. Designers and implementers of programming languages,...
by gkreidl
Tue Oct 15, 2019 8:29 pm
Forum: General programming discussion
Topic: Liberation through Computer Literacy
Replies: 1206
Views: 58569

Re: Liberation through Computer Literacy

I thought this article goes quite well with the current topic title Mainly the last part, "The hope is that this paper gets us to talk a bit more about how we treat and view software that we exchange back and forth," said Williams. "We somehow naively assume this stuff will work, being experimental...
by gkreidl
Mon Oct 14, 2019 2:16 pm
Forum: Troubleshooting
Topic: Pulseaudio disturbs hdmi signal to tv and causes tv to blank/reconnect?
Replies: 12
Views: 345

Re: Pulseaudio disturbs hdmi signal to tv and causes tv to blank/reconnect?

You have not told us, which media player you are using (on Raspbian). Kodi (using Libreelec or Raspbian) and omxplayer can switch the video resolution when playing video to match screen and video resolution and FPS. This might cause the effect you describe. It can be disabled in Kodi.
by gkreidl
Mon Oct 14, 2019 10:06 am
Forum: Troubleshooting
Topic: Copying to USB HDD is very slow
Replies: 13
Views: 601

Re: Copying to USB HDD is very slow

buffered reads is a red herring dd if=/dev/zero of=test bs=524288 count=2048 will write 1GB to your device in a file called test change test to point to your mounted drive and give the results rsync will give various results depending on what it there already etc.. FYI, on my RPi 3B this gives 27,5...
by gkreidl
Mon Oct 14, 2019 9:36 am
Forum: Troubleshooting
Topic: Pulseaudio disturbs hdmi signal to tv and causes tv to blank/reconnect?
Replies: 12
Views: 345

Re: Pulseaudio disturbs hdmi signal to tv and causes tv to blank/reconnect?

You don't need pulseaudio to have audio output. In fact it is not installed by default. Huh??? So how come I can uninstall it? I lose volume control when I do! How do I regain volume control, after getting rid of Pulse in Raspbian? And how do I get rid of pulse in Libreelec? The Raspbian desktop ha...
by gkreidl
Mon Oct 14, 2019 7:52 am
Forum: Troubleshooting
Topic: Pulseaudio disturbs hdmi signal to tv and causes tv to blank/reconnect?
Replies: 12
Views: 345

Re: Pulseaudio disturbs hdmi signal to tv and causes tv to blank/reconnect?

You don't need pulseaudio to have audio output. In fact it is not installed by default.
by gkreidl
Sun Oct 13, 2019 9:24 am
Forum: General discussion
Topic: PI4 and 4K video player
Replies: 10
Views: 751

Re: PI4 and 4K video player

I'd like a commandline H.265 player like omxplayer, but I've no idea if one is in the works. We have VLC supporting 4K H.265 when running fullscreen both from the command line and from X. I'm not sure if the updated version is out yet, but it should be imminent. Imminent? It isn't in the repository...
by gkreidl
Sat Oct 12, 2019 3:27 pm
Forum: Raspbian
Topic: Two new kernels, firmware etc. within two days?
Replies: 7
Views: 539

Re: Two new kernels, firmware etc. within two days?

Yesterday I updated to kernel, firmware etc. version 1.20190925-2 (2019-10-10 13:55) Today there is another one: 1.20190925+1-1 (2019-10-11 14:25) Why? Is this some kind of emergency update? Or are these the same packages with just another naming scheme? Was this with rpi-update? I wouldn't expect ...
by gkreidl
Sat Oct 12, 2019 3:26 pm
Forum: Raspbian
Topic: Two new kernels, firmware etc. within two days?
Replies: 7
Views: 539

Re: Two new kernels, firmware etc. within two days?

Tikiatybme wrote:
Sat Oct 12, 2019 3:06 pm
No, it’s new, why is proble a minor bug fix that someone REALLY smart discovered and resolved overnight, yep, burning the midnight oil!
How do you know? Pure Speculation?
by gkreidl
Sat Oct 12, 2019 2:59 pm
Forum: Raspbian
Topic: Two new kernels, firmware etc. within two days?
Replies: 7
Views: 539

Two new kernels, firmware etc. within two days?

Yesterday I updated to kernel, firmware etc. version 1.20190925-2 (2019-10-10 13:55)
Today there is another one: 1.20190925+1-1 (2019-10-11 14:25)

Why? Is this some kind of emergency update? Or are these the same packages with just another naming scheme?
by gkreidl
Sat Oct 12, 2019 11:48 am
Forum: Troubleshooting
Topic: Omxplayer not working properly on Raspberry Pi 4
Replies: 14
Views: 439

Re: Omxplayer not working properly on Raspberry Pi 4

Are you using the legacy driver or the 3D driver?

I've had a simlar problem with my 1080p TV recordings, but only when I was using the Legacy driver. With the 3D driver they all work, both in omxplayer(GUI) and VLC.
by gkreidl
Wed Oct 09, 2019 5:59 pm
Forum: Python
Topic: Disordered list on raspberry pi and not on mac
Replies: 6
Views: 290

Re: Disordered list on raspberry pi and not on mac

"A python dictionary doesn't track the insertion order, and iterating it gives the values in an arbitrary order." Found in various online Python resources. One implementation appears to be returning the data in a predictable order, but should not be relied upon to do so. It depends on the Python ve...
by gkreidl
Wed Oct 09, 2019 10:21 am
Forum: Python
Topic: Unable to locate package libmariadb3
Replies: 9
Views: 347

Re: Unable to locate package libmariadb3

libmariadb3 is in the repository. Run
sudo apt-get update
and try again.
by gkreidl
Wed Oct 09, 2019 6:41 am
Forum: General discussion
Topic: a lot of traffic from my Raspbian box. How to investigate which app is doing it ?
Replies: 6
Views: 319

Re: a lot of traffic from my Raspbian box. How to investigate which app is doing it ?

To watch the traffic install iftop. You have to run it as root:
sudo iftop
by gkreidl
Tue Oct 08, 2019 3:21 pm
Forum: General programming discussion
Topic: Liberation through Computer Literacy
Replies: 1206
Views: 58569

Re: Liberation through Computer Literacy

So what I'm hearing is Python's internal BIGINT is crap and GMP should be installed by default to make the language usable? No, Python's multi-precision integers are fine for most cases, you probably won't notice much difference in performance to GMP's until you get to really big numbers. The bigge...
by gkreidl
Tue Oct 08, 2019 1:17 pm
Forum: General programming discussion
Topic: Liberation through Computer Literacy
Replies: 1206
Views: 58569

Re: Liberation through Computer Literacy

You would think that Python would throw an error calling functions that don't exist. Auto fallback is news to me. All my fibo scripts offer different options. If the gmp2 module is found, it will be imported and used by default. If not (or the the -i options is set), it will fall back to using Pyth...
by gkreidl
Tue Oct 08, 2019 7:21 am
Forum: General programming discussion
Topic: Liberation through Computer Literacy
Replies: 1206
Views: 58569

Re: Liberation through Computer Literacy

#!/usr/bin/python3 ## Fibonacci script using an improved version of fast doubling import time, sys, math use_gmp = True use_gmp_fibo = False timing_only = False string_conversion = True index = 4784969 compare = False usage = '''Usage: python fibo_fdi.py [options] [index] or python3 fibo_fdi.py [op...
by gkreidl
Mon Oct 07, 2019 10:12 pm
Forum: General programming discussion
Topic: Liberation through Computer Literacy
Replies: 1206
Views: 58569

Re: Liberation through Computer Literacy

Here is the time for 1milfibo on the RPI 4B 4GB. pi@RPi4B:~/sbrt/examples $ time scriba 1milfibo.sb 1000000 real 0m19.103s user 0m18.801s sys 0m0.281s pi@RPi4B:~/sbrt/examples $ Is there there a RPi 4B Fibo chart? The Fibonacci results I reported earlier were made using the Pi Zero to calculate tho...

Go to advanced search