事情源于打星际,控制台提示:
wine brood109.exe
libGL error: open DRM failed (Operation not permitted)
libGL error: reverting to (slow) indirect rendering
libGL error: open DRM failed (Operation not permitted)
libGL error: reverting to (slow) indirect rendering
fixme:ddraw:Main_DirectDraw_SetCooperativeLevel (0x7fe06f2->(0x10024,00000013)
fixmevidmode:X11DRV_XF86VM_SetCurrentMode Cannot change screen BPP from 32 to 8
fixmevidmode:X11DRV_XF86VM_SetCurrentMode Cannot change screen BPP from 32 to 8
fixme11drv:X11DRV_DDHAL_CreatePalette stub
这个是在普通用户下面运行星际的结果,后来一看,疑,原来
name of display: :0.0
libGL error: open DRM failed (Operation not permitted)
libGL error: reverting to (slow) indirect rendering
display: :0 screen: 0
direct rendering: No
server glx vendor string: SGI
server glx version string: 1.2
server glx extensions:
GLX_ARB_multisample, GLX_EXT_visual_info, GLX_EXT_visual_rating,
GLX_EXT_import_context, GLX_OML_swap_method, GLX_SGI_make_current_read,
。。。。。
运行glxgears
libGL error: open DRM failed (Operation not permitted)
libGL error: reverting to (slow) indirect rendering
1384 frames in 5.0 seconds = 276.748 FPS
可是明明xorg。conf都配好拉
su 之后切换到root
再次运行glxinfo结果就是:
name of display: :0.0
display: :0 screen: 0
direct rendering: Yes
glxgears
5678 frames in 5.0 seconds = 1135.546 FPS