Strange pixels on IDE 2.x

Hello everyone, someone looked like these pixels in IDE 2.x. In the version prior to 2.1 I didn't notice this detail.

Hi @NASSORRI. Please add a forum reply here to tell us which operating system you are using (e.g., "Windows")?

I ask because I would like to give you the appropriate instructions for your operating system.

I did see one previous report of similar artifacts:

Hi ptillisch, thanks for the feedback. My operating system is Windows 10 with WSL. The previous report reports exactly the same as my post. However, I think it's from VS CODE because I updated it and I'm having the same symptom, but it doesn't affect how it works. I would be grateful if you have any information so I can minimize and/or fix this. I think I created the post in the wrong place too :>)).
thanks again.

Graphics artifacts like the ones shown in your screenshot could be caused by some problem in the IDE's use of the GPU on your graphics card to improve the performance of the application through hardware acceleration. If so, the workaround would be to disable the IDE's use of the GPU. This is done using the --disable-gpu command line flag. I'll provide instructions you can follow to check whether this will help:

  1. Select File > Quit from the Arduino IDE menus if it is running.
  2. Start Windows "File Explorer".
  3. Open the Arduino IDE installation folder.
    The default installation location is at one of the following paths:
    • C:\Program Files\Arduino IDE
      
    • C:\Users\<username>\AppData\Local\Programs\Arduino IDE
      
      (where <username> is your Windows username)
      :exclamation: If looking for it with your file manager or command line, note that the AppData folder is hidden by default. On Windows "File Explorer", you can make it visible by opening the "View" menu, then checking the box next to "☐ Hidden items".
  4. In the folder listing of the Arduino IDE installation folder, hold the Shift key while clicking the right hand button on the mouse.
  5. From the context menu, click "Open PowerShell window here".
    Windows PowerShell will now open with the current directory set to the Arduino IDE installation folder.
  6. Type the following command:
    & ".\Arduino IDE" --disable-gpu
    
  7. Press the Enter key.
    Debug output should now be printed to the PowerShell window as Arduino IDE starts.
  8. Wait for Arduino IDE to finish starting.

Now check to see if the problem still occurs when using Arduino IDE. If the use of the --disable-gpu flag fixes the problem, we can provide instructions for you to set up a Windows shortcut for starting the IDE with this flag so that you won't need to use PowerShell every time.


Please let me know if you have any questions or problems while following those instructions.

Thanks for the tip. I tested it and it worked.
No problem, I'll create a shortcut to launch the IDE with the GPU disabled.

You are welcome. I'm glad it is working now. Thanks for taking the time to post an update with your findings!

Regards,
Per

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.