Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/SilentNightx/VitaDockPlus i…
Browse files Browse the repository at this point in the history
…nto main
  • Loading branch information
SilentNightx committed Feb 17, 2021
2 parents 67c298a + a2b8225 commit 3eb29ad
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions DEVELOPER README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ Once that is done enter the following commands:
`sudo ./configure --extra-ldflags=-latomic --arch=armel --target-os=linux --enable-ffplay --enable-omx --enable-omx-rpi --enable-mmal --enable-decoder=h264_mmal --enable-decoder=mpeg2_mmal --enable-encoder=h264_omx`
then on RPI 0/1 `sudo make` or on RPI 2/3/4 `sudo make -j4`
That step can take a long time and once it is done you need to enter `sudo make install` then reboot.
After compiling you may want to disable the swap again as this can help performance while streaming the video.

2. When adding a new UDEV rule on Pi you need to run `sudo /etc/init.d/udev restart` or it won't be seen by the OS.

Expand All @@ -45,3 +46,5 @@ There are hardware specific commands in run.sh to set these variables.
Running `v4l2-ctl -d 0 --list-formats-ext` can show you a list of UVC modes the Vita that is plugged in supports.

6. Running `sudo journalctl -f -u vita` and then plugging the Vita in shows what code is run when the Vita is plugged in. Can be helpful when debugging.

7. To shrink the image use win32diskimager to get an image. Put the image on a USB drive then plug it into the Pi and boot with the SD you imaged. Run `termit` then navigate to the folder where the image is on your USB drive. Next run `sudo pishrink.sh -s -p 'name of your image`. Make sure you use the -s option. This disables filesystem expansion on first boot which is a broken feature at the moment that will corrupt the filesystem. Also make sure to use -p to remove any logs that might contain sensitive information.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Menu shortcuts to apps that let you use this as a Linux desktop: They made it to
| Model | Status | Details |
| :-------------: | :-------------: | :-----: |
| Raspberry Pi Zero W Rev 1.1 | Good | Bluetooth might cause issues because of low processing power, consider overclocking and using low latency mode. |
| Raspberry Pi 2 Model B Rev 1.1 |Excellent| |
| Raspberry Pi 2 Model B Rev 1.1 | Good | |
| Raspberry Pi 3 Model B Rev 1.2 |Excellent| |
| Raspberry Pi 4 Model B Rev 1.1 (2GB) | Excellent | Display backlight might not go to sleep on timeout, a common issue with Pi 4 hardware. |
| Raspberry Pi 4 Model B Rev 1.1 (4GB) | Excellent | Display backlight might not go to sleep on timeout, a common issue with Pi 4 hardware. |
Expand Down

0 comments on commit 3eb29ad

Please sign in to comment.