VirtScreen icon indicating copy to clipboard operation
VirtScreen copied to clipboard

Setting up VIRTUAL1 with AMD Ryzen CPU

Open tobyclh opened this issue 6 years ago • 8 comments

Hello, my setup consists of a Ryzen CPU (1700 if that matters at all) and a Nvidia graphic card (Titan X Pascal), running Ubuntu 18.04. like #16 I am not able to locate a virtual output, but unlike #16 I do not have an intel / AMD integrated GPU in my CPU, so the only thing I can rely on is the Nvidia driver. I have tested a few things before posting here, including:

  1. Try to add Option VirtualHeads to Nvidia driver in the file under xorg.conf.d, while resulting in failing to load the driver
  2. Edit the /etc/X11/xorg.conf display section, as suggested by someone (I can't seem to find the post now), and nothing really happens and xrandr still doesn't have a VIRTUAL1 output.

I will try to use the dummy monitor solution when I get some more time and hopefully can report how it works for this application. But for now, I would like to see if there is anyone who already has got anything done before?

tobyclh avatar Nov 25 '18 15:11 tobyclh

Hi, The VIRTUAL1 currently relies on the features from Intel GPU driver. So there is no confirmed solution for your hardware setup yet. Actually I found the "dummy monitor" solution just yesterday too. It looks like Xdummy project is used for this solution. I will toy around Xdummy too this week and I will leave a comment if I find anything useful :)

Just as a note, you don't necessary set VIRTUAL1 as a output device in VirtScreen. It is just I don't guarantee it will work well with other devices yet.

Add: Mixing Xdummy and Xinerama looks promising.

kbumsik avatar Nov 25 '18 17:11 kbumsik

Any progress on here? I have the same problem

meydominic avatar May 06 '20 09:05 meydominic

I've tried to created a dummy output device on my Ryzen 3 but was not successful. Maybe the solution is buy a Virtual Display Adapter (aka. Ghost or Virtual Display Plug or Display Dummy Plug) to create a fake device, of course if you have a HDMI plug available.

clpacheco90 avatar Mar 24 '21 17:03 clpacheco90

I am having this issue as well, and can't seem to find a working solution that is even half decent. I tried "deskreen" or something along those lines, but the input lag was a solid 5-8 seconds to see anything happen on the tablet. When I tried it on Windows a while back using spacedesk using the same tablet, it was nearly instant and was very usable, so I am pretty sure it is not my tablet. That was the only one that "worked" so far with my setup.

MostHated avatar Mar 27 '21 18:03 MostHated

Be careful trying the dummy monitor solution approach in OP. It killed my display entirely until I booted into recovery mode and removed the config file. If you just want to mirror a single application window/your full desktop then I had some luck with Deskreen. Just needed to add a rule to ufw to allow traffic from my local network.

I just ordered a Virtual Display adapter as well, so I'll see whether or not that works with virtscreen. If not, it looks to be supported by Deskreen. Not as ideal as a no-hardware solution, but given that Ryzen has no integrated graphics I'll be surprised if one comes about.

mrweiner avatar Apr 18 '21 00:04 mrweiner

Any progress on here? I have the same problem too. this is my PC: Processor: AMD® Ryzen 7 5800h with radeon graphics × 16 System: Ubuntu 20.04.2 LTS

YaoLiMuMu avatar Jun 05 '21 18:06 YaoLiMuMu

Same here... It does not work with AMD Ryzen APU... If there is no solution for this, then it would be polite to mention in the readme, that it is not a Linux solution, but a "Linux solution for intel APUs only", so that others will not waste their time trying to find a solution to it...

horror-vacui avatar Dec 11 '21 22:12 horror-vacui

Any progress? I've been trying to set this up for some months from time to time, but now found this.

adamesalles avatar May 30 '23 21:05 adamesalles