kbumsik / VirtScreen

Make your iPad/tablet/computer into a secondary monitor on Linux.
GNU General Public License v3.0
1.66k stars 111 forks source link

Error when using the "HDMI-1" device #14

Open jcifuentesz opened 6 years ago

jcifuentesz commented 6 years ago

Hi Mr. Bumsik, how we talk by mail, here i report my issue

captura1 How show the image, i don't have "VIRTUAL1" device in my laptop.

captura2 i only have HDMI-1 enable.

captura3 but, when i used this device the program show me this message

complete:

['xrandr', '--output', 'HDMI-1', '--mode', '1368x1024_virt']
xrandr: Configure crtc 1 failed

Information about the laptop:

Model laptop: Lenovo ideapad 510s Operative system:

Graphics:

The output of the following codes executed in the terminal:

Thank you in advance for your help.

PD: On the page where the laptop was purchased, the model labeled for my dedicated graphics is: AMD R16M-M2-50 DDR3 2G.

kbumsik commented 6 years ago

Welcome the first issue for this project @jcifuentesz ! I'm sorry for replying so late, I've been quit busy lately.

Thank you for posting detailed information. In short: I have looked for the solution for the AMD GPU configuration, but no luck so far :(

In detail: VirtScreen currently works best with Intel graphics driver xf86-video-intel. Because this seems to be the only graphic driver that supports "Virtualheads" option. The "Virtualheads" create reliable fake displays (e.g. VIRTUAL1) for VIrtScreen. This also is known to work on laptops with Nvidia GPU + Intel integrated GPU by using Bumblebee project. I am not sure how this can be done on AMD GPU laptops, since I don't have any hardware to test with. I am still looking for the solution but there is no guarantee. Anyway, I will look through your logs and will see what I can do.

If you don't care much about the GPU performance (and you don't play games on that laptop), one possible solution for now is disabling amdgpu driver and installing xf86-video-intel driver. I don't know if this is possible on your laptop.

lucasczpnk commented 5 years ago

Hey @kbumsik

and also...

$ hostnamectl
...
Operating System: Ubuntu 18.04.2 LTS
            Kernel: Linux 4.15.0-45-generic
      Architecture: x86-64

I've also tried #this fix suggested by you, but to no avail..

Sorry to bother, but can you help me figure this out? Thanks in advance!