LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 11-28-2012, 03:35 AM   #1
mityukov
LQ Newbie
 
Registered: Nov 2012
Posts: 9

Rep: Reputation: Disabled
Black screen after loading with enabled KMS, while no obvious problems in the sys.log


Hello, I'm trying to get LFS system to work on my Samsung MP305V5A-S06RU laptop (AMD Fusion A-6 platform).

Kernel version: 3.6.5
KMS driver enabled; Frirmware compiled in; Framebuffer drivers disabled.

When booting up with radeon.modeset=1, I get some text in non-native resolution, then it tries to change to another graphics mode (I believe), but the screen rturns black and remains so.

I've tried to locate problem by studying the /var/log/sys.log file, but I couldn't find anything helpful.. Could anyone have a look with a "fresh eye", plz?


Code:
Nov 28 13:18:40 book-lfs kernel: [    4.553702] [drm] radeon kernel modesetting enabled.
Nov 28 13:18:40 book-lfs kernel: [    4.553846] VGA switcheroo: detected switching method \_SB_.PCI0.VGA_.ATPX handle
Nov 28 13:18:40 book-lfs kernel: [    4.554549] [drm] initializing kernel modesetting (SUMO 0x1002:0x9647 0x144D:0xC609).
Nov 28 13:18:40 book-lfs kernel: [    4.554721] [drm] register mmio base: 0xFEB00000
Nov 28 13:18:40 book-lfs kernel: [    4.554798] [drm] register mmio size: 262144
Nov 28 13:18:40 book-lfs kernel: [    4.554921] ATOM BIOS: General
Nov 28 13:18:40 book-lfs kernel: [    4.555028] radeon 0000:00:01.0: VRAM: 512M 0x0000000000000000 - 0x000000001FFFFFFF (512M used)
Nov 28 13:18:40 book-lfs kernel: [    4.555166] radeon 0000:00:01.0: GTT: 512M 0x0000000020000000 - 0x000000003FFFFFFF
Nov 28 13:18:40 book-lfs kernel: [    4.555959] [drm] Detected VRAM RAM=512M, BAR=256M
Nov 28 13:18:40 book-lfs kernel: [    4.556079] [drm] RAM width 32bits DDR
Nov 28 13:18:40 book-lfs kernel: [    4.556257] [TTM] Zone  kernel: Available graphics memory: 1023644 kiB
Nov 28 13:18:40 book-lfs kernel: [    4.556348] [TTM] Initializing pool allocator
Nov 28 13:18:40 book-lfs kernel: [    4.556414] [TTM] Initializing DMA pool allocator
Nov 28 13:18:40 book-lfs kernel: [    4.556506] [drm] radeon: 512M of VRAM memory ready
Nov 28 13:18:40 book-lfs kernel: [    4.556569] [drm] radeon: 512M of GTT memory ready.
Nov 28 13:18:40 book-lfs kernel: [    4.556649] [drm] Supports vblank timestamp caching Rev 1 (10.10.2010).
Nov 28 13:18:40 book-lfs kernel: [    4.556712] [drm] Driver supports precise vblank timestamp query.
Nov 28 13:18:40 book-lfs kernel: [    4.556832] radeon 0000:00:01.0: irq 42 for MSI/MSI-X
Nov 28 13:18:40 book-lfs kernel: [    4.556842] radeon 0000:00:01.0: radeon: using MSI.
Nov 28 13:18:40 book-lfs kernel: [    4.556961] [drm] radeon: irq initialized.
Nov 28 13:18:40 book-lfs kernel: [    4.557026] [drm] GART: num cpu pages 131072, num gpu pages 131072
Nov 28 13:18:40 book-lfs kernel: [    4.557870] [drm] Loading SUMO Microcode
Nov 28 13:18:40 book-lfs kernel: [    4.559808] [drm] PCIE GART of 512M enabled (table at 0x0000000000040000).
Nov 28 13:18:40 book-lfs kernel: [    4.559991] radeon 0000:00:01.0: WB enabled
Nov 28 13:18:40 book-lfs kernel: [    4.560055] radeon 0000:00:01.0: fence driver on ring 0 use gpu addr 0x0000000020000c00 and cpu addr 0xffff88007ad2bc00
Nov 28 13:18:40 book-lfs kernel: [    4.576520] [drm] ring test on 0 succeeded in 1 usecs
Nov 28 13:18:40 book-lfs kernel: [    4.576821] [drm] ib test on ring 0 succeeded in 0 usecs
Nov 28 13:18:40 book-lfs kernel: [    4.578310] [drm] Radeon Display Connectors
Nov 28 13:18:40 book-lfs kernel: [    4.578383] [drm] Connector 0:
Nov 28 13:18:40 book-lfs kernel: [    4.578445] [drm]   VGA-1
Nov 28 13:18:40 book-lfs kernel: [    4.578505] [drm]   HPD2
Nov 28 13:18:40 book-lfs kernel: [    4.578567] [drm]   DDC: 0x6440 0x6440 0x6444 0x6444 0x6448 0x6448 0x644c 0x644c
Nov 28 13:18:40 book-lfs kernel: [    4.578703] [drm]   Encoders:
Nov 28 13:18:40 book-lfs kernel: [    4.578768] [drm]     CRT1: INTERNAL_UNIPHY2
Nov 28 13:18:40 book-lfs kernel: [    4.578830] [drm]     CRT1: NUTMEG
Nov 28 13:18:40 book-lfs kernel: [    4.578891] [drm] Connector 1:
Nov 28 13:18:40 book-lfs kernel: [    4.578951] [drm]   LVDS-1
Nov 28 13:18:40 book-lfs kernel: [    4.579012] [drm]   HPD1
Nov 28 13:18:40 book-lfs kernel: [    4.579073] [drm]   DDC: 0x6430 0x6430 0x6434 0x6434 0x6438 0x6438 0x643c 0x643c
Nov 28 13:18:40 book-lfs kernel: [    4.579182] [drm]   Encoders:
Nov 28 13:18:40 book-lfs kernel: [    4.579242] [drm]     LCD1: INTERNAL_UNIPHY2
Nov 28 13:18:40 book-lfs kernel: [    4.579304] [drm]     LCD1: TRAVIS
Nov 28 13:18:40 book-lfs kernel: [    4.579365] [drm] Connector 2:
Nov 28 13:18:40 book-lfs kernel: [    4.579426] [drm]   HDMI-A-1
Nov 28 13:18:40 book-lfs kernel: [    4.579486] [drm]   HPD3
Nov 28 13:18:40 book-lfs kernel: [    4.579547] [drm]   DDC: 0x6450 0x6450 0x6454 0x6454 0x6458 0x6458 0x645c 0x645c
Nov 28 13:18:40 book-lfs kernel: [    4.579682] [drm]   Encoders:
Nov 28 13:18:40 book-lfs kernel: [    4.579743] [drm]     DFP1: INTERNAL_UNIPHY
Nov 28 13:18:40 book-lfs kernel: [    4.606085] [drm] Internal thermal controller without fan control
Nov 28 13:18:40 book-lfs kernel: [    4.606227] [drm] radeon: power management initialized
Nov 28 13:18:40 book-lfs kernel: [    4.739447] [drm] fb mappable at 0xA0142000
Nov 28 13:18:40 book-lfs kernel: [    4.739555] [drm] vram apper at 0xA0000000
Nov 28 13:18:40 book-lfs kernel: [    4.739617] [drm] size 4325376
Nov 28 13:18:40 book-lfs kernel: [    4.739678] [drm] fb depth is 24
Nov 28 13:18:40 book-lfs kernel: [    4.739741] [drm]    pitch is 5632
Nov 28 13:18:40 book-lfs kernel: [    4.739936] fbcon: radeondrmfb (fb0) is primary device
Nov 28 13:18:40 book-lfs kernel: [    4.857084] Console: switching to colour frame buffer device 170x48
Nov 28 13:18:40 book-lfs kernel: [    4.860878] fb0: radeondrmfb frame buffer device
Nov 28 13:18:40 book-lfs kernel: [    4.860905] drm: registered panic notifier
Nov 28 13:18:40 book-lfs kernel: [    4.860934] [drm] Initialized radeon 2.24.0 20080528 for 0000:00:01.0 on minor 0
Nov 28 13:18:40 book-lfs kernel: [    4.861055] radeon 0000:02:00.0: enabling device (0000 -> 0003)
Nov 28 13:18:40 book-lfs kernel: [    4.861669] [drm] initializing kernel modesetting (CAICOS 0x1002:0x6760 0x144D:0xC609).
Nov 28 13:18:40 book-lfs kernel: [    4.861763] [drm] register mmio base: 0xFEA20000
Nov 28 13:18:40 book-lfs kernel: [    4.861789] [drm] register mmio size: 131072
Nov 28 13:18:40 book-lfs kernel: [    4.861814] vga_switcheroo: enabled
Nov 28 13:18:40 book-lfs kernel: [    4.861998] radeon atpx: version is 1
Nov 28 13:18:40 book-lfs kernel: [    5.994911] ATOM BIOS: Samsung_Petronas_DE_SeymourXT_PX
Nov 28 13:18:40 book-lfs kernel: [    5.995329] radeon 0000:02:00.0: VRAM: 1024M 0x0000000000000000 - 0x000000003FFFFFFF (1024M used)
Nov 28 13:18:40 book-lfs kernel: [    5.995379] radeon 0000:02:00.0: GTT: 512M 0x0000000040000000 - 0x000000005FFFFFFF
Nov 28 13:18:40 book-lfs kernel: [    5.996126] [drm] Detected VRAM RAM=1024M, BAR=256M
Nov 28 13:18:40 book-lfs kernel: [    5.996170] [drm] RAM width 64bits DDR
Nov 28 13:18:40 book-lfs kernel: [    5.996214] [drm] radeon: 1024M of VRAM memory ready
Nov 28 13:18:40 book-lfs kernel: [    5.996242] [drm] radeon: 512M of GTT memory ready.
Nov 28 13:18:40 book-lfs kernel: [    5.996286] [drm] Supports vblank timestamp caching Rev 1 (10.10.2010).
Nov 28 13:18:40 book-lfs kernel: [    5.996322] [drm] Driver supports precise vblank timestamp query.
Nov 28 13:18:40 book-lfs kernel: [    5.996426] radeon 0000:02:00.0: irq 43 for MSI/MSI-X
Nov 28 13:18:40 book-lfs kernel: [    5.996441] radeon 0000:02:00.0: radeon: using MSI.
Nov 28 13:18:40 book-lfs kernel: [    5.996515] [drm] radeon: irq initialized.
Nov 28 13:18:40 book-lfs kernel: [    5.996549] [drm] GART: num cpu pages 131072, num gpu pages 131072
Nov 28 13:18:40 book-lfs kernel: [    5.997281] [drm] probing gen 2 caps for device 1022:1708 = 1/0
Nov 28 13:18:40 book-lfs kernel: [    5.997363] [drm] Loading CAICOS Microcode
Nov 28 13:18:40 book-lfs kernel: [    6.000227] [drm] PCIE GART of 512M enabled (table at 0x0000000000040000).
Nov 28 13:18:40 book-lfs kernel: [    6.001360] radeon 0000:02:00.0: WB enabled
Nov 28 13:18:40 book-lfs kernel: [    6.002350] radeon 0000:02:00.0: fence driver on ring 0 use gpu addr 0x0000000040000c00 and cpu addr 0xffff88007ad49c00
Nov 28 13:18:40 book-lfs kernel: [    6.019873] [drm] ring test on 0 succeeded in 2 usecs
Nov 28 13:18:40 book-lfs kernel: [    6.021555] [drm] ib test on ring 0 succeeded in 0 usecs
Nov 28 13:18:40 book-lfs kernel: [    6.023136] [drm] Radeon Display Connectors
Nov 28 13:18:40 book-lfs kernel: [    6.026642] [drm] Internal thermal controller with fan control
Nov 28 13:18:40 book-lfs kernel: [    6.028670] [drm] radeon: power management initialized
Nov 28 13:18:40 book-lfs kernel: [    6.030171] No connectors reported connected with modes
Nov 28 13:18:40 book-lfs kernel: [    6.031571] [drm] Cannot find any crtc or sizes - going 1024x768
Nov 28 13:18:40 book-lfs kernel: [    6.035441] [drm] fb mappable at 0xB0142000
Nov 28 13:18:40 book-lfs kernel: [    6.037020] [drm] vram apper at 0xB0000000
Nov 28 13:18:40 book-lfs kernel: [    6.038267] [drm] size 3145728
Nov 28 13:18:40 book-lfs kernel: [    6.039800] [drm] fb depth is 24
Nov 28 13:18:40 book-lfs kernel: [    6.041077] [drm]    pitch is 4096
Nov 28 13:18:40 book-lfs kernel: [    6.042588] fb1: radeondrmfb frame buffer device
Nov 28 13:18:40 book-lfs kernel: [    6.043796] [drm] Initialized radeon 2.24.0 20080528 for 0000:02:00.0 on minor 1

P.S.: I also have Mesa 9.0.1, glamor(git) and xf86-video-ati(git); Though, I don't think these pieces take any place when loading into console (I don't have X started automatically yet).
 
Old 11-28-2012, 05:41 AM   #2
mityukov
LQ Newbie
 
Registered: Nov 2012
Posts: 9

Original Poster
Rep: Reputation: Disabled
Here's my HW spec:

Code:
# lspci | grep VGA
00:01.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI BeaverCreek [Radeon HD 6520G]
02:00.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI Caicos [Radeon HD 6400M/7400M Series]
 
Old 11-28-2012, 06:48 AM   #3
mityukov
LQ Newbie
 
Registered: Nov 2012
Posts: 9

Original Poster
Rep: Reputation: Disabled
UPDATE: it seems that there are two devices are loaded. the first one is Ok and the second one cannot read EDID:

Quote:
1. [drm] initializing kernel modesetting (SUMO 0x1002:0x9647 0x144D:0xC609).
...
Nov 28 13:18:40 book-lfs kernel: [ 4.857084] Console: switching to colour frame buffer device 170x48
Nov 28 13:18:40 book-lfs kernel: [ 4.860878] fb0: radeondrmfb frame buffer device
Quote:
2. Nov 28 13:18:40 book-lfs kernel: [ 4.861669] [drm] initializing kernel modesetting (CAICOS 0x1002:0x6760 0x144D:0xC609).
...
Nov 28 13:18:40 book-lfs kernel: [ 6.030171] No connectors reported connected with modes
Nov 28 13:18:40 book-lfs kernel: [ 6.031571] [drm] Cannot find any crtc or sizes - going 1024x768
Nov 28 13:18:40 book-lfs kernel: [ 6.035441] [drm] fb mappable at 0xB0142000
Nov 28 13:18:40 book-lfs kernel: [ 6.037020] [drm] vram apper at 0xB0000000
Nov 28 13:18:40 book-lfs kernel: [ 6.038267] [drm] size 3145728
Nov 28 13:18:40 book-lfs kernel: [ 6.039800] [drm] fb depth is 24
Nov 28 13:18:40 book-lfs kernel: [ 6.041077] [drm] pitch is 4096
Nov 28 13:18:40 book-lfs kernel: [ 6.042588] fb1: radeondrmfb frame buffer device
So, the question now is following: how can I load only one driver, the one, which results into "fb0: color frame buffer device 170x48"?
 
Old 11-28-2012, 01:48 PM   #4
mityukov
LQ Newbie
 
Registered: Nov 2012
Posts: 9

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by mityukov View Post
So, the question now is following: how can I load only one driver, the one, which results into "fb0: color frame buffer device 170x48"?
Found an answer: added "fbcon=map:0" kernel option to the grub.cfg. So, KMS is working now in the Console (still have issues with X, though).
 
  


Reply

Tags
amd, ati, drm, kms


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Radeon HD 6670 Problems (no KMS, black screen) AnarKEY Linux - Hardware 8 01-20-2012 07:52 AM
black screen at boot when setting i915 kms crts Debian 2 08-20-2011 04:23 PM
FX5600 Geforce - FC9 - black screen, no (EE) errors in /var/log/Xorg.0.log?? boyd98 Linux - Hardware 1 06-17-2008 08:56 PM
Log in screen won-t show up, I get a black screen and mouse pinter on waiting mode Nis2k Linux - General 1 03-26-2008 09:32 PM
log-in screen missing. dead black screen instead blastradius Ubuntu 5 11-30-2006 10:06 AM


All times are GMT -5. The time now is 11:55 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration