Announcement

Collapse
No announcement yet.

Installing fglrx for V5250 (Thinkpad T60p)

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Installing fglrx for V5250 (Thinkpad T60p)

    Hi,

    I am failing miserably to get the 8.40.4 driver running correctly on my Thinkpad T60p / Fedora 7. Has anyone succeeded, please? Everything is claiming that it's fine, e.g.

    $ xdriinfo
    Screen 0: fglrx

    $ 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_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: 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: ATI Technologies Inc.
    OpenGL renderer string: ATI MOBILITY FireGL V5250
    OpenGL version string: 2.0.6747 (8.40.4)
    ...

    However, glxgears only gives me 60 fps and more OpenGL intensive programs (i.e. World of Warcraft) either crash or freeze. This is my Devices section from xorg.conf:

    Section "Device"
    Identifier "FireGL-fglrx"
    Driver "fglrx"
    Option "OpenGLOverlay" "on"
    Option "VideoOverlay" "on"
    Option "UseFastTls" "2"
    Option "UseInternalAGPGART" "no"
    Option "MaxGARTSize" "128"
    Option "Capabilities" "0x00000800"
    Option "KernelModuleParm" "locked-userpages=0"
    Option "Centermode" "off"
    Option "PseudoColorVisuals" "on"
    BusID "PCI:1:0:0"
    EndSection

    Yes, intel-agp was loaded before fglrx:

    ...
    fglrx 720736 17
    snd_seq_device 6220 3 snd_seq_dummy,snd_seq_oss,snd_seq
    snd_pcm_oss 34528 0
    snd_mixer_oss 13184 2 snd_pcm_oss
    snd_pcm 61188 3 snd_hda_intel,snd_pcm_oss
    snd_timer 16708 2 snd_seq,snd_pcm
    snd 39396 13 snd_hda_intel,snd_seq_oss,snd_seq,snd_seq_devic
    e,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
    soundcore 6048 2 snd
    snd_page_alloc 7304 2 snd_hda_intel,snd_pcm
    intel_agp 20372 0
    agpgart 25048 2 fglrx,intel_agp
    ...

    I think I've reached the limit of my knowledge here, but the V5250 isn't exactly new so surely some people *must* have managed! "EmperorLinux" even offers Linux preinstalled on this model as the "Toucan"! So unless I'm just having a Warcraft problem and am the only person trying to play on a T60p...??!

    Any help gratefully received.
    Thanks,
    Chris

  • #2
    I see you have both VideoOverlay and OpenGLOverlay enabled.. Shouldn't one of them be off ?
    Those who would give up Essential Liberty to purchase a little Temporary Safety,deserve neither Liberty nor Safety.
    Ben Franklin 1755

    Comment


    • #3
      Err.... no idea :-) !!

      Originally posted by DarkFoss View Post
      I see you have both VideoOverlay and OpenGLOverlay enabled.. Shouldn't one of them be off ?
      I can try turning each one off to see what difference it makes. To be honest, I don't even know what each option does. I have just been trying enabling options that I find in Xorg.0.log to get the thing working.

      Comment


      • #4
        What you should do, is get rid of the option Option "UseFastTls" "2", this option has a habit of creating instabilities.

        Comment


        • #5
          Ouch, I can't do that.

          Originally posted by glussier View Post
          What you should do, is get rid of the option Option "UseFastTls" "2", this option has a habit of creating instabilities.
          I need this laptop to run Wine, and Wine refuses to use OpenGL unless UseFastTls is 2.

          Comment


          • #6
            This is my device section, and wine is working great:

            Code:
            Section "Device"
            
            	Identifier  "aticonfig-Device[0]"
            	Driver      "fglrx"
                    Option      "GammaCorrectionI"  "0x09622489"
            	Option	    "VideoOverlay" "on"
            	Option	    "PseudoColorVisuals" "off"
            	Option	    "OpenGLOverlay" "off"
            EndSection

            Comment


            • #7
              glussier,

              using UseFastTLS is only needed when having a FireGL workstation card. That is what Google says.

              Comment


              • #8
                But I do have a FireGL workstation card, don't I?

                Originally posted by d2kx View Post
                glussier,

                using UseFastTLS is only needed when having a FireGL workstation card. That is what Google says.
                Anyway, I have loaded some extra modules in xorg.conf and now Wine will consent to run with UseFastTLS = 1. (Although the Xorg.0.log file suggests it's being reset to 2 anyway??!) But the massive underlying problem still remains:

                fglX11AllocateManagedSurface: __FGLTexMgrAllocMem failed!!

                This looks like the "no POSIX shared memory" error, but it isn't: the driver creates its 1 MB of POSIX shared memory in /dev/shm just fine.

                The current xorg.conf looks like this:

                # Xorg configuration created by system-config-display

                Section "ServerLayout"
                Identifier "Default Layout"
                Screen 0 "Screen0" 0 0
                InputDevice "Keyboard0" "CoreKeyboard"
                InputDevice "Synaptics" "CorePointer"
                EndSection

                Section "Files"
                FontPath "unix/:7100"
                EndSection

                Section "Module"
                Load "extmod"
                Load "record"
                Load "xtrap"
                Load "GLcore"
                Load "glx"
                Load "dri"
                Load "vbe"
                Load "dbe"
                EndSection

                Section "ServerFlags"
                Option "BlankTime" "0"
                Option "StandByTime" "0"
                Option "OffTime" "15"
                Option "AIGLX" "off"
                EndSection

                Section "InputDevice"
                Identifier "Keyboard0"
                Driver "kbd"
                Option "XkbModel" "pc105"
                Option "XkbLayout" "gb"
                EndSection

                Section "InputDevice"
                Identifier "Synaptics"
                Driver "synaptics"
                Option "Device" "/dev/input/mice"
                Option "Protocol" "auto-dev"
                # Option "Emulate3Buttons" "yes"
                EndSection

                Section "Monitor"
                Identifier "Thinkpad-LCD"
                Option "VendorName" "ATI Proprietary Driver"
                Option "ModelName" "Generic Autodetecting Monitor"
                Option "DPMS" "true"
                EndSection

                Section "Device"
                Identifier "FireGL-vesa"
                Driver "vesa"
                BusID "PCI:1:0:0"
                EndSection

                Section "Device"
                Identifier "FireGL-avivo"
                Driver "avivo"
                Option "ShadowFB" "on"
                BusID "PCI:1:0:0"
                EndSection

                Section "Device"
                Identifier "FireGL-fglrx"
                Driver "fglrx"
                Option "OpenGLOverlay" "off"
                Option "VideoOverlay" "on"
                Option "UseFastTls" "1"
                Option "UseInternalAGPGART" "no"
                Option "MaxGARTSize" "256"
                Option "Capabilities" "0x00000800"
                Option "KernelModuleParm" "locked-userpages=0"
                Option "Centermode" "on"
                Option "PseudoColorVisuals" "off"
                Option "EnablePrivateBackZ" "off"
                BusID "PCI:1:0:0"
                EndSection

                Section "Screen"
                Identifier "Screen0"
                Device "FireGL-fglrx"
                Monitor "Thinkpad-LCD"
                DefaultDepth 24
                SubSection "Display"
                Viewport 0 0
                Depth 24
                Modes "1680x1050" "1280x1024" "1280x960" "1024x768" "800x600" "640x480"
                EndSubSection
                SubSection "Display"
                Viewport 0 0
                Depth 16
                Modes "1680x1050" "1280x1024" "1280x960" "1024x768" "800x600" "640x480"
                EndSubSection
                EndSection

                Section "Extensions"
                Option "Composite" "off"
                EndSection

                Section "DRI"
                Group "video"
                Mode 0660
                EndSection

                Can anyone see *anything* which might be amiss, please? Does anyone else run World of Warcraft on a v5250 under Linux?

                Comment


                • #9
                  Which version of Xorg do you have, please?

                  Originally posted by glussier View Post
                  This is my device section, and wine is working great:

                  Code:
                  Section "Device"
                  
                  	Identifier  "aticonfig-Device[0]"
                  	Driver      "fglrx"
                          Option      "GammaCorrectionI"  "0x09622489"
                  	Option	    "VideoOverlay" "on"
                  	Option	    "PseudoColorVisuals" "off"
                  	Option	    "OpenGLOverlay" "off"
                  EndSection
                  I am running FC7, which uses the Xorg 1.3.0 server. However, I have examined by Xorg.0.log file and have found the following:

                  Code:
                  (II) Module ABI versions:
                          X.Org ANSI C Emulation: 0.3
                          X.Org Video Driver: 1.2
                          X.Org XInput driver : 0.7
                          X.Org Server Extension : 0.3
                          X.Org Font Renderer : 0.5
                  
                  (II) LoadModule: "extmod"
                  (II) Loading /usr/lib/xorg/modules/extensions//libextmod.so
                  (II) Module extmod: vendor="X.Org Foundation"
                          compiled for 1.3.0, module version = 1.0.0
                          Module class: X.Org Server Extension
                          ABI class: X.Org Server Extension, version 0.3
                  
                  (II) LoadModule: "fglrx"
                  (II) Loading /usr/lib/xorg/modules/drivers//fglrx_drv.so
                  (II) Module fglrx: vendor="FireGL - ATI Technologies Inc."
                          compiled for 7.1.0, module version = 8.40.4
                          Module class: X.Org Video Driver
                          ABI class: X.Org Video Driver, version 1.0
                  
                  (II) LoadModule: "kbd"
                  (II) Loading /usr/lib/xorg/modules/input//kbd_drv.so
                  (II) Module kbd: vendor="X.Org Foundation"
                          compiled for 7.2.0, module version = 1.1.0
                          Module class: X.Org XInput Driver
                          ABI class: X.Org XInput driver, version 0.6
                  So my fglrx module is "compiled for 7.1.0", but my kbd module is "compiled for 7.2.0". Do you think that this could be significant, please? Perhaps my fglrx module also needs to be "compiled for 7.2.0" in order to be compatible with Xorg 1.3.0?

                  Comment


                  • #10
                    Do you think that this could be significant, please?
                    No. It is correct.

                    Section "Extensions"
                    Option "Composite" "off"
                    EndSection
                    Not needed since 8.39. Also, you should use "Disable" instead of "off" here.

                    Section "DRI"
                    Group "video"
                    Mode 0660
                    EndSection
                    Normally it is just

                    Section "DRI"
                    Mode 0666
                    EndSection
                    Last edited by d2kx; 18 August 2007, 08:24 AM.

                    Comment

                    Working...
                    X