Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Remote X glx problems
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
jesnow
l33t
l33t


Joined: 26 Apr 2006
Posts: 876

PostPosted: Tue Nov 05, 2024 3:11 pm    Post subject: Remote X glx problems Reply with quote

I log into my headless server using konsole with ssh -Y mostly, and work with the files on the shares using nfs on the clients. But every so often I need to use X applications directly on the server. This works fine for many applications (meaning that remote X is working just fine). Xosview (my favorite) and pcmanfm-qt both do their thing no problem.

BUT kde apps require glx and glx won't start. It used to work, usually I would start dolphin, to move files around directly on the server (for example) or access linked spreadsheet files from the time when that machine used to be my main desktop. That server is the only machine in my local network I can easily access from work, and sometimes I need to run things on it with the back end there and the display on my work or road machine. It all used to work. A little slow, but so what.

This question is not about RDP, VNC, NoMachine or any remote desktop solution, I know all about those. If I have a problem with them I will ask about that. It's only about getting something that requires glx running on a remote X window.

So when I go to start dolphin I get:

Code:

jesnow@merckx ~ $ dolphin
qt.glx: qglx_findConfig: Failed to finding matching FBConfig for QSurfaceFormat(version 2.0, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize -1, redBufferSize 1, greenBufferSize 1, blueBufferSize 1, alphaBufferSize -1, stencilBufferSize -1, samples -1, swapBehavior QSurfaceFormat::SingleBuffer, swapInterval 1, colorSpace QColorSpace(), profile  QSurfaceFormat::NoProfile)
qt.glx: qglx_findConfig: Failed to finding matching FBConfig for QSurfaceFormat(version 2.0, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize -1, redBufferSize 1, greenBufferSize 1, blueBufferSize 1, alphaBufferSize -1, stencilBufferSize -1, samples -1, swapBehavior QSurfaceFormat::SingleBuffer, swapInterval 1, colorSpace QColorSpace(), profile  QSurfaceFormat::NoProfile)
qt.glx: qglx_findConfig: Failed to finding matching FBConfig for QSurfaceFormat(version 2.0, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize -1, redBufferSize 1, greenBufferSize 1, blueBufferSize 1, alphaBufferSize -1, stencilBufferSize -1, samples -1, swapBehavior QSurfaceFormat::SingleBuffer, swapInterval 1, colorSpace QColorSpace(), profile  QSurfaceFormat::NoProfile)
Could not initialize GLX
Aborted
jesnow@merckx ~ $ glxinfo
name of display: localhost:17.0
Error: couldn't find RGB GLX visual or fbconfig

jesnow@merckx ~ $ glxgears
Error: couldn't get an RGB, Double-buffered visual



I think most of the Dolphin errors may be junk: KDE apps are very very chatty. Except when something goes wrong. Then they are terse: "Error, Aborted".

I dimly seem to recall there was a way to force opengl to do all rendering in software that got around the fact that my graphics card is too old for nvidia-drivers, and I don't want to do the work to go back and get nouveau working on a headless machine.

Also: Here is the relevant bit of emerge --info mesa:

Code:

=================================================================
                        Package Settings
=================================================================

media-libs/mesa-24.1.7::gentoo was built with the following:
USE="X llvm (opengl) proprietary-codecs vulkan wayland zstd -d3d9 -debug -lm-sensors -opencl -osmesa (-selinux) -test -unwind -vaapi -valgrind -vdpau -vulkan-overlay -xa" ABI_X86="32 (64) (-x32)" CPU_FLAGS_X86="sse2" LLVM_SLOT="18 -15 -16 -17" VIDEO_CARDS="-d3d12 (-freedreno) -intel -lavapipe (-lima) -nouveau -nvk (-panfrost) -r300 -r600 -radeon -radeonsi (-v3d) (-vc4) -virgl (-vivante) -vmware -zink"


Cheers,
Jon.

ps: I'm certain that wayland will someday have a means of being just as network transparent as X11 is now, without actually using X11, but my understanding is that so far we aren't there. So this question is also not about whether I should "just" switch to wayland. Someday soon I will indeed have to.
Back to top
View user's profile Send private message
szatox
Advocate
Advocate


Joined: 27 Aug 2013
Posts: 3409

PostPosted: Tue Nov 05, 2024 6:51 pm    Post subject: Reply with quote

Geez, man, that chaos.....
Right now I have an impression that you can run KDE apps over SSH, but you can't run them locally on the server after you physically walk up to that machine, which makes it effectively your workstation and there is no point in even mentioning that SSH, because you're not using it when the problem occurs.

What are you trying to do on which machine and it doesn't work?
_________________
Make Computing Fun Again
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum