You are not logged in.

#1 2008-02-07 21:15:41

jrodri14
Member
Registered: 2008-02-07
Posts: 2

Enable Internal Agp in 2.6 kernel

My fglrx wont allow direct rendering. I've tried just about everything, andI think I've got it down to this: I need to enable Internal Agp in the 2.6 kernel

this is my fglrxinfo:

display: :0.0  screen: 0
OpenGL vendor string: Mesa project: www.mesa3d.org
OpenGL renderer string: Mesa GLX Indirect
OpenGL version string: 1.4 (2.1 Mesa 7.0.1)

my glxinfo

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.4 (2.1 Mesa 7.0.1)
OpenGL extensions:
    GL_ARB_depth_texture, GL_ARB_draw_buffers, GL_ARB_fragment_program, 
    GL_ARB_imaging, GL_ARB_multisample, GL_ARB_multitexture, 
    GL_ARB_occlusion_query, GL_ARB_point_parameters, GL_ARB_point_sprite, 
    GL_ARB_shadow, GL_ARB_shadow_ambient, 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_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_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_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_paletted_texture, 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_shared_texture_palette, 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_mirror_clamp, GL_EXT_texture_object, 
    GL_EXT_texture_rectangle, GL_EXT_vertex_array, GL_APPLE_packed_pixels, 
    GL_ATI_draw_buffers, 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_fragment_program, GL_NV_light_max_exponent, GL_NV_point_sprite, 
    GL_NV_texgen_reflection, GL_NV_texture_rectangle, GL_NV_vertex_program, 
    GL_NV_vertex_program1_1, 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_SGIX_shadow, GL_SGIX_shadow_ambient, GL_SUN_multi_draw_arrays

   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
0x3d 32 tc  0 32  0 r  .  .  8  8  8  8  0  0  0  0  0  0  0  0 0 Ncon

dmesg for fglrx

 fglrx: module license 'Proprietary. (C) 2002 - ATI Technologies, Starnberg, GERMANY' taints kernel.
[fglrx] Maximum main memory to use for locked dma buffers: 929 MBytes.
[fglrx] ASYNCIO init succeed!
[fglrx] PAT is enabled successfully!
[fglrx] module loaded - fglrx 8.45.4 [Jan 16 2008] on minor 0
[fglrx] Internal AGP is not supported in 2.6 kernel.
[fglrx] Disable PAT
[fglrx] asyncIODestroy finished!
[fglrx] module unloaded - fglrx 8.45.4 [Jan 16 2008] on minor 0
[fglrx] Maximum main memory to use for locked dma buffers: 929 MBytes.
[fglrx] ASYNCIO init succeed!
[fglrx] PAT is enabled successfully!
[fglrx] module loaded - fglrx 8.45.4 [Jan 16 2008] on minor 0
[fglrx] Internal AGP is not supported in 2.6 kernel.

lsmod (Note: this is after I removed the intel_agp module, and after that, started x.)

Module                  Size  Used by
fglrx                1475980  0 
agpgart                27352  1 fglrx
ext2                   57352  1 
ohci1394               28848  0 
ieee1394               80568  1 ohci1394
firewire_ohci          15360  0 
firewire_core          36416  1 firewire_ohci
crc_itu_t               2432  1 firewire_core
pcspkr                  3072  0 
tsdev                   6976  0 
rtc_cmos                7712  0 
rtc_core               15240  1 rtc_cmos
rtc_lib                 3072  1 rtc_core
psmouse                36368  0 
serio_raw               5764  0 
i2c_i801                8976  0 
i2c_core               20096  1 i2c_i801
i82875p_edac            5384  0 
edac_core              39312  3 i82875p_edac
uhci_hcd               22544  0 
ehci_hcd               32140  0 
shpchp                 29460  0 
pci_hotplug            26912  1 shpchp
sg                     26652  0 
thermal                12956  0 
evdev                   8320  0 
processor              28248  1 thermal
fan                     4100  0 
button                  6544  0 
battery                10248  0 
ac                      4356  0 
snd_seq_oss            29568  0 
snd_seq_midi_event      6656  1 snd_seq_oss
snd_seq                47056  4 snd_seq_oss,snd_seq_midi_event
snd_seq_device          7052  2 snd_seq_oss,snd_seq
snd_intel8x0           28700  0 
snd_ac97_codec         95396  1 snd_intel8x0
snd_pcm_oss            37152  0 
snd_pcm                69124  3 snd_intel8x0,snd_ac97_codec,snd_pcm_oss
snd_timer              19332  2 snd_seq,snd_pcm
snd_page_alloc          8200  2 snd_intel8x0,snd_pcm
snd_mixer_oss          14592  1 snd_pcm_oss
snd                    45476  9 snd_seq_oss,snd_seq,snd_seq_device,snd_intel8x0,snd_ac97_codec,snd_pcm_oss,snd_pcm,snd_timer,snd_mixer_oss
soundcore               6496  1 snd
ac97_bus                2432  1 snd_ac97_codec
e1000                 118208  0 
usbcore               123016  3 uhci_hcd,ehci_hcd
ext3                  119944  2 
jbd                    54568  1 ext3
mbcache                 7040  2 ext2,ext3
sr_mod                 14884  0 
cdrom                  34080  1 sr_mod
sd_mod                 23040  5 
sata_sil                8456  0 
ata_piix               13572  4 
ata_generic             5380  0 
libata                105968  3 sata_sil,ata_piix,ata_generic

xorg.conf

Section "Device"
        Identifier  "aticonfig-Device[0]"
        Driver      "fglrx"
        Option   "XAANoOffscreenPixmaps"        "true"
        Option   "Dri"  "true"
        Option "UseInternalAgpGart"     "yes"
EndSection

Section "Screen"
        Identifier "Screen 1"
        Device     "Ati FireGL X-1"
        Monitor    "sony hd93"
        DefaultDepth     24
        SubSection "Display"
                Viewport   0 0
                Depth     8
                Modes    "1280x1024" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     16
                Modes    "1280x1024" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     24
                Modes    "1280x1024" "1024x768" "800x600" "640x480"
        EndSubSection
EndSection

Section "Screen"
        Identifier "aticonfig-Screen[0]"
        Device     "aticonfig-Device[0]"
        Monitor    "aticonfig-Monitor[0]"
        DefaultDepth     24
        SubSection "Display"
                Viewport   0 0
                Depth     24
        EndSubSection
EndSection
Section "Extensions"
        Option "Composite" "Enable"
EndSection
Section "DRI"
        Group   0
        Mode    0666
EndSection

modprobe.conf

alias wlan0 ndiswrapper
alias net-pf-10 off
alias ipv6 off
alias agpgart off
alias intel_agp off

and finally,
my rc.conf (Well, around the modules part)

MOD_AUTOLOAD="yes"
# Module Blacklist - modules in this list will never be loaded by udev
MOD_BLACKLIST=(agp)
#
# Modules to load at boot-up (in this order)
#   - prefix a module with a ! to blacklist it
#
MODULES=(e1000 ac97_bus snd-mixer-oss snd-pcm-oss snd-page-alloc snd-pcm snd-timer snd snd-ac97-codec snd-intel8x0 s$
# Scan for LVM volume groups at startup, required if you use LVM
USELVM="no"

I'm on an old p4 system with an abit ic7-max3 mother board, and I have an Ati Firegl X-1 256p.

________________________________

Arch Linux Forever... I have found a better way of learnin'+usin' linux.

Offline

Board footer

Powered by FluxBB