Am Montag 29 März 2010 08:45:32 schrieb Rafał Miłecki:
> 2010/3/27 Hendrik Sattler <p...@hendrik-sattler.de>:
> > I got this working previously but it somehow stopped working.
> >
> > My setup:
> > - Acer TravelMate 6592
> > - DVI output with DVI->HDMI converter
> > - Philips Full-HD LCD-TV
> >
> > The laptop runs Debian testing with a self-compiled linux-2.6.33 with
> > radeon+firmware compiled-in.
> >
> > The laptop cannot do audio over the HDMI line, I use a seperate stereo
> > cable for this. This is the proposed way from the TV manual when
> > audio-over-hdmi is not possible.
> > And that used to work just fine (at the time of 2.6.33-rc8, I wrote to
> > this list at that time) but fails with latest version of libdrm (2.4.18)
> > and xserver-xorg-vide-radeon (6.12.192 + patches up to git 5c256808, the
> > current Debian package).
> >
> > I use the following kernel command line:
> > radeon.modeset=1 radeon.audio=0 radeon.dynclks=1
> >
> > Especially, audio=0 signals the TV that the audio comes over the seperate
> > cable. This is what was working and is not working anymore.
> >
> > Strangely, the available resolutions changed: the old drivers didn't find
> > the 1080p resolutions when the TV was connected while X was running. This
> > is now working with even more refresh rates (50/60/24). There was also a
> > resolution of 1366x768 which is not in the list anymore, only 1360x765.
> >
> > Working combination (but DRI disabled due to massive instabilities):
> > linux-2.6.33-rc8, libdrm-2.4.16, radeon from git20101011
> >
> > Not working:
> > linux-2.6.33, libdrm-2.4.18, radeon-6.12.192
> 
> It seems your TV refuses to use audio from analog stereo cable, when
> it detects audio enabled over/in HDMI (just enabled, even purely
> silent as in your case). And it seems we enable HDMI mode even when
> you use radeon.audio=0.
> 
> I've no idea what could affect this between 2.6.33-rc8 and 2.6.33
> (stable). The list of changes for drm/radeon taken from
> http://lkml.org/lkml/2010/2/24/301 :

It doesn't seem to be the kernel, actually. I already tried with booting rc8 
and it is the same. Must be one of the other parts, then...

> Can you provide "lspci" output by the way?

00:00.0 Host bridge [0600]: Intel Corporation Mobile PM965/GM965/GL960 Memory 
Controller Hub [8086:2a00] (rev 03)
        Subsystem: Acer Incorporated [ALI] Device [1025:011a]
        Flags: bus master, fast devsel, latency 0
        Capabilities: [e0] Vendor Specific Information: Len=0a <?>

00:01.0 PCI bridge [0604]: Intel Corporation Mobile PM965/GM965/GL960 PCI 
Express Root Port [8086:2a01] (rev 03) (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0
        Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
        I/O behind bridge: 00002000-00002fff
        Memory behind bridge: fc000000-fc0fffff
        Prefetchable memory behind bridge: 00000000f0000000-00000000f3ffffff
        Capabilities: [88] Subsystem: Acer Incorporated [ALI] Device [1025:011a]
        Capabilities: [80] Power Management version 3
        Capabilities: [90] MSI: Enable+ Count=1/1 Maskable- 64bit-
        Capabilities: [a0] Express Root Port (Slot+), MSI 00
        Capabilities: [100] Virtual Channel
        Capabilities: [140] Root Complex Link
        Kernel driver in use: pcieport

00:19.0 Ethernet controller [0200]: Intel Corporation 82566MM Gigabit Network 
Connection [8086:1049] (rev 03)
        Subsystem: Acer Incorporated [ALI] Device [1025:011a]
        Flags: bus master, fast devsel, latency 0, IRQ 31
        Memory at fc400000 (32-bit, non-prefetchable) [size=128K]
        Memory at fc425000 (32-bit, non-prefetchable) [size=4K]
        I/O ports at 1840 [size=32]
        Capabilities: [c8] Power Management version 2
        Capabilities: [d0] MSI: Enable+ Count=1/1 Maskable- 64bit+
        Kernel driver in use: e1000e

00:1a.0 USB Controller [0c03]: Intel Corporation 82801H (ICH8 Family) USB UHCI 
Controller #4 [8086:2834] (rev 03) (prog-if 00 [UHCI])
        Subsystem: Acer Incorporated [ALI] Device [1025:011a]
        Flags: bus master, medium devsel, latency 0, IRQ 16
        I/O ports at 1860 [size=32]
        Kernel driver in use: uhci_hcd

00:1a.1 USB Controller [0c03]: Intel Corporation 82801H (ICH8 Family) USB UHCI 
Controller #5 [8086:2835] (rev 03) (prog-if 00 [UHCI])
        Subsystem: Acer Incorporated [ALI] Device [1025:011a]
        Flags: bus master, medium devsel, latency 0, IRQ 21
        I/O ports at 1880 [size=32]
        Kernel driver in use: uhci_hcd

00:1a.7 USB Controller [0c03]: Intel Corporation 82801H (ICH8 Family) USB2 
EHCI Controller #2 [8086:283a] (rev 03) (prog-if 20 [EHCI])
        Subsystem: Acer Incorporated [ALI] Device [1025:011a]
        Flags: bus master, medium devsel, latency 0, IRQ 18
        Memory at fc426c00 (32-bit, non-prefetchable) [size=1K]
        Capabilities: [50] Power Management version 2
        Capabilities: [58] Debug port: BAR=1 offset=00a0
        Kernel driver in use: ehci_hcd

00:1b.0 Audio device [0403]: Intel Corporation 82801H (ICH8 Family) HD Audio 
Controller [8086:284b] (rev 03)
        Subsystem: Acer Incorporated [ALI] Device [1025:011a]
        Flags: bus master, fast devsel, latency 0, IRQ 32
        Memory at fc420000 (64-bit, non-prefetchable) [size=16K]
        Capabilities: [50] Power Management version 2
        Capabilities: [60] MSI: Enable+ Count=1/1 Maskable- 64bit+
        Capabilities: [70] Express Root Complex Integrated Endpoint, MSI 00
        Capabilities: [100] Virtual Channel
        Capabilities: [130] Root Complex Link
        Kernel driver in use: HDA Intel

00:1c.0 PCI bridge [0604]: Intel Corporation 82801H (ICH8 Family) PCI Express 
Port 1 [8086:283f] (rev 03) (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0
        Bus: primary=00, secondary=02, subordinate=03, sec-latency=0
        I/O behind bridge: 00003000-00003fff
        Memory behind bridge: f8000000-f9ffffff
        Prefetchable memory behind bridge: 00000000f4000000-00000000f5ffffff
        Capabilities: [40] Express Root Port (Slot+), MSI 00
        Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
        Capabilities: [90] Subsystem: Acer Incorporated [ALI] Device [1025:011a]
        Capabilities: [a0] Power Management version 2
        Capabilities: [100] Virtual Channel
        Capabilities: [180] Root Complex Link
        Kernel driver in use: pcieport

00:1c.1 PCI bridge [0604]: Intel Corporation 82801H (ICH8 Family) PCI Express 
Port 2 [8086:2841] (rev 03) (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0
        Bus: primary=00, secondary=04, subordinate=05, sec-latency=0
        I/O behind bridge: 00004000-00004fff
        Memory behind bridge: d6000000-d7ffffff
        Prefetchable memory behind bridge: 00000000de000000-00000000dfffffff
        Capabilities: [40] Express Root Port (Slot+), MSI 00
        Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
        Capabilities: [90] Subsystem: Acer Incorporated [ALI] Device [1025:011a]
        Capabilities: [a0] Power Management version 2
        Capabilities: [100] Virtual Channel
        Capabilities: [180] Root Complex Link
        Kernel driver in use: pcieport

00:1c.2 PCI bridge [0604]: Intel Corporation 82801H (ICH8 Family) PCI Express 
Port 3 [8086:2843] (rev 03) (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0
        Bus: primary=00, secondary=06, subordinate=07, sec-latency=0
        I/O behind bridge: 00005000-00005fff
        Memory behind bridge: fa000000-fbffffff
        Prefetchable memory behind bridge: 00000000f6000000-00000000f7ffffff
        Capabilities: [40] Express Root Port (Slot+), MSI 00
        Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
        Capabilities: [90] Subsystem: Acer Incorporated [ALI] Device [1025:011a]
        Capabilities: [a0] Power Management version 2
        Capabilities: [100] Virtual Channel
        Capabilities: [180] Root Complex Link
        Kernel driver in use: pcieport

00:1c.3 PCI bridge [0604]: Intel Corporation 82801H (ICH8 Family) PCI Express 
Port 4 [8086:2845] (rev 03) (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0
        Bus: primary=00, secondary=08, subordinate=09, sec-latency=0
        I/O behind bridge: 00006000-00006fff
        Memory behind bridge: d2000000-d3ffffff
        Prefetchable memory behind bridge: 00000000da000000-00000000dbffffff
        Capabilities: [40] Express Root Port (Slot+), MSI 00
        Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
        Capabilities: [90] Subsystem: Acer Incorporated [ALI] Device [1025:011a]
        Capabilities: [a0] Power Management version 2
        Capabilities: [100] Virtual Channel
        Capabilities: [180] Root Complex Link
        Kernel driver in use: pcieport

00:1d.0 USB Controller [0c03]: Intel Corporation 82801H (ICH8 Family) USB UHCI 
Controller #1 [8086:2830] (rev 03) (prog-if 00 [UHCI])
        Subsystem: Acer Incorporated [ALI] Device [1025:011a]
        Flags: bus master, medium devsel, latency 0, IRQ 23
        I/O ports at 18a0 [size=32]
        Kernel driver in use: uhci_hcd

00:1d.1 USB Controller [0c03]: Intel Corporation 82801H (ICH8 Family) USB UHCI 
Controller #2 [8086:2831] (rev 03) (prog-if 00 [UHCI])
        Subsystem: Acer Incorporated [ALI] Device [1025:011a]
        Flags: bus master, medium devsel, latency 0, IRQ 19
        I/O ports at 18c0 [size=32]
        Kernel driver in use: uhci_hcd

00:1d.2 USB Controller [0c03]: Intel Corporation 82801H (ICH8 Family) USB UHCI 
Controller #3 [8086:2832] (rev 03) (prog-if 00 [UHCI])
        Subsystem: Acer Incorporated [ALI] Device [1025:011a]
        Flags: bus master, medium devsel, latency 0, IRQ 18
        I/O ports at 18e0 [size=32]
        Kernel driver in use: uhci_hcd

00:1d.7 USB Controller [0c03]: Intel Corporation 82801H (ICH8 Family) USB2 
EHCI Controller #1 [8086:2836] (rev 03) (prog-if 20 [EHCI])
        Subsystem: Acer Incorporated [ALI] Device [1025:011a]
        Flags: bus master, medium devsel, latency 0, IRQ 23
        Memory at fc427000 (32-bit, non-prefetchable) [size=1K]
        Capabilities: [50] Power Management version 2
        Capabilities: [58] Debug port: BAR=1 offset=00a0
        Kernel driver in use: ehci_hcd

00:1e.0 PCI bridge [0604]: Intel Corporation 82801 Mobile PCI Bridge 
[8086:2448] (rev f3) (prog-if 01 [Subtractive decode])
        Flags: bus master, fast devsel, latency 0
        Bus: primary=00, secondary=0a, subordinate=0f, sec-latency=32
        I/O behind bridge: 00007000-00007fff
        Memory behind bridge: fc100000-fc1fffff
        Prefetchable memory behind bridge: 00000000c0000000-00000000c7ffffff
        Capabilities: [50] Subsystem: Gammagraphx, Inc. (or missing ID) Device 
[0000:0000]

00:1f.0 ISA bridge [0601]: Intel Corporation 82801HBM (ICH8M-E) LPC Interface 
Controller [8086:2811] (rev 03)
        Subsystem: Acer Incorporated [ALI] Device [1025:011a]
        Flags: bus master, medium devsel, latency 0
        Capabilities: [e0] Vendor Specific Information: Len=0c <?>

00:1f.1 IDE interface [0101]: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) 
IDE Controller [8086:2850] (rev 03) (prog-if 8a [Master SecP PriP])
        Subsystem: Acer Incorporated [ALI] Device [1025:011a]
        Flags: bus master, medium devsel, latency 0, IRQ 19
        I/O ports at 01f0 [size=8]
        I/O ports at 03f4 [size=1]
        I/O ports at 0170 [size=8]
        I/O ports at 0374 [size=1]
        I/O ports at 1830 [size=16]
        Kernel driver in use: ata_piix

00:1f.2 SATA controller [0106]: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) 
SATA AHCI Controller [8086:2829] (rev 03) (prog-if 01 [AHCI 1.0])
        Subsystem: Acer Incorporated [ALI] Device [1025:011a]
        Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 30
        I/O ports at 1c48 [size=8]
        I/O ports at 1c1c [size=4]
        I/O ports at 1c40 [size=8]
        I/O ports at 1c18 [size=4]
        I/O ports at 1c20 [size=32]
        Memory at fc426000 (32-bit, non-prefetchable) [size=2K]
        Capabilities: [80] MSI: Enable+ Count=1/4 Maskable- 64bit-
        Capabilities: [70] Power Management version 3
        Capabilities: [a8] SATA HBA v1.0
        Kernel driver in use: ahci

00:1f.3 SMBus [0c05]: Intel Corporation 82801H (ICH8 Family) SMBus Controller 
[8086:283e] (rev 03)
        Subsystem: Acer Incorporated [ALI] Device [1025:011a]
        Flags: medium devsel, IRQ 5
        Memory at c8000000 (32-bit, non-prefetchable) [size=256]
        I/O ports at 1c60 [size=32]

01:00.0 VGA compatible controller [0300]: ATI Technologies Inc Radeon HD 2400 
XT [1002:94c8] (prog-if 00 [VGA controller])
        Subsystem: Acer Incorporated [ALI] Device [1025:011a]
        Flags: bus master, fast devsel, latency 0, IRQ 29
        Memory at f0000000 (32-bit, prefetchable) [size=64M]
        I/O ports at 2000 [size=256]
        Memory at fc000000 (32-bit, non-prefetchable) [size=64K]
        [virtual] Expansion ROM at fc020000 [disabled] [size=128K]
        Capabilities: [50] Power Management version 3
        Capabilities: [58] Express Legacy Endpoint, MSI 00
        Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+
        Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 
<?>
        Kernel driver in use: radeon

06:00.0 Network controller [0280]: Intel Corporation PRO/Wireless 4965 AG or 
AGN [Kedron] Network Connection [8086:4229] (rev 61)
        Subsystem: Intel Corporation Device [8086:1101]
        Flags: bus master, fast devsel, latency 0, IRQ 33
        Memory at fa000000 (64-bit, non-prefetchable) [size=8K]
        Capabilities: [c8] Power Management version 3
        Capabilities: [d0] MSI: Enable+ Count=1/1 Maskable- 64bit+
        Capabilities: [e0] Express Endpoint, MSI 00
        Capabilities: [100] Advanced Error Reporting
        Capabilities: [140] Device Serial Number 00-1d-e0-ff-ff-45-1a-31
        Kernel driver in use: iwlagn

0a:04.0 FireWire (IEEE 1394) [0c00]: O2 Micro, Inc. Firewire (IEEE 1394) 
[1217:00f7] (rev 02) (prog-if 10 [OHCI])
        Subsystem: Acer Incorporated [ALI] Device [1025:011a]
        Flags: bus master, medium devsel, latency 64, IRQ 20
        Memory at fc101000 (32-bit, non-prefetchable) [size=4K]
        Memory at fc100000 (32-bit, non-prefetchable) [size=2K]
        Capabilities: [60] Power Management version 2
        Kernel driver in use: firewire_ohci

0a:04.1 CardBus bridge [0607]: O2 Micro, Inc. Device [1217:7175] (rev 21)
        Subsystem: Acer Incorporated [ALI] Device [1025:011a]
        Flags: bus master, stepping, slow devsel, latency 168, IRQ 20
        Memory at fc102000 (32-bit, non-prefetchable) [size=4K]
        Bus: primary=0a, secondary=0b, subordinate=0b, sec-latency=176
        Memory window 0: c0000000-c3fff000 (prefetchable)
        Memory window 1: cc000000-cffff000
        I/O window 0: 00007000-000070ff
        I/O window 1: 00007400-000074ff
        16-bit legacy interface ports at 0001
        Kernel driver in use: yenta_cardbus

0a:04.2 SD Host controller [0805]: O2 Micro, Inc. Integrated MMC/SD Controller 
[1217:7120] (rev 01)
        Subsystem: Acer Incorporated [ALI] Device [1025:011a]
        Flags: slow devsel, IRQ 20
        Memory at fc109000 (32-bit, non-prefetchable) [size=256]
        Capabilities: [a0] Power Management version 2
        Kernel driver in use: sdhci-pci

0a:04.3 Mass storage controller [0180]: O2 Micro, Inc. Integrated MS/xD 
Controller [1217:7130] (rev 01)
        Subsystem: Acer Incorporated [ALI] Device [1025:011a]
        Flags: slow devsel, IRQ 10
        Memory at fc103000 (32-bit, non-prefetchable) [disabled] [size=4K]
        Capabilities: [a0] Power Management version 2

0a:05.0 CardBus bridge [0607]: O2 Micro, Inc. OZ601/6912/711E0 
CardBus/SmartCardBus Controller [1217:6972] (rev 40)
        Subsystem: Acer Incorporated [ALI] Device [1025:011a]
        Flags: bus master, stepping, slow devsel, latency 168, IRQ 21
        Memory at fc108000 (32-bit, non-prefetchable) [size=4K]
        Bus: primary=0a, secondary=0c, subordinate=0f, sec-latency=176
        Memory window 0: c4000000-c7fff000 (prefetchable)
        Memory window 1: c8400000-c87ff000
        I/O window 0: 00007800-000078ff
        I/O window 1: 00007c00-00007cff
        16-bit legacy interface ports at 0001
        Kernel driver in use: yenta_cardbus

0a:07.0 FireWire (IEEE 1394) [0c00]: Texas Instruments TSB43AB23 
IEEE-1394a-2000 Controller (PHY/Link) [104c:8024] (prog-if 10 [OHCI])
        Subsystem: Acer Incorporated [ALI] Device [1025:011a]
        Flags: bus master, medium devsel, latency 64, IRQ 22
        Memory at fc100800 (32-bit, non-prefetchable) [size=2K]
        Memory at fc104000 (32-bit, non-prefetchable) [size=16K]
        Capabilities: [44] Power Management version 2
        Kernel driver in use: firewire_ohci

> As for this bug, I'll try to prepare something for you to test.
> However provide also output of
> dmesg | grep drm
> please.

[drm] Initialized drm 1.1.0 20060810
[drm] radeon kernel modesetting enabled.
[drm] radeon: Initializing kernel modesetting.
[drm] register mmio base: 0xFC000000
[drm] register mmio size: 65536
[drm] Clocks initialized !
[drm] Detected VRAM RAM=64M, BAR=64M
[drm] RAM width 64bits DDR
[drm] radeon: 64M of VRAM memory ready
[drm] radeon: 512M of GTT memory ready.
[drm] radeon: using MSI.
[drm] radeon: irq initialized.
[drm] GART: num cpu pages 131072, num gpu pages 131072
[drm] Loading RV610 Microcode
[drm] ring test succeeded in 1 usecs
[drm] radeon: ib pool ready.
[drm] ib test succeeded in 0 usecs
[drm] Disabling audio support
[drm] Default TV standard: NTSC
[drm] Radeon Display Connectors
[drm] Connector 0:
[drm]   VGA
[drm]   DDC: 0x7e40 0x7e40 0x7e44 0x7e44 0x7e48 0x7e48 0x7e4c 0x7e4c
[drm]   Encoders:
[drm]     CRT1: INTERNAL_KLDSCP_DAC1
[drm] Connector 1:
[drm]   HDMI-A
[drm]   HPD1
[drm]   DDC: 0x7e50 0x7e50 0x7e54 0x7e54 0x7e58 0x7e58 0x7e5c 0x7e5c
[drm]   Encoders:
[drm]     DFP1: INTERNAL_KLDSCP_TMDS1
[drm] Connector 2:
[drm]   LVDS
[drm]   DDC: 0xac0 0xac0 0xac4 0xac4 0xac8 0xac8 0xacc 0xacc
[drm]   Encoders:
[drm]     LCD1: INTERNAL_LVTM1
[drm] Connector 3:
[drm]   DIN
[drm]   Encoders:
[drm]     TV1: INTERNAL_KLDSCP_DAC2
[drm] fb mappable at 0xF0141000
[drm] vram apper at 0xF0000000
[drm] size 7257600
[drm] fb depth is 24
[drm]    pitch is 6912
fb0: radeondrmfb frame buffer device
[drm] Initialized radeon 2.0.0 20080528 for 0000:01:00.0 on minor 0

The laptop only has an DVI port, not HDMI. But the adapter works for video 
just fine.

HS


------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
--
_______________________________________________
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to