小编han*_*ang的帖子

ubuntu 16.04 在运行 OpenGL 程序时给出“失败请求的 X 错误:BadValue(整数参数超出操作范围)”

我有两块两块显卡,一块是集成在 Intel cpu 中的,一块是 nvidia 卡。

我想用集成的来渲染桌面,NV卡用cuda计算。在我安装了“nvidia-modprobe”之后,我切换到使用“NVIDIA X Server 设置”中的集成器,它按我的意愿工作。

但是当我运行 glxinfo 时,glx 的问题在哪里。

name of display: :0
X Error of failed request:  BadValue (integer parameter out of range for operation)
Major opcode of failed request:  154 (GLX)
Minor opcode of failed request:  24 (X_GLXCreateNewContext)
Value in failed request:  0x0
Serial number of failed request:  37
Current serial number in output stream:  38
Run Code Online (Sandbox Code Playgroud)

在 xorg 中将 libglx.so 记录在

[     3.597] (II) "glx" will be loaded by default.
[     3.597] (II) …
Run Code Online (Sandbox Code Playgroud)

nvidia xorg graphics opengl

31
推荐指数
2
解决办法
12万
查看次数

标签 统计

graphics ×1

nvidia ×1

opengl ×1

xorg ×1