Launchpad has imported 26 comments from the remote bug at https://bugs.freedesktop.org/show_bug.cgi?id=31920.
If you reply to an imported comment from within Launchpad, your comment will be sent to the remote bug automatically. Read more about Launchpad's inter-bugtracker facilities at https://help.launchpad.net/InterBugTracking. ------------------------------------------------------------------------ On 2010-11-25T18:06:34+00:00 Rohan Dhruva wrote: I have a Sony Vaio CW2 laptop, with an Nvidia GeForce 310M card. I am using the nouveau driver from git (via the xorg-edgers ubuntu repository). I have to say it works really well - I even get desktop effects in KDE with Gallium. However, there is one problem with screen brightness. The max_brightness value for the backlight interface (/sys/class/backlight/nv_backlight/max_brightness) is set to 1025. When I use KDE power-devil (or any brightness control tool), it reduces the brightness by tiny fractions, which still keeps the screen at full brightness. The brightness actually varies only between 0 and 127 (128-1025 are full brightness), and then too only if I change it in increments of 10 or 20. I think ideally the max_brightness value should be 7 (or 10?) and it should vary in steps of 1. Reply at: https://bugs.launchpad.net/nouveau/+bug/551668/comments/10 ------------------------------------------------------------------------ On 2010-11-25T18:08:13+00:00 Rohan Dhruva wrote: Created attachment 40571 dmesg Reply at: https://bugs.launchpad.net/nouveau/+bug/551668/comments/11 ------------------------------------------------------------------------ On 2010-11-25T18:08:44+00:00 Rohan Dhruva wrote: Created attachment 40572 xorg.log Reply at: https://bugs.launchpad.net/nouveau/+bug/551668/comments/12 ------------------------------------------------------------------------ On 2010-11-25T18:09:16+00:00 Rohan Dhruva wrote: Created attachment 40573 lspci Reply at: https://bugs.launchpad.net/nouveau/+bug/551668/comments/13 ------------------------------------------------------------------------ On 2011-01-18T02:25:44+00:00 Rohan Dhruva wrote: For a while, I've been using the nvidiabl drive for brightness control. I noticed that it correctly detects the max and min values for my laptop and video card. I was wondering if the nouveau code could somehow benefit from the work done by the nvidiabl author. The code is present here - https://github.com/guillaumezin/nvidiabl The corresponding thread is here -- http://www.nvnews.net/vbulletin/showthread.php?t=143025 and I think some relevant updates/changes for my laptop model (VPCCW2) are here - http://www.nvnews.net/vbulletin/showthread.php?t=143025&page=8 >From all the feedback on the forum, it appears that nvidiabl works fine for everyone. I am not a developer, but if someone could guide me, I could probably help in figuring out how to use nvidiabl code in nouveau. Thanks! Reply at: https://bugs.launchpad.net/nouveau/+bug/551668/comments/14 ------------------------------------------------------------------------ On 2011-04-24T08:22:02+00:00 Rohan Dhruva wrote: Is there a way to prevent nouveau from creating the /sys/class/backlight/nv_backlight interface? If not, could it be added as a kernel parameter? I find that brightness control works much better with the nvidiabl drivers, and I'd prefer to use those with nouveau if possible. Reply at: https://bugs.launchpad.net/nouveau/+bug/551668/comments/15 ------------------------------------------------------------------------ On 2011-04-24T08:33:26+00:00 Marcin-slusarz wrote: It would be better to integrate nvidiabl into nouveau. Reply at: https://bugs.launchpad.net/nouveau/+bug/551668/comments/16 ------------------------------------------------------------------------ On 2011-04-24T08:35:05+00:00 Rohan Dhruva wrote: Agreed. Is there some way this could be kickstarted? Reply at: https://bugs.launchpad.net/nouveau/+bug/551668/comments/17 ------------------------------------------------------------------------ On 2011-04-24T08:41:18+00:00 Rohan Dhruva wrote: I have filed a new issue on the nvidiabl tracker -- https://github.com/guillaumezin/nvidiabl/issues/8 Reply at: https://bugs.launchpad.net/nouveau/+bug/551668/comments/18 ------------------------------------------------------------------------ On 2011-09-24T06:37:43+00:00 Rohan Dhruva wrote: Hello.. Has there been any update on this? Thanks! Reply at: https://bugs.launchpad.net/nouveau/+bug/551668/comments/20 ------------------------------------------------------------------------ On 2011-09-24T06:50:21+00:00 Skeggsb wrote: Try the nouveau kernel git tree, there's been some updates there semi- recently to this area. Reply at: https://bugs.launchpad.net/nouveau/+bug/551668/comments/21 ------------------------------------------------------------------------ On 2011-09-26T05:19:47+00:00 Rohan Dhruva wrote: I tried both the latest nouveau kernel git tree, and latest X.org packages from git (via the xorg-edgers ubuntu repository). None of them fix this bug. Reply at: https://bugs.launchpad.net/nouveau/+bug/551668/comments/22 ------------------------------------------------------------------------ On 2011-09-26T11:57:33+00:00 Skeggsb wrote: What value does the various nv_backlight files have now? Reply at: https://bugs.launchpad.net/nouveau/+bug/551668/comments/23 ------------------------------------------------------------------------ On 2011-09-26T16:24:30+00:00 Rohan Dhruva wrote: If anything, it has become less granular now. Here are some of the outputs: rohan@ubuntu:/sys/class/backlight/nv_backlight$ cat max_brightness 1025 rohan@ubuntu:/sys/class/backlight/nv_backlight$ cat actual_brightness 615 rohan@ubuntu:/sys/class/backlight/nv_backlight$ cat brightness 615 rohan@ubuntu:/sys/class/backlight/nv_backlight$ cat bl_power 0 rohan@ubuntu:/sys/class/backlight/nv_backlight$ cat brightness 103 rohan@ubuntu:/sys/class/backlight/nv_backlight$ IIRC, the max_brightness is still same as before (1025). However, the actual "max" looks to be something around 615. Reply at: https://bugs.launchpad.net/nouveau/+bug/551668/comments/24 ------------------------------------------------------------------------ On 2011-09-26T18:57:26+00:00 Emil-l-velikov wrote: Rohan Can you please make sure that you are running nouveau kernel git tree [1] as the official kernel does _not_ yet have those changes If you are interested what those changes are, here is the list [2] Thanks [1] http://cgit.freedesktop.org/nouveau/linux-2.6/ [2] http://cgit.freedesktop.org/nouveau/linux-2.6/log/drivers/gpu/drm/nouveau/nouveau_backlight.c Reply at: https://bugs.launchpad.net/nouveau/+bug/551668/comments/25 ------------------------------------------------------------------------ On 2011-09-26T18:59:55+00:00 Rohan Dhruva wrote: Emil: Thank you for the links! I'm indeed running the latest DRM code. I followed the instructions here -- http://nouveau.freedesktop.org/wiki/InstallDRM. I cloned the repo without history, and did an out-of-tree build. Reply at: https://bugs.launchpad.net/nouveau/+bug/551668/comments/26 ------------------------------------------------------------------------ On 2011-09-26T19:21:16+00:00 Emil-l-velikov wrote: Rohan If you are using the latest kernel code, nouveau will report "max_brightness==100" See commit drm/nv50/backlight: express brightness level in percent - bc0df418 Cheers Emil Reply at: https://bugs.launchpad.net/nouveau/+bug/551668/comments/27 ------------------------------------------------------------------------ On 2011-09-26T19:29:25+00:00 Rohan Dhruva wrote: I just did a git pull, make clean, and recompiled the modules. My modules.dep file also shows that the extra/ directory is being used for nouveau modules. Is there anything else I must be doing? I'm quite sure that the stock ubuntu modules are being overriden. I'm also attaching my dmesg and xorg.log to be sure :) Reply at: https://bugs.launchpad.net/nouveau/+bug/551668/comments/28 ------------------------------------------------------------------------ On 2011-09-26T19:30:13+00:00 Rohan Dhruva wrote: Created attachment 51641 Latest dmesg Reply at: https://bugs.launchpad.net/nouveau/+bug/551668/comments/29 ------------------------------------------------------------------------ On 2011-09-26T19:30:46+00:00 Rohan Dhruva wrote: Created attachment 51642 Latest xorg.log Reply at: https://bugs.launchpad.net/nouveau/+bug/551668/comments/30 ------------------------------------------------------------------------ On 2011-09-26T22:34:52+00:00 Skeggsb wrote: (In reply to comment #17) > I just did a git pull, make clean, and recompiled the modules. My modules.dep > file also shows that the extra/ directory is being used for nouveau modules. > Is > there anything else I must be doing? I'm quite sure that the stock ubuntu > modules are being overriden. > > I'm also attaching my dmesg and xorg.log to be sure :) I'm afraid somehow you're still getting the old driver loaded. The code in nouveau git *cannot* report max_brightness of 1025 anymore, as evidenced by this section of the patches linked above: - props.max_brightness = 1025; + props.max_brightness = 100; Reply at: https://bugs.launchpad.net/nouveau/+bug/551668/comments/31 ------------------------------------------------------------------------ On 2011-09-26T22:47:25+00:00 Rohan Dhruva wrote: Is there any way I can debug this issue? Maybe modify some other file I can modify? Delete the older modules? Thank you for your patience. Btw, when will this code merge into mainstream? I was wondering if we'll see it in next release of major distros. Reply at: https://bugs.launchpad.net/nouveau/+bug/551668/comments/32 ------------------------------------------------------------------------ On 2011-09-26T23:01:12+00:00 Skeggsb wrote: (In reply to comment #21) > Is there any way I can debug this issue? Maybe modify some other file I can > modify? Delete the older modules? Thank you for your patience. I suggest perhaps deleting any directory in /lib/modules that contains nouveau.ko/drm.ko and friends, then reinstalling them from the nouveau git tree you built. > > Btw, when will this code merge into mainstream? I was wondering if we'll see > it > in next release of major distros. The patches are queued for kernel 3.2. Reply at: https://bugs.launchpad.net/nouveau/+bug/551668/comments/33 ------------------------------------------------------------------------ On 2011-09-27T08:09:13+00:00 Dev-gw08 wrote: Don't know if Ubuntu uses this, but Fedora stuffs the nouveau driver into the initrd. If Ubuntu does a similar thing you have to rebuild your initrd after installing the new modules to get your newly built nouveau loaded. Reply at: https://bugs.launchpad.net/nouveau/+bug/551668/comments/34 ------------------------------------------------------------------------ On 2012-04-01T05:55:16+00:00 Alex Mayorga Adame wrote: Did this make it into kernel 3.2? What can be done for the brightness controls to work properly? I reported https://bugs.launchpad.net/nouveau/+bug/551668 a while ago on Ubuntu's bug tracker I believe is this bug or a related one and it is still causing problems on the following configuration: alex-mayorga@VPCCW1FFXL:~$ uname -a Linux VPCCW1FFXL 3.2.0-21-generic #34-Ubuntu SMP Fri Mar 30 04:25:35 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux alex-mayorga@VPCCW1FFXL:~$ lspci -nn | grep VGA 01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GT216 [GeForce GT 230M] [10de:0a2a] (rev a2) alex-mayorga@VPCCW1FFXL:~$ apt-cache show xserver-xorg-video-nouveau Package: xserver-xorg-video-nouveau Priority: optional Section: x11 Installed-Size: 344 Maintainer: Ubuntu Developers <ubuntu-devel-disc...@lists.ubuntu.com> Original-Maintainer: Debian X Strike Force <debia...@lists.debian.org> Architecture: amd64 Version: 1:0.0.16+git20111201+b5534a1-1build2 Provides: xorg-driver-video Depends: libc6 (>= 2.4), libdrm-nouveau1a (>= 2.4.23), libudev0 (>= 147), xorg-video-abi-11, xserver-xorg-core (>= 2:1.10.99.901) Recommends: libgl1-mesa-dri (>= 7.11.1) Filename: pool/main/x/xserver-xorg-video-nouveau/xserver-xorg-video-nouveau_0.0.16+git20111201+b5534a1-1build2_amd64.deb Size: 109400 MD5sum: 5ab8e5861a11a57d783fa9862d88900f SHA1: 7abb48438df08eed97dd4676bc111bdbaf714376 SHA256: 886d7e2f968819373d81a932388ede20995d9bd1d3d8f2091100f988a314a780 Description-en: X.Org X server -- Nouveau display driver This driver for the X.Org X server (see xserver-xorg for a further description) provides support for NVIDIA Riva, TNT, GeForce, and Quadro cards. . This package provides 2D support including EXA acceleration, Xv and RandR. 3D functionality is provided by the libgl1-mesa-dri package. . This package is built from the FreeDesktop.org xf86-video-nouveau driver. Homepage: http://nouveau.freedesktop.org/wiki/ Description-md5: b084a16945b86c1eda89ad33dbb4530d Bugs: https://bugs.launchpad.net/ubuntu/+filebug Origin: Ubuntu Supported: 5y Task: ubuntu-desktop, ubuntu-usb, kubuntu-desktop, kubuntu-active-desktop, kubuntu-active, edubuntu-desktop, edubuntu-usb, xubuntu-desktop, mythbuntu-frontend, mythbuntu-desktop, mythbuntu-backend-slave, mythbuntu-backend-master, lubuntu-core, ubuntustudio-desktop Reply at: https://bugs.launchpad.net/nouveau/+bug/551668/comments/36 ------------------------------------------------------------------------ On 2012-04-01T06:00:06+00:00 Rohan Dhruva wrote: This has been working for me since kernel 3.1, in Fedora 16. I also tried kernel 3.2 in Ubuntu 12.04, and it has been working fine out of the box. Reply at: https://bugs.launchpad.net/nouveau/+bug/551668/comments/37 ** Changed in: nouveau Status: Unknown => Fix Released ** Changed in: nouveau Importance: Unknown => Medium -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to nvidia-graphics-drivers in Ubuntu. https://bugs.launchpad.net/bugs/551668 Title: Fn+F5 and Fn+F6 don't modify brightness on Sony VAIO VPCCW (GT 230M) To manage notifications about this bug go to: https://bugs.launchpad.net/nouveau/+bug/551668/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp