Summary: | Xorg & KMS go to black screen after linux version 2.6.39 | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | DRI | Reporter: | Vladi <vladi> | ||||||||||
Component: | DRM/Radeon | Assignee: | Default DRI bug account <dri-devel> | ||||||||||
Status: | RESOLVED MOVED | QA Contact: | |||||||||||
Severity: | major | ||||||||||||
Priority: | medium | ||||||||||||
Version: | XOrg git | ||||||||||||
Hardware: | x86-64 (AMD64) | ||||||||||||
OS: | Linux (All) | ||||||||||||
Whiteboard: | |||||||||||||
i915 platform: | i915 features: | ||||||||||||
Attachments: |
|
Description
Vladi
2012-02-26 17:29:03 UTC
Created attachment 57688 [details]
Xorg log for working setup
Created attachment 57689 [details]
dmesg for non working setup on kernel 3.3
Created attachment 57690 [details]
dmesg for working 2.6 kernel setup
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 also tried reverting that commit from master. same result black screen on both KMS and Xorg (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. Ok, so its 2 commits after that one then. (In reply to comment #7) > Ok, so its 2 commits after that one then. What's the title or commit it? (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. 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 adding radeon.audio=1 to boot parameters fixes the issue on new 3.3 kernel. -- 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.