QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 2116|回复: 4

大家帮我看一下:winex 特别特别慢

[复制链接]
发表于 2002-11-28 16:19:06 | 显示全部楼层 |阅读模式
不知道为什么,装了 winex 后跑 Windows 游戏特别特别慢,跑星际时鼠标移动都有延迟。反而跑 Quake3 for Linux 1.32 时比较正常。
//------------------------------------------------------------------------------
我的 /etc/X11/XF86Config-4 中的部分
//------------------------------------------------------------------------------
。。。。。。。。
Section "Module"
    #Load "dbe" # Double-Buffering Extension
    #Load "v4l" # Video for Linux
    Load "extmod"
    #Load "type1"
    #Load "freetype"
    Load "glx" # 3D layer
    Load "xtt"
EndSection

。。。
Section "Device"
    Identifier "device1"
    BoardName "Elsa ERAZOR III"
    Driver "nvidia"
    Option "DPMS"
EndSection

。。。
Section "Screen"
    Identifier "screen1"
    Device "device1"
    Monitor "monitor1"
    DefaultColorDepth 16
   
    Subsection "Display"
        Depth 16
        Modes "1024x768" "800x600" "640x480"
        # Modes "640x480"
    EndSubsection
EndSection

//-------------------------------------------------------------------------
$HOME/.transgaming/config
//-------------------------------------------------------------------------

[Drive C]
"Path" = "/mnt/sys/WinMe"
"Type" = "hd"
"Label" = "WinMe"
"Filesystem" = "win95"

[Drive D]
"Path" = "/mnt/sys"
"Type" = "hd"
"Label" = "System"
"Filesystem" = "win95"

[Drive E]
"Path" = "/mnt/doc"
"Type" = "hd"
"Label" = "Document"
"Filesystem" = "win95"

[Drive G]
"Path" = "/"
"Type" = "hd"
"Label" = "root"
"Filesystem" = "win95"

[wine]
"Windows" = "c:\\windows"
"System" = "c:\\windows\\system\\"
"Temp" = "c:\\windows\\temp"
"Path" = "c:\\windows\\;c:\\windows\\system32\\"
"GraphicsDriver" = "x11drv"
; Wine doesn't pass directory symlinks to Windows programs by default.
; Enabling this may crash some programs that do recursive lookups of a whole
; subdir tree in case of a symlink pointing back to itself.
;"ShowDirSymlinks" = "1"
"ShellLinker" = "/usr/lib/transgaming/winex/bin/wineshelllink"

# <wineconf>

[DllDefaults]
"DefaultLoadOrder" = "native, builtin, so"

[DllOverrides]
"commdlg"      = "builtin, native"
"comdlg32"     = "builtin, native"
"ver"          = "builtin, native"
"version"      = "builtin, native"
"shell"        = "builtin, native"
"shell32"      = "builtin, native"
"shfolder"     = "builtin, native"
"shlwapi"      = "builtin, native"
"lzexpand"     = "builtin, native"
"lz32"         = "builtin, native"
"comctl32"     = "builtin, native"
"commctrl"     = "builtin, native"
"advapi32"     = "builtin, native"
"crtdll"       = "builtin, native"
"mpr"          = "builtin, native"
"winspool.drv" = "builtin, native"
"d3d8"         = "builtin, native"
"d3drm"        = "builtin, native"
"ddraw"        = "builtin, native"
"dinput"       = "builtin, native"
"dinput8"      = "builtin, native"
"dmusic"       = "builtin, native"
"dsound"       = "builtin, native"
"opengl32"     = "builtin, native"
"msvcrt"       = "native, builtin"
"rpcrt4"       = "native, builtin"
"msvideo"      = "builtin, native"
"msvfw32"      = "builtin, native"
"mcicda.drv"   = "builtin, native"
"mciseq.drv"   = "builtin, native"
"mciwave.drv"  = "builtin, native"
"mciavi.drv"   = "native, builtin"
"mcianim.drv"  = "native, builtin"
"msacm.drv"    = "builtin, native"
"msacm"        = "builtin, native"
"msacm32"      = "builtin, native"
"midimap.drv"  = "builtin, native"  

[x11drv]
; Number of colors to allocate from the system palette
"AllocSystemColors" = "100"
; Number of colors to copy from the default palette
"CopyDefaultColors" = "0"
; Use a private color map
"PrivateColorMap" = "N"
; Favor correctness over speed in some graphics operations
"PerfectGraphics" = "N"
; Color depth to use on multi-depth screens
;;"ScreenDepth" = "16"
; Name of X11 display to use
;;"Display" = ":0.0"
; Allow the window manager to manage created windows
"Managed" = "Y"
; Use a desktop window of 640x480 for Wine
;"Desktop" = "800x600"
; Use XFree86 DGA extension if present
; (make sure /dev/mem is accessible by you !)
"UseDGA" = "N"
; Use XShm extension if present
"UseXShm" = "Y"
; Enable DirectX mouse grab
"DXGrab" = "Y"
; Use XVidMode extension if present
"UseXVidMode" = "Y"
; Create the desktop window with a double-buffered visual
; (useful to play OpenGL games)
"DesktopDoubleBuffered" = "Y"
; Code page used for captions in managed mode
; 0 means default ANSI code page (CP_ACP == 0)
"TextCP" = "0"
; Use this if you have more than one port for video on your setup
; (Wine uses for now the first 'input image' it finds).
;; "XVideoPort" = "43"

[fonts]
;Read documentation/fonts before adding aliases
"Resolution" = "96"
"Default" = "-adobe-times-"

[FontPatterns]
"Pattern0" = "-adobe-times*"
"Pattern1" = "-adobe-helvetica*"
"Pattern2" = "-adobe-courier*"
"Pattern3" = "-misc-fixed*"
                              
[serialports]
"Com1" = "/dev/ttyS0"
"Com2" = "/dev/ttyS1"
"Com3" = "/dev/ttyS2"
"Com4" = "/dev/modem"

[parallelports]
"Lpt1" = "/dev/lp0"

[spooler]
"LPT1:" = "|lpr"
"LPT2:" = "|gs -sDEVICE=bj200 -sOutputFile=/tmp/fred -q -"
"LPT3:" = "/dev/lp3"

[ports]
;"read" = "0x779,0x379,0x280-0x2a0"
; "write" = "0x779,0x379,0x280-0x2a0"

[spy]
"Exclude" = "WM_SIZE;WM_TIMER;"

[registry]
;These are all booleans.  Y/y/T/t/1 are true, N/n/F/f/0 are false.
;Defaults are read all, write to Home
; Global registries (stored in /etc)
"LoadGlobalRegistryFiles" = "n"
; Home registries (stored in ~user/.wine/)
"LoadHomeRegistryFiles" = "Y"
; Load Windows registries from the Windows directory
"LoadWindowsRegistryFiles" = "n"
; TRY to write all changes to home registries
"WritetoHomeRegistryFiles" = "Y"
; Registry periodic save timeout in seconds
; "PeriodicSave" = "600"
; Save only modified keys
"SaveOnlyUpdatedKeys" = "Y"
[Tweak.Layout]
;; supported styles are 'Win31'(default), 'Win95', 'Win98'
"WineLook" = "Win98"

[Console]
"Drivers" = "xterm"
;"Drivers" = "tty"
"XtermProg" = "konsole"
;"InitialRows" = "25"
;"InitialColumns" = "80"
;"TerminalType" = "nxterm"

[Clipboard]
"ClearAllSelections" = "0"
"PersistentSelection" = "1"

; List of all directories directly contain .AFM files
[afmdirs]
;"1" = "/usr/share/ghostscript/fonts"
;"2" = "/usr/share/a2ps/afm"
;"3" = "/usr/share/enscript"
;"4" = "/usr/X11R6/lib/X11/fonts/Type1"

[WinMM]
"Drivers" = "wineoss.drv"
"WaveMapper" = "msacm.drv"
"MidiMapper" = "midimap.drv"

[wineoss]
"UseMMap" = "N"
"FullDuplex" = "N"

# </wineconf>
发表于 2002-11-28 22:08:51 | 显示全部楼层
星际我没玩过,不清楚具体情形如何,好像听说用wine也可以模拟,而且速度比较快
回复

使用道具 举报

发表于 2002-11-29 19:33:21 | 显示全部楼层
试试在Section "Module"下加一句
Load "dri".
回复

使用道具 举报

 楼主| 发表于 2002-11-30 11:44:28 | 显示全部楼层
hoho, 不好意思,好久没来这个版块
[quote:49062ce1cf="llc"]星际我没玩过,不清楚具体情形如何,好像听说用wine也可以模拟,而且速度比较快[/quote]
是啊是啊,差不多两年前在 Redhat 7.1 下用现在看起来老掉牙的完全不支持中文的 wine 2000xxxx 版跑起星际来飞快,不比 Windows 效果差。
[quote:49062ce1cf="sejishikong"]试试在Section "Module"下加一句
Load "dri".[/quote]
谢谢 sejishikong,昨天我把winex 删除了,花了一个多小时编译了 wine 20021125, 按您的方法试验了一下,似乎无效,速度依然很慢。
以为 dri 好像和 nvidia 的 glx 模块有冲突(nvidia 显卡驱动里 README 这么说的),所以我又把 X 的 glx 模块换成 X 自带的 mesa glx(gentoo 有个 opengl-update 命令可以很好地在两种 glx 模块间切换,与此相似的还有什么 java-update 啊。。。),不过还是没用,不知道为什么了。

可是 wine 跑 DPlayer 这类 3D 的软件效果非常好,速度一点也不慢,奇怪了。。。
回复

使用道具 举报

发表于 2002-11-30 13:58:56 | 显示全部楼层
这可能和你的星际的版本有关,dri好像是说和glx有冲突,但我要是不加的话,就会很慢.mesa glx是的软加速吧.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-12-1 05:43 , Processed in 0.042335 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

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