Find the answer to your Linux question:
Results 1 to 4 of 4
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined! brokndodge's Avatar
    Join Date
    Feb 2006
    Location
    Arkansas, USA
    Posts
    78

    i810 and 3d acceleration


    someone gave me this emachine a couple of months ago with a "bad hard drive", turned out it just had win xp on it and the ntfs had become corrupt. so i promptly replaced it with debian etch. i've got the tv card set up now just need 3d acceleration. it's got the intel i810 integrated graphics chips.

    as far as i can tell, everything is up and running correctly but i still don't have direct rendering. help anyone?

    lspci
    Code:
    00:01.0 VGA compatible controller: Intel Corporation 82810 CGC [Chipset Graphics Controller] (rev 03)
    lsmod
    Code:
    Module                  Size  Used by
    drm                    61332  0
    binfmt_misc            10984  1
    ipv6                  226016  16
    ppdev                   8676  0
    lp                     11012  0
    button                  6672  0
    ac                      5188  0
    battery                 9636  0
    xt_limit                2752  8
    xt_tcpudp               3136  9
    iptable_mangle          2880  0
    ipt_LOG                 6112  8
    ipt_MASQUERADE          3712  0
    ip_nat                 16876  1 ipt_MASQUERADE
    ipt_TOS                 2304  0
    ipt_REJECT              5248  1
    ip_conntrack_irc        6800  0
    ip_conntrack_ftp        7760  0
    xt_state                2272  6
    ip_conntrack           49088  5 ipt_MASQUERADE,ip_nat,ip_conntrack_irc,ip_conntrack_ftp,xt_state
    nfnetlink               6680  2 ip_nat,ip_conntrack
    iptable_filter          3104  1
    ip_tables              12964  2 iptable_mangle,iptable_filter
    x_tables               13316  8 xt_limit,xt_tcpudp,ipt_LOG,ipt_MASQUERADE,ipt_TOS,ipt_REJECT,xt_state,ip_tables
    dm_snapshot            15520  0
    dm_mirror              19152  0
    dm_mod                 50232  2 dm_snapshot,dm_mirror
    loop                   15048  0
    tsdev                   7520  0
    snd_intel8x0           30332  1
    snd_ac97_codec         83104  1 snd_intel8x0
    snd_ac97_bus            2400  1 snd_ac97_codec
    snd_mpu401              7528  0
    snd_mpu401_uart         8064  1 snd_mpu401
    snd_rawmidi            22560  1 snd_mpu401_uart
    snd_seq_device          7820  1 snd_rawmidi
    bt878                  10392  0
    analog                 10784  0
    snd_pcm_oss            38368  0
    snd_mixer_oss          15200  1 snd_pcm_oss
    snd_pcm                68644  3 snd_intel8x0,snd_ac97_codec,snd_pcm_oss
    snd_timer              20996  1 snd_pcm
    parport_pc             32164  1
    parport                33256  3 ppdev,lp,parport_pc
    floppy                 53156  0
    gameport               14632  1 analog
    tuner                  53288  0
    bttv                  159732  1 bt878
    video_buf              23012  1 bttv
    firmware_class          9600  1 bttv
    ir_common              27780  1 bttv
    compat_ioctl32          1472  1 bttv
    i2c_algo_bit            8424  1 bttv
    btcx_risc               4776  1 bttv
    tveeprom               13840  1 bttv
    i2c_core               19680  4 tuner,bttv,i2c_algo_bit,tveeprom
    videodev               21120  1 bttv
    snd                    47012  12 snd_intel8x0,snd_ac97_codec,snd_mpu401,snd_mpu401_uart,snd_rawmidi,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
    soundcore               9248  1 snd
    rtc                    12372  0
    v4l1_compat            12036  1 videodev
    v4l2_common            20448  3 tuner,bttv,videodev
    intel_agp              21148  1
    pcspkr                  3072  0
    snd_page_alloc          9640  2 snd_intel8x0,snd_pcm
    agpgart                29896  3 drm,intel_agp
    psmouse                35016  0
    serio_raw               6660  0
    shpchp                 33024  0
    pci_hotplug            28704  1 shpchp
    evdev                   9088  3
    ext3                  119208  2
    jbd                    52456  1 ext3
    mbcache                 8356  1 ext3
    ide_generic             1408  0 [permanent]
    ide_cd                 36064  0
    cdrom                  32544  1 ide_cd
    ide_disk               14848  4
    8139too                25120  0
    usbhid                 37248  0
    8139cp                 21920  0
    mii                     5344  2 8139too,8139cp
    piix                    9444  0 [permanent]
    generic                 5028  0 [permanent]
    ide_core              110504  5 ide_generic,ide_cd,ide_disk,piix,generic
    uhci_hcd               21032  0
    usbcore               112676  3 usbhid,uhci_hcd
    thermal                13608  0
    processor              28840  1 thermal
    fan                     4804  0
    module section of etc/X11/xorg.conf
    Code:
    Section "Module"
            Load    "bitmap"
            Load    "ddc"
            Load    "dri"
            Load    "extmod"
            Load    "freetype"
            Load    "glx"
            Load    "int10"
            Load    "vbe"
    EndSection
    device section of /etc/X11/xorg.conf
    Code:
    Section "Device"
            Identifier      "Intel Corporation 82810 CGC [Chipset Graphics Controlle    
            Driver          "i810"
            BusID           "PCI:0:1:0"
            VideoRam        32768
            Option          "UseFBDev"              "true"
    EndSection
    glxinfo
    Code:
    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_EXT_texture_from_pixmap, GLX_OML_swap_method,
        GLX_SGI_make_current_read, GLX_SGIS_multisample, GLX_SGIX_hyperpipe,
        GLX_SGIX_swap_barrier, GLX_SGIX_fbconfig, GLX_MESA_copy_sub_buffer
    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_copy_sub_buffer, 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_EXT_texture_from_pixmap
    GLX version: 1.2
    GLX extensions:
        GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context,
        GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_copy_sub_buffer,
        GLX_OML_swap_method, GLX_SGI_make_current_read, GLX_SGIS_multisample,
        GLX_SGIX_fbconfig, GLX_EXT_texture_from_pixmap
    OpenGL vendor string: Mesa project: www.mesa3d.org
    OpenGL renderer string: Mesa GLX Indirect
    OpenGL version string: 1.2 (1.5 Mesa 6.5.1)
    OpenGL extensions:
        GL_ARB_depth_texture, GL_ARB_imaging, GL_ARB_multitexture,
        GL_ARB_point_parameters, GL_ARB_point_sprite, GL_ARB_shadow,
        GL_ARB_shadow_ambient, GL_ARB_texture_border_clamp,
        GL_ARB_texture_cube_map, GL_ARB_texture_env_add,
        GL_ARB_texture_env_combine, GL_ARB_texture_env_crossbar,
        GL_ARB_texture_env_dot3, GL_ARB_texture_mirrored_repeat,
        GL_ARB_texture_non_power_of_two, GL_ARB_texture_rectangle,
        GL_ARB_transpose_matrix, GL_ARB_window_pos, GL_EXT_abgr, GL_EXT_bgra,
        GL_EXT_blend_color, GL_EXT_blend_func_separate, GL_EXT_blend_logic_op,
        GL_EXT_blend_minmax, GL_EXT_blend_subtract, GL_EXT_clip_volume_hint,
        GL_EXT_copy_texture, GL_EXT_draw_range_elements, GL_EXT_fog_coord,
        GL_EXT_framebuffer_object, 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_lod_bias, GL_EXT_texture_object,
        GL_EXT_texture_rectangle, GL_EXT_vertex_array, GL_APPLE_packed_pixels,
        GL_ATI_texture_env_combine3, GL_ATI_texture_mirror_once,
        GL_ATIX_texture_env_combine3, GL_IBM_texture_mirrored_repeat,
        GL_INGR_blend_func_separate, GL_MESA_pack_invert, GL_MESA_ycbcr_texture,
        GL_NV_blend_square, GL_NV_point_sprite, GL_NV_texgen_reflection,
        GL_NV_texture_rectangle, GL_SGIS_generate_mipmap,
        GL_SGIS_texture_border_clamp, GL_SGIS_texture_edge_clamp,
        GL_SGIS_texture_lod, GL_SGIX_depth_texture, GL_SGIX_shadow,
        GL_SGIX_shadow_ambient, 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 24  0 r  y  .  8  8  8  0  0 16  0  0  0  0  0  0 0 None
    0x24 24 tc  0 24  0 r  y  .  8  8  8  0  0 16  8 16 16 16  0  0 0 None
    0x25 24 tc  0 32  0 r  y  .  8  8  8  8  0 16  8 16 16 16 16  0 0 None
    0x26 24 tc  0 32  0 r  .  .  8  8  8  8  0 16  8 16 16 16 16  0 0 None
    0x27 24 dc  0 24  0 r  y  .  8  8  8  0  0 16  0  0  0  0  0  0 0 None
    0x28 24 dc  0 24  0 r  y  .  8  8  8  0  0 16  8 16 16 16  0  0 0 None
    0x29 24 dc  0 32  0 r  y  .  8  8  8  8  0 16  8 16 16 16 16  0 0 None
    0x2a 24 dc  0 32  0 r  .  .  8  8  8  8  0 16  8 16 16 16 16  0 0 None
    as best as i can tell it should be working, but it's not... what did i miss?

  2. #2
    Linux Enthusiast
    Join Date
    Apr 2004
    Location
    UK
    Posts
    747
    My video card uses i915 but it should be similar. Your drm module is marked as unused, which means you will need to load the i810 module and restart Xorg.

    If that doesn't fix it by itself, I don't specify the videoram or the option you have in the device section. From my xorg.conf

    Section "Device"
    Identifier "Intel Corporation 82852/855GM Integrated Graphics Device"
    Driver "i810"
    BusID "PCI:0:2:0"
    EndSection
    Also relevant:

    Section "DRI"
    Mode 0666
    EndSection
    To be good, you must first be bad. "Newbie" is a rank, not a slight.

  3. #3
    Linux Guru antidrugue's Avatar
    Join Date
    Oct 2005
    Location
    Montreal, Canada
    Posts
    3,211
    Keep in mind that 3D acceleration will only work on the i810 when you are using 16 bit color depth in /etc/X11/xorg.conf.

    Here is an example of a working /etc/X11/xorg.conf on the i810 :
    http://antidrugue.dyndns.org/config....illi/xorg.conf

    The interesting bit is this one :
    Code:
    Section "Device"
    	Identifier	"Intel Corporation 82810E DC-133 CGC [Chipset Graphics Controller]"
    	Driver		"i810"
    	BusID		"PCI:0:1:0"
    	Option          "NoAccel"       "false"
    	Option          "DRI"           "true"
    	VideoRam        16384
    EndSection
    Plus :
    Code:
    DefaultDepth	16
    in Section "Screen".
    "To express yourself in freedom, you must die to everything of yesterday. From the 'old', you derive security; from the 'new', you gain the flow."

    -Bruce Lee

  4. $spacer_open
    $spacer_close
  5. #4
    Just Joined! brokndodge's Avatar
    Join Date
    Feb 2006
    Location
    Arkansas, USA
    Posts
    78

    gonna try it

    i'm gonna try your fix right now, but i'm having a lot of trouble with the i810 locking up... i am currantly trying to get another graphics card setup to replace the integrated i810. i keep running into the same problem, the console doesn't have a problem with the card, but x can't find it. any ideas?

    --edit - antidrugue, u are the man... 3d accleration is working now. i'm gonna try and recreate the lockup situation now and find out if thats fixed too.

    --edit2 - i gave it my best and couldn't get it to lock up, so i guess there's no need to replace the i810 now. thanks alot

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •