Re: screen goes blank when loading gma500_gfx (atom D2500)

From: Michael Tokarev
Date: Thu Mar 19 2015 - 15:48:43 EST


19.03.2015 14:56, One Thousand Gnomes wrote:
> On Thu, 19 Mar 2015 14:09:29 +0300
> Michael Tokarev <mjt@xxxxxxxxxx> wrote:
>
>> Half a year passed since my first email in this thread, and current kernels
>> (4.0-tobe) still does not work properly. Meanwhile, I found this thread:
>> http://www.linuxquestions.org/questions/slackware-installation-40/black-screen-on-intel-desktopboard-d2500cc-4175503983/
>> which seems to help. I wonder where they got these boot params from...
>
> Its one of the standard suggestions for dealing with wonky DRM I think.
>
> If that makes the difference on your box can you send me a dmidecode of
> it, and I'll see if we can at least teach the driver that the 2500CC
> needs LVDS enabled regardless of what the BIOS reports.

I think you mean disable, not enable, since this is (again, I think) what
video=LVDS-1:d kernel boot parameter does.

Yes, with video=LVDS-1:d boot parameter, kernel boots fine and there is
graphics/video output on the screen, with the following message from kernel
when loading gma500_gfx:

[ 6.472859] [drm] forcing LVDS-1 connector OFF

(and a few others).

There's one funky thing still -- the screen size is not calculated correctly
for the text (vga, d-sub) console, last text line is placed at about 3/4 of
the screen size, with the rest - 1/4 - of the screen being blank.

However, X seems to work fine, using generic modesetting driver.

Below is dmidecode output.

Thanks,

/mjt

===========================================================
# dmidecode 2.12
SMBIOS 2.7 present.
27 structures occupying 1491 bytes.
Table at 0x000EB920.

Handle 0x0000, DMI type 4, 42 bytes
Processor Information
Socket Designation: CPU 1
Type: Central Processor
Family: Other
Manufacturer: Intel(R) Corporation
ID: 61 06 03 00 FF FB EB BF
Version: Intel(R) Atom(TM) CPU D2500 @ 1.86GHz
Voltage: 1.1 V
External Clock: 133 MHz
Max Speed: 4000 MHz
Current Speed: 1868 MHz
Status: Populated, Enabled
Upgrade: None
L1 Cache Handle: 0x0003
L2 Cache Handle: 0x0001
L3 Cache Handle: Not Provided
Serial Number: Not Specified
Asset Tag: Not Specified
Part Number: Not Specified
Core Count: 2
Core Enabled: 2
Thread Count: 1
Characteristics:
64-bit capable
Multi-Core
Execute Protection

Handle 0x0001, DMI type 7, 19 bytes
Cache Information
Socket Designation: Unknown
Configuration: Enabled, Not Socketed, Level 2
Operational Mode: Write Back
Location: Internal
Installed Size: 512 kB
Maximum Size: 512 kB
Supported SRAM Types:
Asynchronous
Installed SRAM Type: Asynchronous
Speed: Unknown
Error Correction Type: Single-bit ECC
System Type: Data
Associativity: 8-way Set-associative

Handle 0x0002, DMI type 7, 19 bytes
Cache Information
Socket Designation: Unknown
Configuration: Enabled, Not Socketed, Level 1
Operational Mode: Write Back
Location: Internal
Installed Size: 32 kB
Maximum Size: 32 kB
Supported SRAM Types:
Asynchronous
Installed SRAM Type: Asynchronous
Speed: Unknown
Error Correction Type: Single-bit ECC
System Type: Instruction
Associativity: 8-way Set-associative

Handle 0x0003, DMI type 7, 19 bytes
Cache Information
Socket Designation: Unknown
Configuration: Enabled, Not Socketed, Level 1
Operational Mode: Write Back
Location: Internal
Installed Size: 24 kB
Maximum Size: 24 kB
Supported SRAM Types:
Asynchronous
Installed SRAM Type: Asynchronous
Speed: Unknown
Error Correction Type: Single-bit ECC
System Type: Data
Associativity: 32-way Set-associative

Handle 0x0004, DMI type 0, 24 bytes
BIOS Information
Vendor: Intel Corp.
Version: CCCDT10N.86A.0039.2013.0425.1625
Release Date: 04/25/2013
Address: 0xF0000
Runtime Size: 64 kB
ROM Size: 2048 kB
Characteristics:
PCI is supported
BIOS is upgradeable
BIOS shadowing is allowed
Boot from CD is supported
Selectable boot is supported
EDD is supported
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
ATAPI Zip drive boot is supported
BIOS boot specification is supported
Function key-initiated network boot is supported
Targeted content distribution is supported
UEFI is supported
BIOS Revision: 0.0
Firmware Revision: 0.0

Handle 0x0005, DMI type 1, 27 bytes
System Information
Manufacturer:
Product Name:
Version:
Serial Number:
UUID: 3C0B362E-E80B-E111-BB21-000EA68F75B9
Wake-up Type: Power Switch
SKU Number: Not Specified
Family: Not Specified

Handle 0x0006, DMI type 2, 20 bytes
Base Board Information
Manufacturer: Intel Corporation
Product Name: D2500CC
Version: AAG43156-301
Serial Number: BQCC146000RT
Asset Tag: Base Board Asset Tag
Features:
Board is a hosting board
Board is replaceable
Location In Chassis: Base Board Chassis Location
Chassis Handle: 0x0007
Type: Unknown
Contained Object Handles: 0

Handle 0x0007, DMI type 3, 22 bytes
Chassis Information
Manufacturer:
Type: Desktop
Lock: Not Present
Version:
Serial Number:
Asset Tag:
Boot-up State: Safe
Power Supply State: Safe
Thermal State: Other
Security Status: Other
OEM Information: 0x00000000
Height: Unspecified
Number Of Power Cords: Unspecified
Contained Elements: 0
SKU Number: Not Specified

Handle 0x0008, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: PRIMARY
Internal Connector Type: On Board IDE
External Reference Designator: Not Specified
External Connector Type: None
Port Type: Other

Handle 0x0009, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: SECONDARY
Internal Connector Type: On Board IDE
External Reference Designator: Not Specified
External Connector Type: None
Port Type: Other

Handle 0x000A, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: ATX_PWR
Internal Connector Type: Other
External Reference Designator: Not Specified
External Connector Type: None
Port Type: Other

Handle 0x000B, DMI type 9, 17 bytes
System Slot Information
Designation: PCIE X1 SLOT 1
Type: x1 PCI Express
Current Usage: Available
Length: Short
ID: 2
Characteristics:
3.3 V is provided
PME signal is supported
SMBus signal is supported
Bus Address: 0000:00:00.0

Handle 0x000C, DMI type 9, 17 bytes
System Slot Information
Designation: PCI SLOT 1
Type: 32-bit PCI
Current Usage: Available
Length: Long
ID: 1
Characteristics:
3.3 V is provided
PME signal is supported
SMBus signal is supported
Bus Address: 0000:00:00.0

Handle 0x000D, DMI type 10, 6 bytes
On Board Device Information
Type: Video
Status: Enabled
Description: Intel(R) GMA 3600 Video Device

Handle 0x000E, DMI type 10, 6 bytes
On Board Device Information
Type: Ethernet
Status: Enabled
Description: Intel(R) 82574L Gigabit Ethernet Device

Handle 0x000F, DMI type 10, 6 bytes
On Board Device Information
Type: Sound
Status: Disabled
Description: Intel(R) High Definition Audio Device

Handle 0x0010, DMI type 41, 11 bytes
Onboard Device
Reference Designation: Intel(R) GMA 3600 Video Device
Type: Video
Status: Enabled
Type Instance: 0
Bus Address: 0000:00:02.0

Handle 0x0011, DMI type 41, 11 bytes
Onboard Device
Reference Designation: Intel(R) 82574L Gigabit Ethernet Device
Type: Ethernet
Status: Enabled
Type Instance: 0
Bus Address: 0000:01:00.0

Handle 0x0012, DMI type 41, 11 bytes
Onboard Device
Reference Designation: Intel(R) High Definition Audio Device
Type: Sound
Status: Disabled
Type Instance: 0
Bus Address: 0000:00:1b.0

Handle 0x0013, DMI type 13, 22 bytes
BIOS Language Information
Language Description Format: Abbreviated
Installable Languages: 1
enUS
Currently Installed Language: enUS

Handle 0x0014, DMI type 32, 20 bytes
System Boot Information
Status: No errors detected

Handle 0x0015, DMI type 16, 23 bytes
Physical Memory Array
Location: System Board Or Motherboard
Use: System Memory
Error Correction Type: None
Maximum Capacity: 4 GB
Error Information Handle: Not Provided
Number Of Devices: 2

Handle 0x0016, DMI type 17, 34 bytes
Memory Device
Array Handle: 0x0015
Error Information Handle: Not Provided
Total Width: Unknown
Data Width: Unknown
Size: No Module Installed
Form Factor: DIMM
Set: None
Locator: SO DIMM 0
Bank Locator: Channel A DIMM0
Type: Unknown
Type Detail: Synchronous
Speed: Unknown
Manufacturer: NO DIMM
Serial Number: NO DIMM
Asset Tag: NO DIMM
Part Number: NO DIMM
Rank: Unknown
Configured Clock Speed: Unknown

Handle 0x0017, DMI type 17, 34 bytes
Memory Device
Array Handle: 0x0015
Error Information Handle: Not Provided
Total Width: 64 bits
Data Width: 64 bits
Size: 1024 MB
Form Factor: DIMM
Set: None
Locator: SO DIMM 1
Bank Locator: Channel A DIMM1
Type: DDR3
Type Detail: Synchronous
Speed: 1066 MHz
Manufacturer: 0x0000000000000000
Serial Number: 0x00000000
Asset Tag: Unknown
Part Number: 0x000000000000000000000000000000000000
Rank: Unknown
Configured Clock Speed: 1066 MHz

Handle 0x0018, DMI type 20, 35 bytes
Memory Device Mapped Address
Starting Address: 0x00000000000
Ending Address: 0x0003FFFFFFF
Range Size: 1 GB
Physical Device Handle: 0x0017
Memory Array Mapped Address Handle: 0x0019
Partition Row Position: 1

Handle 0x0019, DMI type 19, 31 bytes
Memory Array Mapped Address
Starting Address: 0x00000000000
Ending Address: 0x0003FFFFFFF
Range Size: 1 GB
Physical Array Handle: 0x0015
Partition Width: 2

Handle 0xFEFF, DMI type 127, 4 bytes
End Of Table

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/