guillaumezin / nvidiabl

/!\ Please note that I don't maintain this repository anymore, please have a look at forked projects. /!\
82 stars 82 forks source link

MacBook Pro Retina, GT650M, Nvidia 313.18, not work #70

Closed cedricfung closed 10 years ago

cedricfung commented 11 years ago

I've tried to add the MacBookPro10,1 to nvidiabl-laptops.h

[ 2364.545582] nvidiabl: loading driver version 0.81 [ 2364.545594] nvidiabl: Apple Inc. - MacBookPro10,1 model detected in DMI tables [ 2364.545602] nvidiabl: Supported Nvidia graphics adapter 10de:0fd5:106b:00f2 detected [ 2364.545723] nvidiabl: smartdimmer register at address 0xc061c084 mapped at address 0xffffc900018e6084 [ 2364.545726] nvidiabl: backlight type is raw [ 2364.545784] nvidiabl: backup register value 0x0 [ 2364.545786] nvidiabl: autodetecting maximum [ 2364.545788] nvidiabl: using value 0x0 as maximum [ 2364.545790] nvidiabl: autodetecting off [ 2364.545792] nvidiabl: using value 0x0 as off [ 2364.545793] nvidiabl: autodetecting minimum [ 2364.545796] nvidiabl: minimum is 5% of maximum [ 2364.545797] nvidiabl: using value 0x0 as minimum

cedricfung commented 11 years ago

After add Option "RegistryDwords" "EnableBrightnessControl=1" to xorg.conf

[ 472.652961] nvidiabl: smartdimmer register at address 0xc061c084 mapped at address 0xffffc900018f2084 [ 472.652963] nvidiabl: backlight type is raw [ 472.653019] nvidiabl: backup register value 0x18 [ 472.653021] nvidiabl: autodetecting maximum [ 472.653023] nvidiabl: using value 0x18 as maximum [ 472.653025] nvidiabl: autodetecting off [ 472.653026] nvidiabl: using value 0x0 as off [ 472.653028] nvidiabl: autodetecting minimum [ 472.653030] nvidiabl: minimum is 5% of maximum [ 472.653032] nvidiabl: using value 0x1 as minimum

brightness, actual_brightness, and max_brightness are all 127, there's no effect to change them.

BTW, I'm using EFI not BIOS.

cedricfung commented 11 years ago

The applebl and apple-gmux module will do the brightness control well, only if I suspend and resume the laptop.

No need to install this module, no other configurations to nvidia module and xorg.conf

guillaumezin commented 10 years ago

Brightness of nvidia chips on Mac is slightly different, this module is not adapted, I will blacklist your latop model in V 0.82