Bug 45379

Summary: Auxiliary (not init'd as part of boot console) boards don't work
Product: xorg Reporter: eclectic923
Component: Driver/RadeonAssignee: xf86-video-ati maintainers <xorg-driver-ati>
Status: RESOLVED INVALID QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium    
Version: 7.7 (2012.06)   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
Detals about the system with the problem
none
xorg.conf file that causes the problem
none
X server log file
none
Snapshot of 'striped' screen... image is not always the same... just an example
none
Snapshot of working/primary/boot screen (and what prior snapshot should look like)
none
dmesg output none

Description eclectic923 2012-01-29 14:14:24 UTC
Per a suggestion in #xorg:

jgavey: Triskelios, yes, I can snapshot the striping/tearing
Triskelios: see if disabling tiling (see the driver options) helps. file a bug on bugs.freedesktop.org, attach what you pastied, as well as Xorg.0.log and the screenshots

The orginal pastebin was: http://pastebin.com/ggCsta8T

I'll attach upload the files put in pastebin as attachments.
Comment 1 eclectic923 2012-01-29 14:22:57 UTC
Created attachment 56306 [details]
Detals about the system with the problem
Comment 2 eclectic923 2012-01-29 14:23:43 UTC
Created attachment 56307 [details]
xorg.conf file that causes the problem
Comment 3 eclectic923 2012-01-29 14:27:32 UTC
Created attachment 56308 [details]
X server log file

The first error looks like:

(**) RADEON(1): Depth 24, (--) framebuffer bpp 32
(II) RADEON(1): Pixel depth = 24 bits stored in 4 bytes (32 bpp pixmaps)
(==) RADEON(1): Default visual is TrueColor
(==) RADEON(1): RGB weight 888
(II) RADEON(1): Using 8 bits per RGB (8 bit DAC)
(--) RADEON(1): Chipset: "ATI Radeon VE/7000 QY (AGP/PCI)" (ChipID = 0x5159)
(II) RADEON(1): PCI card detected
(II) RADEON(1): KMS Color Tiling: disabled
(EE) RADEON(1):  reusing fd for second head
(II) RADEON(1): Output DVI-2 using monitor section MonitorCenterUppr
(**) RADEON(1): Option "Primary" "false"
(II) RADEON(1): EDID for output DVI-2
(II) RADEON(1): Manufacturer: DEL  Model: a024  Serial#: 827934037
(II) RADEON(1): Year: 2007  Week: 22

This is the upper center display which acutally works, and is card with the boot console on it. The same error occurs on the upper display (secondary) port on each of the auxilliary cards too.
Comment 4 eclectic923 2012-01-29 14:55:50 UTC
Triskelios (see opening comment) suggested turning off KMS. So I added:

Option          "EXAPixmaps" "false"

To each device section.

That made things work properly.
Comment 5 Alex Deucher 2012-01-29 16:38:00 UTC
Please attach your dmesg output.  Does X work ok on each card individually?
Comment 6 Michel Dänzer 2012-01-30 04:36:21 UTC
> [...] attach [...] the screenshots

What happened to the screenshots? :)
Comment 7 eclectic923 2012-01-30 07:16:57 UTC
Created attachment 56325 [details]
Snapshot of 'striped' screen... image is not always the same... just an example
Comment 8 eclectic923 2012-01-30 07:18:26 UTC
Created attachment 56326 [details]
Snapshot of working/primary/boot screen (and what prior snapshot should look like)
Comment 9 eclectic923 2012-01-30 07:19:08 UTC
Created attachment 56327 [details]
dmesg output
Comment 10 eclectic923 2012-01-30 07:29:20 UTC
(In reply to comment #5)
> Please attach your dmesg output.  Does X work ok on each card individually?

The hardware is all working and by disabling kms, and indeicated comment #4. If I had to guess at the source of the bug, it has something to do with sharing file descriptors between two video outputs (VGA-N and DVI-N), and that the board(s) are 32M each (Appian Hurricane), of which the logs show 23.5M being used. Basically the KMS turnoff for low memory boards fails to get triggered, and has to be done manually through the xorg.conf. Not a good thing. If it wasn't for Triskelios' suggestion in #xorg, I'd have never gotten this up and working.

I have no idean why being the BIOS/Linux boot console protects the board from the KMS problem. Maybe this is simply a misleading fact.
Comment 11 Michel Dänzer 2012-01-30 08:16:49 UTC
(In reply to comment #10)
> > Please attach your dmesg output.  Does X work ok on each card individually?
> 
> The hardware is all working and by disabling kms, and indeicated comment #4.

I think Alex's question was whether X works on each card individually (selecting only one of them in xorg.conf) without any workarounds.


> [...] the board(s) are 32M each [...]

Hmm, dmesg shows two cards having 64M and one having 32M. If they really all have 32M, that could explain the problem. Can you try a newer kernel, ideally 3.2?
Comment 12 eclectic923 2012-01-31 15:48:53 UTC
(In reply to comment #11)

> Hmm, dmesg shows two cards having 64M and one having 32M. If they really all
> have 32M, that could explain the problem. Can you try a newer kernel, ideally
> 3.2?

I bought these cards "new". They were unopened in the manufacturers original packaging. They had been sitting around gathering dust for several years (since I'm sure you recognize the 'vintage' of these cards).

I double checked the packaging. All three cards are identical.

I think you may have identified the problem. The cards showing 64MB should be showing 32 MB. This would then fool the KMS flag/switch into doing the wrong thing.

This system is up and running. What I can do to it is now limited. It needs to be put to use.
Comment 13 eclectic923 2012-01-31 15:56:43 UTC
If there's a way to download bootable CD ISO test images, I could try that.
Comment 14 Michel Dänzer 2012-02-01 02:00:45 UTC
(In reply to comment #12)
> > Can you try a newer kernel, ideally 3.2?
[...]
> This system is up and running. What I can do to it is now limited. It needs to
> be put to use.

The reason I'm asking is that with a current kernel, even if the problem isn't fixed yet, you can limit the amount of VRAM used with KMS with the kernel command line option radeon.vramlimit=32 .

(I don't think that option works properly with your kernel, though I guess it doesn't hurt to try :)

FWIW, it looks like there's a 3.2 kernel available for squeeze at http://backports.debian.org .
Comment 15 Adam Jackson 2018-06-12 19:06:16 UTC
Mass closure: This bug has been untouched for more than six years, and is not
obviously still valid. Please reopen this bug or file a new report if you continue to experience issues with current releases.

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.