Recalbox Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • recalbox.com
    • Gitlab repository
    • Documentation
    • Discord

    Solved Recalbox 7 laptop switch external screen function x86_64

    Recalbox General
    recalbox laptop switch external function x8664
    3
    4
    1085
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • terri123
      terri123 last edited by

      Hello
      where can i find this option?
      in changelog is written
      "Add laptop switch external screen function only for x86_64 x86"

      On Recalbox 6.1.1 this was not a problem it automatic mirroed the screen to the HDMI Port. But now on Recalbox 7 it output a video signal until the boot video end and then nothing.

      I can activate the HDMI output by this command via SSH
      xrandr --output HDMI2 --mode 1920x1080 --primary --output eDP1 --off

      But i do not want to ssh into the Recalbox everytime i reboot.

      I tried to build a custom.sh in recalbox/share/system/ with this content

      #!/bin/bash
      echo 500 > /sys/class/backlight/intel_backlight/brightness
      time -p sleep 10
      xrandr --output HDMI2 --mode 1920x1080

      After a reboot the screen brightness goes up but the video does not output to HDMI.

      Any one know a good solution for that?

      1 Reply Last reply Reply Quote 1
      • terri123
        terri123 last edited by acris

        I found a way for me that it automatic change the display output when a HDMI cable is connectet and i do a reboot or a normal boot.

        I just changed something in this file

        /recalbox/share/system/recalbox.conf

        I changed this

        ## Prefered external screen retrieved from ssh : xrandr
        ;system.externalscreen.prefered=
        ## Force selected external screen to resolution ex : 1920x1080
        ;system.externalscreen.forceresolution=
        

        to this

        ## Prefered external screen retrieved from ssh : xrandr
        system.externalscreen.prefered=HDMI2
        ## Force selected external screen to resolution ex : 1920x1080
        system.externalscreen.forceresolution=1920x1080
        

        This is working nice for me.

        Maybe it will help someone

        But i could not find the switch function that is called in the changelog
        ("Add laptop switch external screen function only for x86_64 x86")

        1 Reply Last reply Reply Quote 2
        • Zeke
          Zeke last edited by

          Thank you @terri123, I didn't have time to saerch that but I needed it to stop connecting and disconnecting my Monitors / TV 🙂

          PC x64 MSI X399 SLI Plus
          AMD Threadripper 1900X
          64GB Corsair Vengeance 3200Mhz
          EVGA GeForce GTX 1060 6GB
          Recalbox sur Western Digital Blue SSD 500Go M.2 (boitier USB-C 3.1 Gen.2)

          φ(k) ∝ At

          1 Reply Last reply Reply Quote 0
          • davidb2111
            davidb2111 Staff last edited by

            Hi @terri123

            Nice trick! thanks for sharing.
            I'll take a look at the documentation and check for this.

            David

            1 Reply Last reply Reply Quote 0
            • First post
              Last post

            Want to support us ?

            67
            Online

            90.4k
            Users

            26.3k
            Topics

            181.8k
            Posts

            Copyright © 2021 recalbox.com