Bug 84017

Summary: HD 4670 only works with MSI disabled
Product: DRI Reporter: Christoph Brill <egore>
Component: DRM/RadeonAssignee: Default DRI bug account <dri-devel>
Status: RESOLVED MOVED QA Contact:
Severity: normal    
Priority: medium    
Version: DRI git   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
dmesg of bootup using radeon.msi=-1
none
lspci -v
none
/proc/interrupts
none
dmidecode none

Description Christoph Brill 2014-09-17 20:21:36 UTC
Created attachment 106459 [details]
dmesg of bootup using radeon.msi=-1

As mentioned on the dri-devel mailing list [1] the HD 4670 in one of my older systems is only capable of doing any 3D when booting with "radeon.msi=0".

Find the dmesg of a and lspci output attached.

[1] http://lists.freedesktop.org/archives/dri-devel/2014-September/067758.html
Comment 1 Christoph Brill 2014-09-17 20:22:10 UTC
Created attachment 106460 [details]
lspci -v
Comment 2 Christoph Brill 2014-09-17 20:25:42 UTC
Additional note: The card is PCI-E running on a B-TX board with a Core2 (non-Duo) CPU.
Comment 3 Alex Deucher 2014-09-17 20:31:28 UTC
What chipset does your motherboard use?  Can you also attach the output of /proc/interrupts from your system?
Comment 4 Christoph Brill 2014-09-18 19:49:21 UTC
Created attachment 106523 [details]
/proc/interrupts

Output of /proc/interrupts when booted using radeon.msi=-1, switched to VT before X11 kicked in.
Comment 5 Christoph Brill 2014-09-18 19:50:52 UTC
Created attachment 106524 [details]
dmidecode

The mainboard a MicroStar MS-7318. Based on the information on http://www.medion.com/de/service/_lightbox/treiber.php?msn=10010251 I think it is a VIA Hyperion Pro.
Comment 6 Christoph Brill 2014-09-18 19:52:21 UTC
Comment on attachment 106524 [details]
dmidecode

>$ sudo dmidecode
># dmidecode 2.11
>SMBIOS 2.4 present.
>34 structures occupying 1074 bytes.
>Table at 0x000F0000.
>
>Handle 0x0000, DMI type 0, 24 bytes
>BIOS Information
>	Vendor: Phoenix Technologies, LTD
>	Version: 6.00 PG
>	Release Date: 11/09/2006
>	Address: 0xE0000
>	Runtime Size: 128 kB
>	ROM Size: 512 kB
>	Characteristics:
>		ISA is supported
>		PCI is supported
>		PNP is supported
>		APM is supported
>		BIOS is upgradeable
>		BIOS shadowing is allowed
>		Boot from CD is supported
>		Selectable boot is supported
>		BIOS ROM is socketed
>		EDD is supported
>		5.25"/360 kB floppy services are supported (int 13h)
>		5.25"/1.2 MB floppy services are supported (int 13h)
>		3.5"/720 kB floppy services are supported (int 13h)
>		3.5"/2.88 MB floppy services are supported (int 13h)
>		Print screen service is supported (int 5h)
>		8042 keyboard services are supported (int 9h)
>		Serial services are supported (int 14h)
>		Printer services are supported (int 17h)
>		CGA/mono video services are supported (int 10h)
>		ACPI is supported
>		USB legacy is supported
>		AGP is supported
>		LS-120 boot is supported
>		ATAPI Zip drive boot is supported
>		BIOS boot specification is supported
>
>Handle 0x0001, DMI type 1, 27 bytes
>System Information
>	Manufacturer: MEDIONPC
>	Product Name: MS-7318
>	Version:  
>	Serial Number:  
>	UUID: 902E4650-7E1E-B211-8000-64456E4E6973
>	Wake-up Type: Power Switch
>	SKU Number:  
>	Family:  
>
>Handle 0x0002, DMI type 2, 8 bytes
>Base Board Information
>	Manufacturer: MICRO-STAR INTERNATIONAL CO., LTD
>	Product Name: MS-7318
>	Version:  
>	Serial Number:  
>
>Handle 0x0003, DMI type 3, 17 bytes
>Chassis Information
>	Manufacturer:  
>	Type: Desktop
>	Lock: Not Present
>	Version:  
>	Serial Number:  
>	Asset Tag:  
>	Boot-up State: Unknown
>	Power Supply State: Unknown
>	Thermal State: Unknown
>	Security Status: Unknown
>	OEM Information: 0x00000000
>
>Handle 0x0004, DMI type 4, 35 bytes
>Processor Information
>	Socket Designation: Socket 775
>	Type: Central Processor
>	Family: Other
>	Manufacturer: Intel
>	ID: F6 06 00 00 FF FB EB BF
>	Signature: Type 0, Family 6, Model 15, Stepping 6
>	Flags:
>		FPU (Floating-point unit on-chip)
>		VME (Virtual mode extension)
>		DE (Debugging extension)
>		PSE (Page size extension)
>		TSC (Time stamp counter)
>		MSR (Model specific registers)
>		PAE (Physical address extension)
>		MCE (Machine check exception)
>		CX8 (CMPXCHG8 instruction supported)
>		APIC (On-chip APIC hardware supported)
>		SEP (Fast system call)
>		MTRR (Memory type range registers)
>		PGE (Page global enable)
>		MCA (Machine check architecture)
>		CMOV (Conditional move instruction supported)
>		PAT (Page attribute table)
>		PSE-36 (36-bit page size extension)
>		CLFSH (CLFLUSH instruction supported)
>		DS (Debug store)
>		ACPI (ACPI supported)
>		MMX (MMX technology supported)
>		FXSR (FXSAVE and FXSTOR instructions supported)
>		SSE (Streaming SIMD extensions)
>		SSE2 (Streaming SIMD extensions 2)
>		SS (Self-snoop)
>		HTT (Multi-threading)
>		TM (Thermal monitor supported)
>		PBE (Pending break enabled)
>	Version: Intel(R) Core(TM)2
>	Voltage: 0.0 V
>	External Clock: 266 MHz
>	Max Speed: 1500 MHz
>	Current Speed: 1862 MHz
>	Status: Populated, Enabled
>	Upgrade: ZIF Socket
>	L1 Cache Handle: 0x0009
>	L2 Cache Handle: 0x000B
>	L3 Cache Handle: Not Provided
>	Serial Number:  
>	Asset Tag:  
>	Part Number:  
>
>Handle 0x0005, DMI type 4, 35 bytes
>Processor Information
>	Socket Designation: Socket 775
>	Type: Central Processor
>	Family: Other
>	Manufacturer: Intel
>	ID: F6 06 00 00 FF FB EB BF
>	Signature: Type 0, Family 6, Model 15, Stepping 6
>	Flags:
>		FPU (Floating-point unit on-chip)
>		VME (Virtual mode extension)
>		DE (Debugging extension)
>		PSE (Page size extension)
>		TSC (Time stamp counter)
>		MSR (Model specific registers)
>		PAE (Physical address extension)
>		MCE (Machine check exception)
>		CX8 (CMPXCHG8 instruction supported)
>		APIC (On-chip APIC hardware supported)
>		SEP (Fast system call)
>		MTRR (Memory type range registers)
>		PGE (Page global enable)
>		MCA (Machine check architecture)
>		CMOV (Conditional move instruction supported)
>		PAT (Page attribute table)
>		PSE-36 (36-bit page size extension)
>		CLFSH (CLFLUSH instruction supported)
>		DS (Debug store)
>		ACPI (ACPI supported)
>		MMX (MMX technology supported)
>		FXSR (FXSAVE and FXSTOR instructions supported)
>		SSE (Streaming SIMD extensions)
>		SSE2 (Streaming SIMD extensions 2)
>		SS (Self-snoop)
>		HTT (Multi-threading)
>		TM (Thermal monitor supported)
>		PBE (Pending break enabled)
>	Version: Intel(R) Core(TM)2
>	Voltage: 0.0 V
>	External Clock: 266 MHz
>	Max Speed: 1500 MHz
>	Current Speed: 1862 MHz
>	Status: Populated, Enabled
>	Upgrade: ZIF Socket
>	L1 Cache Handle: 0x000A
>	L2 Cache Handle: 0x000C
>	L3 Cache Handle: Not Provided
>	Serial Number:  
>	Asset Tag:  
>	Part Number:  
>
>Handle 0x0006, DMI type 5, 20 bytes
>Memory Controller Information
>	Error Detecting Method: None
>	Error Correcting Capabilities:
>		None
>	Supported Interleave: One-way Interleave
>	Current Interleave: Four-way Interleave
>	Maximum Memory Module Size: 32 MB
>	Maximum Total Memory Size: 64 MB
>	Supported Speeds:
>		70 ns
>		60 ns
>	Supported Memory Types:
>		Standard
>		EDO
>	Memory Module Voltage: 5.0 V
>	Associated Memory Slots: 2
>		0x0007
>		0x0008
>	Enabled Error Correcting Capabilities: None
>
>Handle 0x0007, DMI type 6, 12 bytes
>Memory Module Information
>	Socket Designation: A0
>	Bank Connections: 0
>	Current Speed: 37 ns
>	Type: Other Unknown EDO
>	Installed Size: 8192 MB (Single-bank Connection)
>	Enabled Size: 8192 MB (Single-bank Connection)
>	Error Status: OK
>
>Handle 0x0008, DMI type 6, 12 bytes
>Memory Module Information
>	Socket Designation: A1
>	Bank Connections: 2
>	Current Speed: 37 ns
>	Type: Other Unknown EDO
>	Installed Size: 8192 MB (Single-bank Connection)
>	Enabled Size: 8192 MB (Single-bank Connection)
>	Error Status: OK
>
>Handle 0x0009, DMI type 7, 19 bytes
>Cache Information
>	Socket Designation: Internal Cache
>	Configuration: Enabled, Not Socketed, Level 1
>	Operational Mode: Write Back
>	Location: Internal
>	Installed Size: 32 kB
>	Maximum Size: 32 kB
>	Supported SRAM Types:
>		Synchronous
>	Installed SRAM Type: Synchronous
>	Speed: Unknown
>	Error Correction Type: Unknown
>	System Type: Unknown
>	Associativity: Unknown
>
>Handle 0x000A, DMI type 7, 19 bytes
>Cache Information
>	Socket Designation: Internal Cache
>	Configuration: Enabled, Not Socketed, Level 1
>	Operational Mode: Write Back
>	Location: Internal
>	Installed Size: 32 kB
>	Maximum Size: 32 kB
>	Supported SRAM Types:
>		Synchronous
>	Installed SRAM Type: Synchronous
>	Speed: Unknown
>	Error Correction Type: Unknown
>	System Type: Unknown
>	Associativity: Unknown
>
>Handle 0x000B, DMI type 7, 19 bytes
>Cache Information
>	Socket Designation: External Cache
>	Configuration: Enabled, Not Socketed, Level 2
>	Operational Mode: Write Back
>	Location: External
>	Installed Size: 0 kB
>	Maximum Size: 0 kB
>	Supported SRAM Types:
>		Synchronous
>	Installed SRAM Type: Synchronous
>	Speed: Unknown
>	Error Correction Type: Unknown
>	System Type: Unknown
>	Associativity: Unknown
>
>Handle 0x000C, DMI type 7, 19 bytes
>Cache Information
>	Socket Designation: External Cache
>	Configuration: Enabled, Not Socketed, Level 2
>	Operational Mode: Write Back
>	Location: External
>	Installed Size: 0 kB
>	Maximum Size: 0 kB
>	Supported SRAM Types:
>		Synchronous
>	Installed SRAM Type: Synchronous
>	Speed: Unknown
>	Error Correction Type: Unknown
>	System Type: Unknown
>	Associativity: Unknown
>
>Handle 0x000D, DMI type 8, 9 bytes
>Port Connector Information
>	Internal Reference Designator: PRIMARY IDE
>	Internal Connector Type: On Board IDE
>	External Reference Designator: Not Specified
>	External Connector Type: None
>	Port Type: Other
>
>Handle 0x000E, DMI type 8, 9 bytes
>Port Connector Information
>	Internal Reference Designator: SECONDARY IDE
>	Internal Connector Type: On Board IDE
>	External Reference Designator: Not Specified
>	External Connector Type: None
>	Port Type: Other
>
>Handle 0x000F, DMI type 8, 9 bytes
>Port Connector Information
>	Internal Reference Designator: FDD
>	Internal Connector Type: On Board Floppy
>	External Reference Designator: Not Specified
>	External Connector Type: None
>	Port Type: 8251 FIFO Compatible
>
>Handle 0x0010, DMI type 8, 9 bytes
>Port Connector Information
>	Internal Reference Designator: COM1
>	Internal Connector Type: 9 Pin Dual Inline (pin 10 cut)
>	External Reference Designator:  
>	External Connector Type: DB-9 male
>	Port Type: Serial Port 16450 Compatible
>
>Handle 0x0011, DMI type 8, 9 bytes
>Port Connector Information
>	Internal Reference Designator: COM2
>	Internal Connector Type: 9 Pin Dual Inline (pin 10 cut)
>	External Reference Designator:  
>	External Connector Type: DB-9 male
>	Port Type: Serial Port 16450 Compatible
>
>Handle 0x0012, DMI type 8, 9 bytes
>Port Connector Information
>	Internal Reference Designator: LPT1
>	Internal Connector Type: DB-25 female
>	External Reference Designator:  
>	External Connector Type: DB-25 female
>	Port Type: Parallel Port ECP/EPP
>
>Handle 0x0013, DMI type 8, 9 bytes
>Port Connector Information
>	Internal Reference Designator: Keyboard
>	Internal Connector Type: PS/2
>	External Reference Designator:  
>	External Connector Type: PS/2
>	Port Type: Keyboard Port
>
>Handle 0x0014, DMI type 8, 9 bytes
>Port Connector Information
>	Internal Reference Designator: PS/2 Mouse
>	Internal Connector Type: PS/2
>	External Reference Designator:  
>	External Connector Type: PS/2
>	Port Type: Mouse Port
>
>Handle 0x0015, DMI type 8, 9 bytes
>Port Connector Information
>	Internal Reference Designator: Not Specified
>	Internal Connector Type: None
>	External Reference Designator: USB0
>	External Connector Type: Other
>	Port Type: USB
>
>Handle 0x0016, DMI type 9, 13 bytes
>System Slot Information
>	Designation: PCI0
>	Type: 32-bit PCI
>	Current Usage: Available
>	Length: Long
>	ID: 1
>	Characteristics:
>		5.0 V is provided
>		PME signal is supported
>
>Handle 0x0017, DMI type 9, 13 bytes
>System Slot Information
>	Designation: PCI1
>	Type: 32-bit PCI
>	Current Usage: Available
>	Length: Long
>	ID: 2
>	Characteristics:
>		5.0 V is provided
>		PME signal is supported
>
>Handle 0x0018, DMI type 9, 13 bytes
>System Slot Information
>	Designation: AGP
>	Type: 32-bit AGP
>	Current Usage: In Use
>	Length: Long
>	ID: 8
>	Characteristics:
>		5.0 V is provided
>
>Handle 0x0019, DMI type 13, 22 bytes
>BIOS Language Information
>	Language Description Format: Long
>	Installable Languages: 3
>		n|US|iso8859-1
>		n|US|iso8859-1
>		r|CA|iso8859-1
>	Currently Installed Language: n|US|iso8859-1
>
>Handle 0x001A, DMI type 16, 15 bytes
>Physical Memory Array
>	Location: System Board Or Motherboard
>	Use: System Memory
>	Error Correction Type: None
>	Maximum Capacity: 1 GB
>	Error Information Handle: Not Provided
>	Number Of Devices: 2
>
>Handle 0x001B, DMI type 17, 27 bytes
>Memory Device
>	Array Handle: 0x001A
>	Error Information Handle: Not Provided
>	Total Width: Unknown
>	Data Width: Unknown
>	Size: 1024 MB
>	Form Factor: DIMM
>	Set: None
>	Locator: A0
>	Bank Locator: Bank0/1
>	Type: Unknown
>	Type Detail: None
>	Speed: Unknown
>	Manufacturer: None
>	Serial Number: None
>	Asset Tag: None
>	Part Number: None
>
>Handle 0x001C, DMI type 17, 27 bytes
>Memory Device
>	Array Handle: 0x001A
>	Error Information Handle: Not Provided
>	Total Width: Unknown
>	Data Width: Unknown
>	Size: 1024 MB
>	Form Factor: DIMM
>	Set: None
>	Locator: A1
>	Bank Locator: Bank2/3
>	Type: Unknown
>	Type Detail: None
>	Speed: Unknown
>	Manufacturer: None
>	Serial Number: None
>	Asset Tag: None
>	Part Number: None
>
>Handle 0x001D, DMI type 19, 15 bytes
>Memory Array Mapped Address
>	Starting Address: 0x00000000000
>	Ending Address: 0x0007FFFFFFF
>	Range Size: 2 GB
>	Physical Array Handle: 0x001A
>	Partition Width: 1
>
>Handle 0x001E, DMI type 20, 19 bytes
>Memory Device Mapped Address
>	Starting Address: 0x00000000000
>	Ending Address: 0x0003FFFFFFF
>	Range Size: 1 GB
>	Physical Device Handle: 0x001B
>	Memory Array Mapped Address Handle: 0x001D
>	Partition Row Position: 1
>
>Handle 0x001F, DMI type 20, 19 bytes
>Memory Device Mapped Address
>	Starting Address: 0x00040000000
>	Ending Address: 0x0007FFFFFFF
>	Range Size: 1 GB
>	Physical Device Handle: 0x001C
>	Memory Array Mapped Address Handle: 0x001D
>	Partition Row Position: 1
>
>Handle 0x0020, DMI type 32, 11 bytes
>System Boot Information
>	Status: No errors detected
>
>Handle 0x0021, DMI type 127, 4 bytes
>End Of Table
>
Comment 7 Alex Deucher 2014-09-18 20:03:33 UTC
(In reply to comment #5)
> The mainboard a MicroStar MS-7318. Based on the information on
> http://www.medion.com/de/service/_lightbox/treiber.php?msn=10010251 I think
> it is a VIA Hyperion Pro.

I strongly suspect the VIA chipset has broken MSI support and probably needs a quirk to disable it.  I don't see any MSIs getting triggered:

  64:          0          0   PCI-MSI-edge      aerdrv, PCIe PME, pciehp
  65:          0          0   PCI-MSI-edge      aerdrv, PCIe PME, pciehp
  66:          0          0   PCI-MSI-edge      aerdrv, PCIe PME
  67:          0          0   PCI-MSI-edge      aerdrv, PCIe PME
  68:          0          0   PCI-MSI-edge      snd_hda_intel
  69:          0          0   PCI-MSI-edge      snd_hda_intel

Does sound work ok?
Comment 8 Alex Deucher 2014-09-18 20:04:39 UTC
booting with pci=nomsi will disable MSIs globally on your system.
Comment 9 Christoph Brill 2014-09-19 22:07:24 UTC
I played with the cmdline "radeon.msi" and couldn't get any of the PCI-MSI-edge counters to show anything else than 0. No matter which value used and no matter if any 3D operation was done.

I haven't touched "pci=nomsi". It looks like MSI is not working at all on this chipset ...
Comment 10 Michel Dänzer 2014-09-22 02:48:35 UTC
(In reply to comment #9)
> I haven't touched "pci=nomsi". It looks like MSI is not working at all on
> this chipset ...

That's why Alex suggested disabling MSI completely via pci=nomsi. radeon.msi only affects the radeon driver.
Comment 11 Martin Peres 2019-11-19 08:56:39 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/drm/amd/issues/536.

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.