LINUX.ORG.RU

Не работает Direct Rendering


0

0

Кто может помочь с проблемой? Перешел на Mandriva 2007.1 Spring и теперь не работает 3D ускорение. glxinfo выдает

[niks@Linux ~]$ glxinfo name of display: :1.0 Xlib: extension "GLX" missing on display ":1.0". Xlib: extension "GLX" missing on display ":1.0". Xlib: extension "GLX" missing on display ":1.0". Error: couldn't find RGB GLX visual

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 ---------------------------------------------------------------------- Xlib: extension "GLX" missing on display ":1.0". Xlib: extension "GLX" missing on display ":1.0". 0x21 16 tc 1 0 0 c . . 0 0 0 0 0 0 0 0 0 0 0 0 0 None

Пробовал установить свободние драйвера dri - ошибка сборки

/install/radeon/drm/linux-core/ati_pcigart.c: In function ‘drm_ati_free_pcigart_table’: /install/radeon/drm/linux-core/ati_pcigart.c:87: error: ‘struct page’ has no member named ‘count’ make[2]: *** [/install/radeon/drm/linux-core/ati_pcigart.o] Ошибка 1 make[1]: *** [_module_/install/radeon/drm/linux-core] Ошибка 2 make[1]: Leaving directory `/usr/src/linux-2.6.17-15mdv' make: *** [modules] Ошибка 2

В логах xorg при запуске не нашел ошибок - все запускается как надо, но не работает. При запуске OpenArena

Calling SDL_Init(SDL_INIT_VIDEO)... SDL_Init(SDL_INIT_VIDEO) passed. Initializing OpenGL display ...setting mode 3: 640 480 SDL_SetVideoMode failed: Couldn't find matching GLX visual SDL_SetVideoMode failed: Couldn't find matching GLX visual SDL_SetVideoMode failed: Couldn't find matching GLX visual SDL_SetVideoMode failed: Couldn't find matching GLX visual SDL_SetVideoMode failed: Couldn't find matching GLX visual SDL_SetVideoMode failed: Couldn't find matching GLX visual SDL_SetVideoMode failed: Couldn't find matching GLX visual SDL_SetVideoMode failed: Couldn't find matching GLX visual SDL_SetVideoMode failed: Couldn't find matching GLX visual SDL_SetVideoMode failed: Couldn't find matching GLX visual SDL_SetVideoMode failed: Couldn't find matching GLX visual SDL_SetVideoMode failed: Couldn't find matching GLX visual SDL_SetVideoMode failed: Couldn't find matching GLX visual SDL_SetVideoMode failed: Couldn't find matching GLX visual SDL_SetVideoMode failed: Couldn't find matching GLX visual SDL_SetVideoMode failed: Couldn't find matching GLX visual Couldn't get a visual ...WARNING: could not set the given mode (3) ----- CL_Shutdown ----- RE_Shutdown( 1 ) ----------------------- Sys_Error: GLimp_Init() - could not load OpenGL subsystem

Что можно с этим сделать?


Забыл добавить - карта интегрированная - мобильный чипсет Ati Radeon 340 IGP

Niks
() автор топика

>Что можно с этим сделать?

вначале рассказать что у тебя за видюшка

Reset ★★★★★
()
Ответ на: комментарий от Reset

Нет смысла. Проприетарные драйвера не поддерживают мою карту. Саму карту можно поменять только вместе с ноутом - поэтому этот вариант не рассматривается.

Niks
() автор топика

> Кто может помочь с проблемой? Перешел на Mandriva 2007.1 Spring и теперь не работает 3D ускорение.

раньше, на другом дистрибутиве, работало?

JB ★★★★★
()
Ответ на: комментарий от JB

Да. Отлично работало на OpenSuSE 10.2 Причем не из коробки, а пришлось повозиться. Здесь другая ситуация и другая ошибка.

Niks
() автор топика
Ответ на: комментарий от Niks

> Да. Отлично работало на OpenSuSE 10.2 Причем не из коробки, а пришлось повозиться. Здесь другая ситуация и другая ошибка.

с опенсорсным драйвером или проприетарным? Если с опенсорсным, то это значит что в мандриве более старая версия

JB ★★★★★
()
Ответ на: комментарий от JB

Проприетарные драйвера не поддерживают мою карту.
Работало с опенсорсными, которые качал с dri.freedesktop.org/wiki/Download
Но на Mandriva они не хотят устанавливаться - см. ошибку в первом посте.
Причем в Xorg.log ошибок нет - все модули загружаются, карта определяется, Может надо какой-то модуль добавить?
ниже xorg.conf

# File generated by XFdrake (rev 142098)

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

Section "Files"
    # font server independent of the X server to render fonts.
    FontPath "unix/:-1"
    
    # minimal fonts to allow X to run without xfs
    FontPath "/usr/share/fonts/misc:unscaled"
EndSection

Section "Extensions"
    Option "Composite"
EndSection

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

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

Section "InputDevice"
    Identifier "Keyboard1"
    Driver "kbd"
    Option "XkbModel" "pc105"
    Option "XkbLayout" "us,ru(winkeys)"
    Option "XkbOptions" "grp:ctrl_shift_toggle,grp_led:scroll,compose:rwin"
EndSection

Section "InputDevice"
    Identifier "Mouse1"
    Driver "mouse"
    Option "Protocol" "ExplorerPS/2"
    Option "Device" "/dev/mouse"
EndSection

Section "InputDevice"
    Identifier "Mouse2"
    Driver "evdev"
    Option "product" "0x00e1"
    Option "HWheelRelativeAxisButtons" "7 6"
    Option "vendor" "0x045e"
EndSection

Section "InputDevice"
    Identifier "SynapticsMouse1"
    Driver "synaptics"
    Option "SHMConfig" "on"
EndSection

Section "Monitor"
    Identifier "monitor1"
    HorizSync 42-61
    VertRefresh 42-79
    
    # 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 "ATI Technologies Inc"
    BoardName "ATI Radeon 9250 and earlier"
    Driver "radeon"
    Option "DPMS"
    Option "AccelMethod" "EXA"
    Option "XaaNoOffscreenPixmaps" "1"
EndSection

Section "Screen"
    Identifier "screen1"
    Device "device1"
    Monitor "monitor1"
    DefaultColorDepth 16
    
    Subsection "Display"
        Depth 8
        Modes "1024x768" "832x624" "800x600" "640x480" "480x360" "320x240"
    EndSubsection
    
    Subsection "Display"
        Depth 15
        Modes "1024x768" "832x624" "800x600" "640x480" "480x360" "320x240"
    EndSubsection
    
    Subsection "Display"
        Depth 16
        Modes "1024x768" "832x624" "800x600" "640x480" "480x360" "320x240"
    EndSubsection
    
    Subsection "Display"
        Depth 24
        Modes "1024x768" "832x624" "800x600" "640x480" "480x360" "320x240"
    EndSubsection
EndSection

Section "ServerLayout"
    Identifier "layout1"
    InputDevice "Keyboard1" "CoreKeyboard"
    InputDevice "Mouse1" "CorePointer"
    InputDevice "Mouse2" "SendCoreEvents"
    InputDevice "SynapticsMouse1" "AlwaysCore"
    Screen "screen1"
EndSection

Niks
() автор топика
Ответ на: комментарий от soomrack

Добавил. Перезагрузил. Не помогает.
Не нравится такой момент в xorg.log

(WW) AIGLX: 3D driver claims to not support visual 0x23
(WW) AIGLX: 3D driver claims to not support visual 0x24
(WW) AIGLX: 3D driver claims to not support visual 0x25
(WW) AIGLX: 3D driver claims to not support visual 0x26
(WW) AIGLX: 3D driver claims to not support visual 0x27
(WW) AIGLX: 3D driver claims to not support visual 0x28
(WW) AIGLX: 3D driver claims to not support visual 0x29
(WW) AIGLX: 3D driver claims to not support visual 0x2a
(WW) AIGLX: 3D driver claims to not support visual 0x2b
(WW) AIGLX: 3D driver claims to not support visual 0x2c
(WW) AIGLX: 3D driver claims to not support visual 0x2d
(WW) AIGLX: 3D driver claims to not support visual 0x2e
(WW) AIGLX: 3D driver claims to not support visual 0x2f
(WW) AIGLX: 3D driver claims to not support visual 0x30
(WW) AIGLX: 3D driver claims to not support visual 0x31
(WW) AIGLX: 3D driver claims to not support visual 0x32
(II) AIGLX: Loaded and initialized /usr/lib/dri/radeon_dri.so
(II) GLX: Initialized DRI GL provider for screen 0

А glxinfo выдает
[niks@Linux ~]$ glxinfo
name of display: :1.0
Xlib:  extension "GLX" missing on display ":1.0".
Xlib:  extension "GLX" missing on display ":1.0".
Xlib:  extension "GLX" missing on display ":1.0".
Error: couldn't find RGB GLX visual

   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
----------------------------------------------------------------------
Xlib:  extension "GLX" missing on display ":1.0".
Xlib:  extension "GLX" missing on display ":1.0".
0x21 16 tc  1  0  0 c  .  .  0  0  0  0  0  0  0  0  0  0  0  0 0 None

Может просто не к тому дисплею происходит стыковка?
Как это поправить?

Niks
() автор топика
Ответ на: комментарий от Niks

Вот мой xorg.conf (без комментов и инпутдевайсов).
У меня карта <ati radeon mobile x1400> дрова закрытые.

Section "ServerLayout"
	Identifier     "Dual-head Layout"
	Screen      0  "aticonfig-Screen[0]" 0 0
	Screen         "aticonfig-Screen[1]" Above "aticonfig-Screen[0]"
	InputDevice    "Mouse1" "CorePointer"
	InputDevice    "Keyboard1" "CoreKeyboard"
	Option         "Xinerama" "Off"
EndSection

Section "Module"
	Load  "dbe"  	# Double buffer extension
	SubSection "extmod"
		Option	    "omit xfree86-dga"   # don't initialise the DGA extension
	EndSubSection
	Load  "type1"
	Load  "freetype"
	Load  "glx"
EndSection

Section "Monitor"
	Identifier   "aticonfig-Monitor[0]"
	Option	    "VendorName" "ATI Proprietary Driver"
	Option	    "ModelName" "Generic Autodetecting Monitor"
	Option	    "DPMS" "true"
EndSection

Section "Monitor"
	Identifier   "aticonfig-Monitor[1]"
	Option	    "VendorName" "ATI Proprietary Driver"
	Option	    "ModelName" "Generic Autodetecting Monitor"
	Option	    "DPMS" "true"
EndSection

Section "Device"
	Identifier  "aticonfig-Device[0]"
	Driver      "fglrx"
	BusID       "PCI:1:0:0"
	Screen      0
EndSection

Section "Device"
	Identifier  "aticonfig-Device[1]"
	Driver      "fglrx"
	BusID       "PCI:1:0:0"
	Screen      1
EndSection

Section "Screen"
	Identifier "aticonfig-Screen[0]"
	Device     "aticonfig-Device[0]"
	Monitor    "aticonfig-Monitor[0]"
	DefaultDepth     24
	SubSection "Display"
		Viewport   0 0
		Depth     24
		Modes    "1400x1050"
		Virtual  1400 1050
	EndSubSection
EndSection

Section "Screen"
	Identifier "aticonfig-Screen[1]"
	Device     "aticonfig-Device[1]"
	Monitor    "aticonfig-Monitor[1]"
	DefaultDepth     24
	SubSection "Display"
		Viewport   0 0
		Depth     24
		Modes    "800x600"
		Virtual  800 600
	EndSubSection
EndSection

Section "DRI"
	Mode         0666
EndSection

soomrack ★★★★
()
Ответ на: комментарий от soomrack

Само собой, если я зашел залогинился в иксах под одним юзером, а потом из консоли пытаюсь запустить напр. glxinfo из под другого, то он выдаст ошибку

No protocol specified

Error: unable to open display (null)

soomrack ★★★★
()
Ответ на: комментарий от soomrack

Ничего не получается. Не судьба наверно.

Niks
() автор топика
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.