Skip to contentSkip to conversation

New: AMD/ATI RS690M Console blanks to white

Bug 88501 [email protected] 1 participant 12 messages Nov 19, 2014 – Mar 5, 2019

lore
Share & tools
lore
#0 lore raw

https://bugzilla.kernel.org/show_bug.cgi?id=88501

            Bug ID: 88501
           Summary: AMD/ATI RS690M Console blanks to white
           Product: Drivers
           Version: 2.5
    Kernel Version: 3.6.0-rc5 to 3.18.0-rc4
          Hardware: x86-64
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: Video(DRI - non Intel)
          Assignee: [email protected]
          Reporter: [email protected]
        Regression: Yes

Created attachment 158181
--> https://bugzilla.kernel.org/attachment.cgi?id=158181&action=edit
Git Bisect log, & git visualise o/p

Without X running, linux consoles blank after a period adjustable by setterm. Mine does not. It goes white. If I invert the screen colours, it goes whiter. Backlight?
I cloned the Linus-stable git and tried it. 3.18.0-rc4 twists this slightly - The FIRST time the screen blanks, it does so correctly; every other time, it blanks to white.
I'm a hardware guy, not a software expert. Git bisect gives the output below. Details of the box also attached

The box is a HP 6715S, twin core Turion, 3G ram. It's running Slackware-current as of Sept 30th, 2014. LSPCI output attached. Bios Version: ATI 02/13/08,1.

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
#1 lore raw

[Bug 88501] AMD/ATI RS690M Console blanks to white

https://bugzilla.kernel.org/show_bug.cgi?id=88501

--- Comment #1 from [email protected] ---
Created attachment 158191
--> https://bugzilla.kernel.org/attachment.cgi?id=158191&action=edit
LSPCI -vnn

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
#2 lore raw

[Bug 88501] AMD/ATI RS690M Console blanks to white

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=88501

--- Comment #2 from [email protected] ---
Created attachment 158201
--> https://bugzilla.kernel.org/attachment.cgi?id=158201&action=edit
Kernel Config 3.6.0-rc5+

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
#3 lore raw

[Bug 88501] AMD/ATI RS690M Console blanks to white

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=88501

Alex Deucher <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #3 from Alex Deucher <[email protected]> --- Does booting a recent kernel with radeon.backlight=0 fix the issue?

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
#4 lore raw

[Bug 88501] AMD/ATI RS690M Console blanks to white

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=88501

--- Comment #4 from Alex Deucher <[email protected]> --- Created attachment 158211
--> https://bugzilla.kernel.org/attachment.cgi?id=158211&action=edit
possible fix

Does this patch fix the issue (against 3.17 or newer kernel)?

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
#5 lore raw

[Bug 88501] AMD/ATI RS690M Console blanks to white

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=88501

--- Comment #5 from [email protected] ---
<Does booting a recent kernel with radeon.backlight=0 fix the issue?> Yes, this fixes the issue on 3.18-rc4

<Does this patch fix the issue (against 3.17 or newer kernel)?> No, it does not. I get the same behaviour - first time it blanks to dark, every other time it blanks to white.

I am a very rusty amateur at C, but I will adjust that patch very slightly here and have another go.

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
#6 lore raw

[Bug 88501] AMD/ATI RS690M Console blanks to white

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=88501

--- Comment #6 from [email protected] ---
Created attachment 158261
--> https://bugzilla.kernel.org/attachment.cgi?id=158261&action=edit
Your patch slightly adjusted

This seems to work. I know little of C, and less of graphics programming, but I got suspicious of the second 'if' construct inside a chain bracket, so I tweaked syntax. I built it here and tried it.

I now am sorted out, thank you. If you want something else tried, let me know. Otherwise, I assure you, I will *not* be building another kernel on that box for quite some time!

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
#7 lore raw

[Bug 88501] AMD/ATI RS690M Console blanks to white

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=88501

--- Comment #7 from Alex Deucher <[email protected]> --- The code should be fine as is. Are you sure you tested the right kernel?

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
#8 lore raw

[Bug 88501] AMD/ATI RS690M Console blanks to white

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=88501

--- Comment #8 from [email protected] ---
Yes. I tested in order
1. 3.18.0-rc4 with no patch - white 2nd time.
2. 3.18.0-rc4 with the boot option - dark every time
3. 3.18.0-rc4 with your patch applied and no boot option - white 2nd time
4. 3.18.0-rc4 with a syntax error :-/ module did not load.
5. 3.18.0-rc4 with the attached suggested fix, and no boot option. - dark every time.

I have built ~ 20 kernels in the last few days, and am not keeping any of them. The only reason I edited the patch was that I felt it unsafe to put an 'if' below an 'else' in the same chain bracket. I have met some compilers that don't respond to that as one would expect. I don't know what gcc does, and can't swear that the logic follows correctly. I just tried it.

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
#9 lore raw

[Bug 88501] AMD/ATI RS690M Console blanks to white

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=88501

[email protected] changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #9 from [email protected] ---
Have the same problem and no idea how to patch :( some may help? RS690M on AMD Thurion 64x2...

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
#10 lore raw

[Bug 88501] AMD/ATI RS690M Console blanks to white

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=88501

--- Comment #10 from Alex Deucher <[email protected]> --- The fix is already upstream. Alternatively, you can boot with radeon.backlight=0 on the kernel command line in grub.

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
#11 lore raw

[Bug 88501] AMD/ATI RS690M Console blanks to white

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=88501

crocket ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #11 from crocket ([email protected]) ---
https://bugzilla.kernel.org/show_bug.cgi?id=202739 might be a fix.

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel