Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow splitting of screens that don't have an EDID #35

Open
ulope opened this issue Feb 10, 2017 · 2 comments
Open

Allow splitting of screens that don't have an EDID #35

ulope opened this issue Feb 10, 2017 · 2 comments

Comments

@ulope
Copy link

ulope commented Feb 10, 2017

I'm trying to use fakexrandr on Ubuntu 16.04 running in VMWare.

Installation went fine and ldd xrandr shows it's using the new libxrandr.
However fakexrandr-manage show-available shows no output and the dropdown in the gui version is also empty.

Output of xrandr:

~$ xrandr
fakexrandr/mmap(): Invalid argument
Screen 0: minimum 1 x 1, current 1280 x 1024, maximum 16384 x 16384
Virtual1 connected primary 1280x1024+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
   800x600       60.00 +  60.32
   2560x1600     59.99
   1920x1440     60.00
   1856x1392     60.00
   1792x1344     60.00
   1920x1200     59.88
   1600x1200     60.00
   1680x1050     59.95
   1400x1050     59.98
   1280x1024     60.02*
   1440x900      59.89
   1280x960      60.00
   1360x768      60.02
   1280x800      59.81
   1152x864      75.00
   1280x768      59.87
   1024x768      60.00
   640x480       59.94
Virtual2 disconnected (normal left inverted right x axis y axis)
Virtual3 disconnected (normal left inverted right x axis y axis)
Virtual4 disconnected (normal left inverted right x axis y axis)
Virtual5 disconnected (normal left inverted right x axis y axis)
Virtual6 disconnected (normal left inverted right x axis y axis)
Virtual7 disconnected (normal left inverted right x axis y axis)
Virtual8 disconnected (normal left inverted right x axis y axis)

Is this expected to not work in a VM or am I doing something wrong?

@phillipberndt
Copy link
Owner

Fakexrandr relies on an identifier of each monitor (the so called EDID) to detect when to split an output. The virtual device does not have an EDID, hence the issues.

It would be a good idea to reintroduce a "catch-all EDID" to the configuration that allows to work around this issue. I won't implement this in the near future at least, because I don't even find time to look into #16 which is by far the most important outstanding bug. As a workaround, you could use the hard_coded_splits branch - the difference to master is that it does not try to be overly intelligent, it just splits the screen once if it finds a hardcoded resolution.

@phillipberndt phillipberndt changed the title No screen available for splitting in VM Allow splitting of screens that don't have an EDID Feb 10, 2017
@ulope
Copy link
Author

ulope commented Feb 10, 2017

Ok thanks a lot for the pointer, I'll try the other branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants