All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 60659] New: Backlight control interface with nouveau driver for nVidia Quadro 1000m not works
@ 2013-07-31  6:34 bugzilla-daemon
  2013-07-31  7:04 ` [Bug 60659] " bugzilla-daemon
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: bugzilla-daemon @ 2013-07-31  6:34 UTC (permalink / raw)
  To: dri-devel

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

            Bug ID: 60659
           Summary: Backlight control interface with nouveau driver for
                    nVidia Quadro 1000m not works
           Product: Drivers
           Version: 2.5
    Kernel Version: 3.11-rc3 and oldier
          Hardware: All
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: Video(DRI - non Intel)
          Assignee: drivers_video-dri@kernel-bugs.osdl.org
          Reporter: renault@fedoraproject.org
        Regression: No

Hello, I created the bug #60654
(https://bugzilla.kernel.org/show_bug.cgi?id=60654) in subject of backlight
control not works with my laptop. But the problem is complex and I receive an
advice to create another bug here to solve this problem.

I have a laptop HP Elitebook 8560w with a nVidia video card and the nouveau
driver. In fact the backlight control by keyboard was recognized (a GNOME's
pop-up appeared) but no effect on the backlight.

Use xbacklight or write in /sys/class/backlight/XXXX/ files did nothing.

Do you need more informpation about that ? 
Thank you in advance.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug 60659] Backlight control interface with nouveau driver for nVidia Quadro 1000m not works
  2013-07-31  6:34 [Bug 60659] New: Backlight control interface with nouveau driver for nVidia Quadro 1000m not works bugzilla-daemon
@ 2013-07-31  7:04 ` bugzilla-daemon
  2013-07-31 15:54 ` bugzilla-daemon
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2013-07-31  7:04 UTC (permalink / raw)
  To: dri-devel

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

Ilia Mirkin <imirkin@alum.mit.edu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |imirkin@alum.mit.edu

--- Comment #1 from Ilia Mirkin <imirkin@alum.mit.edu> ---
Does your dmesg log have a line like

[drm] ACPI backlight interface available, not registering our own

If so, that means that nouveau is skipping its backlight registration. There's
some boot parameter that will force the acpi one to not register...
acpi_backlight=vendor or something along those lines.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug 60659] Backlight control interface with nouveau driver for nVidia Quadro 1000m not works
  2013-07-31  6:34 [Bug 60659] New: Backlight control interface with nouveau driver for nVidia Quadro 1000m not works bugzilla-daemon
  2013-07-31  7:04 ` [Bug 60659] " bugzilla-daemon
@ 2013-07-31 15:54 ` bugzilla-daemon
  2013-07-31 16:01 ` bugzilla-daemon
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2013-07-31 15:54 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #2 from Charles-Antoine Couret <renault@fedoraproject.org> ---
Yes : 
[root@DiNozzo ~]# dmesg | grep backlight
[   11.400712] nouveau  [     DRM] ACPI backlight interface available, not
registering our own


But, if I use the option :
acpi_osi=Linux, acpi_backlight=vendor, acpi_backlight=vido or
acpi_backlight=hp_acpi, the software acpi_listen can't detect Fn keys to change
the brightness.

In default, acpi_listen with Fn key to change brightness :
[root@DiNozzo ~]# acpi_listen 
video/brightnessup BRTUP 00000086 00000000 K
video/brightnessdown BRTDN 00000087 00000000 K

And Gnome can detect the key pressure in default, but not with these options…

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug 60659] Backlight control interface with nouveau driver for nVidia Quadro 1000m not works
  2013-07-31  6:34 [Bug 60659] New: Backlight control interface with nouveau driver for nVidia Quadro 1000m not works bugzilla-daemon
  2013-07-31  7:04 ` [Bug 60659] " bugzilla-daemon
  2013-07-31 15:54 ` bugzilla-daemon
@ 2013-07-31 16:01 ` bugzilla-daemon
  2013-07-31 16:13 ` bugzilla-daemon
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2013-07-31 16:01 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #3 from Ilia Mirkin <imirkin@alum.mit.edu> ---
OK, but does the provided driver effectively control backlight? (i.e. writing
into /sys/class/backlight/...)

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug 60659] Backlight control interface with nouveau driver for nVidia Quadro 1000m not works
  2013-07-31  6:34 [Bug 60659] New: Backlight control interface with nouveau driver for nVidia Quadro 1000m not works bugzilla-daemon
                   ` (2 preceding siblings ...)
  2013-07-31 16:01 ` bugzilla-daemon
@ 2013-07-31 16:13 ` bugzilla-daemon
  2013-07-31 16:40 ` bugzilla-daemon
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2013-07-31 16:13 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #4 from Charles-Antoine Couret <renault@fedoraproject.org> ---
With default option, after boot :

[root@DiNozzo ~]# cat /sys/class/backlight/acpi_video0/brightness
20

Same conditions, after pressure of FN down brightness key :

[root@DiNozzo ~]# cat /sys/class/backlight/acpi_video0/brightness
10


I suppose the driver can write this file after that. ;)

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug 60659] Backlight control interface with nouveau driver for nVidia Quadro 1000m not works
  2013-07-31  6:34 [Bug 60659] New: Backlight control interface with nouveau driver for nVidia Quadro 1000m not works bugzilla-daemon
                   ` (3 preceding siblings ...)
  2013-07-31 16:13 ` bugzilla-daemon
@ 2013-07-31 16:40 ` bugzilla-daemon
  2013-07-31 20:56 ` bugzilla-daemon
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2013-07-31 16:40 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #5 from Ilia Mirkin <imirkin@alum.mit.edu> ---
I think we're not understanding each other... you filed this bug because
nouveau wasn't registering a backlight interface. I pointed out why this was
and told you how to make it register one (acpi_backlight=vendor).

Then you go on to mention that booting without that, acpi_video0/brightness
doesn't control the backlight... but I thought this bug was about using nouveau
to control the backlight, not acpi_video...

What happens when you boot with that option (but not acpi_osi=Linux/etc unless
you normally boot with that)? Does the /sys/class/backlight/.../brightness
registered by nouveau let you control the backlight or not? [Note, the
Fn+whatever keys are entirely secondary to backlight control working.]

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug 60659] Backlight control interface with nouveau driver for nVidia Quadro 1000m not works
  2013-07-31  6:34 [Bug 60659] New: Backlight control interface with nouveau driver for nVidia Quadro 1000m not works bugzilla-daemon
                   ` (4 preceding siblings ...)
  2013-07-31 16:40 ` bugzilla-daemon
@ 2013-07-31 20:56 ` bugzilla-daemon
  2013-07-31 21:00 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2013-07-31 20:56 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #6 from Charles-Antoine Couret <renault@fedoraproject.org> ---
Ah ok… 
Sorry, with acpi_backlight=vendor, I have /sys/class/backlight/nv_backlight/
folder (in place of  /sys/class/backlight/acpi_video0/) and write in
/sys/class/backlight/nv_backlight/brightness works !

It's not a bug ? No ?
I am sorry, I don't find this explication on the Web…

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug 60659] Backlight control interface with nouveau driver for nVidia Quadro 1000m not works
  2013-07-31  6:34 [Bug 60659] New: Backlight control interface with nouveau driver for nVidia Quadro 1000m not works bugzilla-daemon
                   ` (5 preceding siblings ...)
  2013-07-31 20:56 ` bugzilla-daemon
@ 2013-07-31 21:00 ` bugzilla-daemon
  2013-08-06  8:41 ` bugzilla-daemon
  2013-10-29  8:49 ` bugzilla-daemon
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2013-07-31 21:00 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #7 from Ilia Mirkin <imirkin@alum.mit.edu> ---
In the larger sense of "are you having a problem", yes there is a bug
somewhere.

But IMO it's not in the nouveau driver. Perhaps discuss this with the person on
the other bug who suggested there was an issue in nouveau... I'm not sure what
that is. Perhaps a quirk should be added in acpi_video, but I thought they were
off of doing that... again, not sure.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug 60659] Backlight control interface with nouveau driver for nVidia Quadro 1000m not works
  2013-07-31  6:34 [Bug 60659] New: Backlight control interface with nouveau driver for nVidia Quadro 1000m not works bugzilla-daemon
                   ` (6 preceding siblings ...)
  2013-07-31 21:00 ` bugzilla-daemon
@ 2013-08-06  8:41 ` bugzilla-daemon
  2013-10-29  8:49 ` bugzilla-daemon
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2013-08-06  8:41 UTC (permalink / raw)
  To: dri-devel

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

Aaron Lu <aaron.lu@intel.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |aaron.lu@intel.com

--- Comment #8 from Aaron Lu <aaron.lu@intel.com> ---
(In reply to Ilia Mirkin from comment #7)
> In the larger sense of "are you having a problem", yes there is a bug
> somewhere.
> 
> But IMO it's not in the nouveau driver. Perhaps discuss this with the person
> on the other bug who suggested there was an issue in nouveau... I'm not sure

Oh, it's me who suggests there was an issue in nouveau since I don't know
nouveau has a logic to check if ACPI video will support backlight control on
this system and then do things accordingly.

#ifdef CONFIG_ACPI
        if (acpi_video_backlight_support()) {
                NV_INFO(drm, "ACPI backlight interface available, "
                             "not registering our own\n");
                return 0;
        }
#endif

I'm not sure if this is correct, I think nouveau can always create backlight
interface for user to use no matter if other module do that or not. Just my
personal opinion.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug 60659] Backlight control interface with nouveau driver for nVidia Quadro 1000m not works
  2013-07-31  6:34 [Bug 60659] New: Backlight control interface with nouveau driver for nVidia Quadro 1000m not works bugzilla-daemon
                   ` (7 preceding siblings ...)
  2013-08-06  8:41 ` bugzilla-daemon
@ 2013-10-29  8:49 ` bugzilla-daemon
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2013-10-29  8:49 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #9 from Alexey Brodkin <alexey.brodkin@gmail.com> ---
I have exactly the same laptop - HP Elitebook 8560w with a nVidia Quadro 1000M,
NVC1 (GF108) in nouveau slang - and used to suffer from similar issue.

But I've just tried Fedora 20 image for Graphics test day
(http://fedorapeople.org/groups/qa/201310-Graphics_Test-mini-x86_64.iso) and
with "acpi_backlight=vendor" specified I may confirm that in Gnome environment
(it's 3.10) backlight controls work properly.

Indeed without "acpi_backlight=vendor" (which is a default situation) Gnome
shows brightness change animation and
"/sys/class/backlight/acpi_video0/brightness" changes properly, but real screen
brightness doesn't change.

Here's my kernel version information:
==========
Linux localhost 3.11.6-300.fc20.x86_64 #1 SMP Fri Oct 18 22:31:53 UTC 2013
x86_64 x86_64 x86_64 GNU/Linux
==========

Boot command-line (from beginning of dmesg output) is:
==========
Command line: initrd=initrd0.img root=live:CDLABEL=LIVE rootfstype=vfat ro
rd.live.image quiet  rhgb rd.luks=0 rd.md=0 rd.dm=0 acpi_backlight=vendor
BOOT_IMAGE=vmlinuz0
==========

So I assume this bug might be closed now as resolved.
Let me know if there's a need for some more information/testing.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2013-10-29  8:49 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-07-31  6:34 [Bug 60659] New: Backlight control interface with nouveau driver for nVidia Quadro 1000m not works bugzilla-daemon
2013-07-31  7:04 ` [Bug 60659] " bugzilla-daemon
2013-07-31 15:54 ` bugzilla-daemon
2013-07-31 16:01 ` bugzilla-daemon
2013-07-31 16:13 ` bugzilla-daemon
2013-07-31 16:40 ` bugzilla-daemon
2013-07-31 20:56 ` bugzilla-daemon
2013-07-31 21:00 ` bugzilla-daemon
2013-08-06  8:41 ` bugzilla-daemon
2013-10-29  8:49 ` bugzilla-daemon

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.