LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
12
返回列表 发新帖
楼主: jcd

MDK默认MPlayer的问题

[复制链接]
发表于 2003-7-18 17:01:17 | 显示全部楼层
修改/etc/X11/XF86Config-4
找到Section "Device"
修改Driver "nv"
原来很可能是vesa什么的,如果还是不行,就装nvidia的加速驱动

还有一处要主意的是,看看Section "Module"
看看是否有:
Load "dri"
Load "extmod"
Load "dbe"
这三行内容。
 楼主| 发表于 2003-7-19 12:26:47 | 显示全部楼层
哦,我试试去
 楼主| 发表于 2003-7-20 14:31:28 | 显示全部楼层
我的文件内容是:
# File generated by XFdrake.

# **********************************************************************
# Refer to the XF86Config man page for details about the format of
# this file.
# **********************************************************************

Section "Files"
    # Multiple FontPath entries are allowed (they are concatenated together)
    # By default, Mandrake 6.0 and later now use a font server independent of
    # the X server to render fonts.
    FontPath "unix/:-1"
EndSection

Section "ServerFlags"
    #DontZap # disable <Crtl><Alt><BS> (server abort)
    AllowMouseOpenFail # allows the server to start up even if the mouse doesn't work
    #DontZoom # disable <Crtl><Alt><KP_+>/<KP_-> (resolution switching)
EndSection

Section "Module"
    Load "dbe" # Double-Buffering Extension
    Load "v4l" # Video for Linux
    Load "extmod"
    Load "type1"
    Load "freetype"
    Load "glx" # 3D layer
EndSection

Section "InputDevice"
    Identifier "Keyboard1"
    Driver "Keyboard"
    Option "XkbModel" "pc105"
    Option "XkbLayout" "us"
    Option "XkbCompat" ""
    Option "XkbOptions" ""
EndSection

Section "InputDevice"
    Identifier "Mouse1"
    Driver "mouse"
    Option "rotocol" "S/2"
    Option "Device" "/dev/psaux"
    Option "Emulate3Buttons"
    Option "Emulate3Timeout" "50"
EndSection

Section "Monitor"
    Identifier "monitor1"
    VendorName "lug'n Play"
    HorizSync 30-60
    VertRefresh 50-120
   
    # Sony Vaio C1(X,XS,VE,VN)?
    # 1024x480 @ 85.6 Hz, 48 kHz hsync
    ModeLine "1024x480"    65.00 1024 1032 1176 1344   480  488  494  563 -hsync -vsync
   
    # TV fullscreen mode or DVD fullscreen output.
    # 768x576 @ 79 Hz, 50 kHz hsync
    ModeLine "768x576"     50.00  768  832  846 1000   576  590  595  630
   
    # 768x576 @ 100 Hz, 61.6 kHz hsync
    ModeLine "768x576"     63.07  768  800  960 1024   576  578  590  616
EndSection

Section "Device"
    Identifier "device1"
    VendorName "nVidia Corporation"
    BoardName "RIVA TNT2"
    Driver "nv"
    Option "DPMS"
EndSection

Section "Screen"
    Identifier "screen1"
    Device "device1"
    Monitor "monitor1"
    DefaultColorDepth 24
   
    Subsection "Display"
        Depth 8
        Modes "800x600" "640x480"
    EndSubsection
   
    Subsection "Display"
        Depth 15
        Modes "800x600" "640x480"
    EndSubsection
   
    Subsection "Display"
        Depth 16
        Modes "800x600" "640x480"
    EndSubsection
   
    Subsection "Display"
        Depth 24
        Modes "800x600" "640x480"
    EndSubsection
EndSection

Section "ServerLayout"
    Identifier "layout1"
    InputDevice "Keyboard1" "CoreKeyboard"
    InputDevice "Mouse1" "CorePointer"
    Screen "screen1"
EndSection

由一项好象没有。
发表于 2003-7-20 17:27:33 | 显示全部楼层
嗯,Section "Module"
处没有Load "dri"呢,加上就好。
 楼主| 发表于 2003-7-20 22:49:16 | 显示全部楼层

~~

nbxmedia兄,Load "dri"用处是什么??
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表