Registered Member
|
Hi,
how can I setup and activate (LIBGL_ALWAYS_INDIRECT=1) the +iglx X server parameter in the kdmrc setup file (or any other solution)? Thanks |
|
exporting environments for the entire session can be achieved by scriptlets in ~/.kde/env (KDE4) or ~/.config/plasma-workspace/env/ (KDE5)
Just add "indirect_gl.sh" there:
and ensure to "chmod +x" indirect_gl.sh |
Registered Member
|
Thank you. I had no "/env" subdirectories in the .kde, .kde4 and .config home directory so I made them. Unfortunately the Plasma5 and KDE crash during login in openSUSE KDE distribution. I set a thread in the forum but nothing happened till now... Developer message:
Could you help me in this also? Thanks in advance |
|
Unspecific abort in QtQuick, you'll have to install debug packages for any useful information, but since it's also locked in several GL threads, I assume a relation.
QtQuick afair hard-depends on GL 2.0, but LIBGL_ALWAYS_INDIRECT will effectively set back GL caps to 1.3 (unless maybe on the nvidia blob) |
Registered Member
|
Hmmm... I am in big trouble... I have no working KDE or Plasma5 environment in the openSUSE so I can not try your script... no fix till now. And I am not sure in that it is working, because I do not know that X server accept this at all (iglx disable) or by some GL incompatibility... And I do not know any other solution with other desktops at all. |
|
You don't need kde/plasma to do this, eg. kdm/sddm should allow you to log into a failsafe session (or maybe openbox or similar is installed)
Stupid question: are you sure you've working GL support at all? Either log into a failsafe session or press ctrl+alt+F2 to get a textshell login. in the latter case, after the login first run "export DISPLAY=:0" The provide the output of "glxinfo" |
Registered Member
|
Sorry for the late answer.
1. It is a remote machine, 40 far from me. 2. It is an openSUSE working server so I can not do everything in every time. 3. I was trying glxinfo locally, it worked but is was a long time ago. 4. Approximately half of the desktops (including Plasma, KDE and failsafe) do not work, but XFCE, LXQT, IceWM and Openbox yes. 5. My test application is the Wakfu game beta server. 6. As I read the X server description I must export the display, BEFORE the graphical environment starting to forward the GLX based things. 7. I was making thousands of experimental tests, but already the nvidia server can not work properly (from remote access). I was trying passworded vnc and ssh tunneling. So I would need a managed desktop to export the display (as your script would do) AND an Xserver which is able to make the difference between software and hardware rendering AND forward the software output to the remote real display... and I am not a big guru as I see... Or whatever WORKING solution. Opensuse forum does not help for me. |
|
The failsafe session cannot fail. Or, if it fails, everything fails. However that's not important - if you can log into an openbox session, you can try (glxinfo!) and alter things from there just as well.
LIBGL_ALWAYS_INDIRECT is an environment variable which is interpreted by libGL used by the client process, ie. to apply to eg. plasmashell it needs to be exported to plasmashell - it's NOT required to export it to the X11 server. LIBGL_ALWAYS_INDIRECT does NOT cause software rendering, that would be LIBGL_ALWAYS_SOFTWARE=1 The nvidia blob doesn't support either environment. You render directly and in hardware. => afaik only x11vnc will work (as bonus you get HW accelerated, direct rendering), tight/tigervnc won't |
Registered Member
|
Hmmm.
Client side: win7 + Realvnc (maybe with ssh tunneling). I downloaded ssvnc, it crashes after login. The server standard Opensuse vnc server in Xinetd (x11vnc, I think), with password and geometry setup The history: https://forums.opensuse.org/showthread. ... shes/page4 with another Xorg.0.log: working. The workflow: Realvnc -> vnc login -> opensuse login screen with desktop list ->for example Openbox (or other graphical environment) -> xterm -> glxinfo: XLib: extension GLX missingon display xxx.xxx:2.... I think I make some mistakes in the nvidia driver install, but I do not know, where. I think the server mixes xorg and nvidia features. I do not know why opensuse operator forces Mesa and noveau when it is absolutely unnecessary in my case. |
Registered Member
|
The x11vnc WORKS (with ssvnc and realvnc), thank you, luebking. glxinfo answers. But there are some errors: - geometry problems - Wakfu starts with blank screen, Kodi with "segmentation fault" - Plasma5 starts also with one screen, then after disconnect the desktop remains to it by plasmashell... - if the connection lost, the server crashes sometimes. I will investigate the options and the applications, but it is not OS or desktop problem yet. Thank you again. |
Registered users: abc72656, Bing [Bot], Google [Bot], lockheed, Sogou [Bot], Yahoo [Bot]