Re: [suse-xfree86] i915 driver on SuSE 9.1, using Intel 865G
On Wed, 05 Jan 2005, Forest Monsen wrote:
Hello,
It's time to try 3D acceleration on SuSE 9.1. I'm using an Intel 865G chip, and obtained the i915 driver from Intel's site at http://support.intel.com/support/graphics/sb/CS-010512.htm
I should mention that the whole reason I'm attempting to use the i915 driver, not tested by Intel on SuSE 9.1, is that I'm currently using the i810 driver, but DRI isn't working for me. If anyone can guess what the problem might be, based on the attached output, that would be great too. First, some facts: YaST does report that acceleration is enabled for the card. My XF86Config file does correctly reference the i810 driver in the "Device" section, as well as enabling the 'dri' and 'glx' modules. According to http://www.xfree86.org/~dawes/845driver.html , the 'i810' driver is actually the XFree86 server driver, while the DRI/DRM kernel driver is 'i830'. /sbin/lsmod does show this loaded: ### begin result of /sbin/lsmod | grep 830 ### i830 70208 0 ### end result of /sbin/lsmod | grep 830 ### Below, I'll include my XFree86 config file, as well as the output in /var/log/XFree86.0.log . ### begin selections from XFree86 config file ### # SaX generated XFree86 config file # Created on: 2005-01-06T10:46:01-0800. # # Version: 4.8 # Contact: Marcus Schaefer <sax@suse.de>, 2002 [...] Section "Module" Load "dbe" Load "type1" Load "speedo" Load "freetype" Load "extmod" Load "glx" Load "v4l" Load "dri" EndSection [...] Section "Monitor" DisplaySize 360 270 HorizSync 28-107 Identifier "Monitor[0]" ModelName "D8912A HP P920 19-INCH MONITOR" Option "DPMS" VendorName "HEWLETT-PACKARD" VertRefresh 50-160 UseModes "Modes[0]" EndSection [...] Section "Device" BoardName "865 G" BusID "0:2:0" Driver "i810" Identifier "Device[0]" Screen 0 Option "Rotate" "off" VendorName "Intel" EndSection [...] Section "DRI" Group "video" Mode 0660 EndSection ### end selections from XF86config file ### ### begin /var/log/XFree86.0.log ### [...] XFree86 Version 4.3.99.902 (4.4.0 RC 2) Release Date: 18 December 2003 X Protocol Version 11, Revision 0, Release 6.6 Build Operating System: SuSE Linux [ELF] SuSE Current Operating System: Linux boogie 2.6.5-7.111.19-default #1 Fri Dec 10 15:10:58 UTC 2004 i686 Build Date: 23 August 2004 Changelog Date: 29 February 2004 Before reporting problems, check http://www.XFree86.Org/ to make sure that you have the latest version. Module Loader present [...] (II) LoadModule: "glx" (II) Loading /usr/X11R6/lib/modules/extensions/libglx.a (II) Module glx: vendor="The XFree86 Project" compiled for 4.3.99.902, module version = 1.0.0 ABI class: XFree86 Server Extension, version 0.2 (II) Loading sub module "GLcore" (II) LoadModule: "GLcore" (II) Loading /usr/X11R6/lib/modules/extensions/libGLcore.a (II) Module GLcore: vendor="The XFree86 Project" compiled for 4.3.99.902, module version = 1.0.0 ABI class: XFree86 Server Extension, version 0.2 (II) Loading extension GLX [...] (II) LoadModule: "dri" (II) Loading /usr/X11R6/lib/modules/extensions/libdri.a (II) Module dri: vendor="The XFree86 Project" compiled for 4.3.99.902, module version = 1.0.0 ABI class: XFree86 Server Extension, version 0.2 (II) Loading sub module "drm" (II) LoadModule: "drm" (II) Loading /usr/X11R6/lib/modules/linux/libdrm.a (II) Module drm: vendor="The XFree86 Project" compiled for 4.3.99.902, module version = 1.0.0 ABI class: XFree86 Server Extension, version 0.2 (II) Loading extension XFree86-DRI (II) LoadModule: "i810" (II) Loading /usr/X11R6/lib/modules/drivers/i810_drv.o (II) Module i810: vendor="The XFree86 Project" compiled for 4.3.99.902, module version = 1.3.0 Module class: XFree86 Video Driver ABI class: XFree86 Video Driver, version 0.7 [...] (II) I810: Driver for Intel Integrated Graphics Chipsets: i810, i810-dc100, i810e, i815, i830M, 845G, 852GM/855GM, 865G (II) Primary Device is: PCI 00:02:0 (--) Chipset 865G found (II) resource ranges after xf86ClaimFixedResources() call: [...] (**) I810(0): Depth 16, (--) framebuffer bpp 16 (==) I810(0): RGB weight 565 (==) I810(0): Default visual is TrueColor (II) Loading sub module "int10" (II) LoadModule: "int10" (II) Reloading /usr/X11R6/lib/modules/linux/libint10.a (II) I810(0): initializing int10 (II) I810(0): Primary V_BIOS segment is: 0xc000 (II) I810(0): VESA BIOS detected (II) I810(0): VESA VBE Version 3.0 (II) I810(0): VESA VBE Total Mem: 8000 kB (II) I810(0): VESA VBE OEM: Intel(r)865G Graphics Chip Accelerated VGA BIOS (II) I810(0): VESA VBE OEM Software Rev: 1.0 (II) I810(0): VESA VBE OEM Vendor: Intel Corporation (II) I810(0): VESA VBE OEM Product: Intel(r)865G Graphics Controller (II) I810(0): VESA VBE OEM Product Rev: Hardware Version 0.0 (II) I810(0): Integrated Graphics Chipset: Intel(R) 865G (--) I810(0): Chipset: "865G" (--) I810(0): Linear framebuffer at 0xF0000000 (--) I810(0): IO registers at addr 0xFC400000 (II) I810(0): detected 8060 kB stolen memory. (II) I810(0): I830CheckAvailableMemory: 1205244 kB available (II) I810(0): Will attempt to tell the BIOS that there is 12288 kB VideoRAM (WW) I810(0): Extended BIOS function 0x5f11 not supported. (II) Loading sub module "int10" (II) LoadModule: "int10" (II) Reloading /usr/X11R6/lib/modules/linux/libint10.a (II) I810(0): initializing int10 (WW) I810(0): Bad V_BIOS checksum (II) I810(0): Primary V_BIOS segment is: 0xc000 (II) I810(0): VESA BIOS detected (II) I810(0): VESA VBE Version 3.0 (II) I810(0): VESA VBE Total Mem: 12288 kB (II) I810(0): VESA VBE OEM: Intel(r)865G Graphics Chip Accelerated VGA BIOS (II) I810(0): VESA VBE OEM Software Rev: 1.0 (II) I810(0): VESA VBE OEM Vendor: Intel Corporation (II) I810(0): VESA VBE OEM Product: Intel(r)865G Graphics Controller (II) I810(0): VESA VBE OEM Product Rev: Hardware Version 0.0 (II) I810(0): Tweak BIOS image to 12288 kB VideoRAM (--) I810(0): Pre-allocated VideoRAM: 8060 kByte (==) I810(0): VideoRAM: 32768 kByte (==) I810(0): video overlay key set to 0x83e (**) I810(0): page flipping disabled (--) I810(0): Maximum frambuffer space: 32616 kByte (==) I810(0): Using gamma correction (1.0, 1.0, 1.0) (II) I810(0): 1 display pipe available. (==) I810(0): Display Info: enabled. [...] (II) Loading sub module "int10" (II) LoadModule: "int10" (II) Reloading /usr/X11R6/lib/modules/linux/libint10.a (II) I810(0): initializing int10 (II) I810(0): Primary V_BIOS segment is: 0xc000 (II) I810(0): VESA BIOS detected (II) I810(0): VESA VBE Version 3.0 (II) I810(0): VESA VBE Total Mem: 8000 kB (II) I810(0): VESA VBE OEM: Intel(r)865G Graphics Chip Accelerated VGA BIOS (II) I810(0): VESA VBE OEM Software Rev: 1.0 (II) I810(0): VESA VBE OEM Vendor: Intel Corporation (II) I810(0): VESA VBE OEM Product: Intel(r)865G Graphics Controller (II) I810(0): VESA VBE OEM Product Rev: Hardware Version 0.0 (==) I810(0): Default visual is TrueColor (II) I810(0): Allocated 128 kB for the ring buffer at 0x0 (II) I810(0): Allocating at least 384 scanlines for pixmap cache (II) I810(0): Initial framebuffer allocation size: 5632 kByte (II) I810(0): Allocated 4 kB for HW cursor at 0x7fff000 (II) I810(0): Allocated 4 kB for Overlay registers at 0x7ffe000 (0x35f85001). (II) I810(0): Allocated 64 kB for the scratch buffer at 0x7fee000 drmOpenDevice: minor is 0 drmOpenDevice: node name is /dev/dri/card0 drmOpenDevice: open result is -1, (Unknown error 999) drmOpenDevice: open result is -1, (Unknown error 999) drmOpenDevice: Open failed drmOpenDevice: minor is 0 drmOpenDevice: node name is /dev/dri/card0 drmOpenDevice: open result is -1, (Unknown error 999) drmOpenDevice: open result is -1, (Unknown error 999) drmOpenDevice: Open failed drmOpenDevice: minor is 0 drmOpenDevice: node name is /dev/dri/card0 drmOpenDevice: open result is -1, (Unknown error 999) drmOpenDevice: open result is -1, (Unknown error 999) drmOpenDevice: Open failed drmOpenDevice: minor is 1 drmOpenDevice: node name is /dev/dri/card1 drmOpenDevice: open result is -1, (Unknown error 999) drmOpenDevice: open result is -1, (Unknown error 999) drmOpenDevice: Open failed drmOpenDevice: minor is 2 drmOpenDevice: node name is /dev/dri/card2 drmOpenDevice: open result is -1, (Unknown error 999) drmOpenDevice: open result is -1, (Unknown error 999) drmOpenDevice: Open failed [...] drmOpenDevice: minor is 14 drmOpenDevice: node name is /dev/dri/card14 drmOpenDevice: open result is -1, (Unknown error 999) drmOpenDevice: open result is -1, (Unknown error 999) drmOpenDevice: Open failed (II) I810(0): [drm] drmOpen failed (EE) I810(0): [dri] DRIScreenInit failed. Disabling DRI. (II) I810(0): Updated framebuffer allocation size from 5632 to 8192 kByte (II) I810(0): Updated pixmap cache from 384 scanlines to 1024 scanlines (II) I810(0): 0x83d6d8c: Memory at offset 0x00020000, size 8192 kBytes (II) I810(0): 0x83d6dac: Memory at offset 0x07fff000, size 4 kBytes (II) I810(0): 0x83d6dd0: Memory at offset 0x00000000, size 128 kBytes (II) I810(0): 0x83d6e00: Memory at offset 0x07fee000, size 64 kBytes (II) I810(0): 0x83d6e20: Memory at offset 0x07ffe000, size 4 kBytes (WW) I810(0): Failed to set up write-combining range (0xf0000000,0x8000000) (II) I810(0): vgaHWGetIOBase: hwp->IOBase is 0x03d0, hwp->PIOOffset is 0x0000 (II) I810(0): xf86BindGARTMemory: bind key 3 at 0x007df000 (pgoffset 2015) (II) I810(0): xf86BindGARTMemory: bind key 0 at 0x07fff000 (pgoffset 32767) (II) I810(0): xf86BindGARTMemory: bind key 2 at 0x07fee000 (pgoffset 32750) (II) I810(0): xf86BindGARTMemory: bind key 1 at 0x07ffe000 (pgoffset 32766) (WW) I810(0): PGTBL_ER is 0x00000011 (WW) I810(0): Extended BIOS function 0x5f05 failed. (WW) I810(0): Failed to set refresh rate to 98Hz. (II) I810(0): Display plane A is enabled. (II) I810(0): Display plane B is disabled. (II) I810(0): PIPEACONF is 0x80000000 (WW) I810(0): Correcting plane A stride (1280 -> 2048) (II) I810(0): Mode bandwidth is 78 Mpixel/s (II) I810(0): maxBandwidth is 1528 Mbyte/s, pipe bandwidths are 210 Mbyte/s, 0 Mbyte/s (WW) I810(0): Extended BIOS function 0x5f61 not supported. (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: 32 128x128 slots 16 256x256 slots 5 512x512 slots (==) I810(0): Backing store disabled (==) I810(0): Silken mouse enabled (II) I810(0): Initializing HW Cursor (**) Option "dpms" (**) I810(0): DPMS enabled (II) I810(0): direct rendering: Failed (WW) I810(0): Option "Rotate" is not used (**) RandR enabled (II) Initializing built-in extension MIT-SHM [...] (WW) I810(0): Setting the original video mode instead of restoring the saved state (II) I810(0): xf86UnbindGARTMemory: unbind key 3 (II) I810(0): xf86UnbindGARTMemory: unbind key 0 (II) I810(0): xf86UnbindGARTMemory: unbind key 2 (II) I810(0): xf86UnbindGARTMemory: unbind key 1 (WW) Open APM failed (/dev/apm_bios) (No such device) (II) I810(0): xf86BindGARTMemory: bind key 3 at 0x007df000 (pgoffset 2015) (II) I810(0): xf86BindGARTMemory: bind key 0 at 0x07fff000 (pgoffset 32767) (II) I810(0): xf86BindGARTMemory: bind key 2 at 0x07fee000 (pgoffset 32750) (II) I810(0): xf86BindGARTMemory: bind key 1 at 0x07ffe000 (pgoffset 32766) (WW) I810(0): PGTBL_ER is 0x00000011 (WW) I810(0): Extended BIOS function 0x5f05 failed. (WW) I810(0): Failed to set refresh rate to 98Hz. (II) I810(0): Display plane A is enabled. (II) I810(0): Display plane B is disabled. (II) I810(0): PIPEACONF is 0x80000000 (WW) I810(0): Correcting plane A stride (1280 -> 2048) (II) I810(0): Mode bandwidth is 78 Mpixel/s (II) I810(0): maxBandwidth is 1528 Mbyte/s, pipe bandwidths are 210 Mbyte/s, 0 Mbyte/s (WW) I810(0): Extended BIOS function 0x5f61 not supported. (II) Mouse[1]: ps2EnableDataReporting: succeeded (WW) I810(0): Setting the original video mode instead of restoring the saved state (II) I810(0): xf86UnbindGARTMemory: unbind key 3 (II) I810(0): xf86UnbindGARTMemory: unbind key 0 (II) I810(0): xf86UnbindGARTMemory: unbind key 2 (II) I810(0): xf86UnbindGARTMemory: unbind key 1 ### end /var/log/XFree86.0.log ###
It's time to try 3D acceleration on SuSE 9.1. I'm using an Intel 865G chip, and obtained the i915 driver from Intel's site at http://support.intel.com/support/graphics/sb/CS-010512.htm
I should mention that the whole reason I'm attempting to use the i915 driver, not tested by Intel on SuSE 9.1, is that I'm currently using the i810 driver, but DRI isn't working for me. If anyone can guess what the problem might be, based on the attached output, that would be great too. First, some facts:
YaST does report that acceleration is enabled for the card.
My XF86Config file does correctly reference the i810 driver in the "Device" section, as well as enabling the 'dri' and 'glx' modules.
According to http://www.xfree86.org/~dawes/845driver.html , the 'i810' driver is actually the XFree86 server driver, while the DRI/DRM kernel driver is 'i830'. /sbin/lsmod does show this loaded:
I don't know how good the support of the intel family is in XFree86. All major distributions have switched to Xorg, you should try this as well. Xorg is shipped beginning with SuSE 9.2. We have some 865G running with that release and they seem to work fine with DRI. The i810 XFree86/Xorg driver is responsible for all intel chips, so the configuration is fine.
drmOpenDevice: minor is 0 drmOpenDevice: node name is /dev/dri/card0 drmOpenDevice: open result is -1, (Unknown error 999) drmOpenDevice: open result is -1, (Unknown error 999) drmOpenDevice: Open failed [...] drmOpenDevice: minor is 14 drmOpenDevice: node name is /dev/dri/card14 drmOpenDevice: open result is -1, (Unknown error 999) drmOpenDevice: open result is -1, (Unknown error 999) drmOpenDevice: Open failed
Appearantly, XFree cannot talk to the kernel module. Maybe your kernel is too old? What does the syslog say? Matthias -- Matthias Hopf <mhopf@suse.de> /-- /-- /-- mat@mshopf.de Maxfeldstr. 5 / 90409 Nuernberg \-\ | | \-\ |-- www.mshopf.de Phone +49-911-74053-715 --/ \_/ --/ \-- labs
participants (2)
-
Forest Monsen
-
Matthias Hopf