i915 found but dri not working...
Gianmarco Giovannelli
gmarco at giovannelli.it
Sun May 28 23:29:41 PDT 2006
After the last commit my i915 graphic card is properly detected and, I think, attached ...
pci0: <ACPI PCI bus> on pcib0
agp0: <Intel 82915GM (915GM GMCH) SVGA controller> port 0x1800-0x1807 mem 0xb0080000-0xb00fffff,0xc0000000-0xcfffffff,0xb0000000-0xb003ffff irq 16 at device 2.0 on pci0
agp0: detected 7932k stolen memory
agp0: aperture size is 256M
drmsub0: <Intel i915GM>: (child of agp_i810.c) on agp0
info: [drm] AGP at 0xb0080000 0MB
info: [drm] Initialized i915 1.4.0 20060119
pci0: <display> at device 2.1 (no driver attached)
agp0 at pci0:2:0: class=0x030000 card=0x3080103c chip=0x25928086 rev=0x03 hdr=0x00
vendor = 'Intel Corporation'
device = '82915GM/GMS, 82910GML Integrated Graphics Device'
class = display
subclass = VGA
none0 at pci0:2:1: class=0x038000 card=0x3080103c chip=0x27928086 rev=0x03 hdr=0x00
vendor = 'Intel Corporation'
device = '82915GM/GMS,82910GML Mobile Express Family Graphics Controller (??)'
class = display
but dri continues to not work.
I have in my kernel:
[...]
device agp # support several AGP chipsets
device drm # DRM core module required by DRM drivers
device i915drm # Intel i830 through i915
[...]
# glxinfo
name of display: :0.0
display: :0 screen: 0
direct rendering: No
server glx vendor string: SGI
server glx version string: 1.2
server glx extensions:
GLX_ARB_multisample, GLX_EXT_visual_info, GLX_EXT_visual_rating,
GLX_EXT_import_context, GLX_OML_swap_method, GLX_SGI_make_current_read,
GLX_SGIS_multisample, GLX_SGIX_hyperpipe, GLX_SGIX_swap_barrier,
GLX_SGIX_fbconfig
client glx vendor string: SGI
client glx version string: 1.4
client glx extensions:
GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context,
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_allocate_memory,
GLX_MESA_swap_control, GLX_MESA_swap_frame_usage, GLX_OML_swap_method,
GLX_OML_sync_control, GLX_SGI_make_current_read, GLX_SGI_swap_control,
GLX_SGI_video_sync, GLX_SGIS_multisample, GLX_SGIX_fbconfig,
GLX_SGIX_pbuffer, GLX_SGIX_visual_select_group
GLX extensions:
GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context,
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_OML_swap_method,
GLX_SGI_make_current_read, GLX_SGIS_multisample, GLX_SGIX_fbconfig,
GLX_SGIX_visual_select_group
OpenGL vendor string: Mesa project: www.mesa3d.org
OpenGL renderer string: Mesa GLX Indirect
OpenGL version string: 1.2 (1.5 Mesa 6.4.1)
OpenGL extensions:
[...]
I have installed:
dri-6.2.20050719,1 DRI OpenGL drivers snapshot
and I have in my xorg.conf:
Section "Module"
Load "freetype"
Load "extmod"
Load "glx"
Load "dri"
Load "dbe"
Load "record"
Load "xtrap"
EndSection
and in my Xorg.log I found:
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 7, (OK)
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 7, (OK)
drmOpenByBusid: Searching for BusID pci:0000:00:02.0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 7, (OK)
drmOpenByBusid: drmOpenMinor returns 7
but glxgears reports:
1276 frames in 5.0 seconds = 252.701 FPS
1240 frames in 5.1 seconds = 245.529 FPS
1220 frames in 5.0 seconds = 243.443 FPS
1200 frames in 5.0 seconds = 239.097 FPS
1200 frames in 5.0 seconds = 239.866 FPS
1220 frames in 5.0 seconds = 243.112 FPS
Any idea and help ?
--
Best Regards,
Gianmarco Giovannelli
http://www.gufi.org/~gmarco
More information about the freebsd-multimedia
mailing list