{"id":7527,"date":"2023-07-23T20:46:06","date_gmt":"2023-07-23T18:46:06","guid":{"rendered":"http:\/\/www.kameli.net\/marq\/?p=7527"},"modified":"2023-07-23T20:46:06","modified_gmt":"2023-07-23T18:46:06","slug":"nvidiacinnamon-flicker-woes","status":"publish","type":"post","link":"http:\/\/www.kameli.net\/marq\/?p=7527","title":{"rendered":"Nvidia+Cinnamon flicker woes"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">It used to be a pretty smooth ride with an Nvidia+<em>Mint<\/em> combination until recently. Unfortunately, things have gone downhill, partially owing to <em>Cinnamon<\/em> bugs, not to talk about Nvidia&#8217;s endless Linux driver woes. The last I checked, the <em>MATE<\/em> environment didn&#8217;t even start with the default settings, so there seems to be something lacking with <em>Mint&#8217;s<\/em> testing on NV hardware. I&#8217;ve had flicker problems before on an RTX 2080, but the recent update to an RTX 4060 Ti and 535 series drivers made them noticeably worse \u2013\u00a0even cards that used to be fine have started exhibiting the symptoms:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><a href=\"http:\/\/www.kameli.net\/marq\/wp-content\/uploads\/2023\/07\/flicker.gif\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.kameli.net\/marq\/wp-content\/uploads\/2023\/07\/flicker-1024x576.gif\" alt=\"\" class=\"wp-image-7528\" width=\"512\" height=\"288\" srcset=\"http:\/\/www.kameli.net\/marq\/wp-content\/uploads\/2023\/07\/flicker-1024x576.gif 1024w, http:\/\/www.kameli.net\/marq\/wp-content\/uploads\/2023\/07\/flicker-300x169.gif 300w, http:\/\/www.kameli.net\/marq\/wp-content\/uploads\/2023\/07\/flicker-768x432.gif 768w\" sizes=\"auto, (max-width: 512px) 100vw, 512px\" \/><\/a><figcaption class=\"wp-element-caption\">Click for an epilepsy-inducing illustration.<\/figcaption><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">The <a href=\"https:\/\/forums.developer.nvidia.com\/t\/the-flicker-returns-535-54-03-driver\/256988\/11\">problem<\/a> is known and may be fixed eventually, but for now you&#8217;re left to your own devices. Downgrading to 525 series is one viable option, but of course it shouldn&#8217;t even be necessary. Besides, I experienced similar, if not as bad, flicker with them too. As a quick remedy open <em>NVIDIA X Server Settings<\/em>, navigate to <em>X Server Display Configuration<\/em> and switch to advanced mode. There tick the <em>Force Composition Pipeline<\/em> box and apply the settings:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><a href=\"http:\/\/www.kameli.net\/marq\/wp-content\/uploads\/2023\/07\/nv-compositor.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.kameli.net\/marq\/wp-content\/uploads\/2023\/07\/nv-compositor.png\" alt=\"\" class=\"wp-image-7530\" width=\"527\" height=\"650\" srcset=\"http:\/\/www.kameli.net\/marq\/wp-content\/uploads\/2023\/07\/nv-compositor.png 703w, http:\/\/www.kameli.net\/marq\/wp-content\/uploads\/2023\/07\/nv-compositor-243x300.png 243w\" sizes=\"auto, (max-width: 527px) 100vw, 527px\" \/><\/a><figcaption class=\"wp-element-caption\">Down there.<\/figcaption><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">If you prefer the command line or want to make a script for toggling the setting on\/off, here&#8217;s how:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>nvidia-settings --assign CurrentMetaMode=\"nvidia-auto-select +0+0 { ForceCompositionPipeline=On }\"<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Note that these settings don&#8217;t retain themselves unless you save them to the X config file or add them to your startup scripts. Sleep will disable the composition pipeline too. In an optimal world this kind of kludges would be unnecessary, but this is the reality now. Double composition (<em>Cinnamon<\/em>+Nvidia) might slow things down, but I didn&#8217;t notice any actual difference at least yet \u2013 games might be affected more. Nvidia&#8217;s setting might cap your framerates to the screen refresh rate too, even when running fullscreen. Let&#8217;s see how the situation develops.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p class=\"wp-block-paragraph\">Ja suomeksi: viime vuosina <em>Mintin<\/em> ja Nvidian n\u00e4yttiksen kanssa el\u00e4minen ei ole valitettavasti ole ollut en\u00e4\u00e4 yht\u00e4 huoletonta kuin ennen. Intelin integroidulla ei ongelmia pahemmin ilmene, mutta Nvidialla esiintyy nyky\u00e4\u00e4n kaikenlaisia kummallisia vilkutuksia ja v\u00e4lkytyksi\u00e4 riippuen ajuriversiosta ja alla olevasta raudasta. 535-sarjan my\u00f6t\u00e4 ongelma paheni selv\u00e4sti, mik\u00e4 lienee taas kerran joku <em>Cinnamonin<\/em>, <em>X:n<\/em> ja ajurien entist\u00e4 huonomman yhteispelin tulos. Yll\u00e4 ohjeita enkuksi vipatuksen korjaamista varten. Kaksinkertainen kompositointi (<em>Cinnamon<\/em>+Nvidia) tuskin ruudunpiirtoa nopeuttaa, mutta en mit\u00e4\u00e4n sanottavaa eroa kyll\u00e4 itse huomannut k\u00e4yt\u00e4nn\u00f6ss\u00e4.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>It used to be a pretty smooth ride with an Nvidia+Mint combination until recently. Unfortunately, things have gone downhill, partially owing to Cinnamon bugs, not to talk about Nvidia&#8217;s endless Linux driver woes. The last I checked, the MATE environment didn&#8217;t even start with the default settings, so there seems to be something lacking with [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[13,24],"tags":[],"class_list":["post-7527","post","type-post","status-publish","format-standard","hentry","category-linux","category-softat"],"_links":{"self":[{"href":"http:\/\/www.kameli.net\/marq\/index.php?rest_route=\/wp\/v2\/posts\/7527","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.kameli.net\/marq\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.kameli.net\/marq\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.kameli.net\/marq\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.kameli.net\/marq\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=7527"}],"version-history":[{"count":2,"href":"http:\/\/www.kameli.net\/marq\/index.php?rest_route=\/wp\/v2\/posts\/7527\/revisions"}],"predecessor-version":[{"id":7531,"href":"http:\/\/www.kameli.net\/marq\/index.php?rest_route=\/wp\/v2\/posts\/7527\/revisions\/7531"}],"wp:attachment":[{"href":"http:\/\/www.kameli.net\/marq\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=7527"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.kameli.net\/marq\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=7527"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.kameli.net\/marq\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=7527"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}