Find the answer to your Linux question:
Results 1 to 10 of 10
sofar,i think i have the fglrx drivers instaled, i just dont think that opengl is using it. oupput ftom lsmod Code: Module Size Used by nls_utf8 1920 1 nls_cp437 5600 ...
  1. #1
    Linux User benjamin20's Avatar
    Join Date
    Oct 2004
    Location
    jacksonville beach FL
    Posts
    317

    ati drivers

    sofar,i think i have the fglrx drivers instaled, i just dont think that opengl is using it.

    oupput ftom lsmod
    Code:
    Module                  Size  Used by
    nls_utf8                1920  1
    nls_cp437               5600  1
    vfat                   11296  1
    fat                    46588  1 vfat
    sd_mod                 16208  2
    usb_storage            69312  1
    scsi_mod              122220  2 sd_mod,usb_storage
    ipv6                  217760  8
    isofs                  32160  0
    udf                    72576  0
    ppdev                   8228  0
    lp                     10432  0
    button                  6320  0
    ac                      4612  0
    battery                 9252  0
    dm_mod                 47892  0
    loop                   14472  0
    joydev                  8864  0
    tsdev                   7200  0
    mousedev               10368  1
    pcmcia                 34844  0
    ipw2100                72852  0
    snd_intel8x0           29436  1
    snd_pcm_oss            43520  0
    snd_mixer_oss          15584  1 snd_pcm_oss
    psmouse                34248  0
    snd_intel8x0m          15372  0
    snd_ac97_codec         82784  2 snd_intel8x0,snd_intel8x0m
    snd_ac97_bus            2048  1 snd_ac97_codec
    ieee80211              27368  1 ipw2100
    ieee80211_crypt         5312  1 ieee80211
    serio_raw               6436  0
    shpchp                 39200  0
    pci_hotplug            24180  1 shpchp
    parport_pc             31472  1
    parport                31720  3 ppdev,lp,parport_pc
    evdev                   8736  1
    pcspkr                  2948  0
    yenta_socket           23660  4
    rsrc_nonstatic         11840  1 yenta_socket
    pcmcia_core            37264  3 pcmcia,yenta_socket,rsrc_nonstatic
    snd_pcm                74408  4 snd_intel8x0,snd_pcm_oss,snd_intel8x0m,snd_ac97_codec
    snd_timer              20292  1 snd_pcm
    intel_agp              20860  1
    agpgart                29232  1 intel_agp
    firmware_class          9472  2 pcmcia,ipw2100
    snd                    46080  9 snd_intel8x0,snd_pcm_oss,snd_mixer_oss,snd_intel8x0m,snd_ac97_codec,snd_pcm,snd_timer
    soundcore               8672  1 snd
    snd_page_alloc          9800  3 snd_intel8x0,snd_intel8x0m,snd_pcm
    rtc                    11252  0
    reiserfs              216784  2
    ide_cd                 35328  0
    cdrom                  31888  1 ide_cd
    ide_disk               14528  4
    ehci_hcd               26856  0
    uhci_hcd               26640  0
    usbcore               110560  4 usb_storage,ehci_hcd,uhci_hcd
    piix                    8932  0 [permanent]
    generic                 4164  0 [permanent]
    ide_core              111440  5 usb_storage,ide_cd,ide_disk,piix,generic
    tg3                    88676  0
    thermal                12968  0
    processor              21696  1 thermal
    fan                     4452  0
    from 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_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: ATI
    client glx version string: 1.3
    client glx extensions:
        GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context,
        GLX_ARB_get_proc_address, GLX_SGI_video_sync, GLX_ARB_multisample,
        GLX_ATI_pixel_format_float, GLX_ATI_render_texture
    GLX version: 1.2
    GLX extensions:
        GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context,
        GLX_ARB_multisample
    OpenGL vendor string: Mesa project: www.mesa3d.org
    OpenGL renderer string: Mesa GLX Indirect
    OpenGL version string: 1.2 (1.5 Mesa 6.4.2)
    OpenGL extensions:
        GL_ARB_imaging, GL_ARB_multitexture, GL_ARB_texture_border_clamp,
        GL_ARB_texture_cube_map, GL_ARB_texture_env_add,
        GL_ARB_texture_env_combine, GL_ARB_texture_env_dot3,
        GL_ARB_transpose_matrix, GL_EXT_abgr, GL_EXT_blend_color,
        GL_EXT_blend_minmax, GL_EXT_blend_subtract, GL_EXT_texture_env_add,
        GL_EXT_texture_env_combine, GL_EXT_texture_env_dot3,
        GL_EXT_texture_lod_bias
    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  1 0 None
    0x24 24 tc  0 24  0 r  y  .  8  8  8  0  0 16  8 16 16 16  0  1 0 None
    0x25 24 tc  0 32  0 r  y  .  8  8  8  8  0 16  8 16 16 16 16  1 0 None
    0x26 24 tc  0 32  0 r  .  .  8  8  8  8  0 16  8 16 16 16 16  1 0 None
    0x27 24 dc  0 24  0 r  y  .  8  8  8  0  0 16  0  0  0  0  0  1 0 None
    0x28 24 dc  0 24  0 r  y  .  8  8  8  0  0 16  8 16 16 16  0  1 0 None
    0x29 24 dc  0 32  0 r  y  .  8  8  8  8  0 16  8 16 16 16 16  1 0 None
    0x2a 24 dc  0 32  0 r  .  .  8  8  8  8  0 16  8 16 16 16 16  1 0 None
    and from cat /etc/X11/xorg.conf
    Code:
    Section "ServerLayout"
            Identifier     "Default Layout"
            Screen      0  "aticonfig-Screen[0]" 0 0
            InputDevice    "Generic Keyboard"
            InputDevice    "Configured Mouse"
            InputDevice    "Synaptics Touchpad"
    EndSection
    
    Section "Files"
    
            # path to defoma fonts
            FontPath     "/usr/share/fonts/X11/misc"
            FontPath     "/usr/X11R6/lib/X11/fonts/misc"
            FontPath     "/usr/share/fonts/X11/cyrillic"
            FontPath     "/usr/X11R6/lib/X11/fonts/cyrillic"
            FontPath     "/usr/share/fonts/X11/100dpi/:unscaled"
            FontPath     "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
            FontPath     "/usr/share/fonts/X11/75dpi/:unscaled"
            FontPath     "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
            FontPath     "/usr/share/fonts/X11/Type1"
            FontPath     "/usr/X11R6/lib/X11/fonts/Type1"
            FontPath     "/usr/share/fonts/X11/100dpi"
            FontPath     "/usr/X11R6/lib/X11/fonts/100dpi"
            FontPath     "/usr/share/fonts/X11/75dpi"
            FontPath     "/usr/X11R6/lib/X11/fonts/75dpi"
            FontPath     "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
    EndSection
    
    Section "Module"
            Load  "i2c"
            Load  "bitmap"
            Load  "ddc"
            Load  "dri"
            Load  "GLcore"
            Load  "extmod"
            Load  "freetype"
            Load  "glx"
            Load  "int10"
            Load  "type1"
            Load  "vbe"
    EndSection
    
    Section "InputDevice"
            Identifier  "Generic Keyboard"
            Driver      "kbd"
            Option      "CoreKeyboard"
            Option      "XkbRules" "xorg"
            Option      "XkbModel" "pc104"
            Option      "XkbLayout" "us"
    EndSection
    
    Section "InputDevice"
            Identifier  "Configured Mouse"
            Driver      "mouse"
            Option      "CorePointer"
            Option      "Device" "/dev/input/mice"
            Option      "Protocol" "ExplorerPS/2"
            Option      "Emulate3Buttons" "true"
    EndSection
    
    Section "InputDevice"
            Identifier  "Synaptics Touchpad"
            Driver      "synaptics"
            Option      "Device" "/dev/input/mouse0"
            Option      "Protocol" "event"
            Option      "LeftEdge" "130"
            Option      "RightEdge" "840"
            Option      "TopEdge" "130"
            Option      "BottomEdge" "640"
            Option      "FingerLow" "7"
            Option      "FingerHigh" "8"
            Option      "MaxTapTime" "180"
            Option      "MaxTapMove" "110"
            Option      "EmulateMidButtonTime" "75"
            Option      "VertScrollDelta" "20"
            Option      "HorizScrollDelta" "20"
            Option      "MinSpeed" "0.60"
            Option      "MaxSpeed" "1.10"
            Option      "AccelFactor" "0.030"
            Option      "EdgeMotionMinSpeed" "200"
            Option      "EdgeMotionMaxSpeed" "200"
            Option      "UpDownScrolling" "1"
            Option      "CircularScrolling" "1"
            Option      "CircScrollDelta" "0.1"
            Option      "CircScrollTrigger" "2"
            Option      "SHMConfig" "on"
            Option      "Emulate3Buttons" "on"
    EndSection
    
    Section "Monitor"
            Identifier   "aticonfig-Monitor[0]"
            Option      "VendorName" "ATI Proprietary Driver"
            Option      "ModelName" "Generic Autodetecting Monitor"
            Option      "DPMS" "true"
    EndSection
    
    Section "Device"
            Identifier  "aticonfig-Device[0]"
            Driver      "fglrx"
            Option      "VideoOverlay"   "on"
            Option      "UseInternalAGPGART"  "no"
    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 "DRI"
            Mode         0666
    EndSection
    this is on a loptop
    debian etch
    used the ati 8.28.8 installer
    i know in gentoo i have to run a script to switch opengl implementations, is that the same with debian?
    nVidia G-Force 6600GT (bfg) pci-e: amd 64 2000+ (939): 1024 corsair ram: 2X 80gb seagate harddisk SATA: plextor cd/dvd-read/write cdrom SATA

  2. #2
    Linux User
    Join Date
    Feb 2006
    Posts
    484
    your driver isn't loaded or isn't working.

    try : modprobe fglrx
    this will load the fglrx module

    and your opengl isn't working

    "OpenGL vendor string: Mesa project: www.mesa3d.org
    OpenGL renderer string: Mesa GLX Indirect
    OpenGL version string: 1.2 (1.5 Mesa 6.4.2)"

    you must get some similar to these lines
    "
    OpenGL vendor string: ATI Technologies Inc.
    OpenGL renderer string: RADEON 9600 XT Generic
    OpenGL version string: 2.0.5814 (8.25.1
    "

    if you get an error message while loading the fglrx modul check the fglrx install log :
    less /usr/share/fglrx/fglrx-install.log

    have fun!

  3. #3
    Linux User benjamin20's Avatar
    Join Date
    Oct 2004
    Location
    jacksonville beach FL
    Posts
    317
    do i have to stop loading any other drivers for fglrx to work. also ive seen some stuff about maby undoing agpgart. is this neccissary and how is it done?
    nVidia G-Force 6600GT (bfg) pci-e: amd 64 2000+ (939): 1024 corsair ram: 2X 80gb seagate harddisk SATA: plextor cd/dvd-read/write cdrom SATA

  4. #4
    Linux User
    Join Date
    Feb 2006
    Posts
    484
    is the fglrx modul is loaded correctly?
    if yes ,restart the desktop manager (gdm or kdm or xdm or etc.)
    type in character terminal
    /etc/init.d/gdm restart
    if you use gnome desktop manager

  5. #5
    Linux User benjamin20's Avatar
    Join Date
    Oct 2004
    Location
    jacksonville beach FL
    Posts
    317
    FATAL: Error inserting fglrx (/lib/modules/2.6.16-2-686/kernel/drivers/char/drm/fglrx.ko): Invalid module format
    nVidia G-Force 6600GT (bfg) pci-e: amd 64 2000+ (939): 1024 corsair ram: 2X 80gb seagate harddisk SATA: plextor cd/dvd-read/write cdrom SATA

  6. #6
    Linux Guru antidrugue's Avatar
    Join Date
    Oct 2005
    Location
    Montreal, Canada
    Posts
    3,212
    How did you install the drivers in the first place ? How did you build the "fglrx" module ?

    The simplest way would be something like that.

    (If you don't use sudo, be root instead where I mention "sudo".)

    First, prepare the ATI packages :
    Code:
    sudo apt-get install fakeroot
    chmod +x ./ati-driver-installer-8.28.8.run
    fakeroot ./ati-driver-installer-8.28.8.run --buildpkg Debian/etch
    Install the required resulting packages (only those 2 are required) :
    Code:
    sudo dpkg -i fglrx-driver_8.28.8-1_i386.deb fglrx-kernel-src_8.28.8-1_i386.deb
    Be sure to have the kernel headers installed first :
    Code:
    sudo apt-get install linux-headers-$(uname -r)
    Then you must build the "fglrx" module with module-assistant :
    Code:
    sudo apt-get install module-assistant
    cd /usr/src
    sudo m-a prepare
    sudo m-a a-i fglrx
    Finally make sure your /etc/X11/xorg.conf is correctly configured. A little hint there :
    http://www.stanchina.net/~flavio/deb...html#configure
    "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

  7. #7
    Linux User
    Join Date
    Feb 2006
    Posts
    484
    check the dmesg output for any errors

  8. #8
    Just Joined!
    Join Date
    Feb 2007
    Posts
    2
    Quote Originally Posted by antidrugue
    The simplest way would be something like that.

    (If you don't use sudo, be root instead where I mention "sudo".)

    First, prepare the ATI packages :
    Code:
    ...
    Finally make sure your /etc/X11/xorg.conf is correctly configured. A little hint there :
    http://www.stanchina.net/~flavio/deb...html#configure
    Thanks for the howto antidrugue, I actually followed the one from your webpage.
    I am having some problems configuring xorg.conf, I would appreciate some input.

    Here is the xorg.conf I tried
    Code:
    Section "Module"
    	Load	"i2c"
    	Load	"bitmap"
    	Load	"ddc"
    	Load	"dri"
    	Load	"GLcore"
    	Load	"extmod"
    	Load	"freetype"
    	Load	"glx"
    	Load	"int10"
    	Load	"vbe"
    	SubSection "extmod"
    	Option "omit xorg-dga"
    	EndSubSection
    EndSection
    
    Section "InputDevice"
    	Identifier	"Generic Keyboard"
    	Driver		"kbd"
    	Option		"CoreKeyboard"
    	Option		"XkbRules"	"xorg"
    	Option		"XkbModel"	"pc104"
    	Option		"XkbLayout"	"us"
    EndSection
    
    Section "InputDevice"
    	Identifier	"Configured Mouse"
    	Driver	"mouse"
    	Option	"CorePointer"
    	Option	"Device"	"/dev/input/mice"
    	Option	"Protocol"	"ExplorerPS/2"
    	Option	"Buttons"	"7"
    	Option	"ButtonMapping"	"1 2 3 6 7 4 5"
    	Option	"Emulate3Buttons"	"false"
    	Option	"ZAxisMapping"	"4 5"
    EndSection
    
    Section "Device"
    	Identifier	"ATI"
    	Driver	"fglrx"
    	Option "NoDDC" #tried with an withthout
    	Option	"VideoOverlay"	"on"
    	Option	"OpenGLOverlay"	"off"
    	Option	"UseInternalAGPGART"	"no"
    	BusID	"PCI:1:0:0"
    EndSection
    
    Section "Monitor"
    	Identifier	"VP191b"
    	Option		"DPMS"
    EndSection
    
    Section "Screen"
    	Identifier	"Default Screen"
    	Device		"ATI"
    	Monitor		"VP191b"
    	DefaultDepth	24
    	SubSection "Display"
    		Depth		24
    		Modes		"1280x1024"
    	EndSubSection
    EndSection
    
    Section "ServerLayout"
    	Identifier	"Default Layout"
    	Screen		"Default Screen"
    	InputDevice	"Generic Keyboard"
    	InputDevice	"Configured Mouse"
    EndSection
    
    Section "DRI"
    	Mode	0666
    EndSection
    When I restart kdm I just get a black screen, monitor stays on.

    I am using a fresh netinstall of etch with kde.
    Video card is an X800 XT PE AGP, monitor on DVI port.

  9. #9
    Linux Guru antidrugue's Avatar
    Join Date
    Oct 2005
    Location
    Montreal, Canada
    Posts
    3,212
    Everything seems fine, except that it's :
    Code:
    SubSection "extmod"
    		Option "omit xfree86-dga"
    EndSubSection
    and not xorg-dga.

    Also, make sure that the line :
    Code:
    BusID		"PCI:1:0:0"
    is really relevant to your card.

    Check the output of
    Code:
    lspci | grep -i display
    And of course, check :
    Code:
    cat /var/log/Xorg.0.log | grep EE
    for potential errors.
    "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

  10. #10
    Just Joined!
    Join Date
    Feb 2007
    Posts
    2
    Quote Originally Posted by antidrugue
    Everything seems fine, except that it's :
    Code:
    SubSection "extmod"
    		Option "omit xfree86-dga"
    EndSubSection
    and not xorg-dga.
    Changed to Option "omit xfree86-dga", makes no difference

    Quote Originally Posted by antidrugue
    Also, make sure that the line :
    Code:
    BusID		"PCI:1:0:0"
    is really relevant to your card.

    Check the output of
    Code:
    lspci | grep -i display
    I just kept it from the working xorg.conf that use the debian ati driver.

    lspci | grep -i display gives:
    01:00.1 Display controller: ATI Technologies Inc R420 [X800XT-PE] (Secondary)

    So is it right?

    Quote Originally Posted by antidrugue
    And of course, check :
    Code:
    cat /var/log/Xorg.0.log | grep EE
    for potential errors.
    I just get an error with that command

    cat /var/log/Xorg.0.log | grep EE
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
    (II) Loading extension MIT-SCREEN-SAVER

Posting Permissions

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