More > JRiver Media Center 27 for Linux

Quick Start Guide for Installing JRiver Mediacenter 27 on an rPi4 2-4-8GB

<< < (8/14) > >>

HaWi:
For those wondering how to set the VNC screen resolution on your Raspberry Pi (I use a Pi4/8GB)  to one fitting your monitor here is what I did to get the default 2560x1440 (60Hz) resolution for my iMac 5K (late 2015). This makes it much easier for me to see my MC27 views properly.

Disclaimer: I am very new to Linux and Raspberry so no guarantees, your milage may vary. My system is Raspberry Pi4B/8GB: Linux RPi4 5.10.17-v8+ #1403

1) open a terminal on the RPi/VNC session
2) The following commands will show the current display and resolution, the right parameters for a display mode supporting 2560x1440, create that mode and add the mode to the existing modes


--- Code: ---xrandr
--- End code ---
# This will show the current display name (start of second line) and the current resolution (amongst other things)


--- Code: ---cvt 2560 1440 60
--- End code ---
# this reveals the necessary parameters to create a new mode


--- Code: ---xrandr --newmode "2560x1440_60.00"  173.00  1920 2048 2248 2576  1080 1088 1120 -HSync +VSync
--- End code ---
# this creates the new display mode. Replace everything starting with the opening quote mark (") with what you see in the output after the cvt command


--- Code: ---xrandr --addmode HDMI-1 2560x1440_60.00
--- End code ---
# this adds the new mode to the existing modes. Replace 'HDMI-1' with what you see after the xrandr command as the display name


--- Code: ---xrandr --output  HDMI-1 --mode 2560x1440_60.00
--- End code ---
# this activates the new mode and changes the resolution to 2560X1440

If you run into permission issues use sudo in front of the commands.

The following should make these changes persistent upon every reboot:

1) Create (if not existing) a file in ~ named .bash_profile


--- Code: ---cd ~
--- End code ---

--- Code: ---sudo nano .bash_profile
--- End code ---

2) Copy the three xrandr commands from above into the file and save it (<ctrl>o) and exit (<ctrl>x)

Disclaimer: I haven't tested the persistence yet

Sources:
https://unix.stackexchange.com/questions/274506/how-to-set-persistent-resolution-in-xfce-on-debian
https://www.raspberrypi.org/forums/viewtopic.php?t=201245
EDIT: changed incorrect cvt command to xrandr command

Dennis in FL:
Stupid question.   Do I have to start from scratch with a USB boot or can I save my MC 27 setup ?

If I update my SD card ....  can I have a USB SSD raspberry Pi by doing this:

Use SD COPY and copy the SD Card to the USB SSD drive

Change the Boot drive to the USB using Sudo raspi-config

shut down and remove the SD Card.


Wheaten:
- You need to enable boot from USB in raspi-config
- Then you can copy the complete content of the SD to a USB drive, as shown in the screenshots
- shutdown the rPi
- Remove the SD
- Boot the rPi

It should boot form the USB disk, and no settings etc lost.

So the short answer to your question..... No and Yes

Dennis in FL:
That's exactly what I was asking.....I was afraid I needed to burn a fresh image on the SSD and start from scratch.

Thank you thank you.

I'll get right on it.   

PS: I have a Sandisk SSD that had recognition problems from my 2020 iMac and after 6 months of Apple troubleshooting - I gave up and tried a Samsung SSD - which worked fine.  Now I have two Sandisk 1 TBs to do something with.   They work fine in the Raspi and even my Apple laptop.  So why not boot from the USB with a fast SSD drive??

Wheaten:
Well you have 2 advantages, booting form a SSD on USB 3.0

- Speed improvements
- Stability

A big problem when using a SD card as OS-disk, is that there is no monitoring if the SD cards is being accessed or written to. If in these case the power get interrupted or a user performs a reboot, the state of the files become unknown, as the dirty flag is set. The Pi won't boot from it as it has no idea what happened to the file.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version