[sisyphus] Ловля 3D на Xorg 7.0 и Radeon 9200 :) Иногда удачно.

Fiodor Sorex =?iso-8859-1?q?sorex_=CE=C1_softerra=2Eru?=
Сб Мар 4 23:18:21 MSK 2006


Добрый день!

Уже где-то с полгода периодически вылавливаю поддержку 3D на текущем 
Сизифе. Так чтобы всегда она была не получается.

Появляется только если (пере)обновить иксы, или какую-то часть, 
причастную к 3D например libdrm. После перезагрузки все слетает. Где 
смотреть?

Подробнее:

Вот сейчас сделал:

# apt-get install --reinstall 
kernel-modules-drm-std26-up#2006.02.23-alt1.132622.5

И получил:

$ glxinfo 
name of display: :0.0
display: :0  screen: 0
direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.2

Ура! Все игры запускаются как положено.

НО! Стоит только перезагрузить компьютер, и получаем:

$ glxinfo 
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



Как бы закрепить эффект указанный выше? :)

Имеем:

kernel-modules-drm-std26-up#2006.02.23-alt1.132622.5
libdrm-2.0-alt3
libmesa-6.4.2-alt1
xorg-x11-extensions-dri-1.0.1-alt12
xorg-x11-dri-ati-6.4.2-alt1
xorg-x11-mesagl-7.0.0-alt9

ядро 2.6.14-std26-up-alt5

xorg.conf в аттаче

карта ATI Technologies Inc RV280 [Radeon 9200 SE]

В логах ничего значимого.

Может что-то ещё посмотреть где-то?

-- 
Федор Сорекс, http://www.linuxrsp.ru
http://moscow.lug.ru
----------- следующая часть -----------

# File generated by XFdrake.

# **********************************************************************
# Refer to the XF86Config(4/5) man page for details about the format of
# this file.
# **********************************************************************

Section "Files"

    RgbPath	"/usr/share/X11/rgb"

# 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

# **********************************************************************
# Server flags section.
# **********************************************************************

Section "ServerFlags"

    # Uncomment this to cause a core dump at the spot where a signal is
    # received.  This may leave the console in an unusable state, but may
    # provide a better stack trace in the core dump to aid in debugging
    #NoTrapSignals

    # Uncomment this to disable the <Crtl><Alt><BS> server abort sequence
    # This allows clients to receive this key event.
    #DontZap

    # Uncomment this to disable the <Crtl><Alt><KP_+>/<KP_-> mode switching
    # sequences.  This allows clients to receive these key events.
    #DontZoom

    # This  allows  the  server  to start up even if the
    # mouse device can't be opened/initialised.
    AllowMouseOpenFail

EndSection

# **********************************************************************
# Input devices
# **********************************************************************

# **********************************************************************
# Keyboard section
# **********************************************************************

Section "InputDevice"

    Identifier "Keyboard1"
#    Driver      "kbd"
    Driver 	"kbd"
    Option "AutoRepeat"  "250 30"

    Option "XkbModel" "pc105"
    Option "XkbVariant" ",winkeys" ###,,,
    Option "XkbLayout" "us,ru"
    ###"us,ru"
    Option "XkbOptions"  "grp:ctrl_shift_toggle"

EndSection

# **********************************************************************
# Pointer section
# **********************************************************************

Section "InputDevice"

    Identifier  "Mouse1"
    Driver      "mouse"
    Option "Protocol"    "IMPS/2"
#    Option "Device"      "/dev/mouse"
    Option "Device"      "/dev/input/mice"
    Option "Emulate3Buttons" "no"
    Option "Buttons"	"5"
    Option "ZAxisMapping" "4 5"
    
    Option "Resolution" "200"
    
# ChordMiddle is an option for some 3-button Logitech mice

#    Option "ChordMiddle"

EndSection


Section "Module"

# This loads the DBE extension module.

    Load	"dbe"

# This loads the Video for Linux module.
#    Load        "v4l"


    Load  	"glx"
#    Load	"drm"
    Load 	"GLcore"
    Load	"dri"
    Load 	"extmod"
#    Load 	"fglrx"
#    Load  	"glx"


# This loads the miscellaneous extensions module, and disables
# initialisation of the XFree86-DGA extension within that module.

    SubSection	"extmod"
	#Option	"omit xfree86-dga"
    EndSubSection

# This loads the Type1 and FreeType font modules

    Load	"type1"
    Load	"freetype"
EndSection


Section "DRI"
    Mode	0666
EndSection


# **********************************************************************
# Monitor section
# **********************************************************************

# Any number of monitor sections may be present

Section "Monitor"
    Identifier "monitor1"
#    VendorName "Unknown"
#    ModelName  "Unknown"
    VendorName "SONY"
    ModelName  "CPD-E230"

    DisplaySize 328 245

# HorizSync is in kHz unless units are specified.
# HorizSync may be a comma separated list of discrete values, or a
# comma separated list of ranges of values.
# NOTE: THE VALUES HERE ARE EXAMPLES ONLY.  REFER TO YOUR MONITOR'S
# USER MANUAL FOR THE CORRECT NUMBERS.
    HorizSync  30-85


# VertRefresh is in Hz unless units are specified.
# VertRefresh may be a comma separated list of discrete values, or a
# comma separated list of ranges of values.
# NOTE: THE VALUES HERE ARE EXAMPLES ONLY.  REFER TO YOUR MONITOR'S
# USER MANUAL FOR THE CORRECT NUMBERS.
    VertRefresh 48-170


# This is a set of extended mode timings typically used for laptop,
# TV fullscreen mode or DVD fullscreen output.
# These are available along with standard mode timings.

# 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

# 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

# from asp 7.3
#1024x768 @ 100.0 Hz, 80.2 kHz hsync
	Modeline	"1024x768"	115.5  1024 1056 1248 1440  768  771  781  802 -HSync -VSync
#800x600 @ 100.0 Hz, 64.0 kHz hsync
	Modeline	"800x600"	69.65  800  864  928 1088   600  604  610  640 -HSync -VSync
#640x480 @ 100.0 Hz, 53.0 kHz hsync
	Modeline	"640x480"	45.8   640  672  768  864   480  488  494  530 -HSync -VSync


EndSection



# **********************************************************************
# Graphics device section
# **********************************************************************

Section "Device"
    Identifier "Generic VGA"
    Driver     "vga"
EndSection

Section "Device"
    Identifier  "ATI Radeon"
    
#    Identifier  "Radeon 9200SE"
#	Option "no_accel" "no"
#	Option "no_dri" "no"
#	Driver "fglrx"

    VendorName  "Unknown"
    BoardName   "Unknown"
#    Driver	"ati"
    Driver      "ati"
#--    Driver 	"ati"
#    VideoRam    65536
    # Clock lines


    # Uncomment following option if you see a big white block        
    # instead of the cursor!                                          
    #    Option      "sw_cursor"

    Option      "AGPMode"  "4"
    Option      "DPMS"  "on"
EndSection



# **********************************************************************
# Screen sections
# **********************************************************************


Section "Screen"
    Identifier "screen1"
    Device      "ATI Radeon"
    Monitor     "monitor1"
    DefaultColorDepth 24
    Option "Accel"
    Subsection "Display"
        Depth       8
        Modes       "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       15
        Modes       "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       16
        Modes       "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       24
        Modes       "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       32
        Modes       "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
EndSection


Section "ServerLayout"
    Identifier "layout1"
    Screen     "screen1"

    InputDevice "Mouse1" "CorePointer"

    InputDevice "Keyboard1" "CoreKeyboard"
EndSection


Подробная информация о списке рассылки Sisyphus