Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
glxgears and glxinfo problems[solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gamers & Players
View previous topic :: View next topic  
Author Message
GNUtoo
Veteran
Veteran


Joined: 05 May 2005
Posts: 1919

PostPosted: Tue Mar 06, 2007 12:02 pm    Post subject: glxgears and glxinfo problems[solved] Reply with quote

Code:
 # glxgears
glxgears: error while loading shared libraries: libGL.so.1: cannot handle TLS data

what should i do?
there is no tls flag for mesa
Code:
# equery b libGL.so.1
[ Searching for file(s) libGL.so.1 in *... ]
media-libs/mesa-6.5.1-r1 (/usr/lib/opengl/xorg-x11/lib/libGL.so.1 -> libGL.so.1.2)


Code:
# emerge -av mesa

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] media-libs/mesa-6.5.1-r1  USE="nptl -debug -doc -hardened -motif" VIDEO_CARDS="radeon -i810 -mach64 -mga -none -r128 -s3virge -savage -sis (-sunffb) -tdfx -trident -via" 0 kB

Total: 1 package (1 reinstall), Size of downloads: 0 kB


Last edited by GNUtoo on Sat Mar 10, 2007 2:39 pm; edited 1 time in total
Back to top
View user's profile Send private message
d2_racing
Bodhisattva
Bodhisattva


Joined: 25 Apr 2005
Posts: 13047
Location: Ste-Foy,Canada

PostPosted: Tue Mar 06, 2007 12:50 pm    Post subject: Reply with quote

did you load GLX module in your /etc/X11/xorg.conf ?
Back to top
View user's profile Send private message
GNUtoo
Veteran
Veteran


Joined: 05 May 2005
Posts: 1919

PostPosted: Tue Mar 06, 2007 4:35 pm    Post subject: Reply with quote

i loded this config and it gave me the same results:
Code:
# cat xorg.conf
Section "ServerLayout"
        Identifier      "X.Org Configured"
        Screen  0       "Screen0" 0 0
        InputDevice     "Keyboard0" "CoreKeyboard"
# PS/2 Mouse using /dev/input/mice in Kernel 2.6
#       InputDevice     "Serial Mouse" "AlwaysCore"
        InputDevice     "USB Mouse" "AlwaysCore"
#No Synaptics touchpad found
EndSection

Section "ServerFlags"
        Option  "AllowMouseOpenFail" "true"

EndSection

Section "Files"
        FontPath        "/usr/share/fonts/util"
        FontPath        "/usr/share/fonts/encodings"
        FontPath        "/usr/share/fonts/misc"
        FontPath        "/usr/share/fonts/local"
        FontPath        "/usr/share/fonts/terminus"
        FontPath        "/usr/share/fonts/corefonts"
        FontPath        "/usr/local/share/fonts"
        FontPath        "/usr/share/fonts/default"
        FontPath        "/usr/share/fonts/TTF"
        FontPath        "/usr/share/fonts/type1"
        FontPath        "/usr/share/fonts/100dpi"
        FontPath        "/usr/share/fonts/75dpi"
        FontPath        "/usr/share/fonts/arphicfonts"
        FontPath        "/usr/share/fonts/jisx0213"
        FontPath        "/usr/share/fonts/shinonome"
        FontPath        "/usr/share/fonts/baekmuk-fonts"
        FontPath        "/usr/share/fonts/kacst-fonts"
        FontPath        "/usr/share/fonts/sgi-fonts"
        FontPath        "/usr/share/fonts/unfonts"
        FontPath        "/usr/share/fonts/default/ghostscript"
        FontPath        "/usr/share/fonts/xfonts-cronyx-100dpi:unscaled"
        FontPath        "/usr/share/fonts/xfonts-cronyx-75dpi:unscaled"
        FontPath        "/usr/share/fonts/xfonts-cronyx-misc:unscaled"
        FontPath        "/usr/share/fonts/xfonts-cronyx-100dpi"
        FontPath        "/usr/share/fonts/xfonts-cronyx-75dpi"
        FontPath        "/usr/share/fonts/xfonts-cronyx-misc"
        FontPath        "/usr/share/fonts/xfonts-cronyx-cp1251-100dpi:unscaled"
        FontPath        "/usr/share/fonts/xfonts-cronyx-cp1251-75dpi:unscaled"
        FontPath        "/usr/share/fonts/xfonts-cronyx-cp1251-misc:unscaled"
        FontPath        "/usr/share/fonts/xfonts-cronyx-cp1251-100dpi"
        FontPath        "/usr/share/fonts/xfonts-cronyx-cp1251-75dpi"
        FontPath        "/usr/share/fonts/xfonts-cronyx-cp1251-misc"
        FontPath        "/usr/share/fonts/xfonts-cronyx-isocyr-100dpi:unscaled"
        FontPath        "/usr/share/fonts/xfonts-cronyx-isocyr-75dpi:unscaled"
        FontPath        "/usr/share/fonts/xfonts-cronyx-isocyr-misc:unscaled"
        FontPath        "/usr/share/fonts/xfonts-cronyx-isocyr-100dpi"
        FontPath        "/usr/share/fonts/xfonts-cronyx-isocyr-75dpi"
        FontPath        "/usr/share/fonts/xfonts-cronyx-isocyr-misc"
        FontPath        "/usr/share/fonts/xfonts-cronyx-koi8r-100dpi:unscaled"
        FontPath        "/usr/share/fonts/xfonts-cronyx-koi8r-75dpi:unscaled"
        FontPath        "/usr/share/fonts/xfonts-cronyx-koi8r-misc:unscaled"
        FontPath        "/usr/share/fonts/xfonts-cronyx-koi8r-100dpi"
        FontPath        "/usr/share/fonts/xfonts-cronyx-koi8r-75dpi"
        FontPath        "/usr/share/fonts/xfonts-cronyx-koi8r-misc"
        FontPath        "/usr/share/fonts/xfonts-cronyx-koi8u-100dpi:unscaled"
        FontPath        "/usr/share/fonts/xfonts-cronyx-koi8u-75dpi:unscaled"
        FontPath        "/usr/share/fonts/xfonts-cronyx-koi8u-misc:unscaled"
        FontPath        "/usr/share/fonts/xfonts-cronyx-koi8u-100dpi"
        FontPath        "/usr/share/fonts/xfonts-cronyx-koi8u-75dpi"
        FontPath        "/usr/share/fonts/xfonts-cronyx-koi8u-misc"
EndSection

Section "Module"
        Load    "ddc"
        Load    "vbe"
        Load    "GLcore"
        Load    "dbe"
        Load    "dri"
        Load    "extmod"
        Load    "glx"
        Load    "bitmap"
        Load    "type1"
        Load    "freetype"
        Load    "record"
EndSection

Section "InputDevice"
        Identifier      "Keyboard0"
        Driver  "kbd"
        Option  "CoreKeyboard"
        Option  "XkbRules" "xorg"
        Option  "XkbModel" "pc105"
#       Option  "XkbOptions" "grp:toggle,grp_led:scroll"
        Option  "XkbVariant" ",winkeys"
EndSection

Section "InputDevice"
        Identifier      "Serial Mouse"
        Driver  "mouse"
        Option  "Protocol" "Microsoft"
        Option  "Device" "/dev/ttyS0"
        Option  "Emulate3Buttons" "true"
        Option  "Emulate3Timeout" "70"
        Option  "SendCoreEvents"  "true"
EndSection

Section "InputDevice"
        Identifier      "PS/2 Mouse"
        Driver  "mouse"
        Option  "Protocol" "IMPS/2"
        Option  "Device" "/dev/misc/psaux"
        Option  "Emulate3Buttons" "true"
        Option  "Emulate3Timeout" "70"
        Option  "SendCoreEvents"  "true"
        Option  "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
        Identifier      "USB Mouse"
        Driver  "mouse"
        Option  "Device" "/dev/input/mice"
        Option  "SendCoreEvents" "true"
        Option  "Protocol" "IMPS/2"
        Option  "ZAxisMapping" "4 5"
        Option  "Buttons" "5"
EndSection

Section "InputDevice"
        Identifier      "Synaptics"
        Driver  "synaptics"
        Option  "Protocol" "event"
        Option  "Device" ""
        Option  "LeftEdge" "1900"
        Option  "RightEdge" "5400"
        Option  "TopEdge" "1900"
        Option  "BottomEdge" "4000"
        Option  "FingerLow" "25"
        Option  "FingerHigh" "30"
        Option  "MaxTapTime" "180"
        Option  "MaxTapMove" "220"
        Option  "VertScrollDelta" "100"
        Option  "MinSpeed" "0.02"
        Option  "MaxSpeed" "0.10"
        Option  "AccelFactor" "0.0010"
        Option  "SHMConfig" "on"
EndSection

# Auto-generated by mkxf86config

Section "Monitor"
        Identifier   "Monitor0"
        HorizSync    28.0 - 96.0
        VertRefresh  50.0 - 75.0
EndSection

Section "Device"
        ### Available Driver options are:-
        # sw_cursor is needed for some ati and radeon cards
        #Option     "sw_cursor"
        #Option     "hw_cursor"
        #Option     "NoAccel"
        #Option     "ShowCache"
        #Option     "ShadowFB"
        #Option     "UseFBDev"
        #Option     "Rotate"
        Identifier  "Card0"
        # The following line is auto-generated by x11-misc/mkxf86config
        Driver      "radeon"
#       VendorName  "All"
#       BoardName   "All"
        BusID       "PCI:1:0:0"
EndSection

Section "Screen"
        Identifier      "Screen0"
        Device  "Card0"
        Monitor "Monitor0"
        DefaultColorDepth 24
        SubSection "Display"
                Depth   1
                Modes "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth   4
                Modes "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth   8
                Modes "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth   15
                Modes "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth   16
                Modes "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth   24
                Modes "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth   32
                Modes "1024x768" "800x600" "640x480"
        EndSubSection
EndSection

Section "DRI"
        Mode 0666
EndSection

by the way:
Code:
# Xorg -version

X Window System Version 7.1.1
Release Date: 12 May 2006
X Protocol Version 11, Revision 0, Release 7.1.1
Build Operating System: UNKNOWN
Current Operating System: Linux port4 2.6.20-gentoo_sempron_2500 #5 Tue Mar 6 13:37:14 CET 2007 i686
Build Date: 05 March 2007
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Module Loader present

i can start X without a config...mabe that's a new feature...how can i create a config from that(specialy for the screen of my laptop)
mabe there are things in /proc ?
Back to top
View user's profile Send private message
otherside
Apprentice
Apprentice


Joined: 01 Jul 2002
Posts: 179

PostPosted: Tue Mar 06, 2007 7:51 pm    Post subject: Reply with quote

GNUtoo wrote:

i can start X without a config...mabe that's a new feature...how can i create a config from that(specialy for the screen of my laptop)
mabe there are things in /proc ?


Yes, that's a new feature, xorg now won't need any config file, although you can create one to override default settings.

$ man xorgcfg
$ man xorgconfig
Back to top
View user's profile Send private message
GNUtoo
Veteran
Veteran


Joined: 05 May 2005
Posts: 1919

PostPosted: Thu Mar 08, 2007 4:30 pm    Post subject: Reply with quote

according to https://bugs.gentoo.org/show_bug.cgi?id=136115 it's a bug
i fixed it emerging mesa without nptl
but now i still have a problem:
Code:
# glxinfo
name of display: :0.0
Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".
Error: couldn't find RGB GLX visual

   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
----------------------------------------------------------------------
Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".
0x21 24 tc  1  0  0 c  .  .  0  0  0  0  0  0  0  0  0  0  0  0 0 None
Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".
0x22 24 dc  1  0  0 c  .  .  0  0  0  0  0  0  0  0  0  0  0  0 0 None
Back to top
View user's profile Send private message
GNUtoo
Veteran
Veteran


Joined: 05 May 2005
Posts: 1919

PostPosted: Sat Mar 10, 2007 2:38 pm    Post subject: Reply with quote

solved
i emerged xorg-server without ntpl and it worked
previously i also emerged mesa without ntlp
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gamers & Players All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum