VirtScreen icon indicating copy to clipboard operation
VirtScreen copied to clipboard

Error when using the "HDMI-1" device

Open jcifuentesz opened this issue 7 years ago • 2 comments

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:

  • Distributor ID: Ubuntu
  • Description: Ubuntu 16.04.4 LTS
  • Release: 16.04
  • Codename: xenial

Graphics:

  • Card-1: Intel Device 5916 bus-ID: 00:02.0
  • Card-2: Advanced Micro Devices [AMD/ATI] Topaz XT [Radeon R7 M260/M265] bus-ID: 01:00.0
  • Display Server: X.Org 1.19.6 drivers: ati,amdgpu (unloaded: fbdev,vesa)
  • Resolution: [email protected]
  • GLX Renderer: Mesa DRI Intel HD Graphics 620 (Kaby Lake GT2)
  • GLX Version: 3.0 Mesa 18.0.5 Direct Rendering: Yes

The output of the following codes executed in the terminal:

  • xrandr --verbose: https://pastebin.com/g5RXVgmP
  • env: https://pastebin.com/RKfC7efd

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.

jcifuentesz avatar Jul 13 '18 21:07 jcifuentesz

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.

kbumsik avatar Jul 29 '18 05:07 kbumsik

Hey @kbumsik

  • 1st of all, congrats [and thank you :hankey:] for this project! :100: :vulcan_salute:

  • 2nd, I'm facing this same issue, although my GPU isn't AMD. I've posted some details on pastebin: xrandr -vrbs // lspci // Xorg.0.log

and also...

$ hostnamectl
...
Operating System: Ubuntu 18.04.2 LTS
            Kernel: Linux 4.15.0-45-generic
      Architecture: x86-64
  • 3rd, I feel really stupid, but I can't seem to figure out what is the issue.. I've tried also with cli method and got the following message:
$ virtscreen --right --hidpi
Creating a Virtual Screen...
Error:  No virtual screen name found

Am I missing any param for the command, like the virtualhead name? Or it outs this because it's not recognizing any vhead?

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!

lucasczpnk avatar Feb 26 '19 02:02 lucasczpnk