You are not logged in.
I am running two computers both running the latest Arch. The first I will refer to as Arch A, this computer has an sshd server, with X11 forwarding enabled. The second computer has a running X11 session in which I intend for 3D programs running on Arch A to connect to. Note that the computers are connected over localhost.
The strange thing I find is that this method works if I switch the roles of the computers, such that the Xorg server runs on Arch A.
I ask for any solution to get this running without errors, more precisely running Minecraft. If there is no solution, an alternative will be greatly appreciated. Please note that I am still new, so any explanation/references is greatly appreciated! Thnkyou! (I intend to run a heavy modded game on a powerful machine, but use a lesser computer to do the simple rendering and inputs due to its portability)
――――――――――――――――――――――――――
To start the X11 server on Arch B I run:
xinit xterm -- +iglxto get a simple session with a terminal in. In the xterm, I connect to Arch B successfully with
ssh ArchA -Xp 23Once connected I run
export LIBGL_ALWAYS_INDIRECT=1Once setup, I run the following through the ssh connection from ArchA: (Please note that # commens are added by myself)
[connor@server ~]$ xclock #success
^C
[connor@server ~]$ glxdemo #no display on X11
Error: couldn't get an RGB, Double-buffered visual
[connor@server ~]$ glxgears #no display on X11
Error: couldn't get an RGB, Double-buffered visual――――――――――――――――――――――――――
I instead tried to directly connect to the X11 server, same setup as before but with the additions of; adding the argument
-listen tcpto the xinit arguments, and ran
xhost +to allow any connection. But still no success with the following outputs:
[connor@server ~]$ xclock #success
^C
[connor@server ~]$ glxdemo #shows, but is fully black.
Redraw event
[connor@server ~]$ glxgears #X11 server crashes with output below
Error: couldn't get an RGB, Double-buffered visualX11 Error:
...
[ 52908.554] (EE) Segmentation fault at address 0x8
[ 52908.554] (EE)
Fatal server error:
[ 52908.554] (EE) Caught signal 11 (Segmentation fault). Server aborting
...――――――――――――――――――――――――――
(Using lspci)
Graphical devices on Arch A:
00:02.0 VGA compatible controller: Intel Corporation HD Graphics 530 (rev 06)Graphical devices on Arch B:
00:02.0 VGA compatible controller: Intel Corporation HD Graphics 530 (rev 06)
01:00.0 VGA compatible controller: NVIDIA Corporation GM204M [GeForce GTX 970M] (rev a1) # I dont need to use this card for my purposesOffline
Please post the complete xorg log of and the output of glxinfo on system B.
Offline
IGLX has been totaly broken in xorg/mesa for years now, none cares sadly.
https://bugs.freedesktop.org/show_bug.cgi?id=99555
IGLX only works on nvidia because the nvidia binary driver completely replaces libgl/glx with something proprietary.
Last edited by IM back (2019-03-03 18:45:58)
Offline
Please post the complete xorg log of and the output of glxinfo on system B.
IGLX has been totaly broken in xorg/mesa for years now, none cares sadly.
https://bugs.freedesktop.org/show_bug.cgi?id=99555IGLX only works on nvidia because the nvidia binary driver completely replaces libgl/glx with something proprietary.
Since I have an NVIDIA card, is it possible to get IGLX working?
Im assuming since Arch B has a NVIDIA card, that explains why I can run indirect graphical programs using Arch A as an X server
Offline
Im assuming since Arch B has a NVIDIA card, that explains why I can run indirect graphical programs using Arch A as an X serverNo, actually not.
You're running B on the intel chip and it crashes in the mesa bug and so should system A.
You however certainly can try to run system B on the nvidia chip, https://wiki.archlinux.org/index.php/Optimus
Offline
You're running B on the intel chip and it crashes in the mesa bug and so should system A.
I find this very strange.. As system B and A are running on the integrated Intel chip, but for some reason, I can use System A as an Xorg server with successful iglx.
You however certainly can try to run system B on the nvidia chip, https://wiki.archlinux.org/index.php/Optimus
I tried the instructions specified under the title "Using nvidia", but the xorg server crashes with: (full log: https://pastebin.com/CSqx7QAu)
[ 10251.022] (EE) Device(s) detected, but none match those in the config file.
[ 10251.022] (EE)
Fatal server error:
[ 10251.022] (EE) no screens found(EE) My xorg.conf file contains:
Section "ServerLayout"
Identifier "layout"
Screen 0 "nvidia" 0 0
Inactive "intel"
EndSection
Section "Monitor"
Identifier "Monitor0"
Modeline "1280x720_60.00" 74.48 1280 1336 1472 1664 720 721 724 746 -HSync +Vsync
EndSection
Section "Device"
Identifier "intel"
Driver "modesetting"
Option "AccelMethod" "none"
BusID "PCI:0:2:0"
EndSection
Section "Device"
Identifier "nvidia"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BusID "PCI:1:0:0"
Option "AllowEmptyInitialConfiguration"
EndSection
Section "Screen"
Identifier "nvidia"
Device "nvidia"
Monitor "Monitor0"
SubSection "Display"
Virtual 1920 1080
EndSubSection
EndSectionOffline
Remove that xorg.conf, static monitors/screens will break the config. They are going to change anyway, and static config of them will break when the provideroutputsource call executes.
Also when you bring up x, make sure that these xrandr calls are called, i'm not entirely sure whether xinit called this way will parse an .xinitrc. It won't, don't do the xterm call externally, add it to your .xinitrc after the xrandr calls.
Last edited by V1del (2019-03-05 08:21:02)
Offline
Since I have an NVIDIA card, is it possible to get IGLX working?
Im assuming since Arch B has a NVIDIA card, that explains why I can run indirect graphical programs using Arch A as an X server
No this should be exposed to the mesa bug. Strange that it works. You should report that with detailed system information to the xorg bug tracker.
Iglx currently only works when NVIDIA's libgl is used on the System displaying the application (the system with the x server) the gpu in the system where the application is run (the x client) ist irellivant.
Last edited by IM back (2019-03-05 21:19:59)
Offline