Bug 19338 - r6xx-r7xx branch X Server Crashes on Startup with ATI Radeon HD 2600
Summary: r6xx-r7xx branch X Server Crashes on Startup with ATI Radeon HD 2600
Status: RESOLVED WONTFIX
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/radeonhd (show other bugs)
Version: git
Hardware: x86 (IA32) Linux (All)
: medium critical
Assignee: Alex Deucher
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-30 06:08 UTC by Shlomi Fish
Modified: 2011-10-16 22:34 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
My Xorg.0.log (18.55 KB, text/plain)
2008-12-30 06:08 UTC, Shlomi Fish
no flags Details

Description Shlomi Fish 2008-12-30 06:08:29 UTC
Created attachment 21566 [details]
My Xorg.0.log

As the attached Xorg.0.log demonstrates after compiling the r6xx-r7xx branch and installing it under /usr, the Xorg crashes on startup (after the screen blackens, but before I see anything). I'm on Mandriva Linux Cooker (the Mandriva bleeding-edge). 

My XServer version is x11-server-xorg-1.5.3-8mdv2009.1 and I'm using:

{{{{
Linux telaviv1.shlomifish.org 2.6.28-desktop-0.rc8.1mnb #1 SMP Fri Dec 12 15:53:52 EST 2008 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz GNU/Linux
}}}}

My card is:

01:00.0 VGA compatible controller: ATI Technologies Inc RV630 PRO AGP [Radeon HD 2600 PRO AGP]
Comment 1 Alex Deucher 2008-12-30 07:46:53 UTC
AGP cards haven't been tested and probably don't work yet.  Still, it shouldn't crash.  I'll add a check to not init the drm if the card is AGP until we get r6xx AGP support.
Comment 2 Ludovic Aubry 2009-01-02 08:57:34 UTC
This crash happened for me too when I forgot to enable option DRI
which from your log seems to be your case :

(II) RADEONHD(0): Direct rendering turned off by default. Use Option "DRI" to enable.

And the fix for this specific crash is :

diff --git a/src/rhd_video.c b/src/rhd_video.c
index a7b25a2..bbfc454 100644
--- a/src/rhd_video.c
+++ b/src/rhd_video.c
@@ -820,6 +820,8 @@ RHDInitVideo(ScreenPtr pScreen)
     RHDFUNC(pScrn);
 
     num_adaptors = xf86XVListGenericAdaptors(pScrn, &adaptors);
+    if (!adaptors || num_adaptors<=0)
+       return;
     newAdaptors = xalloc((num_adaptors + 2) * sizeof(XF86VideoAdaptorPtr *));
     if (newAdaptors == NULL)
        return;

But the driver still crashes later because CS is not enabled.
Comment 3 Shlomi Fish 2009-02-04 03:46:28 UTC
OK, with the following patch:

http://www.botchco.com/alex/xorg/force_pcie_mode.diff

The drm.ko/radeon.ko/r6xx-r7xx-branch of Radeon HD (after following the instructions here: http://www.x.org/wiki/radeonhd:r6xx_r7xx_branch and applying the patch), starts and works. However, I have problems with many fonts (like disappearing lowercase-"b" - malformed uppercase "I") and many artifacts on the screen. Like I said I have an AGP Radeon HD 2600 card, and can send you my xorg.conf. It doesn't happen in the radeonhd-dri master branch. I'm still on Mandriva Cooker.

Regards,

-- Shlomi Fish
Comment 4 Jeremy Huddleston Sequoia 2011-10-16 15:59:46 UTC
Does this issue occur with the preferred ati driver (xf86-vide-ati)?  If so, please move this to the Driver/Radeon component.  

Development of radeonhd has pretty much halted and development focus is on the ati driver.  Please see http://www.x.org/wiki/radeonhd

If the issue does not exist in the ati driver (or if there is no response to this message), this bug will be closed as WONTFIX unless someone contributes a patch.
Comment 5 Shlomi Fish 2011-10-16 22:34:10 UTC
(In reply to comment #4)
> Does this issue occur with the preferred ati driver (xf86-vide-ati)?  If so,
> please move this to the Driver/Radeon component.  
> 

It does not occur. Resolving as WONTFIX.

> Development of radeonhd has pretty much halted and development focus is on the
> ati driver.  Please see http://www.x.org/wiki/radeonhd
> 
> If the issue does not exist in the ati driver (or if there is no response to
> this message), this bug will be closed as WONTFIX unless someone contributes a
> patch.


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.