Forum Replies Created

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • ts87
    Participant
    Post count: 9

    @herbfargus thank you kindly!
    So i re-installed Jessie.
    Then i installed the LCD driver.
    Next i installed RetroPie.
    RetroPie shows on HDMI.
    Switch to LCD terminal.

    sudo raspi-config
    expand filesystem
    
    disable overscan
    
    force audio to 3.5mm 
    
    advanced options >> enable Device Tree
    
    advanced options >> enable SPI >> load SPI kernel module by default
    
    sudo reboot

    Next
    FBCP

    sudo apt-get install cmake
    git clone https://github.com/tasanakorn/rpi-fbcp
    cd rpi-fbcp/
    mkdir build
    cd build/
    cmake ..
    make
    sudo mkdir /usr/local/bin
    sudo install fbcp /usr/local/bin/fbcp

    Next
    /etc/profile.d/10-emulationstation.sh

    on its own on the second line before emulationstation is called.

    /usr/local/bin/fbcp &

    /boot/config.txt

    
    sudo nano /boot/config.txt
    hdmi_force_hotplug=1
    hdmi_cvt=320 240 60 1 0 0 0 
    hdmi_group=2
    hdmi_mode=87

    and finally
    sudo nano /home/pi/emulationstation.sh

    #!/bin/bash
    /usr/bin/local/fbcp &
    emulationstation
    sudo chmod +x emulationstation.sh

    Not sure if the last one did anything, but after reboot RetroPie loaded on the LCD :)

    ts87
    Participant
    Post count: 9

    Short update..
    I messed with the config.txt some more. I managed to rotate the LCD screen to the direction i actually needed (EmulationStation still boots on HDMI).
    Few notes that might help:
    When i set my Raspian Jessie to load on LCD it changes the /boot/config.txt by adding
    dtoverlay=waveshare32b
    dtoverlay=ads7846

    I check the file /usr/share/X11/xorg.conf.d/99-fbturbo.conf
    and i see output is set to /dev/fb1

    From what i have seen online so far all should be fine.. but the fact is EmulationStation loads on the hdmi :(

    I think i need to modify /opt/retropie/supplementary/runcommand/runcommand.sh by adding something like this:
    mode_new = “DMT-87”
    return

    on function get_mode()
    Unfortunately i don’t see such function in that file..

    ts87
    Participant
    Post count: 9

    I did check the file /boot/config.txt and i did set the following:

    hdmi_cvt 320 240 60 1 0 0 0
    hdmi_group=2
    hdmi_mode=87

    however still no result..
    Great, played a little bit too much with it.. Now it’s not booting, only white screen – time to reinstall the SD card..

    ts87
    Participant
    Post count: 9

    What do you mean? I installed Fbcp like that:

    sudo apt-get install cmake
    git clone https://github.com/tasanakorn/rpi-fbcp
    cd rpi-fbcp/
    mkdir build
    cd build/
    cmake ..
    make
    sudo install fbcp /usr/local/bin/fbcp

    and still the same – EmulationStation loads on the HDMI instead of LCD.

    ts87
    Participant
    Post count: 9

    Ok, here is the current setup:
    – Installed Raspbian Jessie
    – Installed RetroPi on top
    – Installed drivers for LCD screen

    Now when the Raspberry boots to RetroPi it shows the picture on the HDMP. However when i go to startx in the terminal it loads Jessie on the LCD screen..
    Is there possibility to redirect the picture of RetroPi from HDMI to the LCD?

    ts87
    Participant
    Post count: 9

    Ok i will try that. In the mean time can you answer this:
    I am strugling with this because i want to create small gameboy-like device. For that i need the LCD display drivers installed.
    The drivers work on Jessie so i figured i install RetroPi, startx install LCD and start gaming :) I will try working this out without GUI.

    ts87
    Participant
    Post count: 9

    Ok, so i tried running apt-get install lxde, but i got multiple errors that it failed to fetch a file over the internet.. which actually makes sense since my wifi is not configured yet :)
    Argh.. worst case i go back to Jessie and try installing RetroPie on it.

Viewing 7 posts - 1 through 7 (of 7 total)