[问题]都是NVIDIA惹的祸!

CPU/显卡/打印机/USB设备等硬件问题
回复
头像
xcfans
帖子: 181
注册时间: 2007-03-10 18:52

[问题]都是NVIDIA惹的祸!

#1

帖子 xcfans » 2008-07-03 1:17

以前用7.10时感觉很爽,我的本本是华硕F8H545SV,升到8.04之后感觉系统变慢了许多,但是3D还是能开的。17天没有更新,7月1号更新有110多M,更新完一切还OK。不看不知道,一看吓一跳,硬件驱动里面NVIDIA显卡加速驱动状态是“使用中“,已启用选项中却没有打勾。我顺手打上勾重启之后显卡就不认帐了。这个显卡驱动真是整死人。弄了半天,好不容易又看到那个熟悉的立方体了,终端运行却显示“
xcfans@MTH:~$ glxinfo | grep rendering
direct rendering: No (If you want to find out why, try setting LIBGL_DEBUG=verbose)
到处都修改弄脑壳都大了。
如果有可能,哪位仁兄帮帮我吧。

# xorg.conf (X.Org X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "cn"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
EndSection

Section "InputDevice"
Identifier "Synaptics Touchpad"
Driver "synaptics"
Option "SendCoreEvents" "true"
Option "Device" "/dev/psaux"
Option "Protocol" "auto-dev"
Option "HorizEdgeScroll" "0"
EndSection

Section "Device"
Identifier "Configured Video Device"
Option "UseFBDev" "true"
Option "NoLogo" "True"
Driver "nvidia"
EndSection

Section "Monitor"
Identifier "Configured Monitor"
EndSection

Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
Device "Configured Video Device"
Defaultdepth 24
EndSection

Section "ServerLayout"
Identifier "Default Layout"
screen "Default Screen"
Inputdevice "Synaptics Touchpad"
EndSection
Section "Module"
Load "glx"
EndSection
附件
重新载入compiz之后的那一白条杠。
重新载入compiz之后的那一白条杠。
上次由 xcfans 在 2008-07-03 12:07,总共编辑 1 次。
Asus F8H545sv

----------------------------------------------------------------------------------------------------------------------------
木秀于林,风必摧之;堆出于岸,流必湍之;行高于人,众必非之;事修而谤兴,得高而毁来。
头像
hethe
帖子: 3666
注册时间: 2005-08-01 9:14

#2

帖子 hethe » 2008-07-03 1:28

x没配好,看我nvidia驱动那个主题貼的命令
Gedanken ohne Inhalt sind leer .Anschauungen ohne Begriffe sind blind.
头像
xcfans
帖子: 181
注册时间: 2007-03-10 18:52

#3

帖子 xcfans » 2008-07-03 12:05

我的显卡是8600M GT
后来又弄了一下,能开启3D,但是启动刚进桌面时有拖影,部分花屏。
xcfans@MTH:~$ sudo nvidia-glx-config enable
sudo: nvidia-glx-config: command not found
xcfans@MTH:~$ sudo nvidia-xconfig

Using X configuration file: "/etc/X11/xorg.conf".
Backed up file '/etc/X11/xorg.conf' as '/etc/X11/xorg.conf.backup'
New X configuration file written to '/etc/X11/xorg.conf'


下了个NVIDIA X Server Settings
他说的是我没有使用NVIDIA X driver。然后让我用sudo用户运行nvidia-xconfig再重启X。
我重启了还是这样,但是显卡已经在使用了,是不是和这一句nvidia-glx-config enable会有冲突?
reload window manager后上面板下方会有一白杠,还是有点问题,能不能帮我配置一个xorg.conf?
NVIDIA 8600M GT 1280x800 60最高,谢谢
Asus F8H545sv

----------------------------------------------------------------------------------------------------------------------------
木秀于林,风必摧之;堆出于岸,流必湍之;行高于人,众必非之;事修而谤兴,得高而毁来。
头像
hethe
帖子: 3666
注册时间: 2005-08-01 9:14

#4

帖子 hethe » 2008-07-03 12:12

viewtopic.php?t=98840&highlight=

关键是第5步:

代码: 全选

sudo nvidia-xconfig --add-argb-glx-visuals --composite
Gedanken ohne Inhalt sind leer .Anschauungen ohne Begriffe sind blind.
头像
xcfans
帖子: 181
注册时间: 2007-03-10 18:52

#5

帖子 xcfans » 2008-07-04 11:14

每一次运行这个,他都显示
Using X configuration file: "/etc/X11/xorg.conf".
Option "AddARGBGLXVisuals" "True" added to Screen "Default Screen".
Backed up file '/etc/X11/xorg.conf' as '/etc/X11/xorg.conf.backup'
New X configuration file written to '/etc/X11/xorg.conf'
应该表示成功的哦。
上次由 xcfans 在 2008-07-04 11:43,总共编辑 1 次。
Asus F8H545sv

----------------------------------------------------------------------------------------------------------------------------
木秀于林,风必摧之;堆出于岸,流必湍之;行高于人,众必非之;事修而谤兴,得高而毁来。
头像
xcfans
帖子: 181
注册时间: 2007-03-10 18:52

#6

帖子 xcfans » 2008-07-04 11:36

重启或者重新加载window manager,那条白杠消失了。
但是,
xcfans@MTH:~$ glxinfo | grep rendering
direct rendering: No (If you want to find out why, try setting LIBGL_DEBUG=verbose)

在其他帖子找到一种方法,重新安装mesa,然后用命令LIBGL_DEBUG=verbose glxinfo,显示

xcfans@MTH:~$ LIBGL_DEBUG=verbose glxinfo
name of display: :1.0
display: :1 screen: 0
direct rendering: No (If you want to find out why, try setting LIBGL_DEBUG=verbose)
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_EXT_texture_from_pixmap, GLX_OML_swap_method,
GLX_SGI_make_current_read, GLX_SGIS_multisample, GLX_SGIX_hyperpipe,
GLX_SGIX_swap_barrier, GLX_SGIX_fbconfig
client glx vendor string: NVIDIA Corporation
client glx version string: 1.4
client glx extensions:
GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_visual_info,
GLX_EXT_visual_rating, GLX_EXT_import_context, GLX_SGI_video_sync,
GLX_NV_swap_group, GLX_NV_video_out, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer,
GLX_SGI_swap_control, GLX_NV_float_buffer, GLX_ARB_fbconfig_float,
GLX_EXT_fbconfig_packed_float, GLX_EXT_texture_from_pixmap,
GLX_EXT_framebuffer_sRGB
GLX version: 1.2
GLX extensions:
GLX_ARB_multisample, GLX_EXT_visual_info, GLX_EXT_visual_rating,
GLX_EXT_import_context, GLX_EXT_texture_from_pixmap, GLX_SGIX_fbconfig,
GLX_ARB_get_proc_address
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: GeForce 8600M GT/PCI/SSE2
OpenGL version string: 1.2 (2.1.2 NVIDIA 169.12)
OpenGL extensions:
GL_ARB_depth_texture, GL_ARB_imaging, GL_ARB_multitexture,
GL_ARB_point_parameters, GL_ARB_point_sprite, GL_ARB_shadow,
GL_ARB_texture_border_clamp, GL_ARB_texture_cube_map,
GL_ARB_texture_env_add, GL_ARB_texture_env_combine,
GL_ARB_texture_env_dot3, GL_ARB_texture_mirrored_repeat,
GL_ARB_window_pos, GL_ARB_texture_non_power_of_two, GL_ARB_vertex_program,
GL_ARB_fragment_program, GL_EXT_abgr, GL_EXT_bgra, GL_EXT_blend_color,
GL_EXT_blend_func_separate, GL_EXT_blend_minmax, GL_EXT_blend_subtract,
GL_EXT_draw_range_elements, GL_EXT_fog_coord, GL_EXT_multi_draw_arrays,
GL_EXT_packed_pixels, GL_EXT_rescale_normal, GL_EXT_secondary_color,
GL_EXT_separate_specular_color, GL_EXT_shadow_funcs, GL_EXT_stencil_wrap,
GL_EXT_texture3D, GL_EXT_texture_edge_clamp, GL_EXT_texture_env_add,
GL_EXT_texture_env_combine, GL_EXT_texture_env_dot3, GL_EXT_texture_lod,
GL_EXT_texture_lod_bias, GL_EXT_texture_object, GL_EXT_vertex_array,
GL_EXT_framebuffer_object, GL_ATI_texture_mirror_once,
GL_IBM_texture_mirrored_repeat, GL_NV_blend_square,
GL_NV_texgen_reflection, GL_NV_texture_rectangle,
GL_NV_texture_env_combine4, GL_SGIS_generate_mipmap, GL_SGIS_texture_lod,
GL_SGIX_depth_texture, GL_SGIX_shadow

visual x bf lv rg d st colorbuffer ax dp st accumbuffer ms cav
id dep cl sp sz l ci b ro r g b a bf th cl r g b a ns b eat
----------------------------------------------------------------------
0x2c 24 tc 0 32 0 r y . 8 8 8 8 0 24 8 0 0 0 0 976630587 808467811 None
0x2d 24 tc 0 32 0 r . . 8 8 8 8 0 0 0 0 0 0 0 1635200554 976630587 None
0x2e 32 tc 0 32 0 r y . 8 8 8 8 0 24 8 0 0 0 0 808464432 808461065 Ncon
0x2f 32 tc 0 32 0 r . . 8 8 8 8 0 0 0 0 0 0 0 1919903278 2020565620 Ncon



我就不知道该干啥了....
我只有对照他们的xorg自己做一个看行不行了。
Asus F8H545sv

----------------------------------------------------------------------------------------------------------------------------
木秀于林,风必摧之;堆出于岸,流必湍之;行高于人,众必非之;事修而谤兴,得高而毁来。
回复