Bug 13862

Summary: FlightGear 1.0 falls to software mode on r300
Product: DRI Reporter: Jacek Poplawski <jacekpoplawski>
Component: GeneralAssignee: Default DRI bug account <dri-devel>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium    
Version: XOrg git   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Jacek Poplawski 2007-12-30 04:40:47 UTC
FlightGear loads very slowly, then falls into software mode.
I tried to change rendering options but everything seams to be disabled.

(--) PCI:*(1:0:0) ATI Technologies Inc Radeon R350 [Radeon 9800 Pro] rev 0, Mem @ 0xe8000000/27, 0xfbe00000/16, I/O @ 0xe000/8, BIOS @ 0xfbd00000/17
(...)
(--) RADEON(0): Chipset: "ATI Radeon 9800PRO NH (AGP)" (ChipID = 0x4e48)

flightgear 1.0.0
xorg-server 1.4.0.90
xf86-video-ati 6.7.197
libgl 7.0.1
kernel26 2.6.23.12
libdrm 2.3.0
(ArchLinux)

NeverBall, FooBillard and Blender works in accelerated mode.

FlightGear console output:

[jp@darkwood ~]$ fgfs
libGL warning: 3D driver claims to not support visual 0x6a
  Model Author:  Unknown
  Creation Date: 2002-01-01
  Version:       $Id: c172p.xml,v 1.18 2007-01-15 12:50:45 ehofman Exp $
  Description:   Cessna C-172
*********************************WARN_ONCE*********************************
File r300_render.c function r300Fallback line 471
Software fallback:ctx->Line.SmoothFlag
***************************************************************************
Initializing Nasal Electrical System
power up
*********************************WARN_ONCE*********************************
File r300_render.c function r300Fallback line 470
Software fallback:ctx->Line.StippleFlag
***************************************************************************
freeglut  ERROR:  Function <glutSetCursor> called without first calling 'glutInit'.


Blender console output:

[jp@darkwood ~]$ blender
Compiled with Python version 2.5.1.
Checking for installed Python... got it!
libGL warning: 3D driver claims to not support visual 0x6a
*********************************WARN_ONCE*********************************
File r300_render.c function r300Fallback line 471
Software fallback:ctx->Line.SmoothFlag
***************************************************************************
*********************************WARN_ONCE*********************************
File r300_render.c function r300Fallback line 470
Software fallback:ctx->Line.StippleFlag
***************************************************************************
Comment 1 Roland Scheidegger 2007-12-30 06:00:15 UTC
The driver can't do (though the chip might) smooth lines and line stippling. Use driconf to disable low impact fallbacks (or set "disable_lowimpact_fallback" env var to false), I'm not sure though that mesa 7.0.1 is new enough for this to work.
Comment 2 Jacek Poplawski 2007-12-30 06:40:25 UTC
It works, thanks.
Why it isn't needed in Blender, which displays similiar messages?
Comment 3 Alex Deucher 2007-12-30 23:44:55 UTC
(In reply to comment #2)
> It works, thanks.
> Why it isn't needed in Blender, which displays similiar messages?
> 

It depends how extensively those features are used in each app.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.