LINUX.ORG.RU

i810 & OpenGL


0

0

Помогите, пожалуйста, разобраться, а то сам уже запарился.
Пытаюсь установить OpenGL на видеочипе i810 (linux Slackware 9.1, ядро 2.4.22). Установил MesaLib-5.0.1 и MesaDemos-5.0.1 как написано в интсрукции, т.е: ./configure --prefix=/usr; make; make strip; make install; make check; make exec. Make exec выдавал на экран окошки с разной графикой и фигурами. При их открытии я эти окошки закрывал, иначе работа не продолжалась, но в самом конце работы 'make exec' у меня экран отрубился, выдав плавающее по экрану окно: screen: out of range 33MHz 44Hz. При этом система ни на что не реагировала. Подключившись по сети с другой машины я вошел по ssh и посмотрел в процессах - работа make exec закончилась и в целом система вроде в порядке.

Glxinfo выдал кучу инфы и, главное: direct rendering: No.
Glxgears выводит окно с крутящимися цветными шестеренками.

В ядре: в Processor type and features включен MTRR (Memory Type Range Register); в Character Devices включен /dev/agpgart(AGP Support) и Direct Rendering manager; выбрана карта i810.

Команда lsmod выдает: agpgart - used 7; i810 - used 1; i810_rng - unused.

Файл /etc/X11/XF86Config:

Section "ServerLayout"
Identifier "XFree86 Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
ModulePath "/usr/X11R6/lib/modules"
FontPath "/usr/X11R6/lib/X11/fonts/TTF/"
FontPath "/usr/X11R6/lib/X11/fonts/cyrillic/"
FontPath "/usr/X11R6/lib/X11/fonts/misc/"
FontPath "/usr/X11R6/lib/X11/fonts/Speedo/"
FontPath "/usr/X11R6/lib/X11/fonts/Type1/"
FontPath "/usr/X11R6/lib/X11/fonts/CID/"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/"
EndSection

Section "Module"
Load "record"
Load "extmod"
Load "dbe"
Load "dri"
Load "glx"
Load "i810_dri"
Load "GLcore"
Load "xtrap"
Load "type1"
Load "freetype"
Load "speedo"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "keyboard"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc105"
Option "XkbLayout" "us,ru(winkeys)"
Option "AutoRepeat" "250 30"
Option "XkbOptions" "grp:alt_shift_toggle,grp_led:scroll"
EndSection

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/mouse"
EndSection

Section "Monitor"
#DisplaySize 320 240 # mm
Identifier "Monitor0"
VendorName "SAM"
ModelName "SyncMaster"
Option "DPMS"
VertRefresh 85
EndSection

Section "Device"
### Available Driver options are:-
### Values: : integer, : float, : "True"/"False",
### : "String", : " Hz/kHz/MHz"
### [arg]: arg optional
#Option "NoAccel" # []
#Option "SWcursor" # []
#Option "ColorKey" #
#Option "CacheLines" #
#Option "Dac6Bit" # []
Option "DRI" # []
#Option "NoDDC" # []
#Option "ShowCache" # []
#Option "XvMCSurfaces" #
Identifier "Card0"
Driver "i810"
VendorName "Intel Corp."
BoardName "82815 CGC [Chipset Graphics Controller]"
BusID "PCI:0:2:0"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 16
SubSection "Display"
Depth 1
EndSubSection
SubSection "Display"
Depth 4
EndSubSection
SubSection "Display"
Depth 8
EndSubSection
SubSection "Display"
Depth 15
EndSubSection
SubSection "Display"
Depth 16
Modes "1024x768"
ViewPort 0 0
EndSubSection
SubSection "Display"
Depth 24
EndSubSection
EndSection

Section "DRI"
Mode 0666
EndSection

Последний кусок лога иксов XFree86.0.log:

(II) I810(0): #5: hsize: 1600 vsize 1200 refresh: 75 vid: 20393
(II) I810(0): #6: hsize: 1920 vsize 1440 refresh: 60 vid: 16593
(II) I810(0): #7: hsize: 2048 vsize 1536 refresh: 60 vid: 16609
(II) I810(0): Supported additional Video Mode:
(II) I810(0): clock: 94.5 MHz Image Size: 312 x 234 mm
(II) I810(0): h_active: 1024 h_sync: 1072 h_sync_end 1168 h_blank_end 1376 h_border: 0
(II) I810(0): v_active: 768 v_sync: 769 v_sync_end 772 v_blanking: 808 v_border: 0
(II) I810(0): Ranges: V min: 50 V max: 160 Hz, H min: 30 H max: 96 kHz, PixClock max 250 MHz
(II) I810(0): Monitor name: SyncMaster
(II) I810(0): Serial No: HMDW102814
(--) I810(0): Chipset: "i815"
(--) I810(0): Linear framebuffer at 0xF8000000
(--) I810(0): IO registers at addr 0xF7000000
(II) I810(0): I810CheckAvailableMemory: 206844k available
(==) I810(0): Will alloc AGP framebuffer: 8192 kByte
(==) I810(0): Using gamma correction (1.0, 1.0, 1.0)
(WW) I810(0): Monitor0: Using default hsync range of 30.00-96.00kHz
(II) I810(0): Monitor0: Using vrefresh value of 85.00 Hz
(II) I810(0): Clock range: 12.00 to 163.00 MHz
(II) I810(0): Not using default mode "320x175" (bad mode clock/interlace/doublescan)
(II) I810(0): Not using default mode "320x200" (bad mode clock/interlace/doublescan)
(II) I810(0): Not using default mode "360x200" (bad mode clock/interlace/doublescan)
(II) I810(0): Not using default mode "640x480" (vrefresh out of range)
(II) I810(0): Not using default mode "320x240" (bad mode clock/interlace/doublescan)
(II) I810(0): Not using default mode "640x480" (vrefresh out of range)
(II) I810(0): Not using default mode "320x240" (bad mode clock/interlace/doublescan)
(II) I810(0): Not using default mode "640x480" (vrefresh out of range)
(II) I810(0): Not using default mode "320x240" (bad mode clock/interlace/doublescan)
(II) I810(0): Not using default mode "320x240" (bad mode clock/interlace/doublescan)
(II) I810(0): Not using default mode "800x600" (vrefresh out of range)
(II) I810(0): Not using default mode "400x300" (bad mode clock/interlace/doublescan)
(II) I810(0): Not using default mode "800x600" (vrefresh out of range)
(II) I810(0): Not using default mode "400x300" (bad mode clock/interlace/doublescan)
(II) I810(0): Not using default mode "800x600" (vrefresh out of range)
(II) I810(0): Not using default mode "400x300" (bad mode clock/interlace/doublescan)
(II) I810(0): Not using default mode "800x600" (vrefresh out of range)
(II) I810(0): Not using default mode "400x300" (bad mode clock/interlace/doublescan)
(II) I810(0): Not using default mode "400x300" (bad mode clock/interlace/doublescan)
(II) I810(0): Not using default mode "1024x768" (unknown reason)
(II) I810(0): Not using default mode "512x384" (bad mode clock/interlace/doublescan)
(II) I810(0): Not using default mode "1024x768" (vrefresh out of range)
(II) I810(0): Not using default mode "512x384" (bad mode clock/interlace/doublescan)
(II) I810(0): Not using default mode "1024x768" (vrefresh out of range)
(II) I810(0): Not using default mode "512x384" (bad mode clock/interlace/doublescan)
(II) I810(0): Not using default mode "1024x768" (vrefresh out of range)
(II) I810(0): Not using default mode "512x384" (bad mode clock/interlace/doublescan)
(II) I810(0): Not using default mode "512x384" (bad mode clock/interlace/doublescan)
(II) I810(0): Not using default mode "1152x864" (vrefresh out of range)
(II) I810(0): Not using default mode "576x432" (bad mode clock/interlace/doublescan)
(II) I810(0): Not using default mode "1280x960" (vrefresh out of range)
(II) I810(0): Not using default mode "640x480" (bad mode clock/interlace/doublescan)
(II) I810(0): Not using default mode "640x480" (bad mode clock/interlace/doublescan)
(II) I810(0): Not using default mode "1280x1024" (vrefresh out of range)
(II) I810(0): Not using default mode "640x512" (bad mode clock/interlace/doublescan)
(II) I810(0): Not using default mode "1280x1024" (vrefresh out of range)
(II) I810(0): Not using default mode "640x512" (bad mode clock/interlace/doublescan)
(II) I810(0): Not using default mode "640x512" (bad mode clock/interlace/doublescan)
(II) I810(0): Not using default mode "1600x1200" (vrefresh out of range)
(II) I810(0): Not using default mode "800x600" (bad mode clock/interlace/doublescan)
(II) I810(0): Not using default mode "1600x1200" (bad mode clock/interlace/doublescan)
(II) I810(0): Not using default mode "800x600" (bad mode clock/interlace/doublescan)
(II) I810(0): Not using default mode "1600x1200" (bad mode clock/interlace/doublescan)
(II) I810(0): Not using default mode "800x600" (bad mode clock/interlace/doublescan)
(II) I810(0): Not using default mode "1600x1200" (bad mode clock/interlace/doublescan)
(II) I810(0): Not using default mode "800x600" (bad mode clock/interlace/doublescan)
(II) I810(0): Not using default mode "1600x1200" (bad mode clock/interlace/doublescan)
(II) I810(0): Not using default mode "800x600" (bad mode clock/interlace/doublescan)
(II) I810(0): Not using default mode "1792x1344" (bad mode clock/interlace/doublescan)
(II) I810(0): Not using default mode "896x672" (bad mode clock/interlace/doublescan)
(II) I810(0): Not using default mode "1792x1344" (bad mode clock/interlace/doublescan)
(II) I810(0): Not using default mode "896x672" (bad mode clock/interlace/doublescan)
(II) I810(0): Not using default mode "1856x1392" (bad mode clock/interlace/doublescan)
(II) I810(0): Not using default mode "928x696" (bad mode clock/interlace/doublescan)
(II) I810(0): Not using default mode "1856x1392" (bad mode clock/interlace/doublescan)
(II) I810(0): Not using default mode "928x696" (bad mode clock/interlace/doublescan)
(II) I810(0): Not using default mode "1920x1440" (bad mode clock/interlace/doublescan)
(II) I810(0): Not using default mode "960x720" (bad mode clock/interlace/doublescan)
(II) I810(0): Not using default mode "1920x1440" (bad mode clock/interlace/doublescan)
(II) I810(0): Not using default mode "960x720" (bad mode clock/interlace/doublescan)
(II) I810(0): Not using default mode "832x624" (vrefresh out of range)
(II) I810(0): Not using default mode "416x312" (bad mode clock/interlace/doublescan)
(II) I810(0): Not using default mode "1152x768" (vrefresh out of range)
(II) I810(0): Not using default mode "576x384" (bad mode clock/interlace/doublescan)
(II) I810(0): Not using default mode "1400x1050" (vrefresh out of range)
(II) I810(0): Not using default mode "700x525" (bad mode clock/interlace/doublescan)
(II) I810(0): Not using default mode "1400x1050" (vrefresh out of range)
(II) I810(0): Not using default mode "700x525" (bad mode clock/interlace/doublescan)
(II) I810(0): Not using default mode "1600x1024" (vrefresh out of range)
(II) I810(0): Not using default mode "800x512" (bad mode clock/interlace/doublescan)
(II) I810(0): Not using default mode "1920x1440" (bad mode clock/interlace/doublescan)
(II) I810(0): Not using default mode "960x720" (bad mode clock/interlace/doublescan)
(II) I810(0): Not using default mode "2048x1536" (bad mode clock/interlace/doublescan)
(II) I810(0): Not using default mode "1024x768" (bad mode clock/interlace/doublescan)
(II) I810(0): Not using default mode "2048x1536" (bad mode clock/interlace/doublescan)
(II) I810(0): Not using default mode "1024x768" (bad mode clock/interlace/doublescan)
(II) I810(0): Not using default mode "2048x1536" (bad mode clock/interlace/doublescan)
(II) I810(0): Not using default mode "1024x768" (bad mode clock/interlace/doublescan)
(II) I810(0): Not using default mode "1280x1024" (width too large for virtual size)
(II) I810(0): Not using default mode "1280x960" (width too large for virtual size)
(--) I810(0): Virtual size is 1024x768 (pitch 1024)
(**) I810(0): *Default mode "1024x768": 94.5 MHz, 68.7 kHz, 85.0 Hz
(II) I810(0): Modeline "1024x768" 94.50 1024 1072 1168 1376 768 769 772 808 +hsync +vsync
(**) I810(0): Default mode "800x600": 56.3 MHz, 53.7 kHz, 85.1 Hz
(II) I810(0): Modeline "800x600" 56.30 800 832 896 1048 600 601 604 631 +hsync +vsync
(**) I810(0): Default mode "640x480": 36.0 MHz, 43.3 kHz, 85.0 Hz
(II) I810(0): Modeline "640x480" 36.00 640 696 752 832 480 481 484 509 -hsync -vsync
(**) I810(0): Default mode "720x400": 35.5 MHz, 37.9 kHz, 85.0 Hz
(II) I810(0): Modeline "720x400" 35.50 720 756 828 936 400 401 404 446 -hsync +vsync
(**) I810(0): Default mode "640x400": 31.5 MHz, 37.9 kHz, 85.1 Hz
(II) I810(0): Modeline "640x400" 31.50 640 672 736 832 400 401 404 445 -hsync +vsync
(**) I810(0): Default mode "640x350": 31.5 MHz, 37.9 kHz, 85.1 Hz
(II) I810(0): Modeline "640x350" 31.50 640 672 736 832 350 382 385 445 +hsync -vsync
(--) I810(0): Display dimensions: (320, 240) mm
(--) I810(0): DPI set to (81, 81)
(II) Loading sub module "fb"
(II) LoadModule: "fb"
(II) Loading /usr/X11R6/lib/modules/libfb.a
(II) Module fb: vendor="The XFree86 Project"
compiled for 4.3.0, module version = 1.0.0
ABI class: XFree86 ANSI C Emulation, version 0.2
(II) Loading sub module "xaa"
(II) LoadModule: "xaa"
(II) Loading /usr/X11R6/lib/modules/libxaa.a
(II) Module xaa: vendor="The XFree86 Project"
compiled for 4.3.0, module version = 1.1.0
ABI class: XFree86 Video Driver, version 0.6
(II) Loading sub module "ramdac"
(II) LoadModule: "ramdac"
(II) Loading /usr/X11R6/lib/modules/libramdac.a
(II) Module ramdac: vendor="The XFree86 Project"
compiled for 4.3.0, module version = 0.1.0
ABI class: XFree86 Video Driver, version 0.6
(II) I810(0): XvMC is Disabled: use XvMCSurfaces config option to enable.
(II) do I need RAC? No, I don't.
(II) resource ranges after preInit:
[0] 000xf7000000 - 0xf707ffff (0x80000) MS[B]
[1] 000xf8000000 - 0xfbffffff (0x4000000) MS[B]
[2] -100xffe00000 - 0xffffffff (0x200000) MX[B](B)
[3] -100x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
[4] -100x000f0000 - 0x000fffff (0x10000) MX[B]
[5] -100x000c0000 - 0x000effff (0x30000) MX[B]
[6] -100x00000000 - 0x0009ffff (0xa0000) MX[B]
[7] -100xf6000000 - 0xf60000ff (0x100) MX[B]
[8] -100xf6800000 - 0xf6800fff (0x1000) MX[B]
[9] -100xf7000000 - 0xf707ffff (0x80000) MX[B](B)
[10] -100xf8000000 - 0xfbffffff (0x4000000) MX[B](B)
[11] 000x000a0000 - 0x000affff (0x10000) MS[B](OprD)
[12] 000x000b0000 - 0x000b7fff (0x8000) MS[B](OprD)
[13] 000x000b8000 - 0x000bffff (0x8000) MS[B](OprD)
[14] -100x0000ffff - 0x0000ffff (0x1) IX[B]
[15] -100x00000000 - 0x000000ff (0x100) IX[B]
[16] -100x0000d400 - 0x0000d4ff (0x100) IX[B]
[17] -100x0000d800 - 0x0000d8ff (0x100) IX[B]
[18] -100x0000b000 - 0x0000b01f (0x20) IX[B]
[19] -100x0000e800 - 0x0000e80f (0x10) IX[B]
[20] -100x0000b400 - 0x0000b41f (0x20) IX[B]
[21] -100x0000b800 - 0x0000b80f (0x10) IX[B]
[22] 000x000003b0 - 0x000003bb (0xc) IS[B](OprU)
[23] 000x000003c0 - 0x000003df (0x20) IS[B](OprU)
drmOpenDevice: minor is 0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 7, (OK)
drmOpenDevice: minor is 0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 7, (OK)
drmOpenDevice: minor is 0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 7, (OK)
drmGetBusid returned ''
(II) I810(0): [drm] created "i810" driver at busid "PCI:0:2:0"
(II) I810(0): [drm] added 8192 byte SAREA at 0xd0cb8000
(II) I810(0): [drm] mapped SAREA 0xd0cb8000 to 0x40016000
(II) I810(0): [drm] framebuffer handle = 0xf8000000
(II) I810(0): [drm] added 1 reserved context for kernel
(II) I810(0): [drm] Registers = 0xf7000000
(II) I810(0): [agp] dcacheHandle : (nil)
(II) I810(0): [agp] GART: no dcache memory found
(II) I810(0): [agp] Bound backbuffer memory
(II) I810(0): [agp] Bound depthbuffer memory
(II) I810(0): [agp] GART: Allocated 4K for mouse cursor image
(II) I810(0): Adding 768 scanlines for pixmap caching
(II) I810(0): Allocated Scratch Memory
(II) I810(0): [dri] Buffer map : 3fb000
(II) I810(0): [drm] added 256 4096 byte DMA buffers
(II) I810(0): [drm] dma control initialized, using IRQ 11
(II) I810(0): [dri] visual configs initialized.
(==) I810(0): Write-combining range (0xf8000000,0x4000000)
(II) I810(0): vgaHWGetIOBase: hwp->IOBase is 0x03d0, hwp->PIOOffset is 0x0000
(II) I810(0): Setting dot clock to 94.5 MHz [ 0x3d 0xe 0x20 ] [ 63 16 2 ]
(II) I810(0): chose watermark 0x22210000: (tab.freq 94.5)
(II) I810(0): Using XFree86 Acceleration Architecture (XAA)
Screen to screen bit blits
Solid filled rectangles
8x8 mono pattern filled rectangles
Indirect CPU to Screen color expansion
Solid Horizontal and Vertical Lines
Offscreen Pixmaps
Setting up tile and stipple cache:
24 128x128 slots
6 256x256 slots
(==) I810(0): Backing store disabled
(==) I810(0): Silken mouse enabled
(**) Option "dpms"
(**) I810(0): DPMS enabled
(II) I810(0): X context handle = 0x00000001
(II) I810(0): [drm] installed DRM signal handler
(II) I810(0): [DRI] installation complete
(==) I810(0): Direct rendering enabled
(==) RandR enabled
(II) Initializing built-in extension MIT-SHM
(II) Initializing built-in extension XInputExtension
(II) Initializing built-in extension XTEST
(II) Initializing built-in extension XKEYBOARD
(II) Initializing built-in extension LBX
(II) Initializing built-in extension XC-APPGROUP
(II) Initializing built-in extension SECURITY
(II) Initializing built-in extension XINERAMA
(II) Initializing built-in extension XFree86-Bigfont
(II) Initializing built-in extension RENDER
(II) Initializing built-in extension RANDR
(**) Option "Protocol" "auto"
(**) Mouse0: Protocol: "auto"
(**) Option "CorePointer"
(**) Mouse0: Core Pointer
(**) Option "Device" "/dev/mouse"
(**) Mouse0: Emulate3Buttons, Emulate3Timeout: 50
(==) Mouse0: Buttons: 3
(II) Keyboard "Keyboard0" handled by legacy driver
(II) XINPUT: Adding extended input device "Mouse0" (type: MOUSE)
(--) Mouse0: PnP-detected protocol: "ImPS/2"
(II) Mouse0: ps2EnableDataReporting: succeeded
GetModeLine - scrn: 0 clock: 94500
GetModeLine - hdsp: 1024 hbeg: 1072 hend: 1168 httl: 1376
vdsp: 768 vbeg: 769 vend: 772 vttl: 808 flags: 5
(II) 3rd Button detected: disabling emulate3Button.

При запуске quake3:

host@user:~$ quake3
Q3 1.32b linux-i386 Nov 14 2002
----- FS_Startup -----
Current search path:
/home/user/.q3a/baseq3
/usr/local/games/quake3/baseq3/pak8.pk3 (9 files)
/usr/local/games/quake3/baseq3/pak7.pk3 (4 files)
/usr/local/games/quake3/baseq3/pak6.pk3 (64 files)
/usr/local/games/quake3/baseq3/pak5.pk3 (7 files)
/usr/local/games/quake3/baseq3/pak4.pk3 (272 files)
/usr/local/games/quake3/baseq3/pak3.pk3 (4 files)
/usr/local/games/quake3/baseq3/pak2.pk3 (148 files)
/usr/local/games/quake3/baseq3/pak1.pk3 (26 files)
/usr/local/games/quake3/baseq3/pak0.pk3 (3539 files)
/usr/local/games/quake3/baseq3
./quake3.x86/baseq3

----------------------
4073 files in pk3 files
execing default.cfg
couldn't exec q3config.cfg
couldn't exec autoexec.cfg
Hunk_Clear: reset the hunk ok

------- Input Initialization -------
Joystick is not active.
------------------------------------
----- Client Initialization -----
----- Initializing Renderer ----
-------------------------------
----- Client Initialization Complete -----
----- R_Init -----
...loading libGL.so.1: Initializing OpenGL display
...setting mode 3: 640 480
Using XFree86-VidModeExtension Version 2.2
XF86DGA Mouse (Version 2.0) initialized
XFree86-VidModeExtension Activated at 640x480
Using 4/4/4 Color bits, 24 depth, 0 stencil display.
GL_RENDERER: Mesa X11


***********************************************************
You are using software Mesa (no hardware acceleration)!
Driver DLL used: libGL.so.1
If this is intentional, add
"+set r_allowSoftwareGL 1"
to the command line when starting the game.
***********************************************************
...WARNING: could not set the given mode (3)
----- CL_Shutdown -----
RE_Shutdown( 1 )
-----------------------
----- CL_Shutdown -----
-----------------------
Sys_Error: GLimp_Init() - could not load OpenGL subsystem

host@user:~$.

В чем тут грабли. Без Вас не разберусь.
Заранее огромное спасибо за помощь.

anonymous

В догонку. при host@user:~$ quake3 +set r_allowSoftwareGL 1 квака запускается, но очень тормозит.

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

Не знаю как решить твою проблему.
У меня, кстати, с glx-ом оказывается не в порядке что-то. Может заодно знаешь рэдисолюшен?

name of display: :0.0
Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.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 ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".
0x21 24 tc  1  0  0 c  .  .  0  0  0  0  0  0  0  0  0  0  0  0 0 None
Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".
0x22 24 dc  1  0  0 c  .  .  0  0  0  0  0  0  0  0  0  0  0  0 0 None

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

Я понял, что opengl софтверный работает, а хардверный - нет. Но почему? Чего ему не хватает? И что значит то, что у меня экран отрубился при установке Mesa-5.0.1 (make exec)? Судя по логам иксов dri работает, а glxinfo говорит, что нет. Уже и доку в инете перерыл и по ней проверил установки компонентов ядра, и настройки иксов - не пашет и все тут. А насчет твоего вопроса то же не знаю. А что такое рэдисолюшен?

anonymous
()
Ответ на: комментарий от grustnoe

>>grustnoe (*) (14.10.2003 13:11:57).
Оно конечно проще, но лучше настроить то что есть. К тому же везде в доках говорится, что i810 поддерживается.

anonymous
()
Ответ на: комментарий от Mark182

Я с 5.0.2 начинал - она у меня вообще не собирается. При make сразу вываливается с ошибкой, хотя configure проходит нормально.

anonymous
()

а тем временем ответ на поставленный вопрос очевиден из приведенного автором вывода Кваки: XFree86-VidModeExtension Activated at 640x480 Using 4/4/4 Color bits, 24 depth, 0 stencil display.

Читайте доки. В частности на сайте проекта DRI (http://dri.sourceforge.net/doc/DRIuserguide.html). там черным по белому написано: 3D acceleration for the i810 is only available in the 16 bit/pixel screen mode at this time. 32bpp acceleration is not supported by this hardware. Use xdpyinfo to verify that all your visuals are depth 16. Edit your XF86Config file if needed.

т.е. аппаратное 3D ускорение поддерживается только при глубине цвета 16 бит/пикс.

Решение соответственно: проверяем глубину цвета в конфиге иксов, меняем глубину цвета в настройках кваки. должно помочь.

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

Вывод xdpyinfo:

host@user:~$ xdpyinfo
name of display: :0.0
version number: 11.0
vendor string: The XFree86 Project, Inc
vendor release number: 40300000
XFree86 version: 4.3.0
maximum request size: 4194300 bytes
motion buffer size: 256
bitmap unit, bit order, padding: 32, LSBFirst, 32
image byte order: LSBFirst
number of supported pixmap formats: 7
supported pixmap formats:
depth 1, bits_per_pixel 1, scanline_pad 32
depth 4, bits_per_pixel 8, scanline_pad 32
depth 8, bits_per_pixel 8, scanline_pad 32
depth 15, bits_per_pixel 16, scanline_pad 32
depth 16, bits_per_pixel 16, scanline_pad 32
depth 24, bits_per_pixel 32, scanline_pad 32
depth 32, bits_per_pixel 32, scanline_pad 32
keycode range: minimum 8, maximum 255
focus: window 0x1000005, revert to None
number of extensions: 31
BIG-REQUESTS
DEC-XTRAP
DOUBLE-BUFFER
DPMS
Extended-Visual-Information
FontCache
GLX
LBX
MIT-SCREEN-SAVER
MIT-SHM
MIT-SUNDRY-NONSTANDARD
RANDR
RECORD
RENDER
SECURITY
SGI-GLX
SHAPE
SYNC
TOG-CUP
X-Resource
XC-APPGROUP
XC-MISC
XFree86-Bigfont
XFree86-DGA
XFree86-DRI
XFree86-Misc
XFree86-VidModeExtension
XInputExtension
XKEYBOARD
XTEST
XVideo
default screen number: 0
number of screens: 1

screen #0:
dimensions: 1024x768 pixels (321x241 millimeters)
resolution: 81x81 dots per inch
depths (7): 16, 1, 4, 8, 15, 24, 32
root window id: 0x48
depth of root window: 16 planes
number of colormaps: minimum 1, maximum 1
default colormap: 0x20
default number of colormap cells: 64
preallocated pixels: black 0, white 65535
options: backing-store NO, save-unders NO
largest cursor: 64x64
current input event mask: 0x7a403c
ButtonPressMask ButtonReleaseMask EnterWindowMask
LeaveWindowMask KeymapStateMask StructureNotifyMask
SubstructureNotifyMask SubstructureRedirectMask FocusChangeMask
PropertyChangeMask
number of visuals: 16
default visual id: 0x23
visual:
visual id: 0x23
class: TrueColor
depth: 16 planes
available colormap entries: 64 per subfield
red, green, blue masks: 0xf800, 0x7e0, 0x1f
significant bits in color specification: 8 bits
visual:
visual id: 0x24
class: TrueColor
depth: 16 planes
available colormap entries: 64 per subfield
red, green, blue masks: 0xf800, 0x7e0, 0x1f
significant bits in color specification: 8 bits
visual:
visual id: 0x25
class: TrueColor
depth: 16 planes
available colormap entries: 64 per subfield
red, green, blue masks: 0xf800, 0x7e0, 0x1f
significant bits in color specification: 8 bits
visual:
visual id: 0x26
class: TrueColor
depth: 16 planes
available colormap entries: 64 per subfield
red, green, blue masks: 0xf800, 0x7e0, 0x1f
significant bits in color specification: 8 bits
visual:
visual id: 0x27
class: TrueColor
depth: 16 planes
available colormap entries: 64 per subfield
red, green, blue masks: 0xf800, 0x7e0, 0x1f
significant bits in color specification: 8 bits
visual:
visual id: 0x28
class: TrueColor
depth: 16 planes
available colormap entries: 64 per subfield
red, green, blue masks: 0xf800, 0x7e0, 0x1f
significant bits in color specification: 8 bits
visual:
visual id: 0x29
class: TrueColor
depth: 16 planes
available colormap entries: 64 per subfield
red, green, blue masks: 0xf800, 0x7e0, 0x1f
significant bits in color specification: 8 bits
visual:
visual id: 0x2a
class: TrueColor
depth: 16 planes
available colormap entries: 64 per subfield
red, green, blue masks: 0xf800, 0x7e0, 0x1f
significant bits in color specification: 8 bits
visual:
visual id: 0x2b
class: DirectColor
depth: 16 planes
available colormap entries: 64 per subfield
red, green, blue masks: 0xf800, 0x7e0, 0x1f
significant bits in color specification: 8 bits
visual:
visual id: 0x2c
class: DirectColor
depth: 16 planes
available colormap entries: 64 per subfield
red, green, blue masks: 0xf800, 0x7e0, 0x1f
significant bits in color specification: 8 bits
visual:
visual id: 0x2d
class: DirectColor
depth: 16 planes
available colormap entries: 64 per subfield
red, green, blue masks: 0xf800, 0x7e0, 0x1f
significant bits in color specification: 8 bits
visual:
visual id: 0x2e
class: DirectColor
depth: 16 planes
available colormap entries: 64 per subfield
red, green, blue masks: 0xf800, 0x7e0, 0x1f
significant bits in color specification: 8 bits
visual:
visual id: 0x2f
class: DirectColor
depth: 16 planes
available colormap entries: 64 per subfield
red, green, blue masks: 0xf800, 0x7e0, 0x1f
significant bits in color specification: 8 bits
visual:
visual id: 0x30
class: DirectColor
depth: 16 planes
available colormap entries: 64 per subfield
red, green, blue masks: 0xf800, 0x7e0, 0x1f
significant bits in color specification: 8 bits
visual:
visual id: 0x31
class: DirectColor
depth: 16 planes
available colormap entries: 64 per subfield
red, green, blue masks: 0xf800, 0x7e0, 0x1f
significant bits in color specification: 8 bits
visual:
visual id: 0x32
class: DirectColor
depth: 16 planes
available colormap entries: 64 per subfield
red, green, blue masks: 0xf800, 0x7e0, 0x1f
significant bits in color specification: 8 bits
host@user:~$

Насколько я понимаю

DefaultDepth 16

и есть 16 bit цвет, а

SubSection "Display"
Depth 16
Modes "1024x768"
ViewPort 0 0
EndSubSection

есть разрешение 1024х768 при глубине цвета 16 бит.
У меня все так и выставлено (я в вопросе привел XF86Config).

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

Знаешь, у меня стояла ati 3d rage pro. После того, как я воткнул ядро 2.4.22 у меня ускорение исчезло. Хотя делал все как обычно - собрал особый модуль в ядро, GL там был свой. Хоть тресни - выдает все аппаратные возможности, как если бы direct rendering = yes стояло, но ни игры, ни glxinfo его не видели. Спустился на pre - там работает. В интернете видал инфу, что такая фигня вылезает после обновления иксов (у меня redhat 9) на последние.

P.S. Короче, поменял я эту карту на GeForce 4, чего и тебе желаю.

jackill ★★★★★
()

Похоже, что в i810 dri кривой. Например, если в ядре есть dri, то vmware в полноэкранном режиме может подвиснуть при переключении видеорежимов. При отключенной dri - все работает нормально.

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

А можно ли как нибудь заменить этот кривой dri на рабочий?

anonymous
()

i810 & opengl

Очень благодарен всем, кто пытался мне помочь. К сожалению у меня пока ничего не получилось. Перечитал все указанные здесь ссылки, переделал ядро (до этого agpgart.o и i810.o dri были в модулях, вкомпилил в ядро), в биосе для видео есть выбор agp mode из двух режимов: 2х и 4х; выбран 2x. В иксах установливал и Option "AGPMode" "2", и Option "AGPMode" "1"; игрался с видео памятью - ставил 4096, 10000, вообще убирал. Попрежнему безрезультатно: в логах иксов - dri enabled, glxinfo - direct rendering: No, квака ругается по старому. То есть, как я понимаю, OpenGL система не видит dri, а иксы видят. Может какого-то нужного софта/пакетов не хватает(не установлено) или нехватает какой нибудь символьной ссылочки? Видно, действительно кривой dri. Подскажите, кто сталкивался, у меня одного Mesa-5.0.2 не собирается, или это проблемы с сырцами? Еще раз спасибо за помощь.

anonymous
()
24 ноября 2003 г.
Ответ на: i810 & opengl от anonymous

Сделай линк с libGL.so & libGL.so.1 на libGL.so.1.2 вместо того,что щас стоит - это при инсталляции МЕСА так прикалываеться...сам щас мучаюсь... домучался до того,что и в иксах и в глхинфо директ рендеринг есть,но какой то некорректный - шестеренки буквально размазаны по всему экрану,в играх с акселерацией тоже самое...810ый чипсет...:(

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