Re: i915drm

2005-12-30 Thread Patrick Lamaizière
Le Vendredi 30 Décembre 2005 16:05, Gianmarco Giovannelli a écrit :

> Is there anyone here that can share it's
> xorg.conf to use something of the new accel features of the card.

There are only few parameters, see man i810
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: i915drm

2005-12-30 Thread Gianmarco Giovannelli

At 13.16 29/12/2005, you wrote:
>Le Jeudi 29 Décembre 2005 07:59, Gianmarco Giovannelli a écrit :
>
>> The plain xorg 6.8.2 seems not be able to
>> recognize the card (at least the mine).
>> Do you have used the patch :
>> http://apocalyptech.com/linux/nc6120/xorg-6.8.2-i810.patch
>> to compile it ?
>
>No it works out of the box for me.


Confirmed.
On my Fujitsu-Siemens lifebook p7010 (intel 
855GM) the same enviroment (xorg 6.8.2 , 
dri-devel, module i915 in the kernel) let me have 
about 750 fps. Not so much but enough to play 
quake3 on this ultralow voltage centrino box.


Is there anyone here that can share it's 
xorg.conf to use something of the new accel features of the card.


Thanks...

P.s.
I tried also the patch for xorg 6.8.2 for using 
the i915 card but without any success to let it use the dri.

Someone is taking care of this iussue ? :-)

Happy New Year to everyone !!!

Best Regards,
Gianmarco Giovannelli ,  "Unix expert since yesterday"
http://utenti.gufi.org/~gmarco/

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: i915drm

2005-12-29 Thread Patrick Lamaizière
Le Jeudi 29 Décembre 2005 07:59, Gianmarco Giovannelli a écrit :

> The plain xorg 6.8.2 seems not be able to
> recognize the card (at least the mine).
> Do you have used the patch :
> http://apocalyptech.com/linux/nc6120/xorg-6.8.2-i810.patch
> to compile it ?

No it works out of the box for me.

> I think there is a big confusion about this new module (i915).

Yes, may be there are many different chipsets for this module ?

> I hope that someone (Eric ?:-) take care of all this iussue as ap :-) 
>
> Happy new year to everyone 

Thanks. 
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: i915drm

2005-12-28 Thread Gianmarco Giovannelli

At 22.16 27/12/2005, Patrick Lamaizière wrote:

>With the patch from Alexey Popov (ftp://213.85.11.250/pub/drm3.patch) i've
>got the good device /dev/dri/card0
>
>> Are you sure that you're using the latest RELENG_6 _and_
>> the latest Xorg development snapshot?  You need both for
>> things to work correctly.
>
>Yes i run 6.0-STABLE, graphics/dri-devel (dri-6.2.20050719,1) and
>x11-server/xorg-server-snap (xorg-server-6.8.99.903)
>
>With xorg-server-snap i've got the problem :
>$ glxgears
>ERROR: line 125, Function intelInitDriver, File intel_screen.c
>
>It seems better with xorg-6.8.2, dri is enabled and glxgears reports a FPS
>~1200. I've got 500 FPS without DRI.

The plain xorg 6.8.2 seems not be able to 
recognize the card (at least the mine).

Do you have used the patch :
http://apocalyptech.com/linux/nc6120/xorg-6.8.2-i810.patch
to compile it ?

I think there is a big confusion about this new module (i915).
I hope that someone (Eric ?:-) take care of all this iussue asap :-)

Happy new year to everyone 


Best Regards,
Gianmarco Giovannelli ,  "Unix expert since yesterday"
http://utenti.gufi.org/~gmarco/

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: i915drm

2005-12-27 Thread Patrick Lamaizière
Le Lundi 19 Décembre 2005 21:35, Oliver Fromme  :

> Patrick Lamaizière <[EMAIL PROTECTED]> wrote:
>  > But dri does not work, Xorg seems to look for a /dev/dri/card0 and
>  > i've got only one device /dev/dri/card1 ?

> Strange.  It works fine for me:

With the patch from Alexey Popov (ftp://213.85.11.250/pub/drm3.patch) i've 
got the good device /dev/dri/card0

> Are you sure that you're using the latest RELENG_6 _and_
> the latest Xorg development snapshot?  You need both for
> things to work correctly.

Yes i run 6.0-STABLE, graphics/dri-devel (dri-6.2.20050719,1) and 
x11-server/xorg-server-snap (xorg-server-6.8.99.903)

With xorg-server-snap i've got the problem :
$ glxgears
ERROR: line 125, Function intelInitDriver, File intel_screen.c

It seems better with xorg-6.8.2, dri is enabled and glxgears reports a FPS 
~1200. I've got 500 FPS without DRI.

more info about the chipset:
[EMAIL PROTECTED]:2:0:  class=0x03 card=0x01641028 chip=0x35828086 rev=0x02 
hdr=0x00
vendor   = 'Intel Corporation'
device   = '82852GM/GME/GMV/PM, 855GM/GME Montara Integrated Graphics 
Device'
class= display
subclass = VGA

Thanks.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: i915drm

2005-12-23 Thread László Károly
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

dawnshade wrote:
> On Friday 23 December 2005 08:11, Gianmarco Giovannelli wrote:
> 
>>At 08.10 22/12/2005, dawnshade wrote:
>> >On Thursday 22 December 2005 04:22, Gianmarco Giovannelli wrote:
>> >> It seems to me that also Oliver has the same bug (0M) on his 915GM
>> >>  Any other with with centrino based 915 card can confirm this ?
>> >
>> >for me works fine:
>> >
>> >dmesg |grep -E 'drm|agp'
>> >agp0:  port 0xe000-0xe007 mem
>> >0xd000-0xd007,0xa000-0xafff,0xd008-0xd00b irq 5
>> > at device 2.0 on pci0
>> >agp0: detected 7932k stolen memory
>> >agp0: aperture size is 256M
>> >drmsub0: : (child of agp_i810.c) on agp0
>> >info: [drm] AGP at 0xd000 0MB
>> >info: [drm] Initialized i915 1.2.0 20041217
>>
>>Uhm... you have the same 0M of me :-)
>>Have you tried glxgears ?
>>What are your results ?
> 
> 
> glxinfo:
> 
> name of display: :0.0
> display: :0  screen: 0
> direct rendering: Yes
> server glx vendor string: SGI
> 
> 
>> >try to upgrade port dri to dri-devel
>> >I have the same situation - glxinfo shows that dri disabled, after 
>>portupgrade
>> >-f -o graphics/dri-devel dri glxgears shown 1128.200 FPS (was ~300 and ~600
>> >w/o dri)
>>
>>Oops I don't remember about this.
>>Can you please told me which versions (dri-devel, xorg) do you have 
>>(because I am running dri-devel !!! :-) ?
> 
> 
>  pkg_info |grep dri
> dri-6.2.20050719,1  DRI OpenGL drivers snapshot
> linux_dri-4.4.0 Binary Linux DRI libraries for 3D hardware acceleration of
> 
> pkg_info |grep xorg
> xorg-6.8.2  X.Org distribution metaport
> xorg-clients-6.8.2  X client programs and related files from X.Org
> xorg-documents-6.8.2 Documentation of X11 protocol and libraries from X.Org
> xorg-fonts-100dpi-6.8.2 X.Org 100dpi bitmap fonts
> xorg-fonts-75dpi-6.8.2 X.Org 75dpi bitmap fonts
> xorg-fonts-cyrillic-6.8.2 X.Org Cyrillic bitmap fonts
> xorg-fonts-encodings-6.8.2 X.Org font encoding files
> xorg-fonts-miscbitmaps-6.8.2 X.Org miscellaneous bitmap fonts
> xorg-fonts-truetype-6.8.2 X.Org TrueType fonts
> xorg-fonts-type1-6.8.2 X.Org Type1 fonts
> xorg-fontserver-6.8.2 X font server from X.Org
> xorg-libraries-6.8.2 X11 libraries and headers from X.Org
> xorg-manpages-6.8.2 X.Org library manual pages
> xorg-nestserver-6.8.2 Nesting X server from X.Org
> xorg-printserver-6.8.2_2 X Print server from X.Org
> xorg-server-6.8.99.16_1 X.Org X server development snapshot and related 
> programs
> xorg-vfbserver-6.8.2 X virtual framebuffer server from X.Org
> 
> 
So the combination of dri-devel and xorg-6.8.99.16_1 works fine. For me
the latest xorg-snap (903) does not work. Anyway here is a path for the
vanilla xorg 6.8.2, it works:
http://apocalyptech.com/linux/nc6120/xorg-6.8.2-i810.patch

Best, Laci

- --
László Károly   <[EMAIL PROTECTED]>
Department of Altaic StudiesEgyetem str. 2.
University of Szeged H-6722 Szeged, Hungary


PGP/GnuPG key: 1024D/869D81C5
Fingerprint: 1E61 3205 8F5A 87E7 1269  3396 1C63 F9FF 869D 81C5
Encrypted e-mail preferred.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2 (FreeBSD)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDrABuHGP5/4adgcURAkBpAJ9wjYqt9QCnTCAJTssO9H6argIM2ACfSKjd
xR1Y/REFY5Be0O7bLE2+EJI=
=iRsr
-END PGP SIGNATURE-
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: i915drm

2005-12-22 Thread dawnshade
On Friday 23 December 2005 08:11, Gianmarco Giovannelli wrote:
> At 08.10 22/12/2005, dawnshade wrote:
>  >On Thursday 22 December 2005 04:22, Gianmarco Giovannelli wrote:
>  >> It seems to me that also Oliver has the same bug (0M) on his 915GM
>  >>  Any other with with centrino based 915 card can confirm this ?
>  >
>  >for me works fine:
>  >
>  >dmesg |grep -E 'drm|agp'
>  >agp0:  port 0xe000-0xe007 mem
>  >0xd000-0xd007,0xa000-0xafff,0xd008-0xd00b irq 5
>  > at device 2.0 on pci0
>  >agp0: detected 7932k stolen memory
>  >agp0: aperture size is 256M
>  >drmsub0: : (child of agp_i810.c) on agp0
>  >info: [drm] AGP at 0xd000 0MB
>  >info: [drm] Initialized i915 1.2.0 20041217
>
> Uhm... you have the same 0M of me :-)
> Have you tried glxgears ?
> What are your results ?

glxinfo:

name of display: :0.0
display: :0  screen: 0
direct rendering: Yes
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_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_MESA_allocate_memory,
GLX_OML_swap_method, GLX_SGI_make_current_read, GLX_SGIS_multisample,
GLX_SGIX_fbconfig, GLX_SGIX_visual_select_group
OpenGL vendor string: Tungsten Graphics, Inc
OpenGL renderer string: Mesa DRI Intel(R) 915GM 20050225
OpenGL version string: 1.3 Mesa 6.3
OpenGL extensions:
GL_ARB_depth_texture, GL_ARB_fragment_program, GL_ARB_imaging,
GL_ARB_multisample, GL_ARB_multitexture, GL_ARB_point_parameters,
GL_ARB_shadow, GL_ARB_texture_border_clamp, GL_ARB_texture_compression,
GL_ARB_texture_cube_map, GL_ARB_texture_env_add,
GL_ARB_texture_env_combine, GL_ARB_texture_env_dot3,
GL_ARB_texture_mirrored_repeat, GL_ARB_texture_rectangle,
GL_ARB_transpose_matrix, GL_ARB_vertex_buffer_object,
GL_ARB_vertex_program, GL_ARB_window_pos, GL_EXT_abgr, GL_EXT_bgra,
GL_EXT_blend_color, GL_EXT_blend_equation_separate,
GL_EXT_blend_func_separate, GL_EXT_blend_minmax, GL_EXT_blend_subtract,
GL_EXT_clip_volume_hint, GL_EXT_cull_vertex, GL_EXT_compiled_vertex_array,
GL_EXT_convolution, GL_EXT_copy_texture, GL_EXT_draw_range_elements,
GL_EXT_fog_coord, GL_EXT_histogram, GL_EXT_multi_draw_arrays,
GL_EXT_packed_pixels, GL_EXT_point_parameters, GL_EXT_polygon_offset,
GL_EXT_rescale_normal, GL_EXT_secondary_color,
GL_EXT_separate_specular_color, GL_EXT_shadow_funcs, GL_EXT_stencil_wrap,
GL_EXT_subtexture, GL_EXT_texture, GL_EXT_texture3D,
GL_EXT_texture_edge_clamp, GL_EXT_texture_env_add,
GL_EXT_texture_env_combine, GL_EXT_texture_env_dot3,
GL_EXT_texture_filter_anisotropic, GL_EXT_texture_lod_bias,
GL_EXT_texture_object, GL_EXT_texture_rectangle, GL_EXT_vertex_array,
GL_3DFX_texture_compression_FXT1, GL_APPLE_client_storage,
GL_APPLE_packed_pixels, GL_ATI_blend_equation_separate,
GL_IBM_rasterpos_clip, GL_IBM_texture_mirrored_repeat,
GL_INGR_blend_func_separate, GL_MESA_pack_invert, GL_MESA_ycbcr_texture,
GL_MESA_window_pos, GL_NV_blend_square, GL_NV_light_max_exponent,
GL_NV_texture_rectangle, GL_NV_texgen_reflection, GL_NV_vertex_program,
GL_NV_vertex_program1_1, GL_OES_read_format, GL_SGI_color_matrix,
GL_SGI_color_table, GL_SGIS_generate_mipmap, GL_SGIS_texture_border_clamp,
GL_SGIS_texture_edge_clamp, GL_SGIS_texture_lod, GL_SGIX_depth_texture,
GL_SUN_multi_draw_arrays
glu version: 1.3
glu extensions:
GLU_EXT_nurbs_tessellator, GLU_EXT_object_space_tess

   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
--
0x23 24 tc  0 32  0 r  y  .  8  8  8  8  0  0  0  0  0  0  0  0 0 None
0x24 24 tc  0 32  0 r  .  .  8  8  8  8  0  0  0  0  0  0  0  0 0 None
0x25 24 tc  0 32  0 r  y  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0x26 24 tc  0 32  0 r  .  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0x27 24 tc  0 32  0 r  y  .  8  8  8  8  0  0  0 16 16 16 16  0 0 Slow
0x28 24 tc  0 32  0 r  .  .  8  8  8  8  0  0  0 16 16 16 16  0 0 Slow
0x29 24 tc  0 32  0 r  y  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
0x2a 24 tc  0 32  0 r  .  .  8  8  8  8  0 24  8 16 

Re: i915drm

2005-12-22 Thread Gianmarco Giovannelli

At 13.00 20/12/2005, dawnshade wrote:
>On Tuesday 20 December 2005 11:37, Gianmarco Giovannelli wrote:
>> hp:/home/gmarco> glxgears
>> ERROR: line 125, Function intelInitDriver, File intel_screen.c
>> libGL warning: 3D driver returned no fbconfigs.
>> libGL error: InitDriver failed
>> libGL error: reverting to (slow) indirect rendering
>> 1024 frames in 5.0 seconds = 204.800 FPS
>> 1260 frames in 5.0 seconds = 252.000 FPS
>> 1267 frames in 5.0 seconds = 253.400 FPS
>>
>> (before patch it used to be about 600)
>
>try to upgrade port dri to dri-devel
>I have the same situation - glxinfo shows that dri disabled, after 
portupgrade

>-f -o graphics/dri-devel dri glxgears shown 1128.200 FPS (was ~300 and ~600
>w/o dri)

Oops I don't remember about this.
Can you please told me which versions (dri-devel, xorg) do you have 
(because I am running dri-devel !!! :-) ?



Best Regards,
Gianmarco Giovannelli ,  "Unix expert since yesterday"
http://utenti.gufi.org/~gmarco/

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: i915drm

2005-12-22 Thread Gianmarco Giovannelli

At 08.10 22/12/2005, dawnshade wrote:
>On Thursday 22 December 2005 04:22, Gianmarco Giovannelli wrote:
>> It seems to me that also Oliver has the same bug (0M) on his 915GM
>>  Any other with with centrino based 915 card can confirm this ?
>
>for me works fine:
>
>dmesg |grep -E 'drm|agp'
>agp0:  port 0xe000-0xe007 mem
>0xd000-0xd007,0xa000-0xafff,0xd008-0xd00b irq 5 at
>device 2.0 on pci0
>agp0: detected 7932k stolen memory
>agp0: aperture size is 256M
>drmsub0: : (child of agp_i810.c) on agp0
>info: [drm] AGP at 0xd000 0MB
>info: [drm] Initialized i915 1.2.0 20041217

Uhm... you have the same 0M of me :-)
Have you tried glxgears ?
What are your results ?


Best Regards,
Gianmarco Giovannelli ,  "Unix expert since yesterday"
http://utenti.gufi.org/~gmarco/

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: i915drm

2005-12-21 Thread dawnshade
On Thursday 22 December 2005 04:22, Gianmarco Giovannelli wrote:
> It seems to me that also Oliver has the same bug (0M) on his 915GM
>  Any other with with centrino based 915 card can confirm this ?

for me works fine:

dmesg |grep -E 'drm|agp'
agp0:  port 0xe000-0xe007 mem 
0xd000-0xd007,0xa000-0xafff,0xd008-0xd00b irq 5 at 
device 2.0 on pci0
agp0: detected 7932k stolen memory
agp0: aperture size is 256M
drmsub0: : (child of agp_i810.c) on agp0
info: [drm] AGP at 0xd000 0MB
info: [drm] Initialized i915 1.2.0 20041217

[EMAIL PROTECTED]:2:0:  class=0x03 card=0x007a1025 chip=0x25928086 rev=0x03 
hdr=0x00
vendor   = 'Intel Corporation'
device   = '82915GM/GMS, 82910GML Integrated Graphics Device'
class= display
subclass = VGA

6-Stable, after MFC i915drm code.
Acer TM 4151LMi

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: i915drm

2005-12-21 Thread Gianmarco Giovannelli

At 12.54 21/12/2005, you wrote:

Hi.

Alexey Popov wrote:

 >> > error: [drm:pid0:drm_load] *ERROR* Card isn't AGP, or couldn't
  i915 DRM is not fully supported in -stable. You may try 7-current or
  this hack: ftp://213.85.11.250/pub/drm3.patch .
 >>> I have applied the patch et voila' :-)
 >>> drmsub0: : (child of agp_i810.c) on agp0
 >>> info: [drm] AGP at 0xb008 0MB

Not sure, but I think "0MB" here is weird.

Full output (from Gianmarco):
pci0:  on pcib0
agp0:  port 
0x1800-0x1807 mem 
0xb008-0xb00f,0xc000-0xcfff,0xb000-0xb003 
irq 16 at device 2.0 on pci0

agp0: detected 7932k stolen memory
agp0: aperture size is 256M
drmsub0: : (child of agp_i810.c) on agp0
info: [drm] AGP at 0xb008 0MB
info: [drm] Initialized i915 1.2.0 20041217
pci0:  at device 2.1 (no driver attached)

Aperture size 256MB should be printed here instead of 0MB. There is 
three different i915gm with this bug reported: 
http://freebsd.rambler.ru/bsdmail/freebsd-stable_curr/msg3.html

I think this bug is i915gm only, but have no hardware to dig in.


I reply also in this list for the people not subscribed to the x11 list :-)
It seems to me that also Oliver has the same bug (0M) on his 915GM 
... Any other with with centrino based 915 card can confirm this ?


If someone need a tester to fix it I am ready to help.





Best Regards,
Gianmarco Giovannelli ,  "Unix expert since yesterday"
http://utenti.gufi.org/~gmarco/

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: i915drm

2005-12-21 Thread Alexey Popov

Hi.

Gianmarco Giovannelli wrote:

 >> > error: [drm:pid0:drm_load] *ERROR* Card isn't AGP, or couldn't
  i915 DRM is not fully supported in -stable. You may try 7-current or
  this hack: ftp://213.85.11.250/pub/drm3.patch .
 >>> I have applied the patch et voila' :-)
 >>> drmsub0: : (child of agp_i810.c) on agp0
 >>> info: [drm] AGP at 0xb008 0MB
 >>> info: [drm] Initialized i915 1.2.0 20041217
 >>> hp:/home/gmarco> glxgears
 >>> ERROR: line 125, Function intelInitDriver, File intel_screen.c
 >> Works for me with graphics/dri-devel and x11-server/xorg-server
 >The combination of graphics/dri-devel and x11-servers/xorg-server is not
 >suitable for i915gm. This chip is only supported by
 >x11-servers/xorg-server-snap. However it does not work well with either
 >graphics/dri-devel or dri from cvs (as of today).
Infact I have tried all the combinations me too, but I found that plain 
xorg 6.8.2 doesn't work after the patch (it seems to remember it used to 
work before, but I can be wrong) and with the latest snapshot (903) the 
latest dri produces the error  above resulting slover than before the 
patch.

Is there any diagnostics on how plain xorg doesn't work?

Personally I just made patch for successfully initializing i915.ko. I 
think, freebsd-x11 is better list for this thread. May be Eric can 
say something?


With best regards,
Alexey Popov
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: i915drm

2005-12-20 Thread Gianmarco Giovannelli

At 23.56 20/12/2005, you wrote:

>> > error: [drm:pid0:drm_load] *ERROR* Card isn't AGP, or couldn't

 i915 DRM is not fully supported in -stable. You may try 7-current or
 this hack: ftp://213.85.11.250/pub/drm3.patch .
>>>
>>> I have applied the patch et voila' :-)
>>> drmsub0: : (child of agp_i810.c) on agp0
>>> info: [drm] AGP at 0xb008 0MB
>>> info: [drm] Initialized i915 1.2.0 20041217
>>> hp:/home/gmarco> glxgears
>>> ERROR: line 125, Function intelInitDriver, File intel_screen.c
>>
>> This looks like incompatibility between graphics/dri and xorg-server.
>> See this thread:
>> http://freebsd.rambler.ru/bsdmail/freebsd-x11_2005/msg00907.html
>> Works for me with graphics/dri-devel and x11-server/xorg-server
>>
>The combination of graphics/dri-devel and x11-servers/xorg-server is not
>suitable for i915gm. This chip is only supported by
>x11-servers/xorg-server-snap. However it does not work well with either
>graphics/dri-devel or dri from cvs (as of today).

Infact I have tried all the combinations me too, but I found that 
plain xorg 6.8.2 doesn't work after the patch (it seems to remember 
it used to work before, but I can be wrong) and with the latest 
snapshot (903) the latest dri produces the error  above resulting 
slover than before the patch.


Any other idea/test/patch ?
Let's keep fighting ... :-)

Best Regards,
Gianmarco Giovannelli ,  "Unix expert since yesterday"
http://utenti.gufi.org/~gmarco/

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: i915drm

2005-12-20 Thread Gianmarco Giovannelli

At 23.56 20/12/2005, you wrote:

>> > error: [drm:pid0:drm_load] *ERROR* Card isn't AGP, or couldn't

 i915 DRM is not fully supported in -stable. You may try 7-current or
 this hack: ftp://213.85.11.250/pub/drm3.patch .
>>>
>>> I have applied the patch et voila' :-)
>>> drmsub0: : (child of agp_i810.c) on agp0
>>> info: [drm] AGP at 0xb008 0MB
>>> info: [drm] Initialized i915 1.2.0 20041217
>>> hp:/home/gmarco> glxgears
>>> ERROR: line 125, Function intelInitDriver, File intel_screen.c
>>
>> This looks like incompatibility between graphics/dri and xorg-server.
>> See this thread:
>> http://freebsd.rambler.ru/bsdmail/freebsd-x11_2005/msg00907.html
>> Works for me with graphics/dri-devel and x11-server/xorg-server
>>
>The combination of graphics/dri-devel and x11-servers/xorg-server is not
>suitable for i915gm. This chip is only supported by
>x11-servers/xorg-server-snap. However it does not work well with either
>graphics/dri-devel or dri from cvs (as of today).

Infact I have tried all the combinations me too, but I found that 
plain xorg 6.8.2 doesn't work after the patch (it seems to remember 
it used to work before, but I can be wrong) and with the latest 
snapshot (903) the latest dri produces the error  above resulting 
slover than before the patch.


Any other idea/test/patch ?
Let's keep fighting ... :-)


Best Regards,
Gianmarco Giovannelli ,  "Unix expert since yesterday"
http://utenti.gufi.org/~gmarco/

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: i915drm

2005-12-20 Thread László Károly
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Alexey Popov wrote:
> Hi.
> 
> Gianmarco Giovannelli wrote:
> 
> > error: [drm:pid0:drm_load] *ERROR* Card isn't AGP, or couldn't 
>>>
>>> i915 DRM is not fully supported in -stable. You may try 7-current or
>>> this hack: ftp://213.85.11.250/pub/drm3.patch .
>>
>> I have applied the patch et voila' :-)
>> drmsub0: : (child of agp_i810.c) on agp0
>> info: [drm] AGP at 0xb008 0MB
>> info: [drm] Initialized i915 1.2.0 20041217
>> hp:/home/gmarco> glxgears
>> ERROR: line 125, Function intelInitDriver, File intel_screen.c
> 
> This looks like incompatibility between graphics/dri and xorg-server.
> See this thread:
> http://freebsd.rambler.ru/bsdmail/freebsd-x11_2005/msg00907.html
> Works for me with graphics/dri-devel and x11-server/xorg-server
> 
The combination of graphics/dri-devel and x11-servers/xorg-server is not
suitable for i915gm. This chip is only supported by
x11-servers/xorg-server-snap. However it does not work well with either
graphics/dri-devel or dri from cvs (as of today).

Any idea?

Best, Laci

- --
László Károly   <[EMAIL PROTECTED]>
Department of Altaic StudiesEgyetem str. 2.
University of Szeged H-6722 Szeged, Hungary


PGP/GnuPG key: 1024D/869D81C5
Fingerprint: 1E61 3205 8F5A 87E7 1269  3396 1C63 F9FF 869D 81C5
Encrypted e-mail preferred.

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2 (FreeBSD)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDqIwwHGP5/4adgcURAmoSAJ0Tr5UwwA3fl8akGg8lH83N4Km32QCfT97E
abCFhp+R/kC0EFBI89YI+2Y=
=RCvf
-END PGP SIGNATURE-
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: i915drm

2005-12-20 Thread dawnshade
On Tuesday 20 December 2005 11:37, Gianmarco Giovannelli wrote:
> hp:/home/gmarco> glxgears
> ERROR: line 125, Function intelInitDriver, File intel_screen.c
> libGL warning: 3D driver returned no fbconfigs.
> libGL error: InitDriver failed
> libGL error: reverting to (slow) indirect rendering
> 1024 frames in 5.0 seconds = 204.800 FPS
> 1260 frames in 5.0 seconds = 252.000 FPS
> 1267 frames in 5.0 seconds = 253.400 FPS
>
> (before patch it used to be about 600)

try to upgrade port dri to dri-devel
I have the same situation - glxinfo shows that dri disabled, after portupgrade 
-f -o graphics/dri-devel dri glxgears shown 1128.200 FPS (was ~300 and ~600 
w/o dri)

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: i915drm

2005-12-20 Thread Alexey Popov

Hi.

Gianmarco Giovannelli wrote:
> error: [drm:pid0:drm_load] *ERROR* Card isn't AGP, or couldn't 
i915 DRM is not fully supported in -stable. You may try 7-current or 
this hack: ftp://213.85.11.250/pub/drm3.patch .

I have applied the patch et voila' :-)
drmsub0: : (child of agp_i810.c) on agp0
info: [drm] AGP at 0xb008 0MB
info: [drm] Initialized i915 1.2.0 20041217
hp:/home/gmarco> glxgears
ERROR: line 125, Function intelInitDriver, File intel_screen.c
This looks like incompatibility between graphics/dri and xorg-server. 
See this thread: 
http://freebsd.rambler.ru/bsdmail/freebsd-x11_2005/msg00907.html

Works for me with graphics/dri-devel and x11-server/xorg-server

With best regards,
Alexey Popov
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: i915drm

2005-12-20 Thread Gianmarco Giovannelli

At 08.04 20/12/2005, you wrote:

Hi.

László Károly wrote:

> drmsub0:  port 0x1800-0x1807 mem
> 
0xb008-0xb00f,0xc000-0xcfff,0xb000-0xb003 irq 16 at

> device 2.0 on pci0
> error: [drm:pid0:drm_load] *ERROR* Card 
isn't AGP, or couldn't initialize AGP.

> device_attach: drmsub0 attach returned 12
> pci0:  at device 2.1 (no driver attached)
i915 DRM is not fully supported in -stable. You 
may try 7-current or this hack: ftp://213.85.11.250/pub/drm3.patch .


Thanks for the input.

I have applied the patch et voila' :-)

pci0:  on pcib0
agp0: controller> port 0x1800-0x1807 mem 
0xb008-0xb00f,0xc000-0xcfff,0xb000-0xb003 
irq 16 at device 2.0 on pci0

agp0: detected 7932k stolen memory
agp0: aperture size is 256M
drmsub0: : (child of agp_i810.c) on agp0
info: [drm] AGP at 0xb008 0MB
info: [drm] Initialized i915 1.2.0 20041217
pci0:  at device 2.1 (no driver attached)

Uhm... we are a very big step ahead :-)

But ...

hp:/home/gmarco> glxgears
ERROR: line 125, Function intelInitDriver, File intel_screen.c
libGL warning: 3D driver returned no fbconfigs.
libGL error: InitDriver failed
libGL error: reverting to (slow) indirect rendering
1024 frames in 5.0 seconds = 204.800 FPS
1260 frames in 5.0 seconds = 252.000 FPS
1267 frames in 5.0 seconds = 253.400 FPS

(before patch it used to be about 600)

and 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:
[...]

even if the xorg.log:
(II) Loading sub module "int10"
(II) LoadModule: "int10"
(II) Reloading /usr/X11R6/lib/modules/libint10.so
(II) I810(0): initializing int10
(==) I810(0): Write-combining range (0xa,0x2) was already clear
(WW) I810(0): Bad V_BIOS checksum
(II) I810(0): Primary V_BIOS segment is: 0xc000
(==) I810(0): Write-combining range (0x0,0x1000) was already clear
(II) I810(0): VESA BIOS detected
(II) I810(0): VESA VBE Version 3.0
(II) I810(0): VESA VBE Total Mem: 7872 kB
(II) I810(0): VESA VBE OEM: 
Intel(r)915GM/910ML/915MS 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)915GM/910ML/915MS Graphics Controller

(II) I810(0): VESA VBE OEM Product Rev: Hardware Version 0.0
(II) I810(0): Allocated 128 kB for the ring buffer at 0x0
(II) I810(0): Allocating at least 256 scanlines for pixmap cache
(II) I810(0): Initial framebuffer allocation size: 8192 kByte
(II) I810(0): Allocated 4 kB for HW cursor at 0x000 (0x2e3c)
(WW) I810(0): xf86AllocateGARTMemory: allocation of 4 pages failed
(Cannot allocate memory)
(EE) I810(0): Failed to allocate HW (ARGB) cursor space.
(II) I810(0): Allocated 4 kB for Overlay registers at 0xfffe000 (0x2e9a1000).
(II) I810(0): Allocated 64 kB for the scratch buffer at 0xffee000
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::00:02.0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 7, (OK)
drmOpenByBusid: drmOpenMinor returns 7
drmOpenByBusid: drmGetBusid reports pci::00:02.0
(II) I810(0): [drm] DRM interface version 1.2
(II) I810(0): [drm] created "i915" driver at busid "pci::00:02.0"
(II) I810(0): [drm] added 8192 byte SAREA at 0xc4d8
(II) I810(0): [drm] mapped SAREA 0xc4d8 to 0x286c9000
(II) I810(0): [drm] framebuffer handle = 0xc002
(II) I810(0): [drm] added 1 reserved context for kernel
(II) I810(0): Allocated 6144 kB for the back buffer at 0xf00.
(II) I810(0): Allocated 6144 kB for the depth buffer at 0xe80.
(II) I810(0): Allocated 32 kB for the logical context at 0xe7f8000.
(II) I810(0): Allocated 44800 kB for textures at 0x82
(II) I810(0): Updated framebuffer allocation size from 8192 to 8216 kByte
(II) I810(0): Updated pixmap cache from 256 scanlines to 259 scanlines
(II) I810(0): 0x81e592c: Memory at offset 0x0002, size 8216 kBytes
(II) I810(0): 0x81e3320: Memory at offset 0x0000, size 4 kBytes
(II) I810(0): 0x81e3340: Memory at offset 0x, size 0 kBytes
(II) I810(0): 0x81e0f84: Memory at offset 0x, size 128 kBytes
(II) I810(0): 0x81e596c: Memory at offset 0x0ffee000, size 64 kBytes
(II) I810(0): 0x81e3360: Memory at offset 0x0fffe000, size 4 kBytes
(II) I810(0): 0x81e59bc: Memory at offset 0x0f00, size 6144 kBytes
(II) I810(0): 0x81e59dc: Memory at offset 0x0e80, size 6144 kBytes
(II) I810(0): 0x81e5a1c: Memory at offset 0x0e7f8000, size 32 kBytes
(II) I810(0): 0x81e59fc: Memory at offset 0x0082, size 44800 kBytes
(II) I810(0): Activating tiled memory for the back buffer.
(II) I810(0): Activating tiled memory for the depth buffer.
(II) I810(0): [drm] Registers = 0xb008
(II) I810(0): [drm] Back Buffer = 0xcf00
(II) I810(0): [drm] Depth Buffer = 0xce80
(I

Re: i915drm

2005-12-20 Thread Gianmarco Giovannelli

At 21.29 19/12/2005, Oliver Fromme wrote:
>Gianmarco <[EMAIL PROTECTED]> wrote:
> > I am running FreeBSD 6.0-STABLE (of today) on a HP Pavillon 
(centrino based

> > notebook with i915 graphic chipset).
>
>Same here (Centrino, i915, not HP though).
>
> > I am trying to use the latest drm hook for i915, but I get this error:
> >
>Is there any mentioning of an AGP device (agp0) in your
>dmesg?  If not, then that's probably the problem.  It
>is interesting that your drmsub0 comes directly as a
>child of pci0.  On my machine, it's a child of agp0.
>
>I get this in dmesg:
>
>agp0:  port 0x1800-0x1807
>  mem 0xb008-0xb00f,0xc000-0xcfff,0xb000-0xb003
>  irq 16 at device 2.0 on pci0
>agp0: detected 7932k stolen memory
>agp0: aperture size is 256M
>drmsub0: : (child of agp_i810.c) on agp0
>info: [drm] AGP at 0xb008 0MB
>info: [drm] Initialized i915 1.2.0 20041217
>pci0:  at device 2.1 (no driver attached)
>
>That's with RELENG_6 from yesterday (Dec. 18, 12:00 GMT).
>(By the way, it's normal that no driver is reported to be
>attached to device 2.1.)

Uhm.. I don't have the agp part...
Should be my i915 not an agp card but i.e a pci express bus device ?
In this case should I put in my kernel the agp device the same ?

FreeBSD 6.0-STABLE #2: Sat Dec 17 10:38:28 CET 2005
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/FREEBSD
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Pentium(R) M processor 1.73GHz (1729.13-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x6d8  Stepping = 8
  
Features=0xafe9fbff
  Features2=0x180
  AMD Features=0x10
real memory  = 1064173568 (1014 MB)
avail memory = 1036627968 (988 MB)
[...]
pcib0:  port 0xcf8-0xcff on acpi0
pci0:  on pcib0
drmsub0:  port 0x1800-0x1807 mem 
0xb008-0xb00f,0xc000-0xcfff,0xb000-0xb003 irq 
16 at device 2.0 on pci0

error: [drm:pid0:drm_load] *ERROR* Card isn't AGP, or couldn't initialize AGP.
device_attach: drmsub0 attach returned 12
pci0:  at device 2.1 (no driver attached)
[...]
vga0:  at port 0x3c0-0x3df iomem 0xa-0xb on isa0

>I'm using the latest Xorg development snapshot, which runs
>fine, including 2D acceleration, hardware cursor and XVideo
>extension with hardware acceleration (i.e. hardware scaler
>and color space conversion).  No problems whatsoever.

Can you post your xorg.conf ? I am using it too (6.8.99.903) .
I'd like to use the 3d accel mostly to play (i.e. Quake III :-)

> > device  agp # support several AGP chipsets
> > device  drm # DRM core module required by DRM drivers
> > device  i915drm # Intel i830 through i915
>
>I have the same entries in my kernel config.

Thanks for attention.

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: i915drm

2005-12-19 Thread Alexey Popov

Hi.

László Károly wrote:

> drmsub0:  port 0x1800-0x1807 mem
> 0xb008-0xb00f,0xc000-0xcfff,0xb000-0xb003 irq 16 at
> device 2.0 on pci0
> error: [drm:pid0:drm_load] *ERROR* Card isn't AGP, or couldn't initialize AGP.
> device_attach: drmsub0 attach returned 12
> pci0:  at device 2.1 (no driver attached)
i915 DRM is not fully supported in -stable. You may try 7-current or 
this hack: ftp://213.85.11.250/pub/drm3.patch .


With best regards,
Alexey Popov
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: i915drm

2005-12-19 Thread László Károly
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Oliver Fromme wrote:
> Gianmarco <[EMAIL PROTECTED]> wrote:
>  > I am running FreeBSD 6.0-STABLE (of today) on a HP Pavillon (centrino based
>  > notebook with i915 graphic chipset).
> 
> Same here (Centrino, i915, not HP though).
> 
>  > I am trying to use the latest drm hook for i915, but I get this error:
>  > 
>  > drmsub0:  port 0x1800-0x1807 mem
>  > 0xb008-0xb00f,0xc000-0xcfff,0xb000-0xb003 irq 16 at
>  > device 2.0 on pci0
>  > error: [drm:pid0:drm_load] *ERROR* Card isn't AGP, or couldn't initialize 
> AGP.
>  > device_attach: drmsub0 attach returned 12
>  > pci0:  at device 2.1 (no driver attached)
> 
> Is there any mentioning of an AGP device (agp0) in your
> dmesg?  If not, then that's probably the problem.  It
> is interesting that your drmsub0 comes directly as a
> child of pci0.  On my machine, it's a child of agp0.
> 
> I get this in dmesg:
> 
> agp0:  port 0x1800-0x1807
>   mem 0xb008-0xb00f,0xc000-0xcfff,0xb000-0xb003
>   irq 16 at device 2.0 on pci0
> agp0: detected 7932k stolen memory
> agp0: aperture size is 256M
> drmsub0: : (child of agp_i810.c) on agp0
> info: [drm] AGP at 0xb008 0MB
> info: [drm] Initialized i915 1.2.0 20041217
> pci0:  at device 2.1 (no driver attached)
> 
In my HP Compaq nx6110 (i915GM) too drmsub wants to come directly as a
child of pci0:

drmsub0:  port 0x7000-0x7007 mem
0xd040-0xd047,0xc000-0xcfff,0xd048-0xd04b irq 16
at device 2.0 on pci0
[drm:pid0:drm_load]
[drm:pid0:drm_agp_init] agp_available = 0
error: [drm:pid0:drm_load] *ERROR* Card isn't AGP, or couldn't
initialize AGP.
[drm:pid0:drm_lastclose]
device_attach: drmsub0 attach returned 12
pci0:  at device 2.1 (no driver attached)

If I have drm loaded after boot time (by X.org) there will be agpgart
but no dri/cardX...

Best, Laci


- --
László Károly   <[EMAIL PROTECTED]>
Department of Altaic StudiesEgyetem str. 2.
University of Szeged H-6722 Szeged, Hungary


PGP/GnuPG key: 1024D/869D81C5
Fingerprint: 1E61 3205 8F5A 87E7 1269  3396 1C63 F9FF 869D 81C5
Encrypted e-mail preferred.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2 (FreeBSD)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDp026HGP5/4adgcURAt33AJ9GrO4sLJEMWguEqK/4JqaRWPXO/wCglKHu
Txo1xArRPtpJMGeO0jLTKII=
=6NZN
-END PGP SIGNATURE-
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: i915drm

2005-12-19 Thread Oliver Fromme
Patrick Lamaizière <[EMAIL PROTECTED]> wrote:
 > But dri does not work, Xorg seems to look for a /dev/dri/card0 and i've got 
 > only one device /dev/dri/card1 ?
 > 
 > Xorg.log:
 > (II) I810(0): Allocated 64 kB for the scratch buffer at 0x7fee000
 > drmOpenDevice: node name is /dev/dri/card0
 > drmOpenDevice: open result is -1, (No such file or directory)
 > drmOpenDevice: open result is -1, (No such file or directory)
 > drmOpenDevice: Open failed
 > drmOpenDevice: node name is /dev/dri/card0
 > drmOpenDevice: open result is -1, (No such file or directory)
 > drmOpenDevice: open result is -1, (No such file or directory)
 > drmOpenDevice: Open failed
 > [drm] failed to load kernel module "i915"

Strange.  It works fine for me:

(II) I810(0): Allocated 64 kB for the scratch buffer at 0xffee000
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 9, (OK)
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 9, (OK)
drmOpenByBusid: Searching for BusID pci::00:02.0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 9, (OK)
drmOpenByBusid: drmOpenMinor returns 9
drmOpenByBusid: drmGetBusid reports pci::00:02.0
(II) I810(0): [drm] DRM interface version 1.2
(II) I810(0): [drm] created "i915" driver at busid "pci::00:02.0"
(II) I810(0): [drm] added 8192 byte SAREA at 0xc5307000
(II) I810(0): [drm] mapped SAREA 0xc5307000 to 0x28744000
(II) I810(0): [drm] framebuffer handle = 0xc002
(II) I810(0): [drm] added 1 reserved context for kernel
.. etc. ...

Are you sure that you're using the latest RELENG_6 _and_
the latest Xorg development snapshot?  You need both for
things to work correctly.

(I'm not using DRM/DRI, because I'm not playing games on
my notebook, and I don't need 3D OpenGL "screen savers"
either, but according to the logs and everything, it is
detected and initialized correctly.  However, I am using
the XVideo extension for full-screen video playback with
hardware acceleration, and that requires the presence of
DRM, too -- that's why I configured it in my kernel.)

Best regards
   Oliver

-- 
Oliver Fromme,  secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing
Dienstleistungen mit Schwerpunkt FreeBSD: http://www.secnetix.de/bsd
Any opinions expressed in this message may be personal to the author
and may not necessarily reflect the opinions of secnetix in any way.

"The ITU has offered the IETF formal alignment with its
corresponding technology, Penguins, but that won't fly."
-- RFC 2549
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: i915drm

2005-12-19 Thread Oliver Fromme
Gianmarco <[EMAIL PROTECTED]> wrote:
 > I am running FreeBSD 6.0-STABLE (of today) on a HP Pavillon (centrino based
 > notebook with i915 graphic chipset).

Same here (Centrino, i915, not HP though).

 > I am trying to use the latest drm hook for i915, but I get this error:
 > 
 > drmsub0:  port 0x1800-0x1807 mem
 > 0xb008-0xb00f,0xc000-0xcfff,0xb000-0xb003 irq 16 at
 > device 2.0 on pci0
 > error: [drm:pid0:drm_load] *ERROR* Card isn't AGP, or couldn't initialize 
 > AGP.
 > device_attach: drmsub0 attach returned 12
 > pci0:  at device 2.1 (no driver attached)

Is there any mentioning of an AGP device (agp0) in your
dmesg?  If not, then that's probably the problem.  It
is interesting that your drmsub0 comes directly as a
child of pci0.  On my machine, it's a child of agp0.

I get this in dmesg:

agp0:  port 0x1800-0x1807
  mem 0xb008-0xb00f,0xc000-0xcfff,0xb000-0xb003
  irq 16 at device 2.0 on pci0
agp0: detected 7932k stolen memory
agp0: aperture size is 256M
drmsub0: : (child of agp_i810.c) on agp0
info: [drm] AGP at 0xb008 0MB
info: [drm] Initialized i915 1.2.0 20041217
pci0:  at device 2.1 (no driver attached)

That's with RELENG_6 from yesterday (Dec. 18, 12:00 GMT).
(By the way, it's normal that no driver is reported to be
attached to device 2.1.)

I'm using the latest Xorg development snapshot, which runs
fine, including 2D acceleration, hardware cursor and XVideo
extension with hardware acceleration (i.e. hardware scaler
and color space conversion).  No problems whatsoever.

 > device  agp # support several AGP chipsets
 > device      drm # DRM core module required by DRM drivers
 > device  i915drm # Intel i830 through i915

I have the same entries in my kernel config.

 > and my pciconf -vl shows:
 > 
 > [EMAIL PROTECTED]:2:0:   class=0x03 card=0x3080103c chip=0x25928086 
 > rev=0x03 hdr=0x00
 > vendor   = 'Intel Corporation'
 > device   = '82915GM/GMS, 82910GML Integrated Graphics Device'
 > class= display
 > subclass = VGA
 > [EMAIL PROTECTED]: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

Just for comparison, this is mine:

[EMAIL PROTECTED]:2:0:  class=0x03 card=0xc01a144d chip=0x25928086 rev=0x03 
hdr=0x00
vendor   = 'Intel Corporation'
device   = '82915GM/GMS, 82910GML Integrated Graphics Device'
class= display
subclass = VGA
[EMAIL PROTECTED]:2:1: class=0x038000 card=0xc01a144d chip=0x27928086 rev=0x03 
hdr=0x00
vendor   = 'Intel Corporation'
device   = '82915GM/GMS,82910GML Mobile Express Family Graphics Controller 
(??)'
class= display

Looks pretty much the same.

Best regards
   Oliver


-- 
Oliver Fromme,  secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing
Dienstleistungen mit Schwerpunkt FreeBSD: http://www.secnetix.de/bsd
Any opinions expressed in this message may be personal to the author
and may not necessarily reflect the opinions of secnetix in any way.

"I learned Java 3 years before Python.  It was my language of
choice.  It took me two weekends with Python before I was more
productive with it than with Java." -- Anthony Roberts
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: i915drm

2005-12-19 Thread Patrick Lamaizière
Le Dimanche 18 Décembre 2005 01:31, Gianmarco a écrit :

> I am trying to use the latest drm hook for i915, but I get this error:
>
> drmsub0:  port 0x1800-0x1807 mem
> 0xb008-0xb00f,0xc000-0xcfff,0xb000-0xb003 irq 16
> at device 2.0 on pci0
> error: [drm:pid0:drm_load] *ERROR* Card isn't AGP, or couldn't initialize
> AGP. device_attach: drmsub0 attach returned 12
> pci0:  at device 2.1 (no driver attached)
>
>
> Any idea ?
>
> I have added to my kernel:
>
> device  agp # support several AGP chipsets
> device  drm # DRM core module required by DRM drivers
> device  i915drm # Intel i830 through i915

Just put agp, Xorg will load i915.ko. I've got the same problem.

But dri does not work, Xorg seems to look for a /dev/dri/card0 and i've got 
only one device /dev/dri/card1 ?

Xorg.log:
(II) I810(0): Allocated 64 kB for the scratch buffer at 0x7fee000
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is -1, (No such file or directory)
drmOpenDevice: open result is -1, (No such file or directory)
drmOpenDevice: Open failed
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is -1, (No such file or directory)
drmOpenDevice: open result is -1, (No such file or directory)
drmOpenDevice: Open failed
[drm] failed to load kernel module "i915"
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: i915drm

2005-12-18 Thread László Károly
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Gianmarco wrote:
> HI all,
> I am running FreeBSD 6.0-STABLE (of today) on a HP Pavillon (centrino based
> notebook with i915 graphic chipset).
> 
> I am trying to use the latest drm hook for i915, but I get this error:
> 
> drmsub0:  port 0x1800-0x1807 mem
> 0xb008-0xb00f,0xc000-0xcfff,0xb000-0xb003 irq 16 at
> device 2.0 on pci0
> error: [drm:pid0:drm_load] *ERROR* Card isn't AGP, or couldn't initialize AGP.
> device_attach: drmsub0 attach returned 12
> pci0:  at device 2.1 (no driver attached)
> 
> 
> Any idea ?
> 
> I have added to my kernel:
> 
> device  agp # support several AGP chipsets
> device  drm         # DRM core module required by DRM drivers
> device  i915drm # Intel i830 through i915
> 
> and my pciconf -vl shows:
> 
> [EMAIL PROTECTED]:2:0:   class=0x03 card=0x3080103c chip=0x25928086
> rev=0x03 hdr=0x00
> vendor   = 'Intel Corporation'
> device   = '82915GM/GMS, 82910GML Integrated Graphics Device'
> class= display
> subclass = VGA
> [EMAIL PROTECTED]: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
> 
> 
> Do I miss something ? Thanks ...
> 
I have the same experience. But note that i915 (both agp and drm) is
still in beta stage. Check this PR:
http://www.freebsd.org/cgi/query-pr.cgi?pr=80396 (Problem Report
kern/80396 : [agp] i915 AGP not supported).

Best, Laci


- --
László Károly   <[EMAIL PROTECTED]>
Department of Altaic StudiesEgyetem str. 2.
University of Szeged H-6722 Szeged, Hungary


PGP/GnuPG key: 1024D/869D81C5
Fingerprint: 1E61 3205 8F5A 87E7 1269  3396 1C63 F9FF 869D 81C5
Encrypted e-mail preferred.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2 (FreeBSD)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDpSuiHGP5/4adgcURAvMGAJ9xH4eVDTi9diO0EFL6P46nA/T4gACfdzDG
Zbmfn16b72QAyMhqk6kRt2g=
=ebZC
-END PGP SIGNATURE-
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


i915drm

2005-12-17 Thread Gianmarco
HI all,
I am running FreeBSD 6.0-STABLE (of today) on a HP Pavillon (centrino based
notebook with i915 graphic chipset).

I am trying to use the latest drm hook for i915, but I get this error:

drmsub0:  port 0x1800-0x1807 mem
0xb008-0xb00f,0xc000-0xcfff,0xb000-0xb003 irq 16 at
device 2.0 on pci0
error: [drm:pid0:drm_load] *ERROR* Card isn't AGP, or couldn't initialize AGP.
device_attach: drmsub0 attach returned 12
pci0:  at device 2.1 (no driver attached)


Any idea ?

I have added to my kernel:

device  agp # support several AGP chipsets
device  drm # DRM core module required by DRM drivers
device      i915drm # Intel i830 through i915

and my pciconf -vl shows:

[EMAIL PROTECTED]:2:0:   class=0x03 card=0x3080103c chip=0x25928086
rev=0x03 hdr=0x00
vendor   = 'Intel Corporation'
device   = '82915GM/GMS, 82910GML Integrated Graphics Device'
class= display
subclass = VGA
[EMAIL PROTECTED]: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


Do I miss something ? Thanks ...



--
Open WebMail Project (http://openwebmail.org)

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"