xf86-video-dummy driver

Moderators: kirk, jamesbond, p310don, JakeSFR, step, Forum moderators

Post Reply
User avatar
stemsee
Posts: 656
Joined: Sun Jul 26, 2020 8:11 am
Location: lattitude 0
Has thanked: 160 times
Been thanked: 104 times
Contact:

xf86-video-dummy driver

Post by stemsee »

I was trying to get scrcpy (screen copy) to run on a fake display using the xf86-dummy-driver.

I created an xorg dummy-1080p.conf in root with contents

Code: Select all

Section "Monitor"
  Identifier "Monitor1"
  HorizSync 28.0-80.0
  VertRefresh 48.0-75.0
  # https://arachnoid.com/modelines/
  # 1920x1080 @ 60.00 Hz (GTF) hsync: 67.08 kHz; pclk: 172.80 MHz
  Modeline "1920x1080_60.00" 172.80 1920 2040 2248 2576 1080 1081 1084 1118 -HSync +Vsync
EndSection
Section "Device"
  Identifier "Card1"
  Driver "dummy"
  VideoRam 256000
EndSection
Section "Screen"
  DefaultDepth 24
  Identifier "Screen1"
  Device "Card1"
  Monitor "Monitor1"
  SubSection "Display"
    Depth 24
    Modes "1920x1080_60.00"
  EndSubSection
EndSection

then from tty1 opened it up

Code: Select all

sudo X :1 -config /root/dummy-1080p.conf

Then I tested with

Code: Select all

DISPLAY=:1 startx

A new instance of fatdog desktop started up in tty4 ... im guessing this is already multiseat on one display and keyboard....just need to attach devices with xinput.

But I want scrcpy to startup and I want samsung dex to see it as an external display thus triggering dex. So logout out of the desktop
and statt scrcpy on the server on display 1

Code: Select all

DISPLAY=:1 scrcpy

It runs but I don't get dex.......YET!!

Any tips welcome.

EDIT: I've got a new instance of the fatdog desktop even running a different window manager, but in fact /tmp is the same for both tty4 and tty8

jamesbond
Posts: 540
Joined: Tue Aug 11, 2020 3:02 pm
Location: The Pale Blue Dot
Has thanked: 73 times
Been thanked: 292 times

Re: xf86-video-dummy driver

Post by jamesbond »

Sorry stemsee, what is it that you are trying to do?

I don't have Samsung phone and have no idea what dex is other than what you told me in the other post - which, if I understand correctly, is that you need to connect __hardware external monitor__ to make it work.

Neither scrcpy nor xorg-video-dummy tries to emulate a hardware monitor, so I couldn't see why dex would work at all with this arrangement.

User avatar
stemsee
Posts: 656
Joined: Sun Jul 26, 2020 8:11 am
Location: lattitude 0
Has thanked: 160 times
Been thanked: 104 times
Contact:

Re: xf86-video-dummy driver

Post by stemsee »

" One of them is Samsung DeX, which gives users the experience of working on a desktop by connecting their mobile device (a smartphone or tablet) to an external display device (a TV or monitor) or a PC. "

It seems i need to connect to a hardware monitor, then switch on the phone to wireless dex, connect to adb shell tcpip and also scrcpy --display=1 --tcpip

Scrcpy may need recompiling and updating in the repository.

I'm experimenting...

jamesbond
Posts: 540
Joined: Tue Aug 11, 2020 3:02 pm
Location: The Pale Blue Dot
Has thanked: 73 times
Been thanked: 292 times

Re: xf86-video-dummy driver

Post by jamesbond »

Good luck with the experiment. Let me know what changes you need on scrcpy.

don570
Posts: 624
Joined: Sat Nov 21, 2020 4:43 pm
Has thanked: 5 times
Been thanked: 98 times

Re: xf86-video-dummy driver

Post by don570 »

Youtube has reviews of Samsung DeX


________________________________

Post Reply

Return to “FatDog”