LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-26-2024, 12:48 AM   #1
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,924

Rep: Reputation: 7319Reputation: 7319Reputation: 7319Reputation: 7319Reputation: 7319Reputation: 7319Reputation: 7319Reputation: 7319Reputation: 7319Reputation: 7319Reputation: 7319
X over ssh, 3d acceleration does not work


I have a debian12, with gnome, working properly.
Also I have a MAC, working properly, the latest Xquartz is installed.
When I ssh -X from mac to debian I can open an xterm and it works perfectly.
But when I open an application which needs 3d acceleration it won't work. xlsgears will for example simply stop rotating.
Do you know what is missing from where?
 
Old 04-27-2024, 09:19 AM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,359

Rep: Reputation: 2333Reputation: 2333Reputation: 2333Reputation: 2333Reputation: 2333Reputation: 2333Reputation: 2333Reputation: 2333Reputation: 2333Reputation: 2333Reputation: 2333
I would suspect bandwidth might be an issue. Encryption isn't instant.

There is a script I have heard of in an Ubuntu context called testssl.sh which might add to your knowledge on the subject.
 
Old 04-27-2024, 09:31 AM   #3
wpeckham
LQ Guru
 
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, VSIDO, tinycore, Q4OS,Manjaro
Posts: 5,674

Rep: Reputation: 2712Reputation: 2712Reputation: 2712Reputation: 2712Reputation: 2712Reputation: 2712Reputation: 2712Reputation: 2712Reputation: 2712Reputation: 2712Reputation: 2712
Most kinds of rendering acceleration require a close linkage between application and video hardware. In other words, the application needs to bypass some things and talk more directly to the hardware. We solved that in virtual space by making a way to allow that more direct communication, or emulating it (albet with a performance penalty).

You are talking down an encrypted channel and the application cannot even DETECT the remote hardware! You are just channeling the X traffic itself. That pretty much either strips out or disables the hardware acceleration.

If there is a way to emulate the hardware and THEN channel the traffic, it MIGHT work. The performance, I expect, would be a drag if it did work. What I would expect is that it would result in more wild and interesting ways to fail, but that might be fun.
 
Old 04-27-2024, 09:45 AM   #4
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,924

Original Poster
Rep: Reputation: 7319Reputation: 7319Reputation: 7319Reputation: 7319Reputation: 7319Reputation: 7319Reputation: 7319Reputation: 7319Reputation: 7319Reputation: 7319Reputation: 7319
it looks like a remote desktop can be a much better way. If I understand well.
Otherwise it is a local home network, the two hosts are actually share the same monitor.
 
Old 04-27-2024, 10:45 AM   #5
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,740

Rep: Reputation: 5923Reputation: 5923Reputation: 5923Reputation: 5923Reputation: 5923Reputation: 5923Reputation: 5923Reputation: 5923Reputation: 5923Reputation: 5923Reputation: 5923
I agree that x11 forwarding is inefficient and takes up a lot of bandwidth with modern graphics. Remote desktop would be the better way. glxgears over x11 forwarding works for me but my older desktop is only an i3...
 
Old 04-27-2024, 11:17 AM   #6
lvm_
Member
 
Registered: Jul 2020
Posts: 942

Rep: Reputation: 338Reputation: 338Reputation: 338Reputation: 338
Quote:
Originally Posted by wpeckham View Post
Most kinds of rendering acceleration require a close linkage between application and video hardware.
My first intention was to write something similar but then I realised that OP probably got his fingers twisted in a knot and mistyped a well known glxgears into some excel abomination. And GLX should work - poorly and slowly, but should. Although brief googling shows many tales of woe.
 
Old 04-27-2024, 11:42 AM   #7
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,924

Original Poster
Rep: Reputation: 7319Reputation: 7319Reputation: 7319Reputation: 7319Reputation: 7319Reputation: 7319Reputation: 7319Reputation: 7319Reputation: 7319Reputation: 7319Reputation: 7319
yes, that is glxgears. Anyway, it is working, but extremely slow. In practice no app can be used which requires 3d acceleration.
 
Old 04-30-2024, 10:47 AM   #8
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,924

Original Poster
Rep: Reputation: 7319Reputation: 7319Reputation: 7319Reputation: 7319Reputation: 7319Reputation: 7319Reputation: 7319Reputation: 7319Reputation: 7319Reputation: 7319Reputation: 7319
if you are interested, it was the latest MuseScore 4 appimage.
 
Old 04-30-2024, 01:51 PM   #9
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,359

Rep: Reputation: 2333Reputation: 2333Reputation: 2333Reputation: 2333Reputation: 2333Reputation: 2333Reputation: 2333Reputation: 2333Reputation: 2333Reputation: 2333Reputation: 2333
Also, having done the math, halving the dpi (e.g. 1920x1080 reduced to 960x540) quarters the bandwidth. That might make glxears a little less pathetic.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Virtualbox Display 3D Acceleration does not work lattimro Linux - Virtualization and Cloud 4 04-01-2022 04:59 AM
Hardware Acceleration - your system is currently running without video hardware acceleration Dunnyman Linux - Software 3 11-18-2020 02:43 PM
ssh over wifi failed (connection reset) but ssh over the wire is ok aclarck Linux - Software 3 03-01-2020 03:57 AM
OpenGL hardware acceleration not working over SSH on Fedora 20 Wheels2050 Linux - Software 1 06-29-2014 08:04 PM
3d acceleration does not work bhert Linux - Hardware 5 01-07-2007 06:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:14 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration