You are not logged in.

#1 2006-02-24 00:44:44

Sigi
Member
From: Thurgau, Switzerland
Registered: 2005-09-22
Posts: 1,131

update to xorg7: fglrx (dri) not working

HI

After its recent move to current, I gave xorg7 a further try. Everything works here - except 3D.
I tried several things: old xorg.conf, new one generated by xorgconfig (and adjusted), new one generated by hwd-4.8 (and edited)..

The fglrx module seems to be working, but there seems to be something wrong with my desktop-setup...

xorg.conf:

Section "ServerLayout"
        Identifier     "Simple Layout"
        Screen         "Screen 1"
        InputDevice    "Mouse1" "CorePointer"
        InputDevice    "synaptics" "AlwaysCore"
        InputDevice    "Keyboard1" "CoreKeyboard"
EndSection

Section "Files"
        RgbPath      "/usr/share/X11/rgb"
        ModulePath   "/usr/lib/xorg/modules"
        FontPath     "/usr/share/fonts/misc"
        FontPath     "/usr/share/fonts/75dpi"
        FontPath     "/usr/share/fonts/100dpi"
        FontPath     "/usr/share/fonts/TTF"
        FontPath     "/usr/share/fonts/Type1"
EndSection

Section "DRI"
        Mode 0666
EndSection

Section "Module"
# This loads the font modules
#       Load        "type1"
#       Load        "speedo"
# This loads the GLX module
        Load  "dbe"     # Double buffer extension
        SubSection "extmod"
                Option      "omit xfree86-dga"   # don't initialise the DGA extension
        EndSubSection
        Load  "freetype"
#       Load  "xtt"
        Load  "glx"
# This loads the DRI module
        Load  "dri"
EndSection

Section "InputDevice"
        Identifier  "Keyboard1"
        Driver      "kbd"
        Option      "AutoRepeat" "500 30"
        Option      "XkbRules" "xorg"
        Option      "XkbModel" "pc105"
        Option      "XkbLayout" "ch"
EndSection

Section "InputDevice"
        Identifier  "Mouse1"
        Driver      "mouse"
        Option      "Protocol" "IMPS/2"
        Option      "Device" "/dev/input/mice"
        Option      "ZAxisMapping" "4 5 6 7"
EndSection

Section "InputDevice"
        Identifier  "synaptics"
        Driver      "synaptics"
        Option      "Device" "/dev/input/mice"
        Option      "Protocol" "auto-dev"
        Option      "LeftEdge" "1700"
        Option      "RightEdge" "5300"
        Option      "TopEdge" "1700"
        Option      "BottomEdge" "4200"
        Option      "FingerLow" "25"
        Option      "FingerHigh" "30"
        Option      "MaxTapTime" "180"
        Option      "MaxTapMove" "220"
        Option      "VertScrollDelta" "100"
        Option      "MinSpeed" "0.14"
        Option      "MaxSpeed" "0.35"
        Option      "AccelFactor" "0.0010"
        Option      "SHMConfig" "on"
#  Option       "Repeater"      "/dev/ps2mouse"
EndSection

Section "Monitor"
        HorizSync    31.5 - 82.0
        VertRefresh  40.0 - 150.0
        Identifier   "My Monitor"
EndSection

Section "Device"
    VideoRam    65536
# ### generic DRI settings ###
# === disable PnP Monitor  ===
    #Option                              "NoDDC"
# === disable/enable XAA/DRI ===
# ### FireGL DDX driver module specific settings ###
# === Screen Management ===
        Identifier  "My Video Card"
        Driver      "fglrx"
        Option      "no_accel" "no"
        Option      "no_dri" "no"
# === misc DRI settings ===
        Option      "mtrr" "off" # disable DRI mtrr mapper, driver has its own code for mtrr
        Option      "DesktopSetup" "none"
        Option      "ScreenOverlap" "0"
        Option      "GammaCorrectionI" "0x00000000"
        Option      "GammaCorrectionII" "0x00000000"
# === OpenGL specific profiles/settings ===
        Option      "Capabilities" "0x00000000"
        Option      "CapabilitiesEx" "0x00000000"
# === Video Overlay for the Xv extension ===
        Option      "VideoOverlay" "off"
# === OpenGL Overlay ===
        Option      "OpenGLOverlay" "off"
# === Center Mode (Laptops only) ===
        Option      "CenterMode" "off"
# === Pseudo Color Visuals (8-bit visuals) ===
        Option      "PseudoColorVisuals" "off"
# === QBS Management ===
        Option      "Stereo" "off"
        Option      "StereoSyncEnable" "1"
# === FSAA Management ===
        Option      "FSAAEnable" "no"
        Option      "FSAAScale" "1"
        Option      "FSAADisableGamma" "no"
        Option      "FSAACustomizeMSPos" "no"
        Option      "FSAAMSPosX0" "0.000000"
        Option      "FSAAMSPosY0" "0.000000"
        Option      "FSAAMSPosX1" "0.000000"
        Option      "FSAAMSPosY1" "0.000000"
        Option      "FSAAMSPosX2" "0.000000"
        Option      "FSAAMSPosY2" "0.000000"
        Option      "FSAAMSPosX3" "0.000000"
        Option      "FSAAMSPosY3" "0.000000"
        Option      "FSAAMSPosX4" "0.000000"
        Option      "FSAAMSPosY4" "0.000000"
        Option      "FSAAMSPosX5" "0.000000"
        Option      "FSAAMSPosY5" "0.000000"
# === Misc Options ===
        Option      "UseFastTLS" "0"
        Option      "BlockSignalsOnLock" "on"
        Option      "UseInternalAGPGART" "off"
        Option      "ForceGenericCPU" "no"
        Option      "OverlayOnCRTC2" "0"
        BusID       "PCI:1:0:0"
EndSection

Section "Screen"
        Identifier "Screen 1"
        Device     "My Video Card"
        Monitor    "My Monitor"
        DefaultDepth     24
        SubSection "Display"
                Viewport   0 0
                Depth     24
#               Modes    "1400x1050" "1024x768" "800x600" "640x480"
        EndSubSection
EndSection

cat /var/log/Xorg.0.log | grep WW ( -> EE doesn't show something of interesst):

(WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi".
(WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi".
(WW) fglrx(0): board is an unknown third party board, chipset is supported
(WW) fglrx(0): Specified desktop setup not supported: 8

If I enable OpenGLoverlay in xorg.conf, I get the following error message in console:

No matching visual for __GLcontextMode with visual class = 3 (32772), nplanes = 0

Any ideas?
Cheerio Sigi


Haven't been here in a while. Still rocking Arch. smile

Offline

#2 2006-02-24 01:08:35

Sigi
Member
From: Thurgau, Switzerland
Registered: 2005-09-22
Posts: 1,131

Re: update to xorg7: fglrx (dri) not working

I forgot to clarify that there is the mesa driver working, instead of fglrx.

[sigi@arch ~]$ glxinfo | grep OpenGL
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:

Haven't been here in a while. Still rocking Arch. smile

Offline

#3 2006-02-24 03:34:45

Cerebral
Forum Fellow
From: Waterloo, ON, CA
Registered: 2005-04-08
Posts: 3,108
Website

Re: update to xorg7: fglrx (dri) not working

Have you symlinked:

ln -s /usr/lib/xorg/modules /usr/X11R6/lib/modules

?

Offline

#4 2006-02-24 17:37:29

Sigi
Member
From: Thurgau, Switzerland
Registered: 2005-09-22
Posts: 1,131

Re: update to xorg7: fglrx (dri) not working

Thanks a lot! It worked!

:oops: I think I should follow the instructions in wikis much more precise..

Thx again, you're my personal hero of the day ;-)
I spent more than 2 hours yesterday night trying out thousands of variants of xorg-configs...

Cheers Sigi


Haven't been here in a while. Still rocking Arch. smile

Offline

#5 2006-03-10 16:03:06

Kin
Member
From: Oberfranken / Europe
Registered: 2004-01-23
Posts: 137

Re: update to xorg7: fglrx (dri) not working

Hi,

well, I also try to get dri working with fglrx drivers. It doesn t work..

I tried several configs, e.g. from the wiki and and adpoted it, but no dri.
Can someone please tell me step by step what is need ?











~]# 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:
    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_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 32  0 r  y  .  8  8  8  8  0 24  8 16 16 16 16  1 0 Slow
0x24 24 tc  0 32  0 r  .  .  8  8  8  8  0 24  8 16 16 16 16  1 0 Slow
0x25 24 tc  0 32  0 r  y  .  8  8  8  8  0 24  0 16 16 16 16  1 0 Slow
0x26 24 tc  0 32  0 r  .  .  8  8  8  8  0 24  0 16 16 16 16  1 0 Slow
0x27 24 tc  0 32  0 r  y  .  8  8  8  8  0 24  8  0  0  0  0  1 0 None
0x28 24 tc  0 32  0 r  .  .  8  8  8  8  0 24  8  0  0  0  0  1 0 None
0x29 24 tc  0 32  0 r  y  .  8  8  8  8  0 24  0  0  0  0  0  1 0 None
0x2a 24 tc  0 32  0 r  .  .  8  8  8  8  0 24  0  0  0  0  0  1 0 None
0x2b 24 dc  0 32  0 r  y  .  8  8  8  8  0 24  8 16 16 16 16  1 0 Slow
0x2c 24 dc  0 32  0 r  .  .  8  8  8  8  0 24  8 16 16 16 16  1 0 Slow
0x2d 24 dc  0 32  0 r  y  .  8  8  8  8  0 24  0 16 16 16 16  1 0 Slow
0x2e 24 dc  0 32  0 r  .  .  8  8  8  8  0 24  0 16 16 16 16  1 0 Slow
0x2f 24 dc  0 32  0 r  y  .  8  8  8  8  0 24  8  0  0  0  0  1 0 None
0x30 24 dc  0 32  0 r  .  .  8  8  8  8  0 24  8  0  0  0  0  1 0 None
0x31 24 dc  0 32  0 r  y  .  8  8  8  8  0 24  0  0  0  0  0  1 0 None
0x32 24 dc  0 32  0 r  .  .  8  8  8  8  0 24  0  0  0  0  0  1 0 None

Offline

#6 2006-03-10 16:20:31

Sigi
Member
From: Thurgau, Switzerland
Registered: 2005-09-22
Posts: 1,131

Re: update to xorg7: fglrx (dri) not working

Did you follow the hint posted by Cerebral in this thread?

If yes, run

depmod -a

according to the official thread by iphitus..

Cheers Sigi


Haven't been here in a while. Still rocking Arch. smile

Offline

Board footer

Powered by FluxBB