LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 08-08-2005, 12:33 PM   #1
Alexey Andriyanov
LQ Newbie
 
Registered: Aug 2005
Posts: 3

Rep: Reputation: 0
ATI fglrx driver trouble


Hi everybody.
I have VIA KT880 chipset and ATI Radeon 9600XT graphics card.
I use Debian Sarge 3.0 with self-builded kernel 2.6.12.3, Xfree86 4.3.0.1 and ATI fglrx driver 8.14.13-2. (Kernel and fglrx module were built with gcc 3.3.4).

My problem is that I cant turn on direct rendering (fglrxinfo says «MESA GLX indirect»)

This part of Xfree86.0.log describes my problem:

Code:
(II)fglrx(0): driver needs XFree86 4.3.x
(II) fglrx(0): detected XFree86 4.3.0
(II) Loading extension ATIFGLRXDRI
(II) fglrx(0): doing DRIScreenInit
drmOpenDevice: minor is 0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is -1, (Unknown error 999)
drmOpenDevice: open result is -1, (Unknown error 999)
drmOpenDevice: Open failed
drmOpenDevice: minor is 0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is -1, (Unknown error 999)
drmOpenDevice: open result is -1, (Unknown error 999)
drmOpenDevice: Open failed
drmOpenDevice: minor is 0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 5, (OK)
drmGetBusid returned ''
(II) fglrx(0): [drm] loaded kernel module for "fglrx" driver
(II) fglrx(0): [drm] created "fglrx" driver at busid "PCI:1:0:0"
(II) fglrx(0): [drm] added 8192 byte SAREA at 0xf88a3000
(II) fglrx(0): [drm] mapped SAREA 0xf88a3000 to 0xb7cf0000
(II) fglrx(0): [drm] framebuffer handle = 0xa0000000
(II) fglrx(0): [drm] added 1 reserved context for kernel
(II) fglrx(0): DRIScreenInit done
(II) fglrx(0): Kernel Module Version Information:
(II) fglrx(0):     Name: fglrx
(II) fglrx(0):     Version: 8.14.13
(II) fglrx(0):     Date: Jun  8 2005
(II) fglrx(0):     Desc: ATI FireGL DRM kernel module
(II) fglrx(0): Kernel Module version matches driver.
(II) fglrx(0): Kernel Module Build Time Information:
(II) fglrx(0):     Build-Kernel UTS_RELEASE:        2.6.12.3.050806
(II) fglrx(0):     Build-Kernel MODVERSIONS:        no
(II) fglrx(0):     Build-Kernel __SMP__:            no
(II) fglrx(0):     Build-Kernel PAGE_SIZE:          0x1000
(II) fglrx(0): [drm] register handle = 0xfe200000
(EE) fglrx(0): [agp] unable to acquire AGP, error "xf86_ENODEV"
(EE) fglrx(0): cannot init AGP
(II) fglrx(0): [drm] removed 1 reserved context for kernel
(II) fglrx(0): [drm] unmapping 8192 bytes of SAREA 0xf88a3000 at 0xb7cf0000
(WW) fglrx(0): ***********************************************
(WW) fglrx(0): * DRI initialization failed!                  *
(WW) fglrx(0): * (maybe driver kernel module missing or bad) *
(WW) fglrx(0): * 2D acceleraton available (MMIO)             *
(WW) fglrx(0): * no 3D acceleration available                *
(WW) fglrx(0): ********************************************* *
It was said in ATI Proprietary Linux Release Notes that «version 2.6 kernels require a second kernel module in addition to agpgart, which should be named similar to the manufacturer of your motherboard AGP chipset. This error message should occur if the other agp module is not loaded».
But «lsmod | grep agp\|fglrx» output looks like this:
Code:
via_agp                 9792  1 
agpgart                35912  2 fglrx,via_agp
fglrx                 245884  0
Also, during startup klogd writes:
Code:
Aug  8 10:58:01 localhost kernel: Linux agpgart interface v0.101 (c) Dave Jones
Aug  8 10:58:01 localhost kernel: agpgart: Detected VIA KT880 chipset
Aug  8 10:58:01 localhost kernel: agpgart: AGP aperture is 128M @ 0xe0000000
----------------- skipped----------------------
Aug  8 20:40:06 localhost kernel: fglrx: module license 'Proprietary. (C) 2002 - ATI Technologies, Starnberg, GERMANY' taints kernel.
Aug  8 20:40:06 localhost kernel: [fglrx] Maximum main memory to use for locked dma buffers: 928 MBytes.
Aug  8 20:40:06 localhost kernel: [fglrx] module loaded - fglrx 8.14.13 [Jun  8 2005] on minor 0
When I type 'startx' the X starts with no DRI support and klogd writes the following:
Code:
Aug  8 20:46:22 localhost kernel: agpgart: Maximum main memory to use for agp memory: 816M
Aug  8 20:46:22 localhost kernel: agpgart: Unsupported Via chipset (device id: 0269), you might want to try agp_try_unsupported=1.
Aug  8 20:46:22 localhost kernel: agpgart: no supported devices found.
Aug  8 20:46:22 localhost kernel: [fglrx:firegl_unlock] *ERROR* Process 3770 using kernel context 0
Also, I cant start X server again after its shutdown. After secondary `startx` blank screen appears, Xfree86.0.log interrupts on the line «(II) fglrx(0): [drm] register handle = 0xfe200000» (see below, exactly before, «unable to acquire AGP»), and after pressing ACPI power button klogd reports «allocation failed» (I'm not sure, maybe this message appears any time power button pressed).
Please help me.
PS: I'm a novice with Linux, so excuse for any mistakes. And for my bad English.
PPS: Here are extracts from my fstab (for tmpfs), XF86Confiig-4 and .kernel's .config:
fstab:
Code:
tmpfs		/dev/shm	tmpfs	defaults	0	0
XF86Confiig-4:
Code:
Section "Module"
	Load	"GLcore"
	Load	"bitmap"
	Load	"dbe"
	Load	"ddc"
	Load	"dri"
	Load	"extmod"
	Load	"freetype"
	Load	"glx"
	
	#by Alan
	SubSection "extmod"
	  Option "omit xfree86-dga"
	EndSubSection
	
	Load	"int10"
	Load	"record"
	Load	"speedo"
	Load	"type1"
	Load	"vbe"
EndSection

Section "Device"
	#by Alan
	Identifier	"ATI"
	Driver		"fglrx"
	Option "VideoOverlay" "on"
	Option "OpenGLOverlay" "off"
	Option "UseInternalAGPGART" "yes"

	BusID		"PCI:1:0:0"
EndSection

Section "Screen"
	Identifier	"Default Screen"
	Device		"ATI" 
#........ skipped........
EndSection

Section "DRI"
	Mode	0666
EndSection
.config:
Code:
CONFIG_MODULES=y
CONFIG_MODULE_UNLOAD=y 
CONFIG_MTRR=y 
CONFIG_AGP=m 
CONFIG_AGP_VIA=m 
# CONFIG_FB is not set
PPPS: I forgot one more thing - changing the "UseIntrnalAGPGART" parameter has absoulutely no effect.

Last edited by Alexey Andriyanov; 08-08-2005 at 12:47 PM.
 
Old 08-10-2005, 04:42 AM   #2
cdhgee
Member
 
Registered: Oct 2003
Location: St Paul, MN
Distribution: Fedora 8, Fedora 9
Posts: 513

Rep: Reputation: 30
FWIW, I found the fglrx drivers to be completely useless. I run Fedora, and the "radeon" driver that comes with it gave me a 550ish fps rate on glxgears. Hoping I could improve that, I downloaded fglrx from ATI, installed it, and the framerate dropped to less than 100fps -- needless to say, I went back to the radeon driver and dumped fglrx.
 
Old 08-10-2005, 05:14 AM   #3
C4B4L
LQ Newbie
 
Registered: Aug 2005
Posts: 1

Rep: Reputation: 0
AFAIK the drivers aren't working on a kernel higher than 2.6.11.xx

I am runnning with the 2.6.11.11 and i get 4000fps with my radeon 9700pro
 
Old 08-10-2005, 11:50 AM   #4
thegoalie
LQ Newbie
 
Registered: Nov 2003
Distribution: slackware fedora core gentoo debian free bsd
Posts: 29

Rep: Reputation: 15
go to this link i put a howto build a custom ati kernel in here


howto
 
Old 08-17-2005, 01:35 AM   #5
Alexey Andriyanov
LQ Newbie
 
Registered: Aug 2005
Posts: 3

Original Poster
Rep: Reputation: 0
Latest news - I booted up my Debian on the another computer with VIA KT400 chipset and ATI RADEON 9600 Pro. fglrx driver worked fine at once. So, I think even kernel 2.6.12 does not working fine with VIA KT880 AGP. Has somebody have the same chipset?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
ATI fglrx driver - can't get dri working SpruceMoose Linux - Hardware 1 06-20-2005 11:22 PM
ati-fglrx driver fails to load :@ Infernal211283 Linux - Newbie 4 04-02-2005 09:52 AM
ati fglrx 8.10.19 driver help please micker Linux - Software 7 03-13-2005 08:44 PM
Ati fglrx driver... strange bug kule Slackware 8 03-08-2005 02:49 PM
Request for ATI FGLrx Driver FAQ jpbarto LQ Suggestions & Feedback 2 10-16-2003 01:38 PM


All times are GMT -5. The time now is 02:41 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration