Mailinglist Archive: radeonhd (265 mails)
| < Previous | Next > |
[radeonhd] [Bug 19338] r6xx-r7xx branch X Server Crashes on Startup with ATI Radeon HD 2600
- From: bugzilla-daemon@xxxxxxxxxxxxxxx
- Date: Fri, 2 Jan 2009 08:57:35 -0800 (PST)
- Message-id: <20090102165735.670AD130054@xxxxxxxxxxxxxxxxxxxxxxxx>
http://bugs.freedesktop.org/show_bug.cgi?id=19338
--- Comment #2 from Ludovic Aubry <ludovic.aubry@xxxxxxxxxx> 2009-01-02
08:57:34 PST ---
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.
--
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
_______________________________________________
xorg-team mailing list
xorg-team@xxxxxxxxxxx
http://lists.x.org/mailman/listinfo/xorg-team
--
To unsubscribe, e-mail: radeonhd+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: radeonhd+help@xxxxxxxxxxxx
--- Comment #2 from Ludovic Aubry <ludovic.aubry@xxxxxxxxxx> 2009-01-02
08:57:34 PST ---
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.
--
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
_______________________________________________
xorg-team mailing list
xorg-team@xxxxxxxxxxx
http://lists.x.org/mailman/listinfo/xorg-team
--
To unsubscribe, e-mail: radeonhd+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: radeonhd+help@xxxxxxxxxxxx
| < Previous | Next > |