kbumsik / VirtScreen

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

How to get VIRTUAL1 with AMD radeon driver #55

Open Cris70 opened 4 years ago

Cris70 commented 4 years ago

Hi, I am trying to run VirtScreen on an openSUSE pc running on an 8-core AMD FX-8350 with integrated graphics.

Here is my graphics card as detected by inxi -G:

Graphics:  Device-1: Advanced Micro Devices [AMD/ATI] Caicos [Radeon HD 6450/7450/8450 / R5 230 OEM] driver: radeon v: kernel
           Display: x11 server: X.Org 1.20.7 driver: radeon resolution: 1920x1080~60Hz
           OpenGL: renderer: AMD CAICOS (DRM 2.50.0 / 5.5.6-1-default LLVM 9.0.1) v: 3.3 Mesa 20.0.0

I have read both issue #16 and issue #23 and tried all suggestions, but did not get the VIRTUAL1 device. Trying to use one of the other devices (HDMI-0) I got the same error as in #14.

I understand that, presently, there's no supported way to run VirtScreen without an Intel or nVidia gpu, but I am opening this bug nonetheless because there's no other open issue in the tracker regarding the radeon driver, so this is a means to track the problem and push for a solution.

The radeon options are described here. There's unfortunately no support for the VirtualHead option or something similar.

If it is of any use I can post the output of my 'xrandr --verbose' and/or 'lspci'.

vukmirovic98 commented 4 years ago

I am also interested in this issue , as i turned my head around last 3 days trying to enable the VIRTUAL1 via the xorg .conf files

Graphics: Device-1: Advanced Micro Devices [AMD/ATI] Caicos [Radeon HD 6450/7450/8450 / R5 230 OEM] driver: radeon v: kernel Display: x11 server: X.Org 1.20.8 driver: radeon unloaded: intel resolution: 1920x1080~60Hz, 1920x1080~60Hz OpenGL: renderer: AMD CAICOS (DRM 2.50.0 / 5.4.28-rt19-MANJARO LLVM 9.0.1) v: 3.3 Mesa 20.0.4

MarcoEddizzo83 commented 4 years ago

Hey. For ATI/AMD user I belive I foud some sort of solution. Posted here: AMD/ATI VIRTUAL DISPLAY Hope it helps (and that is working) !!!

pauloerweber commented 4 years ago

I have the same issue. Graphics: Device-1: Intel 3rd Gen Core processor Graphics driver: i915 v: kernel Device-2: Advanced Micro Devices [AMD/ATI] Thames [Radeon HD 7550M/7570M/7650M] driver: radeon v: kernel Display: x11 server: X.Org 1.20.8 driver: vesa unloaded: fbdev,modesetting resolution: 1366x768~60Hz OpenGL: renderer: AMD TURKS (DRM 2.50.0 / 5.4.0-42-generic LLVM 10.0.1) v: 3.3 Mesa 20.2.0-devel (git-3a4024e 2020-07-22 focal-oibaf-ppa)

At the moment the radeon driver doesn't have support to Virtual Displays, at least is what I've found reading the man radeon. Thus, the solution presented by @MarcoEddizzo83 here will not work since it requires the amdgpu driver, not available to Pre-GCN GPUs.