LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 12-08-2003, 06:41 PM   #1
al1
LQ Newbie
 
Registered: Dec 2003
Posts: 3

Rep: Reputation: 0
ATI 9800 + Intel 82875 + DRI (fglrx_dri)


Hi,

I try to install ATI 9800 XT + Intel Chipset i875 (Asus P4C800-E Deluxe) + Linux.
My ONLY interest is 3D acceleration - I'm working in a 3D research team.

So, for 9800 XT, no XFree DRI, no gatos, etc. Only ATI driver seems correct for
3D acceleration.

Actually, I use fedora - I can use another distribution... I have tried my
old RH9, same problem.

I use a 2.4.23 SMP kernel, without agpgart, with DRI and Radeon module
(no included in modime.conf, Radeon + 9800 in XFree86 is not 3D accelerated).

I installed 3.2.8 ATI driver, and hacked the agpgart. This old version of agpgart seems
to have a bug with the i875: in agp.h, line 663:
#define PCI_DEVICE_ID_INTEL_875_G_1 0x257b
And Intel says:
Intel(R) 82875P Processor to PCI to CSA bridge - 257B

So, the ATI agpgart says my i875 is graphical, and tries to use the i815 graphical
model. I have changed this (I82875G doesn't exist in Intel docs), to use the Intel 82840 model in agpgart_be.c.

Another problem is the ATI install script doesn't compute correctly my GCC version. Another hack solves that: cc_version_major=3 and cc_version_minor=2 in make.sh.

With these hacks, no problem to install, and fglrxconfig will be OK. After startx,
a lsmod shows fglrx is used 8 times. No error in /var/log/XFree86.log :
(II) fglrx(0): [DRI] installation complete

I can use all 2D accelerations. But when I try to use OpenGL/fglrx_dri, for example with fglrxinfo, the result is always the same:
Trace/BPT trap

When I use gdb on it, the error is
Program received signal SIGTRAP, Trace/breakpoint trap.
[Switching to Thread 16384 (LWP 2322)]
0x403b4071 in s9586 () from /usr/X11R6/lib/modules/dri/fglrx_dri.so

After 1 week of searching, I have not idea. I have verified by ldd the librairies
fglrxinfo uses: correct.

Of course, when I modify my XF86Config-4, with
Option "no_dri" "yes"
I can use mesa without problem.

Somebody has succeded to use 3D acceleration with ATI DRI + 9800 (R300) and
a Intel 82875 ?

My XF86Config-4:
Section "dri"
Mode 0666
EndSection
Section "Module"
Load "dbe" # Double buffer extension
SubSection "extmod"
Option "omit xfree86-dga" # don't initialise the DGA extension
EndSubSection
Load "type1"
Load "freetype"
Load "glx" # libglx.a
Load "dri" # libdri.a
EndSection
Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
FontPath "/usr/X11R6/lib/X11/fonts/local/"
FontPath "/usr/X11R6/lib/X11/fonts/misc/"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/Type1/"
FontPath "/usr/X11R6/lib/X11/fonts/Speedo/"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/"
EndSection
Section "ServerFlags"
EndSection
Section "InputDevice"
Identifier "Keyboard1"
Driver "Keyboard"
Option "AutoRepeat" "500 30"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc105"
Option "XkbLayout" "fr"
EndSection
Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "ImPS/2"
Option "ZAxisMapping" "4 5"
Option "Device" "/dev/mouse"
EndSection
Section "Monitor"
Identifier "Monitor0"
HorizSync 31.5 - 91.1
VertRefresh 60 - 100
Option "DPMS"
EndSection
Section "Monitor"
Identifier "Monitor1"
HorizSync 31.5 - 91.1
VertRefresh 60 - 100
Option "DPMS"
EndSection
Section "Device"
Identifier "Standard VGA"
VendorName "Unknown"
BoardName "Unknown"
Driver "vga"
EndSection
Section "Device"
Identifier "ATI Graphics Adapter"
Driver "fglrx"
#Option "NoDDC"
Option "no_accel" "no"
Option "no_dri" "no"
Option "DesktopSetup" "0x00000100"
Option "MonitorLayout" "AUTO, AUTO"
Option "MonitorLayout" "AUTO, AUTO"
Option "IgnoreEDID" "off"
Option "HSync2" "31.5 - 91.1"
Option "VRefresh2" "60 - 100"
Option "ScreenOverlap" "0"
Option "NoTV" "yes"
Option "TVStandard" "NTSC-M"
Option "TVHSizeAdj" "0"
Option "TVVSizeAdj" "0"
Option "TVHPosAdj" "0"
Option "TVVPosAdj" "0"
Option "TVHStartAdj" "0"
Option "TVColorAdj" "0"
Option "GammaCorrectionI" "0x00000000"
Option "GammaCorrectionII" "0x00000000"
Option "Capabilities" "0x00000000"
Option "VideoOverlay" "on"
Option "OpenGLOverlay" "off"
Option "CenterMode" "off"
Option "PseudoColorVisuals" "off"
Option "Stereo" "off"
Option "StereoSyncEnable" "1"
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"
Option "UseFastTLS" "2"
Option "BlockSignalsOnLock" "on"
Option "UseInternalAGPGART" "yes"
Option "ForceGenericCPU" "no"
BusID "PCI:1:0:0" # vendor=1002, device=4e4a
Screen 0
EndSection
Section "Screen"
Identifier "Screen0"
Device "ATI Graphics Adapter"
Monitor "Monitor0"
DefaultDepth 24
#Option "backingstore"
Subsection "Display"
Depth 24
Modes "1600x1200" "1280x1024" "1024x768" "800x600"
ViewPort 0 0 # initial origin if mode is smaller than desktop
EndSubsection
EndSection
Section "ServerLayout"
Identifier "Server Layout"
Screen "Screen0"
InputDevice "Mouse1" "CorePointer"
InputDevice "Keyboard1" "CoreKeyboard"
EndSection


Help please,

Al1
--
 
Old 12-08-2003, 06:53 PM   #2
Thetargos
Senior Member
 
Registered: Mar 2003
Location: Mexico City
Distribution: Fedora, Ubuntu & Mint
Posts: 1,679

Rep: Reputation: 45
Have you asked in Rage3D yet? There post many Linux ATi users (me included). Since you are running an SMP system I don't know if the driver even supports SMP operation (it should if it is based on the FireGL professional graphics cards). In any case many folks over there use Intel based systems (I use AMD), so may be worth a try.

And about Fedora, use the gcc32 binary. You may want to export in either ~/.bashrc (per user) or /etc/profile the enviroment variable CC="gcc32", that should be OK, because FC1 Yarrow comes with gcc 3.2 and gcc 3.3. Everywhere I've looked veryone has told me to build my kernels and modules with the 3.2 version instead of 3.3, so that may help you.

Last edited by Thetargos; 12-08-2003 at 06:56 PM.
 
Old 12-09-2003, 06:57 AM   #3
al1
LQ Newbie
 
Registered: Dec 2003
Posts: 3

Original Poster
Rep: Reputation: 0
I have tried a 2.4.23 without SMP, and I have disabled hyperthreading in BIOS.
I use gcc32 (3.2.3). Of course, I have compiled again fglrx.

No difference, same error.

I will look after Rage3D in FAQ/Forum to have another idea.

It's possible the 2.6.0-11 kernel will solve the problem ? I don't think...

NB: I have tried a 9800 XT and a Fire GL2. Same problem.

Thanks, Al1
--
 
Old 12-09-2003, 10:59 AM   #4
al1
LQ Newbie
 
Registered: Dec 2003
Posts: 3

Original Poster
Rep: Reputation: 0
I have checked all rage3D posts. This error (Trace/BTP signal) never appears.
In fact, I have never found anyone who speaks in forums about 3D acceleration + ATI R3X0 (9500 to 9800) + DRI Linux with success...

There is an option in XF86Config :
Option "NoTrapSignals"
Seems useless ?

I have tried fglrx_dri.so from ATI 3.2.8 /XFREE 4.2 and 4.1 packages, but on my
4.3.99/december 2003 XFree86 snapshot. Doesn't work :
fglrxinfo
[fglrx]: API ERROR: could not register entrypoint for SecondaryColor3bEXT
and so on. Just a try: I didn't think this hack had a chance to work.

Old ATI driver, 3.2.5, is not 3D accelerated.

Seems I have 5 x 9800 XT and a FireGL X2 useless. No problem, I have ordered 6
Nvidia FX5950. I will try ATI again... in 2010.

ATI & 3D linux: just say no. What a pity.

Al1, one wasted week.
--
 
Old 02-21-2004, 07:17 PM   #5
noeffort
LQ Newbie
 
Registered: Feb 2004
Posts: 27

Rep: Reputation: 15
I see this error also after extrecating XFree86-Mesal-libGL or whatever that one is... I could not install fglrx.xxx.xxx.rpm without doing so. After compiling fglrx kernel module, I can get to GNOME, fluxbox and blackbox, but not KDE... says I cannot login after 10 secs bla bla bla.

So, now I am trying to reinstall all KDE related RPM's to hope to get over the hump.

Lemme know if you tried again.
 
Old 08-16-2004, 11:55 AM   #6
christophe.dr
LQ Newbie
 
Registered: Aug 2003
Location: Paris
Distribution: mandrake 9.1
Posts: 26

Rep: Reputation: 15
same problem

See these threads :
http://www.linuxquestions.org/questi...sus+p4c800+ati
http://www.mandrakeclub.com/modules....26534&forum=10
The problem seems to be the support of i875 by agpgart.
 
  


Reply



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
dri on ati mobility radeon m7 and 82845 intel agp chipset managed under Debian giueno Linux - Laptop and Netbook 6 10-23-2006 06:10 AM
ATI Radeon 9800/Pro + SuSE 9.0 (freezes after successfull DRI load) Euphorix Linux - Hardware 4 10-02-2006 10:32 AM
intel i810 dri problem... time112852 Linux - Software 6 12-03-2005 02:40 AM
ATI 9600se running slower than older ATI card w/ DRI on euth665667 Linux - Hardware 0 07-03-2004 06:10 AM
DRI not initializing on Radeon 9800 with fglrx Jawoota Linux - Hardware 0 07-23-2003 02:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 07:47 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration