Questions tagged [linux]
NOTICE: All Linux questions must be related to programming; those that aren't will be closed. Use this tag only if your question relates to programming using Linux APIs or Linux-specific behavior, not just because you happen to run your code on Linux. If you need Linux support, you can try https://unix.stackexchange.com or the specific Linux distribution's Stack Exchange site like https://askubuntu.com or https://elementaryos.stackexchange.com/
linux
63,531
questions with no upvoted or accepted answers
53
votes
1
answer
1k
views
Qt5 VideoOverview example does not work. Any solution?
I am stuck for a month with a video example given in Qt Video Overview.
I tried that code, but I only got a blank square (QWidget). I am using GStreamer0.10 for media playback over Qt5. I also played ...
33
votes
1
answer
1k
views
Open .NET Core 2.0 dump in lldb on Linux - which lldb version?
I'm trying to open a .NET Core 2.0 dump on Ubuntu 16.04, following instructions from http://blogs.microsoft.co.il/sasha/2017/02/26/analyzing-a-net-core-core-dump-on-linux/
Dump is created from ...
21
votes
0
answers
863
views
Linux timer hangs sometime and stops at 1ns
I have an embedded board with PowerPC 5200 running Realtime Linux with version 2.6.33.
My application is using one high-resolution timer in Linux for alarms. This timer sometimes didn’t expire. The ...
20
votes
2
answers
2k
views
Error building Ionic app: Failed to execute aapt (CordovaLib:processDebugResources)
I'm trying to use Ionic framework to build hybrid mobile apps but I'm facing the following problem since a few days.
When I want to build the application (which is actually a blank project), the ...
19
votes
0
answers
237
views
PredectionIO via vagrant : pio-start-all: command not found
I've been struggling for weeks just trying to install PredictionIO.
Today I came across a new "easy" method for installing via vagrant: https://www.sitepoint.com/predictionio-bootstrapping-a-movie-...
18
votes
2
answers
632
views
Raspberry Pi 2 - Distortion while moving objects in Portrait mode
I am currently working on a Kiosk system based on the Raspberry Pi 2 running Raspbian which runs a Java app. Everything works perfectly well, except for a distortion on the screen which appears while ...
17
votes
1
answer
10k
views
Disabling GPU Acceleration in Cypress
I'm running Cypress in a Docker container in Jenkins.
This is my Dockerfile:
#Base image taken from:https://github.com/cypress-io/cypress-docker-images
FROM cypress/browsers:node14.17.0-chrome91-ff89
#...
17
votes
2
answers
2k
views
How to boot headfull (vs headless) android emulator via SSH
Via remote viewer VNC I can boot android emulator on remote machine
emulator -avd emu1
but via SSH on remote machine I get error
emulator: INFO: QtLogger.cpp:68: Warning: could not connect to ...
17
votes
1
answer
29k
views
Docker run "error while creating mount source path '[...]': mkdir [...]: permission denied"
I'm trying to mount a directory in Docker run:
docker run --restart always -t -v /home/dir1/dir2/dir3:/dirX --name [...]
But I get the error:
error while creating mount source path '/home/dir1/dir2/...
17
votes
2
answers
6k
views
'configure: error: cannot compute sizeof (long long)' on scientific linux when installing ruby
I'm trying to update my version of ruby, running on Scientific Linux, but the command:
$ rvm install ruby-2.1.6
fails with this error:
checking size of long long... configure: error: in `/localdisk/...
16
votes
1
answer
7k
views
SYSV vs. Linux/GNU ELF formats
The question is in the context of the following question: Why are libraries not found, even though they are clearly on the -L path? . It seems that my libraries and my object file have a different ELF ...
15
votes
0
answers
2k
views
jackd cannot use real-time scheduling within docker container
I cannot for the life of me figure out how to get jackd to run with realtime priority within a docker container. My goal is to get SuperCollider audio streaming over the internet using webrtc with ...
15
votes
1
answer
1k
views
Get X/Y position of caret (input text cursor) under Xorg?
I'd like to display a popover right above where the user is typing, in any Linux app (GTK, Qt, Electron, etc.), running on X.
I figured out creating the popover, now I'm trying to figure out how to ...
14
votes
0
answers
7k
views
Determine TSC frequency on Linux
Given an x86 with a constant TSC, which is useful for measuring real time, how can one convert between the "units" of TSC reference cycles and normal human real-time units like nanoseconds using the ...
14
votes
1
answer
5k
views
ffmpeg error: cur_dts is invalid
I'm trying to record video and audio from my webcam with the following command:
ffmpeg -f v4l2 -input_format mjpeg -s uhd2160 -i /dev/video0 -f pulse -channels 1 -i default video.mpg
but it seems to ...