Skip to contentSkip to conversation

New: X server restarts on brightness change

Bug 51281 [email protected] 1 participant 20 messages Jun 21, 2012 – Aug 25, 2013 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=51281

             Bug #: 51281
           Summary: X server restarts on brightness change
    Classification: Unclassified
           Product: xorg
           Version: 7.6 (2010.12)
          Platform: x86-64 (AMD64)
        OS/Version: Linux (All)
            Status: NEW
          Severity: major
          Priority: medium
         Component: Driver/nouveau
        AssignedTo: [email protected]
        ReportedBy: [email protected]
         QAContact: [email protected]

Created attachment 63284
--> https://bugs.freedesktop.org/attachment.cgi?id=63284
Xorg.0.log.old after the restart

It does not happen just after server is started, need some time for it, few hours maybe few times sleep to ram.

This situation repeats multiple times already, I can not normally work as every evening / morning when I want to adjust brightness X restarts and all my applications are closed.

From the Xorg.0.log the part "evdev: Power Button: Close" is repeating.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

A message that is not in the archive (sent off-list or not yet received): bug-51281-8800-V0hAGp6uBxMKqLRl/[email protected]/

#2 lore raw

[Bug 51281] X server restarts on brightness change

https://bugs.freedesktop.org/show_bug.cgi?id=51281

--- Comment #1 from Michal Papis <[email protected]> 2012-06-21 00:19:01 PDT --- Created attachment 63285
--> https://bugs.freedesktop.org/attachment.cgi?id=63285
output from dmesg

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#3 lore raw

[Bug 51281] X server restarts on brightness change

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=51281

Emil Velikov <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

  Attachment #63284|application/x-trash         |text/plain
          mime type|                            |
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#4 lore raw

[Bug 51281] X server restarts on brightness change

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=51281

Emil Velikov <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

  Attachment #63285|text/x-log                  |text/plain
          mime type|                            |
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#5 lore raw

[Bug 51281] X server restarts on brightness change

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=51281

--- Comment #8 from Maarten Maathuis <[email protected]> 2012-06-21 13:48:36 UTC --- It seems there is (another) way to control the backlight.

/sys/class/backlight/nv_backlight/brightness

You can write to that, but check the value of /sys/class/backlight/nv_backlight/max_brightness first.

I'm not a 100% sure the name is nv_backlight, but that should be easy to check.

Please try that and see if this causes problems.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#6 lore raw

[Bug 51281] X server restarts on brightness change

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=51281

--- Comment #10 from Michal Papis <[email protected]> 2012-06-21 14:01:36 UTC --- there was only one device and it also worked to use it:

$ echo 8 | sudo tee /sys/class/backlight/acpi_video0/brightness
root's password:
8
$ echo 6 | sudo tee /sys/class/backlight/acpi_video0/brightness
6
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#7 lore raw

[Bug 51281] X server restarts on brightness change

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=51281

--- Comment #2 from Marcin Slusarz <[email protected]> 2012-06-21 09:30:21 PDT --- There's nothing about Nouveau crashing in these logs.
Maybe something reprograms brightness button to do something which triggers
xserver shutdown?

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#8 lore raw

[Bug 51281] X server restarts on brightness change

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=51281

--- Comment #3 from Michal Papis <[email protected]> 2012-06-21 09:52:28 PDT --- The restart is rather instant, and it happens the same if I use keyboard to
change brightness or the Xfce panel plugin for brightness.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#9 lore raw

[Bug 51281] X server restarts on brightness change

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=51281

--- Comment #15 from Michal Papis <[email protected]> 2012-06-21 17:30:02 UTC --- and then I tried to do darker with keyboard and it crashed right away, so any
switches, options configurations to produce more output/log I can attach, just
please make them not to annoying.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#10 lore raw

[Bug 51281] X server restarts on brightness change

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=51281

--- Comment #4 from Maarten Maathuis <[email protected]> 2012-06-21 11:33:37 PDT --- Does "xrandr --verbose" show some kind of brightness property attached to
LVDS-1?

If so, does modifying this cause the same problems? Please double check that the property actually changes.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#11 lore raw

[Bug 51281] X server restarts on brightness change

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=51281

--- Comment #5 from Michal Papis <[email protected]> 2012-06-21 12:06:50 PDT ---

$ xrandr --verbose | grep rightness
    Brightness: 1.0
$ xrandr --output LVDS-1 --brightness 0.8
$ xrandr --verbose | grep rightness
    Brightness: 0.80

And I see the difference ... I will try to repeat it later as it does not happen always.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#12 lore raw

[Bug 51281] X server restarts on brightness change

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=51281

--- Comment #6 from Maarten Maathuis <[email protected]> 2012-06-21 12:33:15 PDT --- Oh, that brightness just adjust the gamma settings, but doesn't affect the
backlight. Isn't there another setting somewhere? Maybe paste the output of
"xrandr --verbose"?

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#13 lore raw

[Bug 51281] X server restarts on brightness change

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=51281

--- Comment #7 from Michal Papis <[email protected]> 2012-06-21 12:49:32 PDT --- Created attachment 63323
--> https://bugs.freedesktop.org/attachment.cgi?id=63323
xrandr --verbose

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#14 lore raw

[Bug 51281] X server restarts on brightness change

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=51281

--- Comment #9 from Maarten Maathuis <[email protected]> 2012-06-21 13:53:02 PDT --- Also check if there is more than one backlight device and try those too.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#15 lore raw

[Bug 51281] X server restarts on brightness change

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=51281

Peter Hutterer <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |NEEDINFO
                 CC|                            |[email protected]

--- Comment #11 from Peter Hutterer <[email protected]> 2012-06-21 16:17:16 PDT --- I don't think that's a keyboard issue, otherwise it wouldn't crash on manual
panel trigger. quick skim of the xfce power manager plugin code shows you can
run that manually with "set-brightness", can you check if this works?

the other possibility: if xfce4 crashes it may shut down your X server, similar to how GNOME does it. Do see the same effect if you run xinit and then start xfce from the terminal?

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#16 lore raw

[Bug 51281] X server restarts on brightness change

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=51281

Michal Papis <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|NEEDINFO |NEW

--- Comment #12 from Michal Papis <[email protected]> 2012-06-21 16:31:15 PDT --- ok I need some help here, how do I manually "set-brightness"?

as for the second possibility, is there no other way, maybe some config file to enable additional logging?

I'm using this setup for work so any interruptions and inconveniences are not welcome - and as the issue happens after few hours you understand it might be hard to run it using single commands.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#17 lore raw

[Bug 51281] X server restarts on brightness change

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=51281

--- Comment #13 from Peter Hutterer <[email protected]> 2012-06-21 16:56:50 PDT --- again, just looking at the source here but there should be a
xfce4-power-manager binary that takes a set-brightness argument or so. I
suspect that's the one called from the panel and may be the one that crashes
xfce.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#18 lore raw

[Bug 51281] X server restarts on brightness change

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=51281

--- Comment #14 from Michal Papis <[email protected]> 2012-06-21 17:26:21 PDT --- just checked, there is no option to steer it from command line, it's all
automated stuff, I can not trigger the change manually unless using keybord /
panel icon.

btw. I just tried both

echo 6 | sudo tee /sys/class/backlight/acpi_video0/brightness xrandr --output LVDS-1 --brightness 0.8

with different values, they all worked fine

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#19 lore raw

[Bug 51281] [NVCE] X server restarts on brightness change

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=51281

Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

            Summary|X server restarts on        |[NVCE] X server restarts on
                   |brightness change           |brightness change

--- Comment #16 from Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> --- Please check whether this still happens with the latest xf86-video-nouveau and kernel.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

#20 lore raw

[Bug 51281] [NVCE] X server restarts on brightness change

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=51281

Michal Papis <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|---                         |WORKSFORME

--- Comment #17 from Michal Papis <[email protected]> --- I forgot about this bug - it's working for me now ...

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau