Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 131346 - Xorg 7 modular ATI no hw-accel libGL fglrx
Summary: Xorg 7 modular ATI no hw-accel libGL fglrx
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: X11 External Driver Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-26 07:50 UTC by smegma
Modified: 2007-10-26 19:16 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
--- attachment: interesting dmesg output --- (agp-dmesg,1005 bytes, text/plain)
2006-04-26 08:01 UTC, smegma
Details

Note You need to log in before you can comment on or make changes to this bug.
Description smegma 2006-04-26 07:50:57 UTC
Dunno what to do now...

1. No GL accel in modular x11-base/xorg-x11-7.0-r1 && ati-drivers 8.21.7-r1
   Its the same with 8.23 driver and X11R6
   despite this, Q3 does use libGL...

GL_VENDOR: ATI Technologies Inc.
GL_RENDERER: RADEON 9700 PRO Generic
GL_VERSION: 2.0.5582 (8.21.7)
[...]
...loading libGL.so.1:
Calling SDL_Init(SDL_INIT_VIDEO)...
SDL_Init(SDL_INIT_VIDEO) passed.
Initializing OpenGL display
[...]

==========================================================================
                  /opt/ati/bin/fglrxinfo
==========================================================================

2. Screen turns dark after shutting down X (switching out of X works fine)
   No the "notv" option won't change anything.

==========================================================================
                  from Xorg.log.old
==========================================================================

	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(WW) The core pointer device wasn't specified explicitly in the layout.
(WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/encodings".
(WW) The directory "/usr/share/fonts/terminus" does not exist.
(WW) The directory "/usr/share/fonts/corefonts" does not exist.
(WW) The directory "/usr/local/share/fonts" does not exist.
(WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts".
(WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/default".
(WW) The directory "/usr/share/fonts/arphicfonts" does not exist.
(WW) The directory "/usr/share/fonts/jisx0213" does not exist.
(WW) The directory "/usr/share/fonts/shinonome" does not exist.
(WW) The directory "/usr/share/fonts/baekmuk-fonts" does not exist.
(WW) The directory "/usr/share/fonts/kacst-fonts" does not exist.
(WW) The directory "/usr/share/fonts/sgi-fonts" does not exist.
(WW) The directory "/usr/share/fonts/unfonts" does not exist.
(WW) The directory "/usr/share/fonts/xfonts-cronyx-100dpi" does not exist.
(WW) The directory "/usr/share/fonts/xfonts-cronyx-75dpi" does not exist.
(WW) The directory "/usr/share/fonts/xfonts-cronyx-misc" does not exist.
(WW) The directory "/usr/share/fonts/xfonts-cronyx-100dpi" does not exist.
(WW) The directory "/usr/share/fonts/xfonts-cronyx-75dpi" does not exist.
(WW) The directory "/usr/share/fonts/xfonts-cronyx-misc" does not exist.
(WW) The directory "/usr/share/fonts/xfonts-cronyx-cp1251-100dpi" does not exist.
(WW) The directory "/usr/share/fonts/xfonts-cronyx-cp1251-75dpi" does not exist.
(WW) The directory "/usr/share/fonts/xfonts-cronyx-cp1251-misc" does not exist.
(WW) The directory "/usr/share/fonts/xfonts-cronyx-cp1251-100dpi" does not exist.
(WW) The directory "/usr/share/fonts/xfonts-cronyx-cp1251-75dpi" does not exist.
(WW) The directory "/usr/share/fonts/xfonts-cronyx-cp1251-misc" does not exist.
(WW) The directory "/usr/share/fonts/xfonts-cronyx-isocyr-100dpi" does not exist.
(WW) The directory "/usr/share/fonts/xfonts-cronyx-isocyr-75dpi" does not exist.
(WW) The directory "/usr/share/fonts/xfonts-cronyx-isocyr-misc" does not exist.
(WW) The directory "/usr/share/fonts/xfonts-cronyx-isocyr-100dpi" does not exist.
(WW) The directory "/usr/share/fonts/xfonts-cronyx-isocyr-75dpi" does not exist.
(WW) The directory "/usr/share/fonts/xfonts-cronyx-isocyr-misc" does not exist.
(WW) The directory "/usr/share/fonts/xfonts-cronyx-koi8r-100dpi" does not exist.
(WW) The directory "/usr/share/fonts/xfonts-cronyx-koi8r-75dpi" does not exist.
(WW) The directory "/usr/share/fonts/xfonts-cronyx-koi8r-misc" does not exist.
(WW) The directory "/usr/share/fonts/xfonts-cronyx-koi8r-100dpi" does not exist.
(WW) The directory "/usr/share/fonts/xfonts-cronyx-koi8r-75dpi" does not exist.
(WW) The directory "/usr/share/fonts/xfonts-cronyx-koi8r-misc" does not exist.
(WW) The directory "/usr/share/fonts/xfonts-cronyx-koi8u-100dpi" does not exist.
(WW) The directory "/usr/share/fonts/xfonts-cronyx-koi8u-75dpi" does not exist.
(WW) The directory "/usr/share/fonts/xfonts-cronyx-koi8u-misc" does not exist.
(WW) The directory "/usr/share/fonts/xfonts-cronyx-koi8u-100dpi" does not exist.
(WW) The directory "/usr/share/fonts/xfonts-cronyx-koi8u-75dpi" does not exist.
(WW) The directory "/usr/share/fonts/xfonts-cronyx-koi8u-misc" does not exist.
(EE) Failed to load /usr/lib/xorg/modules/extensions/libGLcore.so
(EE) Failed to load module "GLcore" (loader failed, 7)
(II) Loading extension MIT-SCREEN-SAVER
(WW) Warning, couldn't open module speedo
(EE) Failed to load module "speedo" (module does not exist, 0)
(WW) fglrx: No matching Device section for instance (BusID PCI:1:0:1) found
(WW) fglrx(0): Specified desktop setup not supported: 8
(WW) fglrx(0): Option "hw_cursor" is not used
display: :0.0  screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: RADEON 9700 PRO Generic
OpenGL version string: 2.0.5582 (8.21.7)

vendor_id	: AuthenticAMD
cpu family	: 6
model		: 10
model name	: AMD Athlon(tm) XP 3000+
stepping	: 0
cpu MHz		: 2166.256
cache size	: 512 KB
fdiv_bug	: no
hlt_bug		: no
f00f_bug	: no
coma_bug	: no
fpu		: yes
fpu_exception	: yes
cpuid level	: 1
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 mmx fxsr sse syscall mmxext 3dnowext 3dnow

==========================================================================
                   emerge --info
==========================================================================

Gentoo Base System version 1.6.14
Portage 2.1_pre7-r5 (default-linux/x86/2006.0, gcc-3.4.5, glibc-2.3.5-r2, 2.6.15-gentoo-r1 i686)
=================================================================
System uname: 2.6.15-gentoo-r1 i686 AMD Athlon(tm) XP 3000+
dev-lang/python:     2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext X aac aalib acl alsa apache2 apm arts audiofile avi bash-completion berkdb bitmap-fonts bluetooth bzip2 cdr cli crypt ctltk cups curl dga dio directfb divx4linux dri dts dvd dvdr dvdread eds emacs emboss encode esd fbcon ffmpeg flac flash foomaticdb fortran gcl gdbm gif gnome gnutls gpm gstreamer gtk gtk2 hal icq imagemagick imlib ipv6 isdnlog java javascript jpeg jpeg2kk lame libcaca libg++ libwww mad matroska mikmod mime ming mmx mmxext mp3 mpeg ncurses nls nocd nptl offensive ogg oggvorbis opengl oss pam pcre pdf pdflib perl png posix pppd profiles python quicktime readline reflection samba sdl session sockets source spell spl sse ssl svga szip tcpd theora tidy truetype truetype-fonts type1-fonts udev unicode usb v4l vcd vorbis win32codecs xml xmms xorg xv xvid zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux userland_GNU video_cards_fglrx"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY

==========================================================================
                   /etc/X11/xorg.conf
==========================================================================

# Auto-generated by mkxf86config


# PS/2 Mouse not detected
#	InputDevice	"Serial Mouse" "AlwaysCore"
# USB Mouse not detected
#No Synaptics touchpad found

Section "ServerLayout"
	Identifier     "X.Org Configured"
	Screen      0  "Screen0" 0 0
	InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

# lol...

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"
	FontPath     "/usr/share/fonts/default"
	FontPath     "/usr/share/fonts/TTF"
	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  "speedo"
	Load  "type1"
	Load  "freetype"
	Load  "record"
EndSection

Section "ServerFlags"
	Option	    "AllowMouseOpenFail" "true"
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


# commented out for USB mouses to work...

#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" "Auto"
#	Option	    "Device" "/dev/mouse"
#	Option	    "Device" "/dev/input/mice"

#	Option	    "Emulate3Buttons" "true"
#	Option	    "Emulate3Timeout" "70"
#	Option	    "SendCoreEvents" "true"
#	Option	    "ZAxisMapping" "4 5"
#EndSection
#
#************************************************
#		USB Mouse
#************************************************

Section "InputDevice"
	Identifier  "Mouse0"
	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.20"
	Option	    "AccelFactor" "0.0010"
	Option	    "SHMConfig" "on"
EndSection

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 	    "ForceMonitors" "notv" 
#	BusID       "PCI:1:0:0"
	Identifier  "Card0"
	Driver      "fglrx"
	Option      "UseInternalAGPGART" "yes"
	VendorName  "ATI"
	BoardName   "ATI Radeon 9700 Pro"
	#Option	    "sw_cursor"
	Option      "hw_cursor"
	#Option     "NoAccel"
	#Option     "ShowCache"
	#Option     "ShadowFB"
	#Option     "UseFBDev"
	#Option     "Rotate"
EndSection

Section "Screen"

	Identifier "Screen0"
	Device     "Card0"
	Monitor    "Monitor0"
	DefaultDepth     24



	SubSection "Display"
		Depth     24
		Modes    "1400x1050" "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
	EndSubSection
EndSection


Section "DRI"
	Mode         0666
EndSection
Comment 1 smegma 2006-04-26 08:01:03 UTC
Created attachment 85543 [details]
--- attachment: interesting dmesg output ---

If the OpenGL vendor string says "ATI Technologies," then congrats! You've got the drivers working and hardware acceleration going great. If not...read on...
http://gentoo-wiki.com/HOWTO_ATI_Drivers  |:

==========================================================================
                  /opt/ati/bin/fglrxinfo
==========================================================================
display: :0.0  screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: RADEON 9700 PRO Generic
OpenGL version string: 2.0.5582 (8.21.7)
Comment 2 intenso 2006-05-17 15:20:12 UTC
Same problem here x11-base/xorg-x11-7.0-r1 and x11-drivers/ati-drivers-8.24.8:

# /opt/ati/bin/fglrxinfo
display: :0.0  screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: RADEON 9550 Generic
OpenGL version string: 2.0.5755 (8.24.8)
# /usr/games/bin/et-tcetest
ET 2.60b linux-i386 May  8 2006
----- FS_Startup -----
Current search path:
...
----- Client Initialization -----
----- Initializing Renderer ----
-------------------------------
----- Client Initialization Complete -----
----- R_Init -----
...loading libGL.so.1: Initializing OpenGL display
...setting mode 4: 800 600
Using XFree86-VidModeExtension Version 2.2
XF86DGA Mouse (Version 2.0) initialized
XFree86-VidModeExtension Activated at 800x600
Using 8/8/8 Color bits, 24 depth, 0 stencil display.
GL_RENDERER: Mesa GLX Indirect


***********************************************************
 You are using software Mesa (no hardware acceleration)!
 Driver DLL used: libGL.so.1
 If this is intentional, add
       "+set r_allowSoftwareGL 1"
 to the command line when starting the game.
***********************************************************
....

The rendering is working in glxgears too but it is not working in games: torcs, tcetest,...
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2007-10-26 19:16:11 UTC
Dead bug about ebuild version that no longer exists; reopen if you have issues with up-to-date ati-drivers.