cool-retro-term icon indicating copy to clipboard operation
cool-retro-term copied to clipboard

Improper frame rendering

Open Digital-Sequence opened this issue 2 years ago • 11 comments

I've updated retro term, and saw this retro-term-issue

On previous version (1.1.1-2 in arch linux) everything is okay

Here's --verbose output

$ cool-retro-term --verbose
Using a variable-width font in the terminal.  This may cause performance degradation and display/alignment errors.
Both point size and pixel size set. Using pixel size.
Using a variable-width font in the terminal.  This may cause performance degradation and display/alignment errors.
qml: Loading settings: {
  "fps": 0,
  "x": 4,
  "y": 22,
  "width": 1912,
  "height": 1054,
  "windowScaling": 1,
  "showTerminalSize": true,
  "fontScaling": 1,
  "fontNames": [
    "IBM_3278",
    "COMMODORE_PET",
    "COMMODORE_PET"
  ],
  "showMenubar": false,
  "bloomQuality": 1,
  "burnInQuality": 0.5,
  "useCustomCommand": false,
  "customCommand": ""
}{
  "backgroundColor": "#000000",
  "fontColor": "#0ccc68",
  "flickering": 0,
  "horizontalSync": 0,
  "staticNoise": 0,
  "chromaColor": 0,
  "saturationColor": 0,
  "screenCurvature": 0.5198,
  "glowingLine": 0,
  "burnIn": 0.6,
  "bloom": 0.2969,
  "rasterization": 0,
  "jitter": 0,
  "rbgShift": 0,
  "brightness": 0.5,
  "contrast": 0.85,
  "ambientLight": 0.1,
  "windowOpacity": 1,
  "fontName": "IBM_3278",
  "fontWidth": 1,
  "margin": 0.5556,
  "blinkingCursor": false,
  "frameMargin": 0.3014
}
qml: Storing settings: {
  "fps": 0,
  "x": 963,
  "y": 22,
  "width": 953,
  "height": 1054,
  "windowScaling": 1,
  "showTerminalSize": true,
  "fontScaling": 1,
  "fontNames": [
    "IBM_3278",
    "COMMODORE_PET",
    "COMMODORE_PET"
  ],
  "showMenubar": false,
  "bloomQuality": 1,
  "burnInQuality": 0.5,
  "useCustomCommand": false,
  "customCommand": ""
}
qml: Storing profile: {
  "backgroundColor": "#000000",
  "fontColor": "#0ccc68",
  "flickering": 0,
  "horizontalSync": 0,
  "staticNoise": 0,
  "chromaColor": 0,
  "saturationColor": 0,
  "screenCurvature": 0.5198,
  "glowingLine": 0,
  "burnIn": 0.6,
  "bloom": 0.2969,
  "rasterization": 0,
  "jitter": 0,
  "rbgShift": 0,
  "brightness": 0.5,
  "contrast": 0.85,
  "ambientLight": 0.1,
  "windowOpacity": 1,
  "fontName": "IBM_3278",
  "fontWidth": 1,
  "margin": 0.5556,
  "blinkingCursor": false,
  "frameMargin": 0.3014
}

Digital-Sequence avatar Feb 25 '22 15:02 Digital-Sequence

I have the same issue. Digging up found there was the same bug in 2019. It is related to Nvidia. I tested it to use the Igpu on my laptop instead of the nvidia drivers, and sure enough cool-retro-term rendered fine.

ia3crt avatar Feb 27 '22 10:02 ia3crt

I have the same issue. Digging up found there was the same bug in 2019. It is related to Nvidia. I tested it to use the Igpu on my laptop instead of the nvidia drivers, and sure enough cool-retro-term rendered fine.

You mean nouveau drivers?

Digital-Sequence avatar Feb 27 '22 18:02 Digital-Sequence

Also having this issue on Arch with official nvidia drivers.

KickingAnimal avatar Feb 27 '22 20:02 KickingAnimal

No, sorry for not specifying. So far Nouveau seems to render fine, same as amdgpu and intel. In my case, the problem seems exclusive to the privative Nvidia drivers... I am not 100% sure because amdgpu was tested on a different machine, and nouveau on a different distro (but same 5.16.11 kernel)

ia3crt avatar Feb 27 '22 21:02 ia3crt

No, sorry for not specifying. So far Nouveau seems to render fine, same as amdgpu and intel. In my case, the problem seems exclusive to the privative Nvidia drivers... I am not 100% sure because amdgpu was tested on a different machine, and nouveau on a different distro (but same 5.16.11 kernel)

I would install nouveau drivers, but it doesn't support power management. Also, if you saw neofetch output, you know that my GPU is discrete, and its name is gt1030

Digital-Sequence avatar Feb 28 '22 12:02 Digital-Sequence

I would install nouveau drivers, but it doesn't support power management. Also, if you saw neofetch output, you know that my GPU is discrete, and its name is gt1030

If you have and Intel card, or Ryzen AMD (newer than gen I), I would recommend using hybrid graphics via bbswitch and optimus manager. Cool-Retro-Term and any other 2D app will launch with the integrated graphics, and GPU hungry games will launch with the Nvidia drivers. You can also force launch something with Nvidia with the "__NV_PRIME_RENDER_OFFLOAD=1" parameter.. The only caveat is that you won't have a spare GPU to do a passtrough for virtual machines.

ia3crt avatar Feb 28 '22 17:02 ia3crt

4abbe33 introduced this issue.

njhanley avatar Mar 03 '22 21:03 njhanley

bump, same issue while using 1.2.0 on Manjaro with NVIDIA proprietary drivers on an RTX 3060ti

vananasun avatar Oct 03 '22 13:10 vananasun

Same problem here on Ubuntu 22.04 with propitiatory nvidia drivers.

Will be trying nouveau as a fix, thanks!

0atman avatar Oct 03 '22 13:10 0atman

Nouveau did fix the frame, but very often locks up my computer when changing settings XD

0atman avatar Oct 03 '22 13:10 0atman

If you're okay with recompiling from source there's a workable temporary fix in one of the other issues: https://github.com/Swordfish90/cool-retro-term/issues/739#issuecomment-1347784249

WhiskeyTuesday avatar Dec 13 '22 05:12 WhiskeyTuesday