Support for: 7″ Touchscreen Monitor for Raspberry Pi

Suggestions/requests/ideas for RuneAudio core features and functions

Re: Support for: 7″ Touchscreen Monitor for Raspberry Pi

Postby techmike » 31 Mar 2016, 23:10

Great
Thanks for testing that.
RuneAudio_rpi2_rp3_0.4-beta_20160321_2GB.img
Back to the drawing board.
Faulty component or environmental.
Cheers
techmike
techmike
 
Posts: 4
Joined: 19 Mar 2016, 01:40

Re: Support for: 7″ Touchscreen Monitor for Raspberry Pi

Postby flipphos » 06 Apr 2016, 15:29

Does the current version: 0.4 build 20160313, support 800x480 screen yet?

I've got one with HDMI 800x480 and eGalax touch screen, the local browser seems still partially displayed (most of the volume tuner is out of the screen).
flipphos
 
Posts: 18
Joined: 06 Apr 2016, 08:09

Re: Support for: 7″ Touchscreen Monitor for Raspberry Pi

Postby hondagx35 » 06 Apr 2016, 16:48

Hi flipphos,

this image is optimized for the original 7" TFT display which has a resolution of 800x480.

I think you haven't configured your display correctly:
Put this in your /boot/config.txt
Code: Select all
hdmi_group=2
hdmi_mode=87
hdmi_cvt=800 480 60 6 0 0 0


Frank
User avatar
hondagx35
 
Posts: 3042
Joined: 11 Sep 2014, 22:06
Location: Germany

Re: Support for: 7″ Touchscreen Monitor for Raspberry Pi

Postby flipphos » 06 Apr 2016, 17:40

hondagx35 wrote:Hi flipphos,

this image is optimized for the original 7" TFT display which has a resolution of 800x480.

I think you haven't configured your display correctly:
Put this in your /boot/config.txt
Code: Select all
hdmi_group=2
hdmi_mode=87
hdmi_cvt=800 480 60 6 0 0 0


Frank


Thanks Frank!

I was using these settings in the config.txt, which I learnt from another Kodi forum.
Code: Select all
hdmi_force_hotplug=1
hdmi_cvt=800 480 60
hdmi_group=2
hdmi_mode=87


Then I changed to your recommended settings. No big difference before and after. Please refer to the attached photo which is using your settings:
IMG_2484_1.jpg
IMG_2484_1.jpg (72.61 KiB) Viewed 3592 times
flipphos
 
Posts: 18
Joined: 06 Apr 2016, 08:09

Re: Support for: 7″ Touchscreen Monitor for Raspberry Pi

Postby hondagx35 » 06 Apr 2016, 17:54

Hi flipphos,

there is definitively something wrong with your settings.
Rune Audio runs the local browser in full screen mode, so no matter what display it should fit the size.
For me it looks like your display is 640x480,

- what display are you using?
- please post complete /boot/config.txt

Frank
User avatar
hondagx35
 
Posts: 3042
Joined: 11 Sep 2014, 22:06
Location: Germany

Re: Support for: 7″ Touchscreen Monitor for Raspberry Pi

Postby flipphos » 07 Apr 2016, 02:09

Hi Frank,

This display claims physical resolution 800x480, which I confirmed using OSMC with the similar setting in config.txt. The OSMC reports 800x480.

I tested with hdmi_cvt=640 480 60 6 0 0 0 in the config.txt, and got the same picture as I posted last time. If my display was 640x480, I would expect a fit full screen.

Here is my /boot/config.txt. I have a hifiberry DAC+ board with IR receiver plugged in.
Code: Select all
#dtparam=i2c_arm=on
#dtparam=i2c_vc=on
dtparam=i2s=on
#dtparam=spi=on
#dtparam=act_led_trigger=mmc

#dtparam=uart1=off
#dtoverlay=pi3-disable-bt-overlay

# Uncomment one of these lines to enable an audio interface
#dtoverlay=hifiberry-dac
dtoverlay=hifiberry-dacplus
#dtoverlay=hifiberry-digi
#dtoverlay=hifiberry-amp
#dtoverlay=iqaudio-dac
#dtoverlay=iqaudio-dacplus

# Uncomment to enable the lirc-rpi module
# Params: gpio_out_pin             GPIO pin for output (default "17")
#         gpio_in_pin              GPIO pin for input (default "18")
#         gpio_in_pull             Pull up/down/off on the input pin
#                                  (default "down")
#         sense                    Override the IR receive auto-detection logic:
#                                    "1" = force active high
#                                    "0" = force active low
#                                    "-1" = use auto-detection
#                                  (default "-1")
#         softcarrier              Turn the software carrier "on" or "off"
#                                  (default "on")
#         invert                   "on" = invert the output pin (default "off")
#         debug                    "on" = enable additional debug messages
#                                  (default "off")
dtoverlay=lirc-rpi
#dtparam=gpio_out_pin=17
dtparam=gpio_in_pin=26
#dtparam=gpio_in_pull=down

# LCD settings
# 180 degrees
lcd_rotate=2
# Normal
#lcd_rotate=0
#dtoverlay=rpi-backlight
#dtoverlay=rpi-ft5406

# Uncomment if you get no picture on HDMI for a default "safe" mode
#hdmi_safe=1

# Uncomment this if your display has a black border of unused pixels visible
# and your display can output without overscan
#disable_overscan=1

# Uncomment the following to adjust overscan. Use positive numbers if console
# goes off screen, and negative if there is too much border
#overscan_left=-32
#overscan_right=16
#overscan_top=-32
#overscan_bottom=16

# Uncomment to force a console size. By default it will be display's size minus
# overscan.
#framebuffer_width=800
#framebuffer_height=480

# Uncomment if hdmi display is not detected and composite is being output
#hdmi_force_hotplug=1

#Added to use HDMI output 800x480
#hdmi_force_hotplug=1
hdmi_group=2
hdmi_mode=87
hdmi_cvt=800 480 60 6 0 0 0

# Uncomment to force a specific HDMI mode (this will force VGA)
#hdmi_group=1
#hdmi_mode=1

# Uncomment to force a HDMI mode rather than DVI. This can make audio work in
# DMT (computer monitor) modes
hdmi_drive=2

# Uncomment to set monitor mode to DMT
#hdmi_group=2

# Uncomment to increase signal to HDMI, if you have interference, blanking, or
# no display
#config_hdmi_boost=4

# setting the max usb current to 1200mA
max_usb_current=1

# memory options
gpu_mem=64

# Overclocking options
force_turbo=1
flipphos
 
Posts: 18
Joined: 06 Apr 2016, 08:09

Re: Support for: 7″ Touchscreen Monitor for Raspberry Pi

Postby flipphos » 08 Apr 2016, 16:21

Hi Frank,

I think I have solved my problem by adjusting the overscan (right and bottom) parameters.
Code: Select all
overscan_right=175
overscan_bottom=97

I got these two numbers from Kodi, when I was adjust the (off) screen under Kodi, as I told you, Kodi showed 800x480 in the hardware info. I got inspired there. And it did do the trick.

Now the display is perfect.
IMG_2516_small after adjust overscan.jpg
Screen adjusted.
IMG_2516_small after adjust overscan.jpg (71.78 KiB) Viewed 3516 times


This leaves me the last question: how to calibrate my eGalax touch screen (under arch linux)?


Cheers
flipphos
 
Posts: 18
Joined: 06 Apr 2016, 08:09

Re: Support for: 7″ Touchscreen Monitor for Raspberry Pi

Postby hondagx35 » 08 Apr 2016, 19:43

Hi ,

This leaves me the last question: how to calibrate my eGalax touch screen (under arch linux)?

You can use xinput_calibrator for this as described in /root/.xinitrc

Code: Select all
#!/bin/bash
export XDG_CACHE_HOME="/tmp/.cache" &
export DISPLAY=":0" &

# start the touchscreen calibration utility
# needed for some screens (Pollin 7" tft)
# for this to work you have to disable loading midori
#xinput_calibrator &

# turn off display power management
xset -dpms &

# turn off screensaver
xset s off &

# start the window manager without titlebar and mouse
matchbox-window-manager -use_titlebar no -use_cursor no &

# install multimedia keyboard shortcuts
xbindkeys &

# start midori in privat mode with fullscreen display
midori -p -e Fullscreen http://localhost


Reboot and follow the instructions.

Frank
User avatar
hondagx35
 
Posts: 3042
Joined: 11 Sep 2014, 22:06
Location: Germany

Re: Support for: 7″ Touchscreen Monitor for Raspberry Pi

Postby flipphos » 09 Apr 2016, 02:12

Hi Frank,

I disabled midori in /root/.xinitrc and reboot. After the reboot log in the console and run xinput_calibrator, which said "Unable to connect to X server" and stopped.

I also tried to disable both midori and matchbox-window-manager, then reboot and run xinput_calibrator, got the same message. Any advice, please?

Cheers,
flipphos
flipphos
 
Posts: 18
Joined: 06 Apr 2016, 08:09

Re: Support for: 7″ Touchscreen Monitor for Raspberry Pi

Postby hondagx35 » 09 Apr 2016, 09:48

Hi flipphos,

you have to remove the # in front of "xinput_calibrator &"
and put it in front of "midori -p -e Fullscreen http://localhost".

Code: Select all
#!/bin/bash
export XDG_CACHE_HOME="/tmp/.cache" &
export DISPLAY=":0" &

# start the touchscreen calibration utility
# needed for some screens (Pollin 7" tft)
# for this to work you have to disable loading midori
xinput_calibrator &

# turn off display power management
xset -dpms &

# turn off screensaver
xset s off &

# start the window manager without titlebar and mouse
matchbox-window-manager -use_titlebar no -use_cursor no &

# install multimedia keyboard shortcuts
xbindkeys &

# start midori in privat mode with fullscreen display
#midori -p -e Fullscreen http://localhost


Frank
User avatar
hondagx35
 
Posts: 3042
Joined: 11 Sep 2014, 22:06
Location: Germany

support RuneAudio Donate with PayPal

PreviousNext

Return to Feature request

Who is online

Users browsing this forum: No registered users and 3 guests