Bug 22943 - screen freeze with glx module and no direct rendering on Radeon HD2400 card
Summary: screen freeze with glx module and no direct rendering on Radeon HD2400 card
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/Radeon (show other bugs)
Version: unspecified
Hardware: x86 (IA32) Linux (All)
: medium normal
Assignee: xf86-video-ati maintainers
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-25 09:40 UTC by Richard Gill
Modified: 2009-07-25 13:55 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Xorg.log - AGP mode - glx module disabled (start without direct rendering) (60.08 KB, text/plain)
2009-07-25 09:40 UTC, Richard Gill
no flags Details
Xorg.log - AGP mode - glx module enabled (frozen screen at startup) (65.31 KB, text/plain)
2009-07-25 09:42 UTC, Richard Gill
no flags Details
Xorg.log - PCI mode - glx module enabled (start without direct rendering) (62.80 KB, text/plain)
2009-07-25 09:45 UTC, Richard Gill
no flags Details
output of lspci -vvvnn (12.17 KB, text/plain)
2009-07-25 09:47 UTC, Richard Gill
no flags Details

Description Richard Gill 2009-07-25 09:40:57 UTC
Created attachment 27993 [details]
Xorg.log - AGP mode - glx module disabled (start without direct rendering)

With a minimal xorg.conf (only specifying the radeon driver), xorg starts but screen stays black (programs are running in background). X does not take CPU time.

With the "glx" module disabled adding a section :

    Section "Module"
        Disable "glx"
    EndSection

X starts without freezing, but without 2D acceleration, direct rendering is disabled. The radeon and drm modules are correctly loaded. Forcing options does not changed anything :

    Option "AccelMethod" "EXA"
    Option "DRI" "on"
    Option "RenderAccel" "true"

Reducing AGPMode to 4 does not help.

The forcing BusType to "PCI" permits to let the glx module loaded, but rendering is even slower.

Tried to build the radeon driver from git :
-rwxr-xr-x 1 root root    1009 juil. 25 16:28 radeon_drv.la*
-rwxr-xr-x 1 root root 4173219 juil. 25 16:28 radeon_drv.so*

But not change. Are included some logs with the own built driver.
Comment 1 Richard Gill 2009-07-25 09:42:10 UTC
Created attachment 27994 [details]
Xorg.log - AGP mode - glx module enabled (frozen screen at startup)
Comment 2 Richard Gill 2009-07-25 09:45:20 UTC
Created attachment 27995 [details]
Xorg.log - PCI mode - glx module enabled (start without direct rendering)

Section "Module"
	#Disable		"glx"
EndSection

Section "Device"
	Identifier	"RadeonHD2400"
	Driver		"radeon"
	Option		"AccelMethod" "EXA"
	Option		"DRI" "on"
	Option		"AGPMode" "4"
	Option		"BusType" "PCI"	# if AGPMode does not help
	Option		"RenderAccel" "true"
EndSection
Comment 3 Richard Gill 2009-07-25 09:47:20 UTC
Created attachment 27996 [details]
output of lspci -vvvnn
Comment 4 Alex Deucher 2009-07-25 10:19:18 UTC
What size is your agp aperture set to in the bios?  Also, you should set bus type to PCIE on your card:
Option "BusType" "PCIE"
Comment 5 Richard Gill 2009-07-25 11:11:10 UTC
Setting BusType to PCIE fixed the problem, thank you. -- cool :-)
Comment 6 Richard Gill 2009-07-25 13:55:17 UTC
As wanted, AGP aperture size (plus some more information on my BIOS config) :

AGP Aperture Size = 128M
AGP Fast Write = Enabled
AGP Master 1 WS Write = Disabled
AGP Master 1 WS Read = Disabled
AGP 3.0 Calibration cycle = Enabled
DBI Output for AGP Trans. = Disabled

Regards.


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.