Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
lwc:hardware:displays [2025/01/22 22:22] John Harrisonlwc:hardware:displays [2026/06/09 09:46] (current) John Harrison
Line 2: Line 2:
  
 ===== Create a virtual display in Linux ===== ===== Create a virtual display in Linux =====
-//this is useful if using something like, for example [[https://deskreen.com/lang-en|Deskreen]] to mirror a secondary display on another device when no other physical secondary display exists. [[https://github.com/augustoicaro/Immersed-Linux-Virtual-Monitors|original source]]//+//this is useful if using something like, for example [[https://deskreen.com/lang-en|Deskreen]] to mirror a secondary display on another device such an iPad when no other physical secondary display exists. [[https://github.com/augustoicaro/Immersed-Linux-Virtual-Monitors|original source]]//
   * Extensible Virtual Display Interface (EVDI) module: ''sudo apt install evdi-dkms''   * Extensible Virtual Display Interface (EVDI) module: ''sudo apt install evdi-dkms''
   * load module: ''sudo modprobe evdi initial_device_count=4''   * load module: ''sudo modprobe evdi initial_device_count=4''
Line 13: Line 13:
   * force virtual port as connected: ''sudo sh -c "echo on > /sys/kernel/debug/dri/2/DVI-I-1/force"'' //note x=2 y=1 in this example//   * force virtual port as connected: ''sudo sh -c "echo on > /sys/kernel/debug/dri/2/DVI-I-1/force"'' //note x=2 y=1 in this example//
   * From here use the standard display tools (GUI or otherwise) to set the monitor position etc.   * From here use the standard display tools (GUI or otherwise) to set the monitor position etc.
 +    * on trixie (Debian 13.3) standard display tools didn't work. Instead: ''xrandr --output DVI-I-2-2 --mode 1920x1080 --pos 1920x0'' (or similar)
 +
 +===== Sunshine =====
 +//Sunshine can run on the host machine to show the virtual display on another machine//
 +  * install with flatpak
 +  * there appears to be no way to accept the pairing request from the KDE notification. Instead, before attempting to pair in Moonlight:
 +    * go to Sunshine UI at ''localhost:47990/'' and log in
 +    * in the menu choose ''PIN'' 
 +  * you may need to choose the virtual display in the configuration
 +    * find the display ID in the terminal output. It will look something like: ''[2026-06-09 09:30:24.680]: Info: Detected display: DVI-I-3-2 (id: 4)DVI-I-3-2 connected: true''
 +    * in ''Configuration'' -> ''Audio/Video'' enter the ID in ''Display ID'' box
 +  * if you forget the password, from the terminal reset it: ''flatpak run dev.lizardbyte.app.Sunshine --creds [username] [password]''
 +===== Moonlight =====
 +  * run Moonlight on the machine which will be the secondard monitor
 +  * under Moonlight settings shut off on-screen controls and set a custom resolution.
  
  
  • lwc/hardware/displays.1737606122.txt.gz
  • Last modified: 2025/01/22 22:22
  • by John Harrison