当我远程连接到我的 ubuntu 桌面时,我在运行几个应用程序时遇到问题。我认为这可能与显卡 (nvidia m2000) 有关,可能需要一些帮助才能弄清楚如何修复它。我不得不安装几个不同的 nvidia 驱动程序才能让我的机器使用双显示器启动,最后选择了这个驱动程序,它似乎允许我的系统在本地启动而没有问题。以下是通过 x2go 完成的,尽管其他的也类似。
NVIDIA-X配置:
$ nvidia-xconfig --query-gpu-info
Number of GPUs: 1
GPU #0:
Name : Quadro M2000
UUID : GPU-c27f7ac6-a9b8-090a-e47c-f00d408fae68
PCI BusID : PCI:2:0:0
Number of Display Devices: 2
Display Device 0 (TV-5):
EDID Name : LG Electronics 27MP35
Minimum HorizSync : 30.000 kHz
Maximum HorizSync : 83.000 kHz
Minimum VertRefresh : 56 Hz
Maximum VertRefresh : 75 Hz
Maximum PixelClock : 150.000 MHz
Maximum Width : 1920 pixels
Maximum Height : 1080 pixels
Preferred Width : 1920 pixels
Preferred Height : 1080 pixels
Preferred VertRefresh : 60 Hz
Physical Width : 600 mm
Physical Height : 340 mm
Display Device 1 (TV-7):
EDID Name : LG Electronics 27MP35
Minimum HorizSync : 30.000 kHz
Maximum HorizSync : 83.000 kHz
Minimum VertRefresh : 56 Hz
Maximum VertRefresh : 75 Hz
Maximum PixelClock : 150.000 MHz
Maximum Width : 1920 pixels
Maximum Height : 1080 pixels
Preferred Width : 1920 pixels
Preferred Height : 1080 pixels
Preferred VertRefresh : 60 Hz
Physical Width : 600 mm
Physical Height : 340 mm
lspci:
$lspci
...
02:00.0 VGA compatible controller: NVIDIA Corporation Device 1430 (rev a1)
...
左手边:
$ sudo lshw -c video
*-display
description: VGA compatible controller
product: NVIDIA Corporation
vendor: NVIDIA Corporation
physical id: 0
bus info: pci@0000:02:00.0
version: a1
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress vga_controller bus_master cap_list rom
configuration: driver=nvidia latency=0
resources: irq:53 memory:fa000000-faffffff memory:e0000000-efffffff memory:f0000000-f1ffffff ioport:d000(size=128) memory:fb000000-fb07ffff
監視器:
$ egrep -i " connected|card detect|primary dev|Setting driver" /var/log/Xorg.0.log
[ 16.376] (--) NVIDIA(GPU-0): LG Electronics 27MP35 (DFP-5): connected
[ 16.439] (--) NVIDIA(GPU-0): LG Electronics 27MP35 (DFP-7): connected
以下是我看到的一些问题的示例:
$nvidia-settings
Segmentation fault (core dumped)
$ firefox
ExceptionHandler::GenerateDump cloned child 31118
ExceptionHandler::SendContinueSignalToChild sent continue signal to child
ExceptionHandler::WaitForContinueSignal waiting for continue signal...
Segmentation fault (core dumped)
$ time-admin
Segmentation fault (core dumped)
$ google-chrome
[1164:1164:0207/011022.111253:ERROR:gl_surface_glx.cc(411)] GLX 1.3 or later is required.
[1164:1164:0207/011022.111309:ERROR:gl_initializer_x11.cc(130)] GLSurfaceGLX::InitializeOneOff failed.
[1164:1164:0207/011022.112741:ERROR:gpu_child_thread.cc(327)] Exiting GPU process due to errors during initialization
[1089:1121:0207/011022.309812:ERROR:browser_gpu_channel_host_factory.cc(113)] Failed to launch GPU process.
[1089:1121:0207/011022.311129:ERROR:browser_gpu_channel_host_factory.cc(113)] Failed to launch GPU process.
[1089:1121:0207/011022.312792:ERROR:browser_gpu_channel_host_factory.cc(113)] Failed to launch GPU process.
[1089:1121:0207/011022.313561:ERROR:browser_gpu_channel_host_factory.cc(113)] Failed to launch GPU process.
[1089:1121:0207/011022.318306:ERROR:browser_gpu_channel_host_factory.cc(113)] Failed to launch GPU process
关于 GLX 错误消息的说明,这是来自 glxinfo 的一些信息,显示版本为 1.4:
$ glxinfo | grep version
server glx version string: 1.4
client glx version string: 1.4
GLX version: 1.4
OpenGL core profile version string: 4.5.0 NVIDIA 378.09
OpenGL core profile shading language version string: 4.50 NVIDIA
OpenGL version string: 4.5.0 NVIDIA 378.09
OpenGL shading language version string: 4.50 NVIDIA
OpenGL ES profile version string: OpenGL ES 3.2 NVIDIA 378.09
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
GL_EXT_separate_shader_objects, GL_EXT_shader_implicit_conversions,
为了使我的应用程序可远程使用,我需要做哪些更改?