{"id":444,"date":"2022-07-19T20:20:00","date_gmt":"2022-07-19T23:20:00","guid":{"rendered":"https:\/\/universohackintosh.com\/portal\/?p=444"},"modified":"2025-01-04T17:04:46","modified_gmt":"2025-01-04T20:04:46","slug":"como-ativar-bls-brightness-smoother-hackintosh-notebooks-whatevergreen","status":"publish","type":"post","link":"https:\/\/universohackintosh.com\/portal\/como-ativar-bls-brightness-smoother-hackintosh-notebooks-whatevergreen\/","title":{"rendered":"Ajuste de Brightness Smoother em iGPUs Intel (BLS)"},"content":{"rendered":"\n<figure class=\"wp-block-embed alignfull is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe loading=\"lazy\" title=\"QUALQUER NOTEBOOK com HACKINTOSH deve ter este ajuste - iGPU BLS\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/sXlc1dUK_R8?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n\n\n\n<p>Voc\u00ea j\u00e1 notou que quando voc\u00ea ajusta o brilho do seu notebook com macOS (Hackintosh), ele ajusta para mais ou para menos, por\u00e9m de uma maneira que chamamos de &#8220;escadinha&#8221;? E voc\u00ea j\u00e1 percebeu como \u00e9 este mesmo ajuste em um notebook Apple de verdade, como um Macbook, Macbook Air ou at\u00e9 mesmo o Macbook Pro?<\/p>\n\n\n\n<p>Adicione a propriedade <em><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-secondary-color\">enable-backlight-smoother<\/mark><\/em> \u00e0 sua IGPU em <em><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-accent-color\">DeviceProperties<\/mark><\/em> ou use o argumento de inicializa\u00e7\u00e3o (<em>boot-args<\/em>) <mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-secondary-color\"><em>-igfxbls<\/em><\/mark> para tornar as transi\u00e7\u00f5es de brilho muito mais suave nas plataformas <em>Intel Ivy Bridge <\/em>ou superiores.<\/p>\n\n\n\n<p>De maneira interna, o driver de v\u00eddeo ajusta o brilho da nossa tela gravando valores nos registros relacionados (RC). O <em>Brightness Smoother (BLS)<\/em> intercepta essas opera\u00e7\u00f5es de grava\u00e7\u00e3o e altera gradualmente o valor do registro, dando assim a sensa\u00e7\u00e3o de um ajuste muito mais suave e gradativamente mais leve.<\/p>\n\n\n\n<p>O BLS (<em>Brightness Smoother<\/em>) usa um algoritmo simples: ele l\u00ea o valor do registro SRC que representa o n\u00edvel de brilho atual e calcula a dist\u00e2ncia D at\u00e9 o valor do registro DST solicitado pelo driver de v\u00eddeo. Em seguida, ele se move em dire\u00e7\u00e3o ao valor alvo em N passos, cada um dos quais leva T milissegundos. Por padr\u00e3o, N \u00e9 35 e T \u00e9 7, mas voc\u00ea pode alterar seus valores adicionando as propriedades <em><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-secondary-color\">backlight-smoother-steps<\/mark><\/em> e <em><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-secondary-color\">backlight-smoother-interval<\/mark><\/em>. Recomenda-se manter T inferior a 10 milissegundos e a quantidade total de tempo N * T inferior a 350 milissegundos.<\/p>\n\n\n\n<p>Al\u00e9m disso, voc\u00ea pode usar a propriedade <em><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-secondary-color\">backlight-smoother-threshold<\/mark><\/em> para solicitar ao BLS que pule o processo mais suave se a dist\u00e2ncia D cair abaixo do limite. Em outras palavras, o BLS escrever\u00e1 o DST diretamente no registrador. O valor limite padr\u00e3o \u00e9 0.<\/p>\n\n\n\n<p>Se voc\u00ea quiser evitar que a tela fique preta no n\u00edvel de brilho mais baixo, voc\u00ea pode usar a propriedade <em><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-secondary-color\">backlight-smoother-lowerbound<\/mark><\/em> para especificar o valor m\u00ednimo de que corresponde ao novo n\u00edvel de brilho mais baixo. Da mesma forma, <em><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-secondary-color\">backlight-smoother-upperbound<\/mark><\/em> pode ser usado para especificar o valor m\u00e1ximo. Se essas duas propriedades n\u00e3o estiverem presentes, o BLS usa o intervalo padr\u00e3o [0, 2^32-1].<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"exemplo-do-bls-em-funcionamento-em-processadores-mais-antigos-com-a-hd-4600\">Exemplo do BLS em funcionamento em processadores mais antigos, com a HD 4600<\/h2>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>Device Property Name<\/th><th>Type<\/th><th>Value<\/th><th>Notes<\/th><\/tr><\/thead><tbody><tr><td>enable-backlight-smoother<\/td><td>Data<\/td><td>01000000<\/td><td>Enable the smoother<\/td><\/tr><tr><td>backlight-smoother-steps<\/td><td>Data<\/td><td>19000000<\/td><td>25 (0x19) in little endian<\/td><\/tr><tr><td>backlight-smoother-interval<\/td><td>Data<\/td><td>08000000<\/td><td>08 (0x08) in little endian<\/td><\/tr><tr><td>backlight-smoother-threshold<\/td><td>Data<\/td><td>00000000<\/td><td>00 (0x00) in little endian<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"exemplo-do-bls-em-funcionamento-em-processadores-mais-novos-com-a-uhd-630\">Exemplo do BLS em funcionamento em processadores mais novos, com a UHD 630<\/h2>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>Device Property Name<\/th><th>Type<\/th><th>Value<\/th><th>Notes<\/th><\/tr><\/thead><tbody><tr><td>enable-backlight-smoother<\/td><td>Data<\/td><td>01000000<\/td><td>Enable the smoother<\/td><\/tr><tr><td>backlight-smoother-steps<\/td><td>Data<\/td><td>23000000<\/td><td>35 (0x23) in little endian<\/td><\/tr><tr><td>backlight-smoother-interval<\/td><td>Data<\/td><td>07000000<\/td><td>07 (0x07) in little endian<\/td><\/tr><tr><td>backlight-smoother-threshold<\/td><td>Data<\/td><td>2C010000<\/td><td>300 (0x012C) in little endian<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"quais-aplicativos-serao-utilizados-para-fazer-os-ajustes\">Quais aplicativos ser\u00e3o utilizados para fazer os ajustes<\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li><a href=\"https:\/\/github.com\/corpnewt\/ProperTree\" target=\"_blank\" rel=\"noreferrer noopener\">ProperTree<\/a><\/li>\n<\/ol>\n\n\n\n<p>N\u00e3o sabe instalar e\/ou usar o ProperTree adequadamente? Utilize este <a href=\"https:\/\/youtu.be\/ruWKu50JVEI\" target=\"_blank\" rel=\"noreferrer noopener\">V\u00cdDEO<\/a> para aprender a instalar e nunca mais tenha problemas ao editar as configura\u00e7\u00f5es do seu Opencore (<em>config.plist<\/em>).<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"download-dos-arquivos-ja-prontos-para-voce-fazer-o-copia-cola-copy-paste\">Download dos arquivos j\u00e1 prontos para voc\u00ea fazer o copia\/cola (copy &amp; paste)<\/h2>\n\n\n\n<p><a href=\"https:\/\/github.com\/luchina-gabriel\/youtube-files\/raw\/main\/patch-igpu-BLS.zip\">https:\/\/github.com\/luchina-gabriel\/youtube-files\/raw\/main\/patch-igpu-BLS.zip<\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"download-dos-arquivos-ja-prontos-para-voce-fazer-o-copia-cola-copy-paste\"> <\/h2>\n","protected":false},"excerpt":{"rendered":"<p>Voc\u00ea j\u00e1 notou que quando voc\u00ea ajusta o brilho do seu notebook com macOS (Hackintosh), ele ajusta para mais ou para menos, por\u00e9m de uma maneira que chamamos de &#8220;escadinha&#8221;? E voc\u00ea j\u00e1 percebeu como \u00e9 este mesmo ajuste em um notebook Apple de verdade, como um Macbook, Macbook Air ou at\u00e9 mesmo o Macbook [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"post-bgtitle-image","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[19],"tags":[25,26,24,21,6,22,7,20,23],"class_list":["post-444","post","type-post","status-publish","format-standard","hentry","category-melhorias-no-opencore-efi","tag-bls","tag-brightness-smoother","tag-config-plist","tag-efi","tag-hackintosh","tag-igpu","tag-opencore","tag-tuning","tag-whatevergreen"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/universohackintosh.com\/portal\/wp-json\/wp\/v2\/posts\/444","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/universohackintosh.com\/portal\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/universohackintosh.com\/portal\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/universohackintosh.com\/portal\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/universohackintosh.com\/portal\/wp-json\/wp\/v2\/comments?post=444"}],"version-history":[{"count":53,"href":"https:\/\/universohackintosh.com\/portal\/wp-json\/wp\/v2\/posts\/444\/revisions"}],"predecessor-version":[{"id":703,"href":"https:\/\/universohackintosh.com\/portal\/wp-json\/wp\/v2\/posts\/444\/revisions\/703"}],"wp:attachment":[{"href":"https:\/\/universohackintosh.com\/portal\/wp-json\/wp\/v2\/media?parent=444"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/universohackintosh.com\/portal\/wp-json\/wp\/v2\/categories?post=444"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/universohackintosh.com\/portal\/wp-json\/wp\/v2\/tags?post=444"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}