kbumsik / VirtScreen

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

Square glitch on main screen #73

Open caiocvsilva opened 4 years ago

caiocvsilva commented 4 years ago

When using VirtScreen whenever I move the cursor from one screen (main) to the other (virtual), a glitch occurs on the main screen, a square showing the cursor and a small part of the background. The same happens if I try to take a screenshot, no matter the screen.

Screenshot of the glitch: https://i.imgur.com/4uTbcgZ.png

420coupe commented 3 years ago

was this after you added in the 20-intel.conf file?

if so i was experiencing same issues where the main screen would be distorted or glitched out, just solved it by deleting 20-intel.conf file.

(Ubuntu 20.04.1 LTS) Intel® Core™ i7-8565U CPU Mesa Intel® UHD Graphics 620 (WHL GT2)

jcrodriguez1989 commented 3 years ago

I am having the same issue here, on this Asus Zenbook.

jcrodriguez@zenbook:~$ l /usr/share/X11/xorg.conf.d/
10-amdgpu.conf  10-radeon.conf        30-virtscreen.conf  70-wacom.conf
10-quirks.conf  11-nvidia-prime.conf  40-libinput.conf

This is the only file I created for virtscreen (it is copied from here):

jcrodriguez@zenbook:~$ cat /usr/share/X11/xorg.conf.d/30-virtscreen.conf 
#Then configure intel internal GPU
Section "Device"
    Identifier "intelgpu0"
    Driver     "intel"
    Option     "VirtualHeads" "1"
    Option     "DRI" "3"   #OPTIONAL: I was having graphics issues without this one
        Option     "TearFree" "true" #OPTIONAL: Force tearing fix
EndSection

I had to delete the Identifier "nvidiagpu0" section, as the computer was not booting. I am not using proprietary drivers.

j0no commented 2 years ago

I am having the same issue here, on this Asus Zenbook.

jcrodriguez@zenbook:~$ l /usr/share/X11/xorg.conf.d/
10-amdgpu.conf  10-radeon.conf        30-virtscreen.conf  70-wacom.conf
10-quirks.conf  11-nvidia-prime.conf  40-libinput.conf

This is the only file I created for virtscreen (it is copied from here):

jcrodriguez@zenbook:~$ cat /usr/share/X11/xorg.conf.d/30-virtscreen.conf 
#Then configure intel internal GPU
Section "Device"
  Identifier "intelgpu0"
  Driver     "intel"
  Option     "VirtualHeads" "1"
  Option     "DRI" "3"   #OPTIONAL: I was having graphics issues without this one
        Option     "TearFree" "true" #OPTIONAL: Force tearing fix
EndSection

I had to delete the Identifier "nvidiagpu0" section, as the computer was not booting. I am not using proprietary drivers.

Thanks! This worked on my Thinkpad T450. os: Ubuntu 20.04.2 LTS cpu:
Intel(R) Core(TM) i5-5200U CPU @ 2.20GHz, 2592 MHz Intel(R) Core(TM) i5-5200U CPU @ 2.20GHz, 2619 MHz Intel(R) Core(TM) i5-5200U CPU @ 2.20GHz, 2500 MHz Intel(R) Core(TM) i5-5200U CPU @ 2.20GHz, 2500 MHz monitor: AUO LCD Monitor graphics card: Mesa Intel HD Graphics 5500