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]
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.
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.
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
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.
(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.