Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Topics - gr4vity

1








Hi,

I was interested to use my MLD system as a bluetooth speaker for my phone or transmit audio from my MLD system to bluetooth devices.
I have succeeded in doing that by installing Blueman, it also has other features like using your phone as a bluetooth modem for your pc, creating bluetooth networks, sending/receiving files ... etc

Then while searching on Github i found the following repo

https://github.com/EHfive/pulseaudio-modules-bt

It allows you to add  LDAC, aptX, aptX HD, AAC codecs support to pulseaudio bluetooth modules.
I compiled/installed it and it works great  :)

I have added screenshots to show the difference before/after installing it.

Best Regards.

2
x86 Systeme (PC) / [MLD-5.5 testing] Polybar
« on: July 23, 2022, 21:34:20 »


Hi,
I always wanted to have a way to display date/time, CPU temp, volume control when using MLD.

I found that nice application called Polybar, i compiled, installed it and it works great.
The only drawback it will displayed on top of other applications if you click on the maximize button of that application however it will be hidden in fullscreen mode.

Polybar repo:

Code: [Select]
https://gitlab.com/polybar/polybar
Best Regards.


3
x86 Systeme (PC) / [MLD-5.5 testing] FFmpeg
« on: July 14, 2022, 00:07:41 »


Hi,
How i can fix that error in screenshot?
Did you compile FFmpeg or that is a debian package?

4
x86 Systeme (PC) / [MLD-5.5 testing] Google Chrome v103 Portable
« on: June 22, 2022, 22:39:02 »
Hi,

I found a tool for making Chrome portable, now i have Chrome v103 Portable running under MLD- 5.5 testing  :)

1st download Chrome latest version

Code: [Select]
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
Then follow the steps mentioned in the following page to make it portable

https://github.com/shivamgly/Google-Chrome-Portable-maker-for-linux

Best Regards.

5


Hi,
I found that application on Github however my question is not related to the application itself  :D
I just want to know how i make it look as the above screenshot because it look like this under MLD




Is that possible?
Which theme should i install?
I have read on google that you can install Linux Mint themes on Debian, right?

Best Regards.

6
x86 Systeme (PC) / <MLD-5.5 testing> WireGuard
« on: June 09, 2022, 21:02:26 »
Hi,

I have noticed WireGuard VPN while using OpenWrt then decided to make it work under MLD as well.
I activated WireGuard module in MLD kernel config, build it, installed iptables and wireguard-tools and voilĂ  it worked  :)

Code: [Select]
MLD> modinfo wireguard
filename:       /lib/modules/5.15.40.2+/kernel/drivers/net/wireguard/wireguard.ko
author:         Jason A. Donenfeld <Jason@zx2c4.com>
description:    WireGuard secure network tunnel
license:        GPL v2
version:        1.0.0
alias:          net-pf-16-proto-16-family-wireguard
alias:          rtnl-link-wireguard
srcversion:     DCB386D1C4DBE397FBCACDA
depends:        libblake2s,udp_tunnel,curve25519-x86_64,libchacha20poly1305,ip6_udp_tunnel,libcurve25519-generic
intree:         Y
vermagic:       5.15.40.2+ SMP mod_unload modversions

Code: [Select]
MLD user.info kernel: [  659.427769] wireguard: WireGuard 1.0.0 loaded. See www.wireguard.com for information.
MLD user.info kernel: [  659.427773] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.

Code: [Select]
MLD>  wg-quick up wg0
/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_GB.UTF-8)
[#] ip link add wg0 type wireguard
[#] wg setconf wg0 /dev/fd/63
[#] ip -4 address add 10.66.66.4/32 dev wg0
[#] ip -6 address add fd42:42:42::4/128 dev wg0
[#] ip link set mtu 1420 up dev wg0
[#] resolvconf -a tun.wg0 -m 0 -x
/etc/resolvconf/update.d/libc: Warning: /etc/resolv.conf is not a symbolic link                                                                              to /etc/resolvconf/run/resolv.conf
[#] wg set wg0 fwmark 51820
[#] ip -6 route add ::/0 dev wg0 table 51820
[#] ip -6 rule add not fwmark 51820 table 51820
[#] ip -6 rule add table main suppress_prefixlength 0
[#] ip6tables-restore -n
[#] ip -4 route add 0.0.0.0/0 dev wg0 table 51820
[#] ip -4 rule add not fwmark 51820 table 51820
[#] ip -4 rule add table main suppress_prefixlength 0
[#] sysctl -q net.ipv4.conf.all.src_valid_mark=1
[#] iptables-restore -n

Code: [Select]
MLD> wg show wg0
interface: wg0
  public key: juPGRJ7rgyhbCu6JIu7PLr6iBZ5kbOOdmvPPUvdOJwg=
  private key: (hidden)
  listening port: 49530
  fwmark: 0xca6c

peer: 6PVEWBaOqi5tN75+G4nHwzUqlPLIHzWXdeGTK7Jso0o=
  preshared key: (hidden)
  endpoint: ---.--.--.--:51820
  allowed ips: 0.0.0.0/0, ::/0
  latest handshake: 22 seconds ago
  transfer: 609.29 KiB received, 122.18 KiB sent
  persistent keepalive: every 25 seconds

P.s. i only used it an a client, will try to figure out the server part later.

Best Regards.


7
x86 Systeme (PC) / (MLD-5.5 testing) OpenWrt
« on: May 22, 2022, 21:54:24 »








Hello,

I was successfully able to run OpenWrt under MLD-5.5 Testing using Virtualbox  :)
However they don't provide dvb packages.
You have to build it yourself in OpenWrt SDK.
Is there anyone here uses OpenWrt who build dvb packages?

Best Regards.

8
Allgemein [ General ] / [MLD-5.5 testing] vidtv
« on: March 01, 2022, 16:35:46 »
Hi,

I build vidtv (Virtual Digital TV driver) while building new kernel for MLD,
However, i don't know if it can be used as vtuner or it has other purposes.

It consists of:
- A fake tuner driver
- A fake demod driver
- A fake bridge driver

vb_vidtv_tuner.ko
dvb_vidtv_demod.ko
dvb_vidtv_bridge.ko

You can load the driver by running
Code: [Select]
modprobe vidtv
A new adapter will be registered as follow

Code: [Select]
dvbdev: DVB: registering new adapter (dvb_vidtv_bridge)
i2c i2c-22: DVB: registering adapter 0 frontend 0 (Dummy demod for DVB-T/T2/C/S/S2)...
dvbdev: dvb_create_media_entity: media entity 'Dummy demod for DVB-T/T2/C/S/S2' registered.
dvbdev: dvb_create_media_entity: media entity 'dvb-demux' registered.
vidtv vidtv.0: Successfully initialized vidtv!

I couldn't use satip-client because it works with vtuner module only.

You guys can test it and see how it works.

Best Regards.

9
Raspberry PI / [MLD-5.5 testing] RPI4 OpenGL
« on: February 15, 2022, 07:42:15 »
Hi,

Can someone post the following command output for RPI4?

Code: [Select]
glxinfo | grep OpenGL
If it looks like this then something is wrong

Code: [Select]
OpenGL vendor string: VMware, Inc.
OpenGL renderer string: llvmpipe (LLVM 9.0.1, 128 bits)
OpenGL core profile version string: 3.3 (Core Profile) Mesa 19.3.2
OpenGL core profile shading language version string: 3.30
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 3.1 Mesa 19.3.2
OpenGL shading language version string: 1.40
OpenGL context flags: (none)
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.1 Mesa 19.3.2
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.10
OpenGL ES profile extensions:

That is software rendering.

Best Regards.

10
x86 Systeme (PC) / <MLD-5.5 testing> OpenGL
« on: February 10, 2022, 16:51:02 »
Hi,

I have the following OpenGL version on MLD 5.5 testing,
I noticed that Ubuntu 20.04 has OpenGL 4.~.
How to upgrade OpenGL to the latest version?

Code: [Select]
OpenGL core profile version string: 3.3 (Core Profile) Mesa 18.3.6
OpenGL core profile shading language version string: 3.30
OpenGL version string: 3.1 Mesa 18.3.6
OpenGL ES profile version string: OpenGL ES 3.0 Mesa 18.3.6
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.00

Best Regards.

11
Raspberry PI / [RPI4] Debian 11
« on: January 03, 2022, 19:45:38 »

Hi,

- Is there a plan to upgrade to MLD based on Debian 11 soon?

- I build kernel 5.15.11 which works fine on Raspbian Bullseye as in screenshot however i get kernel panic on MLD system.

I just want to know what are the changes which i should make to convert a config file from git branch to MLD config in order to avoid the kernel panic problem

Best Regards.

12
Raspberry PI / [MLD-5.5 testing] RPI4 Kernel panic - not syncing
« on: December 13, 2021, 20:13:13 »


Hello,

Today, i build RPI4 kernel in dev container however i receive Kernel panic - not syncing error.
The config file contains the following:

#
# General setup
#
CONFIG_INIT_ENV_ARG_LIMIT=32
# CONFIG_COMPILE_TEST is not set
CONFIG_LOCALVERSION=".203"
# CONFIG_LOCALVERSION_AUTO is not set
CONFIG_BUILD_SALT=""
CONFIG_HAVE_KERNEL_GZIP=y
CONFIG_HAVE_KERNEL_LZMA=y
CONFIG_HAVE_KERNEL_XZ=y
CONFIG_HAVE_KERNEL_LZO=y
CONFIG_HAVE_KERNEL_LZ4=y
# CONFIG_KERNEL_GZIP is not set
CONFIG_KERNEL_LZMA=y
# CONFIG_KERNEL_XZ is not set
# CONFIG_KERNEL_LZO is not set
# CONFIG_KERNEL_LZ4 is not set
CONFIG_DEFAULT_INIT=""
CONFIG_DEFAULT_HOSTNAME="MLD"
CONFIG_SWAP=y
CONFIG_SYSVIPC=y
CONFIG_SYSVIPC_SYSCTL=y
CONFIG_POSIX_MQUEUE=y
CONFIG_POSIX_MQUEUE_SYSCTL=y
# CONFIG_WATCH_QUEUE is not set
CONFIG_CROSS_MEMORY_ATTACH=y
# CONFIG_USELIB is not set
CONFIG_AUDIT=y
CONFIG_HAVE_ARCH_AUDITSYSCALL=y
CONFIG_AUDITSYSCALL=y

#
# CPU Frequency scaling
#
CONFIG_CPU_FREQ=y
CONFIG_CPU_FREQ_GOV_ATTR_SET=y
CONFIG_CPU_FREQ_GOV_COMMON=y
CONFIG_CPU_FREQ_STAT=y
# CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE is not set
# CONFIG_CPU_FREQ_DEFAULT_GOV_POWERSAVE is not set
# CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE is not set
CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND=y
# CONFIG_CPU_FREQ_DEFAULT_GOV_CONSERVATIVE is not set
# CONFIG_CPU_FREQ_DEFAULT_GOV_SCHEDUTIL is not set
CONFIG_CPU_FREQ_GOV_PERFORMANCE=y
CONFIG_CPU_FREQ_GOV_POWERSAVE=y
CONFIG_CPU_FREQ_GOV_USERSPACE=y
CONFIG_CPU_FREQ_GOV_ONDEMAND=y
CONFIG_CPU_FREQ_GOV_CONSERVATIVE=y
CONFIG_CPU_FREQ_GOV_SCHEDUTIL=y

What could be the reason for that error?
Am i missing something here?

Best Regards.

13
Hi,

softhddevice-drm HEVC hardware accelerated video decoding on RPI4 can be easily enabled by using rpivid-hevc driver as you can see in screenshot.

I dunno why there isn't much info about that driver but it works  :)

If you want to test it, you can either build it yourself or wait for Claus to build/add it in rpi package  ;)

Code: [Select]
MLD> modinfo rpivid_hevc
filename:       /lib/modules/5.12.6.203+/kernel/drivers/staging/media/rpivid/rpivid-hevc.ko
author:         John Cox <jc@kynesim.co.uk>
description:    Raspberry Pi HEVC V4L2 driver
license:        GPL v2
parm:           video_nr:decoder video device number
alias:          of:N*T*Craspberrypi,rpivid-vid-decoderC*
alias:          of:N*T*Craspberrypi,rpivid-vid-decoder
srcversion:     513897446CC56725727B448
depends:        v4l2-mem2mem,videodev,mc,videobuf2-common,videobuf2-v4l2,videobuf2-dma-contig
intree:         Y
vermagic:       5.12.6.203+ SMP mod_unload modversions ARMv7 p2v8

Best Regards.

14
Raspberry PI / [MLD-5.5 testing] RPI4 - Docker
« on: November 15, 2021, 16:52:31 »
Hi,

There's a problem in Rpi4 docker package,
in order to fix it i replaced the following files from cgroupfs-mount debian package
cgroupfs-mount
cgroupfs-umount

The following files are missing as well
containerd-shim-runc-v1
containerd-shim-runc-v2

I got them from containerd debian package

Best Regards.

15
Raspberry PI / [MLD-5.5 testing] Raspberry Pi 4 CPU temperature script
« on: November 11, 2021, 23:34:54 »


Hi,

Here is a script that monitors Rpi CPU temperature.
The script isn't mine :D
I made a google search and found it yesterday.
You can change time.sleep to whatever value you want.
(python 3 is required)


Code: [Select]
#!/usr/bin/python3
import os
import time

def temperature_of_raspberry_pi():
    cpu_temp = os.popen("vcgencmd measure_temp").readline()
    return cpu_temp.replace("temp=", "")

while True:
    print(temperature_of_raspberry_pi())
    time.sleep(1)

Best Regards.