Помогите, пожалуйста, разобраться, а то сам уже запарился.
Пытаюсь установить 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
Ответ на:
комментарий
от anonymous
Ответ на:
комментарий
от Mark182
Ответ на:
комментарий
от Mark182
Ответ на:
комментарий
от grustnoe
Ответ на:
комментарий
от anonymous
Ответ на:
комментарий
от Mark182
Ответ на:
комментарий
от anonymous
Ответ на:
комментарий
от Mark182
Ответ на:
комментарий
от anonymous
Ответ на:
комментарий
от anonymous
Ответ на:
комментарий
от kraw
24 ноября 2003 г.
Ответ на:
i810 & opengl
от anonymous
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.
Похожие темы
- Форум Quake3 (2005)
- Форум Не запускается Линуксовая Quake3 (2003)
- Форум CHIPS: Not using default mode «640x480» (insufficient memory for mode) при VideoRAM: 1024 kByte (2007)
- Форум Не могу лваку завести. (2002)
- Форум Проблема при старте Х-сервера (2002)
- Форум Опять Quake 3 Траблы! (2003)
- Форум Опять Quake 3 Траблы! (2003)
- Форум Опять Quake 3 Траблы! (2003)
- Форум Quake3 for Linux (2006)
- Форум GLX не работает под X-сами ASPLinux7.3 (2003)