LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Manjaro
User Name
Password
Manjaro This forum is for the discussion of Manjaro Linux. Note: This forum does not have any official participation.

Notices


Reply
  Search this Thread
Old 01-06-2023, 08:52 AM   #1
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,359

Rep: Reputation: 2333Reputation: 2333Reputation: 2333Reputation: 2333Reputation: 2333Reputation: 2333Reputation: 2333Reputation: 2333Reputation: 2333Reputation: 2333Reputation: 2333
Install Problem on Raspberry Pi 4 (Aarch64)


I have a Razpi 4 w/4G and tried manjaro. Manjaro is distributed as a binary image which you dd to an sdcard. The card has two partitions, / & boot, as all boot systems are different on Arm sbcs. Manjaro do an install image for the RazPi and I installed that one, gave the / a little elbow room with parted, and tidied the ext4 filesystem and booted.

I was specifically looking for good video performance. All Seemed fine until I played a video.
Code:
[dec@SparrowFart Videos]$ sudo mpv The_Queens_Gambit_S01E03.mkv
 (+) Video --vid=1 (*) (hevc 1920x1080 24.000fps)
 (+) Audio --aid=1 --alang=eng (eac3 6ch 48000Hz)
     Subs  --sid=1 --slang=eng 'English' (subrip)
     Subs  --sid=2 --slang=ara '■■■■■■■' (subrip)
     Subs  --sid=3 --slang=chi '■ ■ ' (subrip)
     Subs  --sid=4 --slang=chi '■ ■ ' (subrip)
     Subs  --sid=5 --slang=hrv 'hrvatski' (subrip)
     Subs  --sid=6 --slang=cze '■eština' (subrip)
     Subs  --sid=7 --slang=dan 'dansk' (subrip)
     Subs  --sid=8 --slang=dut 'Nederlands' (subrip)
     Subs  --sid=9 --slang=spa 'español' (subrip)
     Subs  --sid=10 --slang=fin 'suomi' (subrip)
     Subs  --sid=11 --slang=fre 'français' (subrip)
     Subs  --sid=12 --slang=ger 'Deutsch' (subrip)
     Subs  --sid=13 --slang=gre '■■■■■■■■' (subrip)
     Subs  --sid=14 --slang=heb '■■■■■' (subrip)
     Subs  --sid=15 --slang=hun 'magyar' (subrip)
     Subs  --sid=16 --slang=ind 'Indonesia' (subrip)
     Subs  --sid=17 --slang=ita 'italiano' (subrip)
     Subs  --sid=18 --slang=jpn '■ ■ ■ ' (subrip)
     Subs  --sid=19 --slang=kor '■ ■ ■ ' (subrip)
     Subs  --sid=20 --slang=may 'Melayu' (subrip)
     Subs  --sid=21 --slang=nob 'norsk' (subrip)
     Subs  --sid=22 --slang=pol 'polski' (subrip)
     Subs  --sid=23 --slang=por 'português' (subrip)
     Subs  --sid=24 --slang=por 'português' (subrip)
     Subs  --sid=25 --slang=rum 'român■' (subrip)
     Subs  --sid=26 --slang=rus '■■■■■■■' (subrip)
     Subs  --sid=27 --slang=spa 'español' (subrip)
     Subs  --sid=28 --slang=swe 'svenska' (subrip)
     Subs  --sid=29 --slang=tha '■■■' (subrip)
     Subs  --sid=30 --slang=tur 'Türkçe' (subrip)
     Subs  --sid=31 --slang=ukr '■■■■■■■■■■' (subrip)
     Subs  --sid=32 --slang=vie 'Tiê■ng Vi■t' (subrip)
File tags:
 Title: The Queen's Gambit (2020) - S01E03 - Doubled Pawns
error: XDG_RUNTIME_DIR is invalid or not set in the environment.
Invalid MIT-MAGIC-COOKIE-1 key
[vo/gpu] VT_GETMODE failed: Inappropriate ioctl for device
[vo/gpu/opengl] Failed to set up VT switcher. Terminal switching will be unavailable.
[vo/gpu] Failed to commit ModeSetting atomic request (-13)
[vo/gpu/opengl] Failed to set CRTC for connector 32: Permission denied
error: XDG_RUNTIME_DIR is invalid or not set in the environment.
Invalid MIT-MAGIC-COOKIE-1 key
[vo/gpu-next] Can't handle VT release - signal already used
[vo/gpu-next/opengl] Failed to set up VT switcher. Terminal switching will be unavailable.
[vo/gpu-next] Failed to commit ModeSetting atomic request (-13)
[vo/gpu-next/opengl] Failed to set CRTC for connector 32: Permission denied
Invalid MIT-MAGIC-COOKIE-1 key
error: XDG_RUNTIME_DIR is invalid or not set in the environment.
Invalid MIT-MAGIC-COOKIE-1 key
error: XDG_RUNTIME_DIR is invalid or not set in the environment.
Invalid MIT-MAGIC-COOKIE-1 key
Invalid MIT-MAGIC-COOKIE-1 key
Error opening/initializing the selected video_out (--vo) device.
Video: no video

Exiting... (Errors when loading file)
That's a pretty comprehensive failure. Has anyone tried Manjaro on a RazPi? any ideas for me?
 
Old 01-06-2023, 09:14 AM   #2
uteck
Senior Member
 
Registered: Oct 2003
Location: Elgin,IL,USA
Distribution: Ubuntu based stuff for the most part
Posts: 1,174

Rep: Reputation: 501Reputation: 501Reputation: 501Reputation: 501Reputation: 501Reputation: 501
This link might help: https://forums.raspberrypi.com/viewtopic.php?t=268356
The older RasPi needed a license installed to enable hardware accelerated video playback, but the 4 seems different.
 
Old 01-06-2023, 10:09 AM   #3
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,923

Rep: Reputation: 7319Reputation: 7319Reputation: 7319Reputation: 7319Reputation: 7319Reputation: 7319Reputation: 7319Reputation: 7319Reputation: 7319Reputation: 7319Reputation: 7319
if I need to guess it is caused by sudo (XDG_RUNTIME_DIR is not set). Why do you use sudo to play a video?
 
Old 01-06-2023, 12:13 PM   #4
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,359

Original Poster
Rep: Reputation: 2333Reputation: 2333Reputation: 2333Reputation: 2333Reputation: 2333Reputation: 2333Reputation: 2333Reputation: 2333Reputation: 2333Reputation: 2333Reputation: 2333
Quote:
Originally Posted by pan64 View Post
if I need to guess it is caused by sudo (XDG_RUNTIME_DIR is not set). Why do you use sudo to play a video?
I tried sudo on mpv that time in case it somehow needed sudo. I tried it without sudo before. I was seeing "Permission denied" errors. I'm still seeing them.

Manjaro also does a 'flat-on-face' error for smplayer with no sudo.
Code:
dec@SparrowFart /]$ smplayer /home/dec/Videos/The_Queens_Gambit_S01E03.mkv
Invalid MIT-MAGIC-COOKIE-1 key
qt.qpa.xcb: could not connect to display :0.0
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb.

Aborted (core dumped)
From experience with other images, these should stand up & run, so I'm surprised to find these sort of things, and pretty clueless about sorting them.
 
Old 01-06-2023, 01:22 PM   #5
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,359

Original Poster
Rep: Reputation: 2333Reputation: 2333Reputation: 2333Reputation: 2333Reputation: 2333Reputation: 2333Reputation: 2333Reputation: 2333Reputation: 2333Reputation: 2333Reputation: 2333
Quote:
Originally Posted by uteck View Post
This link might help: https://forums.raspberrypi.com/viewtopic.php?t=268356
The older RasPi needed a license installed to enable hardware accelerated video playback, but the 4 seems different.
An old, but an interesting thread, nevertheless. All the GPU gobbledygook is a bit over my head, but I gather the RPi VPU firmware is involved. What's interesting to me is that the thread has posts from March/April 2020. I have Debian's 64bit RPi image from 2020-05-27 and the video rocks. So they obviously sorted themselves out. But if I let Debian update, (32 or 64 bit) the sound goes

One thing I did gather is that firmware plays a bigger role in that VPU than you would expect.
 
Old 01-07-2023, 08:45 AM   #6
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,359

Original Poster
Rep: Reputation: 2333Reputation: 2333Reputation: 2333Reputation: 2333Reputation: 2333Reputation: 2333Reputation: 2333Reputation: 2333Reputation: 2333Reputation: 2333Reputation: 2333
I'm marking this solved because I can't say it's not hardware. So it probably was/is.

I apparently have 2 sdcards and one usb key as casualties in the last week. I'll post again if Manjaro acts up on reliable install media.
 
Old 01-08-2023, 04:24 AM   #7
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,359

Original Poster
Rep: Reputation: 2333Reputation: 2333Reputation: 2333Reputation: 2333Reputation: 2333Reputation: 2333Reputation: 2333Reputation: 2333Reputation: 2333Reputation: 2333Reputation: 2333
I got Manjaro tried on my RazPi and had no permissions errors. I have a large sdcard working in a USB adapter. So the errors were a hardware issue.

I did play my test section of video, an awkward mkv passage which is giving the following results:
  • Debian plays smoothly at 60%-70% cpu average(excluding peaks). But when you update, the sound goes.
  • Slarm64 plays @250%-OTT% and drags slightly. It plays worse in vlc because cpu load distribution is worse. Mpv plays it but it drags slightly.
  • Manjaro played in slow motion at 375%-OTT% but only in slow motion. Sound goes out of sync and there's notices about dropped frames.
  • Ubuntu supplied no working video player, puked over installing vlc (error 139 installing libc-bin?)and froze the frame. From what I've seen, I won't pursue that. Ubuntu is definitely not for me.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Raspberry Pi 4 bcm2711 / Raspberry Pi 3 bcm2837 (aarch64) sndwvs slarm64 145 03-16-2024 05:05 AM
[SOLVED] Raspberry Pi 4 bcm2711 (aarch64) sndwvs Slackware - ARM 90 12-17-2021 04:37 AM
[SOLVED] Raspberry Pi 3 bcm2837 (aarch64) sndwvs Slackware - ARM 74 12-07-2021 09:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Manjaro

All times are GMT -5. The time now is 05:00 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration