Bug 30103 - Option "LinearFramebuffer" in /etc/X11/xorg.conf fixes: Remote Desktop Tools not working (VNC, TeamViewer, AnyDesk, etc)
Summary: Option "LinearFramebuffer" in /etc/X11/xorg.conf fixes: Remote Desktop Tools ...
Status: REOPENED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Mageia tools maintainers
QA Contact:
URL:
Whiteboard: MGA8TOO
Keywords: FOR_ERRATA9, IN_ERRATA8
Depends on:
Blocks:
 
Reported: 2022-03-01 04:57 CET by Ezequiel Partida
Modified: 2023-10-10 17:21 CEST (History)
4 users (show)

See Also:
Source RPM: drakx-kbd-mouse-x11
CVE:
Status comment:


Attachments

Description Ezequiel Partida 2022-03-01 04:57:15 CET
Description of problem:

I did a fresh install via network-network Installer of MGA9, same happens with MGA 8.

I´ve been using Teamviewer since the Mandriva Times and it work great when Teamviewer was a Wine RPM package but, since it became a native linux application it stop working correctly with mageia.

Now Teamviewer screen flashes as well as screen tearing, it all depends on what resolution the host computer is working. if it´s on 1024x768 it works fine but on the other side sometimes they loose video since their monitor does not work on that resolution. This same happens with AnyDesk.

I also tried x11vnc, with this one I don´t have the screen flashing or tearing, but once connected I can´t do anything, it was like the screen was frozen.

In my case I do need the highest resolution since I will be monitoring a PC with mageia for Digital Signage, if at least x11vnc would work it would be great.

I installed Fedora KDE and everything works great at highest resolution (1920x1080),  Kubuntu also works great.

The highest reasons I want this to work is that I am promoting Mageia as a Windows replacement to access online school apps like clasroom.google.com and the like.. Pleople are very happy with Mageia, but then I need to teach them how to work via remote then the problems come.

I would DEFINITELY like to promote Mageia to people more than other distros.

www.teamviewer.com
www.anydesk.com

Regards
Comment 1 David Walser 2022-03-01 17:18:05 CET
I saw the QA team discussing this recently, and they said that it may be an issue if you're using Wayland, but they tested these with Xorg and said they work fine.  What are you using?

Keywords: (none) => NEEDINFO

Comment 2 Ezequiel Partida 2022-03-02 04:30:04 CET
Hello David,

I am using Xorg since teamviewer and Anydesk are not Waylando compatible.

I don´t know if there is a VNC that supports it.

All other distros I have tested (Fedora,Kubuntu) have no screen problems, I also tested Ubuntu with xorg.

The next video show how I can move the windows while in 1024x768, once I change to higher resolution it is impossible to move or work.

https://www.dropbox.com/s/equu9v42hkge4j4/MGA9TV.m4v?dl=0

The video is slow but on other distros is fluid.

Regards
Comment 3 Ezequiel Partida 2022-03-04 04:25:27 CET
Hello David

I wonder if it has to do with xorg version.

 Teamviewer has nor reply my question on requirements.

xorg 1:7.7+22ubuntu2
X.Org X server 1:7.7+22ubuntu2
xserver-xorg-core                             2:1.20.13-1ubuntu1.1

Mageia has 21.1.34

Regards
Comment 4 Ezequiel Partida 2022-03-04 04:26:55 CET
Hello David

I wonder if it has to do with xorg version.

 Teamviewer has nor reply my question on requirements.

xorg 1:7.7+22ubuntu2
X.Org X server 1:7.7+22ubuntu2
xserver-xorg-core                             2:1.20.13-1ubuntu1.1

Mageia has 21.1.34

Regards
Comment 5 Ezequiel Partida 2022-03-04 23:44:40 CET
This is a Mageia 9 problem only,

x11vnc freezes
Teamviewer Freezes the screen at default resolution 1920x1080
AnyDesk Freezes also at 1920x1080
DWService.net (great free tool) displays logon screen only while on the host PC the desktop and the dwagent was displayed.

If I lower the screen to 1024x768 both teamviewer and Anydesk are usable but dwservice never works.


I reinstalled MGA8, Teamviewwer, AnyDesk and Dwservice work fine with no tearing but, at 1680x1050 at max and not the 1920x1080 resolution... this is much better but even on MGA8 it is still annoying... at least now I now that I just need to lower resolution, but on MGA9 it has to be much lower.

I hope this is fixed on MGA9 and don´t have the need to lower it on any of the programs.

P.S... while writing this message I did some test with a friend...  He recomended me to disable mageia effects on dwservice using Alt+Shift+F12 on the client, and it worked at max resolution... once the effects where  disabled Teamviewer and AnyDesk worked.... This is on MGA8.

But once I logged out from Dwservice problems returned on TV and Anydesk. I would need to see if it´s possible to send keystrokes via TV or Anydesk to disable them.

I hope this is fixed and make it easier y MGA9.

Regards
Comment 6 Ezequiel Partida 2022-03-05 01:08:07 CET
I just rebooted MGA 8..

Ran Teamviewer 15 on Windows to access MGA8.


I Typed the password but nothing seems to happen..

I lowered the resolution to be able to move windows.

I pressed ALT+SHIFL+F12 and it now works.


With AnyDesk it is impossible since it doesn´t have a way to change client resolution.

I will try with MGA9 also.

But something is different on mageia since with Ubuntu and fedora it works without changes.

Regards
Comment 7 Ezequiel Partida 2022-04-07 23:12:50 CEST
I found a solution


The solution is to add Option "LinearFramebuffer" in /etc/X11/xorg.conf under devices.

I rebooted many times and video is working great with Teamviewer 15 and AnyDesk 6.

I will mark this a resolved.

Regards

Status: NEW => RESOLVED
Resolution: (none) => FIXED

Comment 8 Morgan Leijström 2022-04-09 11:51:01 CEST
(In reply to Ezequiel Partida from comment #7)
> The solution is to add Option "LinearFramebuffer" in /etc/X11/xorg.conf
> under devices.

Thank you for the investigation

Did I get it right here?:
https://wiki.mageia.org/en/Mageia_8_Errata#External_software


Reopening as the problem is as default install not fixed, we just found out how users can get it working.

If we make it work by an update we can close as fixed (and preferably ship it on mga8 if possible)

Of we dont care, close as wontfix.

If we think we are doing correctly and the problem lies at the applications (not our problem): possibly as invalid.


- How come it works on other distros?

Whiteboard: (none) => MGA8TOO
Keywords: NEEDINFO => FOR_ERRATA9, IN_ERRATA8
Status: RESOLVED => REOPENED
Resolution: FIXED => (none)
CC: (none) => fri

Comment 9 Ezequiel Partida 2022-04-19 02:39:29 CEST
Hello,

Yes you got it right....

Great Job.

Thanks for mentioning that both Teamviewer and AnyDesk are not Wayland compatible.

Regards
Comment 10 Dave Hodgins 2022-04-19 04:41:23 CEST
In my Mageia 8 install, I created ...
$ cat  /etc/X11/xorg.conf.d/99-my.conf 
Section "Device"
    Identifier "device1"
    Option "LinearFramebuffer"
EndSection

$ grep LinearFramebuffer /var/log/Xorg.0.log
[    30.883] (WW) RADEON(0): Option "LinearFramebuffer" is not used

So it apparently it does no harm on systems where it doesn't apply.

Note that I do not have a /etc/X11/xorg.conf file, as when I have one
created by XFdrake it causes problems (don't remember off hand what problems,
just that there were some), so I stopped using one.

When I've used vnc to connect to a system, the key was to ensure the desktop
clock on that system did not display the seconds. If it did, the remote system
didn't have enough upload bandwidth for the connection to be usable.

CC: (none) => davidwhodgins

Comment 11 Marja Van Waes 2022-04-22 14:35:58 CEST
(In reply to Ezequiel Partida from comment #7)
> I found a solution
> 
> 
> The solution is to add Option "LinearFramebuffer" in /etc/X11/xorg.conf
> under devices.
> 
> I rebooted many times and video is working great with Teamviewer 15 and
> AnyDesk 6.
> 


(In reply to Dave Hodgins from comment #10)
> In my Mageia 8 install, I created ...
> $ cat  /etc/X11/xorg.conf.d/99-my.conf 
> Section "Device"
>     Identifier "device1"
>     Option "LinearFramebuffer"
> EndSection
> 
> $ grep LinearFramebuffer /var/log/Xorg.0.log
> [    30.883] (WW) RADEON(0): Option "LinearFramebuffer" is not used
> 
> So it apparently it does no harm on systems where it doesn't apply.
> 
> Note that I do not have a /etc/X11/xorg.conf file, as when I have one
> created by XFdrake it causes problems (don't remember off hand what problems,
> just that there were some), so I stopped using one.
> 

So maybe patching our default xorg.conf isn't the best solution?
Assigning to drakx-kbd-mouse-x11 and the mageiatools maintainers anyway, they might come up wit a better solution

Source RPM: (none) => drakx-kbd-mouse-x11
Assignee: bugsquad => mageiatools
CC: (none) => marja11
Summary: Remote Desktop Tools not working (VNC, TeamViewer, AnyDesk, etc) => Option "LinearFramebuffer" in /etc/X11/xorg.conf fixes: Remote Desktop Tools not working (VNC, TeamViewer, AnyDesk, etc)

Comment 12 Ezequiel Partida 2023-05-18 00:26:02 CEST
Hello,

Just to let your know that as of today I till need to add Option "LinearFramebuffer"

I installed a Desktop PC with mageia 9 with latest mageia 9 beta 2 iso.

On the other hand, I installed Ubuntu on a server with kde plasma and it works out of the box.  Same thing happens with fedora.

It would be great if this works the same on mageia so beginners won´t have problems..

Regards
Comment 13 Florian Hubold 2023-10-10 17:21:13 CEST
Just for reference, on a default Mageia 9 installation, cannot confirm the issue for Anydesk. Installed via flatpak and it works just fine from one mga9 box to another, without tearing or any other changes required.

CC: (none) => doktor5000


Note You need to log in before you can comment on or make changes to this bug.