[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debian-users:54554] Re: 画面表示されない



debian-users@debian.or.jpのみな様、ご機嫌いかがでしょうか。

はじめましてISHIKAWA,Hiroichi@Otaru 51years oldです。

私の所有する友人からもらったノートパソコン
は、Debian Lennyをインストールしたら、
画面は800x600の暗い16色表示になるし、
一度ログアウトすると24ビットカラーか16ビットカラーか
正しく色がでてくるのですが
画面の書き換えが重くて
TWMではメニュー表示で死んでしまう
とんでもない状態でした。

ノートパソコン:
(
 NEC Lavie M; PC-LM600J52DC
 SiliconMotion Lynx3DM4(SM720)グラフィクスプロセッサ
 20GB HDD
 メインメモリを256MB(MAX.)に私が増設
)

そこで、別パーティションにインストールし
そこそこ実用レベルのはやさで動作した
KNOPPIXのxorg.confファイルに
Debianのxorg.confを入れ替え
GRUBにあるKernel行の最後にvga=732
(vga=askで1024x768 24ビットカラー VESA)
を加えて起動したら、それなりにXorg X11が動作
しています。

KNOPPIX6.2日本語版に含まれる
Kstarsは良く出来ているので、
他の3DレンダリングしているCelestiaや
Stellariumに比べれば、実用的なスピードで
動作してくれます。

KNOPPIXをインストールしたとき生成された
xorg.confがもしどのパソコンにインストールしても
同じ内容になるのでしたら、グラフィクスカードを入れ替えても
きちんと動作するのではないかと仮説しています。
(KNOPPIXの日本語版作成に深く関与した方なら
 良く知っているはずですから訊いてみるのも一考ですね。)

KNOPPIXのxorg.confの内容は以下のとおり。

Section "ServerLayout"
        Identifier     "XFree86 Configured"
        Screen      0  "Screen0" 0 0
        InputDevice    "Keyboard0" "CoreKeyboard"
                InputDevice    "PS/2 Mouse" "SendCoreEvents"
        # No Touchpad detected.
        # Secondary, automatically activated by Xorg, see below.
        InputDevice    "USB Mouse" "SendCoreEvents"
        # Serial Mouse not detected
### AIGLX for compiz 3D-Support with DRI & Composite
### This option doesn't hurt even if it's not supported by the individual card
        Option         "AIGLX"     "true"

EndSection

Section "ServerFlags"
        Option "AllowMouseOpenFail"  "true"
        Option  "DPMS"  "true"

EndSection

Section "Files"
        ModulePath   "/usr/lib/xorg/modules"
        FontPath     "/usr/share/fonts/X11/misc:unscaled"
        FontPath     "/usr/share/fonts/X11/75dpi:unscaled"
        FontPath     "/usr/share/fonts/X11/100dpi:unscaled"
        FontPath     "/usr/share/fonts/X11/Type1"
        FontPath     "/usr/share/fonts/X11/Speedo"
        FontPath     "/usr/share/fonts/X11/PEX"
# Additional fonts: Locale, Gimp, TTF...
        FontPath     "/usr/share/fonts/X11/cyrillic"
#       FontPath     "/usr/share/fonts/X11/latin2/75dpi"
#       FontPath     "/usr/share/fonts/X11/latin2/100dpi"
# True type and type1 fonts are also handled via xftlib, see /etc/X11/XftConfig!
        FontPath     "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
        FontPath     "/usr/share/fonts/truetype"
        FontPath     "/usr/share/fonts/latex-ttf-fonts"
EndSection

Section "Module"
# Comments: see http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=346408
        Load  "dbe" # Double Buffering Extension, very important.
        Load  "dri" # This shouldn't be available choice if user has selected driver vga, vesa or nv.
        Load  "glx" # GLX Extension.
        Load  "freetype" # Freetype fonts.
        Load  "type1"  # Type 1 fonts
        Load  "record" # Developer extension, usually not needed
        Load  "extmod" # This is okay, but if you look into "man xorg.conf"
                       # you'll find option NOT to include DGA extension with extmod,
                       # and for a good reason.. DGA causes instability as
                       # it accesses videoram without consulting X about it.
        SubSection      "extmod"
                Option          "omit xfree86-dga"
        EndSubSection
#       Load  "speedo" # Speedo fonts, this module doesn't exist in Xorg 7.0.17
# The following are deprecated/unstable/unneeded in Xorg 7.0
#       Load  "ddc"  # ddc probing of monitor, this should be never present,
                     # as it gets automatically loaded.
#       Load  "GLcore" # This should be never present, as it gets automatically loaded.
#       Load  "bitmap" # Should be never present, as it gets automatically loaded. 
                       # This is a font module,
                       # and loading it in xorg.conf makes X try to load it twice.
EndSection

Section "Extensions"
        # compiz needs Composite, but it can cause bad (end even softreset-resistant)
        # effects in some graphics cards, especially nv.
        Option "Composite" "Disable"
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"
        Option      "CoreKeyboard"
        Option "XkbRules" "xorg"
        Option "XkbModel" "jp106"
        Option "XkbLayout" "jp"

EndSection

Section "InputDevice"
        Identifier  "PS/2 Mouse"
        Driver      "mouse"
        Option      "Protocol" "auto-dev"
        Option      "Device" "/dev/psaux"
        Option      "Emulate3Buttons" "true"
        Option      "Emulate3Timeout" "70"
        Option      "ZAxisMapping" "4 5"
        Option      "SendCoreEvents"  "true"
EndSection

Section "InputDevice"
        Identifier      "USB Mouse"
        Driver          "mouse"
        Option          "Device"                "/dev/input/mice"
        Option          "Protocol"              "auto"
        Option          "ZAxisMapping"          "4 5"
        Option          "Buttons"               "5"
        Option          "SendCoreEvents"        "true"
EndSection


Section "InputDevice"
        Driver          "synaptics"
        Identifier      "AlpsPad"
        Option          "Device"                "/dev/psaux"
        Option          "Protocol"              "auto-dev"
#       Option          "LeftEdge"              "130"
#       Option          "RightEdge"             "840"
#       Option          "TopEdge"               "130"
#       Option          "BottomEdge"            "640"
#       Option          "FingerLow"             "7"
#       Option          "FingerHigh"            "8"
#       Option          "MaxTapTime"            "180"
#       Option          "MaxTapMove"            "110"
#       Option          "EmulateMidButtonTime"  "75"
#       Option          "VertScrollDelta"       "20"
#       Option          "HorizScrollDelta"      "20"
#       Option          "MinSpeed"              "0.60"
#       Option          "MaxSpeed"              "1.10"
#       Option          "AccelFactor"           "0.030"
#       Option          "EdgeMotionMinSpeed"    "200"
#       Option          "EdgeMotionMaxSpeed"    "200"
#       Option          "UpDownScrolling"       "1"
#       Option          "CircularScrolling"     "1"
#       Option          "CircScrollDelta"       "0.1"
#       Option          "CircScrollTrigger"     "2"
        Option          "SHMConfig"             "on"
        Option          "Emulate3Buttons"       "on"
        Option          "SendCoreEvents"        "true"
EndSection

Section "InputDevice"
        Driver          "synaptics"
        Identifier      "SynPad"
        Option          "Device"                "/dev/psaux"
        Option          "Protocol"              "auto-dev"
#       Option          "LeftEdge"              "1700"
#       Option          "RightEdge"             "5300"
#       Option          "TopEdge"               "1700"
#       Option          "BottomEdge"            "4200"
#       Option          "FingerLow"             "25"
#       Option          "FingerHigh"            "30"
#       Option          "MaxTapTime"            "180"
#       Option          "MaxTapMove"            "220"
#       Option          "VertScrollDelta"       "100"
#       Option          "MinSpeed"              "0.09"
#       Option          "MaxSpeed"              "0.18"
#       Option          "AccelFactor"           "0.0015"
        Option          "SHMConfig"             "on"
        Option          "SendCoreEvents"        "true"
EndSection

Section "InputDevice"
        Identifier  "Serial Mouse"
        Driver      "mouse"
        Option      "Protocol" "Microsoft"
        Option      "Device" "/dev/ttyS0"
        Option      "Emulate3Buttons" "true"
        Option      "Emulate3Timeout" "70"
        Option      "SendCoreEvents"        "true"
EndSection

# Monitor section auto-generated by KNOPPIX mkxorgconfig

Section "Monitor"
        Identifier   "Monitor0"
        ModelName    "Generic Monitor"
#       HorizSync    28.0 - 78.0 # Warning: This may fry very old Monitors
#       HorizSync    28.0 - 96.0 # Warning: This may fry old Monitors
#       VertRefresh  50.0 - 76.0 # Very conservative. May flicker.
#       VertRefresh  50.0 - 60.0 # Extreme conservative. Will flicker. TFT default.

        Option "MonitorLayout" "LVDS,AUTO"

EndSection


Section "Device"
        ### Available Driver options are:-
# sw_cursor is needed for some ati and radeon cards
        #Option     "sw_cursor"
        #Option     "hw_cursor"
        #Option     "NoAccel"
        #Option     "ShowCache"
        #Option     "ShadowFB"
        #Option     "UseFBDev"
        #Option     "Rotate"
        Identifier  "Card0"
                # Specified driver (chipset)
        Driver      "fbdev"
        VendorName  "All"
        BoardName   "All"
#       BusID       "PCI:1:0:0"

# compiz, beryl 3D-Support with DRI & Composite
        Option "XAANoOffscreenPixmaps"
        Option "AllowGLXWithComposite" "true"
        Option "EnablePageFlip" "true"
        Option "TripleBuffer" "true"

# Tweaks for the xorg 7.4 (otherwise broken) "intel" driver
        Option "Tiling" "no"
        Option "Legacy3D" "false"

# These two lines are (presumably) needed to prevent fonts from being scrambled
        Option  "XaaNoScanlineImageWriteRect" "true"
        Option  "XaaNoScanlineCPUToScreenColorExpandFill" "true"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        Option "AddARGBGLXVisuals" "true"
        Option "DisableGLXRootClipping" "true"
        SubSection "Display"
                Depth     1
        EndSubSection
        SubSection "Display"
                Depth     4
        EndSubSection
        SubSection "Display"
                Depth     8
        EndSubSection
        SubSection "Display"
                Depth     15
        EndSubSection
        SubSection "Display"
                Depth     16
        EndSubSection
        SubSection "Display"
                Depth     24
        EndSubSection
        SubSection "Display"
                Depth     32
        EndSubSection
EndSection

Section "DRI"
        Mode 0666
EndSection

追伸
DebianやKNOPPIXで動作しているSiliconMotionの
ドライバがSM720専用の3D機能を引き出すものかどうか不明なので、
今のところグラフィクスプロセッサの最高性能を引き出せているか怪しいです。
XFree86用のSM720ドライバのバイナリファイル(siliconmotion_drv.o)と
その作成環境ファイルズはSiliconMotionの
ftpサーバから無料でダウンロードできますが
[
   ftp://ftp.siliconmotion.com.tw/Lynx3DM_XFree86_1.2.2.zip
]
Xorg X11にも使えるかどうか不明です。教えてください。
なんだかデータのバースト転送とか転送のリトライとかも
Xのコンフィギュレーションファイルに設定できるかもしれない事が
書かれているテキストが含まれているのですが。