Jump to content
IGNORED

GentooPlayer


Recommended Posts

@antonellocaroli

  • Never mind with the kernel, it works with the last 4.19, so for now is all good
  • The web interface software install / remove issue is failing on low cpu (celerons) but works "sometimes" on core i7, I am using the gp-menu anyways so this is not important, just FYI
  • The alsa options if there is a description on the differences that would be great

Thank you

 

 

Link to comment
1 hour ago, bodiebill said:

ah, good to know, thanks

Just noticed your post, I got the bridge easily working with 2 interfaces, don't know about four, let me post the details below.

I am currently working on bridging wireless and wired, that is another challenge, I got working briefly but now it is not so I have to go over it again, anyway

 

The best article I found was this one:

http://wikigentoo.ksiezyc.pl/Bridging.htm

 

1. Stop the hotspot service

 

2. As root:(you may have to add more interfaces)

 

modprobe bridge
emerge net-misc/bridge-utils

/bin/ifconfig eth0 up
/bin/ifconfig eth1 up
/sbin/brctl addbr br0
/sbin/brctl addif br0 eth0
/sbin/brctl addif br0 eth1
/bin/ifconfig br0 up
/sbin/brctl stp br0 on

 

3. Edit the network if you want static

 

nano /etc/conf.d/net

 

bridge_br0="eth0 eth1"
config_br0=( "192.168.95.226/24" )
config_eth0=( "null" )
config_eth1=( "null" )
brctl_br0=( "stp on" )
depend_br0() {
         need net.eth0
}
routes_br0="default via 192.168.95.1"
##bridge_forward_delay_br0=0
bridge_hello_time_br0=1000
bridge_stp_state_br0=1

 

4. Enter these

ln -sf /etc/init.d/net.lo /etc/init.d/net.eth1
rc-update add net.eth0 default
rc-update add net.eth1 default
ln -sf /etc/init.d/net.lo /etc/init.d/net.br0
rc-update add net.br0 default
/etc/init.d/net.br0 start

 

5. Restart to confirm it is working

 

Feel free  to provide comments I am just listing what worked for me

 

Link to comment
4 hours ago, bodiebill said:

below the steps that worked for me to bridge eth

Thanks for posting your results and I'm glad most of what I sent you worked, I will be creating same script but with the new commands (which I'm using for the wireless / wired bridge), that one is hard to get it working so we'll see.

 

Link to comment
  • 4 weeks later...

Building new PC, installed GP, running into some issues.

 

  • Wifi adapter won't be recognized under 4.19, 5.4 will show the Wifi adapter (Intel AX200), is it possible to include support for Intel AX200 under kernel 4.19?
  • System Config Advanced - Twk Various doesn't work, fails on my new install, how can I stop the Hotspot service from running?
  • Is it possible to run the Embedded version without a graphics card? selecting the "turn off the linux console" option?

Thank you

 

 

Link to comment

Just got a Ryzen 3800X running HQPe and Roon, HQPlayer is using only 2 CPU's out of the 8, temp is 72 so no throttling is happening, the profile was the standard, I just changed to custom and did some adjustments, basically leaving blank the player software CPUs but I see only 0 and 4 being used 78% or so

Any ideas of what could be happening? or what should I do to get some more processor cores running?

image.thumb.png.ba66855d139a4ba0fca6b894e2d03d67.png

 

Link to comment
11 hours ago, antonellocaroli said:

cat /etc/default/grub

GentooPlayer-64 ~ # cat /etc/default/grub
GRUB_DISTRIBUTOR="GentooPlayer"
GRUB_SAVEDEFAULT=true
GRUB_DEFAULT=saved
GRUB_TIMEOUT=5
GRUB_DISABLE_SUBMENU="y"
#GCL="threadirqs intel_idle.max_cstate=0 isolcpus=3 vsyscall=none elevator=noop"
#GCLD="quiet splash threadirqs transparent_hugepage=never noapic clocksource=hpet  tsc=reliable mce=ignore_ce nosoftlockup audit=0 idle=poll"
GRUB_CMDLINE_LINUX="threadirqs intel_idle.max_cstate=0 vsyscall=none net.ifnames=0"
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash transparent_hugepage=never clocksource=hpet noibrs noibpb nopti nospectre_v2 nospectre_v1 l1tf=off nospec_store_bypass_disable no_stf_barrier mds=off mitigations=off"
GRUB_BACKGROUND="/boot/grub/gp2.png"
GRUB_DISABLE_RECOVERY="true"

 

11 hours ago, antonellocaroli said:

ls -l /etc/local.d/

GentooPlayer-64 ~ # ls -l /etc/local.d/
total 28
-rwxr-xr-x 1 root root 716 Dec 26 17:09 g_resize.back
-rwxr-xr-x 1 root root  84 Feb  9 07:37 havegedstop.start
-rwxr-xr-x 1 root root 254 Feb  9 15:09 ireteonline.start.bak
-rwxr-xr-x 1 root root 121 Jul  6  2019 max_user_freq.start
-rwxr-xr-x 1 root root 281 May 23 00:35 profile6.start
-rw-r--r-- 1 root root 652 Feb  8 13:45 README
-rwxr-xr-x 1 root root  46 Dec 26 17:05 v_chronystop.start

 

Thank you Antonello

Link to comment
  • 1 month later...
21 hours ago, bobfa said:

AMD Ryzen system trouble changing Kernel

Hey Bob, nice avatar you got there, I received that error in the past when installing processor kernel updates with Intel so I guess this is not only related to AMD, my solution was to imaged a new flash drive, I discarded my AMD system, sold CPU on ebay and getting and Intel cpu and board now, AMD although very good it just gives errors, there's not even governors on AMD and performance with HQP (which I'm a big fan) it is just not there.

Take care

 

Luis

 

Link to comment
  • 4 months later...

Hi Antonello:

Just installed Embedded 3.02 on a new B550I board from Gigabyte. Board has a Realtek nic RTL8125

 

lspci | grep Ethernet
 - RTL8125

 

It is supposed to be included in 5.6.18 but this image comes with 5.6.17

 

Downloaded the driver from https://www.realtek.com/en/directly-download?downloadid=54c0e3e95c579555ee0cd61b8eaca701

 

but cannot find the /lib/modules build when trying to build of course

 

I tried modprobe r8169 but there is no eth0 or other ethernet device

 

I have tried not bothering you, actually I wanted to post the resolution as I know some others will come with new boards, new Ryzen gen etc. and thought on creating a detailed step by step like I did with the bridging

 

but I think the driver must be included or new kernel on the distribution ...

 

Let me know what you think ....

 

All the best

 

Luis

 

 

Link to comment

Hi @antonellocaroli

Running hqplayerd with the default profile without trying anything but the default doesn't use all the cores but 2.

I read the profile info and selected profile 2 to allow hqplayer to use the cores in any way it wants but it uses only 1 core.

Going back to profile 5 only uses 2 cores

Standard only 2 cores

Any idea what profile could just not do any optimizations? as apparently profile 2 doesn't.. I enabled the governor to performance but same results

 

 

Link to comment
10 hours ago, antonellocaroli said:

I do not recommend using profiles with Hqplayer or hqplayerd, better to use the expert menu if necessary.

Having said that, can you post me the systeminfo and htop screen?

Understood, I tried to never use profiles before, the only reason I selected these is because I thought the core distribution when running HQPe was a little off but it seems it is HQP the one using these cores like that.

 

Here is the system Info

 

Note the Max frequency is under the actual max frequency of the 5600X, maybe because it is AMD it is not properly detected.

 

Profile: Profile not Setting
RamSystem: Ramsystem not enabled
Free memory: 15617MB of total 16020MB

 

Kernel: 5.6.17-rt-rt10-x86_64-GP-RT-ST-Realtek
───────────────────────────────────────
GentooPlayer | 21:56 | gio 12/11/2020
───────────────────────────────────────
v3.02 | Generic Device (x86_64)
───────────────────────────────────────
eth0 | 192.168.96.225
───────────────────────────────────────

 

Players Info:
Squeezelite-R2 [Disabled]
Squeezelite [Disabled]
Networkaudiod [Disabled]
LigitechMediaServer [Disabled]
BubbleUpnp [Disabled]
HQPlayer Embedded [Enabled]
Mpd [Disabled]
UpMpdCli [Disabled]
RoonBridge [Disabled]
RoonServer [Disabled]
Mpd-Sima [Disabled]
MYmpd [Disabled]
minimserver [Disabled]
shairport-sync [Disabled]
spotify-connect [Disabled]

 

GP-Service Info:
gpchronystop [Enabled]
gpgovernor [Enabled]
gphavagedstop [Enabled]
gpkernel1 [Enabled]
gprtclock [Enabled]
gpsetrestart [Enabled]

 

"quiet splash transparent_hugepage=never clocksource=hpet noibrs noibpb nopti nospectre_v2 nospectre_v1 l1tf=off nospec_store_bypass_disable no_stf_barrier mds=off mitigations=off"


 

###############################
*** Scanning for playback devices ***
Card 0, ID `Digital', name `Pre Box S2 Digital'
Device 0, ID `USB Audio', name `USB Audio', 1 subdevices (0 available)
Error opening sound device for card 0, device 0: Device or resource busy. Skipping.
Card 1, ID `HDMI', name `HDA ATI HDMI'
Device 3, ID `HDMI 0', name `HDMI 0', 1 subdevices (1 available)
2..8 channels, sampling rate 32000..192000 Hz
Sample formats: S16_LE, S32_LE
Buffer size range from 8 to 34176000
Period size range from 4 to 17088000

 

Subdevice 0, name `subdevice #0'
Device 7, ID `HDMI 1', name `HDMI 1', 1 subdevices (1 available)
2..8 channels, sampling rate 32000..192000 Hz
Sample formats: S16_LE, S32_LE
Buffer size range from 8 to 34176000
Period size range from 4 to 17088000

 

Subdevice 0, name `subdevice #0'
Device 8, ID `HDMI 2', name `HDMI 2', 1 subdevices (1 available)
2..8 channels, sampling rate 32000..192000 Hz
Sample formats: S16_LE, S32_LE
Buffer size range from 8 to 34176000
Period size range from 4 to 17088000

 

Subdevice 0, name `subdevice #0'
Device 9, ID `HDMI 3', name `HDMI 3', 1 subdevices (1 available)
2..8 channels, sampling rate 32000..192000 Hz
Sample formats: S16_LE, S32_LE
Buffer size range from 8 to 34176000
Period size range from 4 to 17088000

 

Subdevice 0, name `subdevice #0'
Device 10, ID `HDMI 4', name `HDMI 4', 1 subdevices (1 available)
2 channels, sampling rate 32000..192000 Hz
Sample formats: S16_LE, S32_LE
Buffer size range from 32 to 34176000
Period size range from 16 to 17088000

 

Subdevice 0, name `subdevice #0'
Device 11, ID `HDMI 5', name `HDMI 5', 1 subdevices (1 available)
2..8 channels, sampling rate 32000..192000 Hz
Sample formats: S16_LE, S32_LE
Buffer size range from 8 to 34176000
Period size range from 4 to 17088000

 

Subdevice 0, name `subdevice #0'
###############################


 

AUDIO CARDS
CARD TYPE ADDRESS NAME
--------------------------------------------------------------------------------------------------------
card0 USB Audio card usb1 --> 2772:0230 Pro-Ject Pre Box
card0 STATUS --> no setup
--------------------------------------------------------------------------------------------------------
card1 Internal Audio card card1 --> -- HDMI 0
card1 STATUS --> unavailable
--------------------------------------------------------------------------------------------------------


 

Filesystem Type Size Used Avail Use% Mounted on
udev devtmpfs 10M 0 10M 0% /dev
/dev/sda3 ext4 56G 5.0G 49G 10% /
tmpfs tmpfs 1.6G 948K 1.6G 1% /run
cgroup_root tmpfs 10M 0 10M 0% /sys/fs/cgroup
shm tmpfs 7.9G 0 7.9G 0% /dev/shm
/dev/nvme0n1p5 fuseblk 98G 58G 41G 59% /media/mnt/linux1


 

[ OK ] Root access verified.

 

─────────────────────────────────────────────────────
Gentooplayer CPU Info
Use cpu-governor to change CPU / performance options
─────────────────────────────────────────────────────
Architecture | x86_64
Temp | 16'c : 60'f | Who put me in the freezer!
Governor | performance

 

Current Freq Min Freq Max Freq
CPU0 | 3411 MHz 2200 MHz 3700 MHz
CPU1 | 3592 MHz 2200 MHz 3700 MHz
CPU2 | 3593 MHz 2200 MHz 3700 MHz
CPU3 | 3588 MHz 2200 MHz 3700 MHz
CPU4 | 3592 MHz 2200 MHz 3700 MHz
CPU5 | 3592 MHz 2200 MHz 3700 MHz
CPU6 | 3316 MHz 2200 MHz 3700 MHz
CPU7 | 3333 MHz 2200 MHz 3700 MHz
CPU8 | 3592 MHz 2200 MHz 3700 MHz
CPU9 | 3504 MHz 2200 MHz 3700 MHz
CPU10 | 3323 MHz 2200 MHz 3700 MHz
CPU11 | 3332 MHz 2200 MHz 3700 MHz

 

[ INFO ] GentooPlayer-CPU_info | CPU current frequency, may be affected by this script, due to the processing required to run it.
- if the temperature is not displayed, first run the command: sensors-detect --auto

 

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...