Bug 46660 - Xorg & KMS go to black screen after linux version 2.6.39
Summary: Xorg & KMS go to black screen after linux version 2.6.39
Status: RESOLVED MOVED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Radeon (show other bugs)
Version: XOrg git
Hardware: x86-64 (AMD64) Linux (All)
: medium major
Assignee: Default DRI bug account
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-26 17:29 UTC by Vladi
Modified: 2019-11-19 08:25 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Xorg config constant while doing the bisect. (1.13 KB, text/plain)
2012-02-26 17:29 UTC, Vladi
no flags Details
Xorg log for working setup (30.96 KB, text/plain)
2012-02-26 17:29 UTC, Vladi
no flags Details
dmesg for non working setup on kernel 3.3 (30.63 KB, text/plain)
2012-02-26 17:30 UTC, Vladi
no flags Details
dmesg for working 2.6 kernel setup (1.93 KB, text/plain)
2012-02-26 17:31 UTC, Vladi
no flags Details

Description Vladi 2012-02-26 17:29:03 UTC
Created attachment 57687 [details]
Xorg config constant while doing the bisect.

Hi,

Getting an black screen after panasonic viera tc-p42x1. 

after doing an git bisect good v2.6.39 on git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git

i come to this:

fe6f0bd03d697835e76dd18d232ba476c65b8282 is the first bad commit
commit fe6f0bd03d697835e76dd18d232ba476c65b8282
Author: Marek Olšák <maraeo@gmail.com>
Date:   Sat May 7 01:09:57 2011 +0200

    drm/radeon/kms: add missing Evergreen texture formats to the CS parser
    
    BC6 and BC7 are described in ARB_texture_compression_bptc.
    
    No idea what FMT_32_AS_32_32_32_32 is good for.
    
    Signed-off-by: Marek Olšák <maraeo@gmail.com>
    Signed-off-by: Dave Airlie <airlied@redhat.com>

:040000 040000 bd72080004eca34dd6c17a3111d76f1b515f5e8d ea46d48c05fb870991f72f0d9e2ebd936e4214aa M	drivers
Comment 1 Vladi 2012-02-26 17:29:54 UTC
Created attachment 57688 [details]
Xorg log for working setup
Comment 2 Vladi 2012-02-26 17:30:34 UTC
Created attachment 57689 [details]
dmesg for non working setup on kernel 3.3
Comment 3 Vladi 2012-02-26 17:31:26 UTC
Created attachment 57690 [details]
dmesg for working 2.6 kernel setup
Comment 4 Vladi 2012-02-26 17:39:33 UTC
the commit i got from git bisect was deduced from an working Xorg setup. There was an point where the KMS was working but Xorg was not untill the the commit i mentioned. The errors in dmesg while KMS was fine and Xorg still not working were:
[   88.579198] [drm:radeon_cs_ioctl] *ERROR* Invalid command stream !
[   88.579733] radeon 0000:01:05.0: r600_check_texture_resource:1338 texture invalid format 26
Comment 5 Vladi 2012-02-26 18:41:23 UTC
also tried reverting that commit from master. same result black screen on both KMS and Xorg
Comment 6 Michel Dänzer 2012-02-27 01:52:22 UTC
(In reply to comment #4)
> [   88.579198] [drm:radeon_cs_ioctl] *ERROR* Invalid command stream !
> [   88.579733] radeon 0000:01:05.0: r600_check_texture_resource:1338 texture
> invalid format 26

It looks like the commit you bisected to was the one which fixed this problem, not the one that caused the black screen.

You should probably ignore X for the bisect, and just call any kernel that lights up the monitor good, otherwise bad.
Comment 7 Vladi 2012-02-28 11:41:30 UTC
Ok, so its 2 commits after that one then.
Comment 8 Alex Deucher 2012-02-28 12:37:17 UTC
(In reply to comment #7)
> Ok, so its 2 commits after that one then.

What's the title or commit it?
Comment 9 Alex Deucher 2012-02-28 12:37:47 UTC
(In reply to comment #8)
> (In reply to comment #7)
> > Ok, so its 2 commits after that one then.
> 
> What's the title or commit it?

title or commit id.
Comment 10 Vladi 2012-03-04 12:00:52 UTC
New bisect this time marking blank screen on KMS bad gives this as the problem commit.

805c22168da76a65c978017d0fe0d59cd048e995 is the first bad commit
commit 805c22168da76a65c978017d0fe0d59cd048e995
Author: Alex Deucher <alexdeucher@gmail.com>
Date:   Mon Jun 6 17:39:16 2011 -0400

    drm/radeon/kms: disable hdmi audio by default
    
    The current RE'd code causes blank screens and
    display problems on a lot of systems.  So disable
    it by default for now.  It can still be enabled
    by setting the audio parameter to 1.  E.g.:
    radeon.audio=1
    
    Fixes:
    https://bugs.freedesktop.org/show_bug.cgi?id=38010
    https://bugs.freedesktop.org/show_bug.cgi?id=27731
    https://bugs.freedesktop.org/show_bug.cgi?id=35970
    https://bugs.freedesktop.org/show_bug.cgi?id=26195
    and many other reported problems.
    
    Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
    Signed-off-by: Dave Airlie <airlied@redhat.com>

:040000 040000 76f7b2fe88e902f82350d83f8b3cd50d9953ea15 2ce00f65258860a1afc7ca89e4f15c4de5bb4cca M	drivers

LOG:

# bad: [02f8c6aee8df3cdc935e9bdd4f2d020306035dbe] Linux 3.0
# good: [61c4f2c81c61f73549928dfd9f3e8f26aa36a8cf] Linux 2.6.39
git bisect start 'v3.0' 'v2.6.39' '--'
# good: [6b36fdd11b15b6fea900f7fa0195ca3f54a33153] ARM: mach-shmobile: AG5EVM DSI resource string update
git bisect good 6b36fdd11b15b6fea900f7fa0195ca3f54a33153
# good: [9b83c771214cf6a256ee875050e6eaf320cf7983] xen/blkback: potential null dereference in error handling
git bisect good 9b83c771214cf6a256ee875050e6eaf320cf7983
# bad: [10e18e62309a882c513b4f516527055b6a60d668] Merge branch 'kvm-updates/3.0' of git://git.kernel.org/pub/scm/virt/kvm/kvm
git bisect bad 10e18e62309a882c513b4f516527055b6a60d668
# good: [12871a0bd67dd4db4418e1daafcd46e9d329ef10] Merge branch 'drm-radeon-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/airlied/drm-2.6
git bisect good 12871a0bd67dd4db4418e1daafcd46e9d329ef10
# bad: [562d1ffed2082fc59fb72173b856822ffe781559] Merge branch 'spi/merge' of git://git.secretlab.ca/git/linux-2.6
git bisect bad 562d1ffed2082fc59fb72173b856822ffe781559
# bad: [461df4ded3a143f09f9d0e870e7b16b787dc0591] Merge branch 'staging-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging-2.6
git bisect bad 461df4ded3a143f09f9d0e870e7b16b787dc0591
# bad: [467701e2862454b25e6cdf1171e0cea88ed5f21d] Merge branch 'stable/bug.fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/konrad/xen
git bisect bad 467701e2862454b25e6cdf1171e0cea88ed5f21d
# bad: [805c22168da76a65c978017d0fe0d59cd048e995] drm/radeon/kms: disable hdmi audio by default
git bisect bad 805c22168da76a65c978017d0fe0d59cd048e995
# good: [dcc32b838b449aef8533f130cfad41b912bfb228] Merge remote branch 'nouveau/drm-nouveau-fixes' of /ssd/git/drm-nouveau-next into drm-fixes
git bisect good dcc32b838b449aef8533f130cfad41b912bfb228
# good: [d681f1204d701cafbc45fa90e0ac977acddc33cc] Merge branch 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip
git bisect good d681f1204d701cafbc45fa90e0ac977acddc33cc
# good: [c5182b8867e189e14a8df5dbfcba1c73f286e061] genirq: Ensure we locate the passed IRQ in irq_alloc_descs()
git bisect good c5182b8867e189e14a8df5dbfcba1c73f286e061
# good: [428c6e3630b343d5b3034af914015d10c94bb90e] drm/radeon/kms: set family for use in parser.
git bisect good 428c6e3630b343d5b3034af914015d10c94bb90e
# good: [62fff811d73095bd95579d72f558f03c78f7914a] drm/radeon/kms: fix for radeon on systems >4GB without hardware iommu
git bisect good 62fff811d73095bd95579d72f558f03c78f7914a
Comment 11 Vladi 2012-03-04 12:04:55 UTC
adding radeon.audio=1 to boot parameters fixes the issue on new 3.3 kernel.
Comment 12 Martin Peres 2019-11-19 08:25:14 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/250.


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.