# Nie działająca konsola

**URL:** <https://ai-speaker.discourse.group/t/nie-dzialajaca-konsola/2172>\
**Category:** Uncategorized\
**Created:** [3 Październik 2021 06:11 UTC](https://ai-speaker.discourse.group/t/nie-dzialajaca-konsola/2172 "2021-10-03T06:11:43Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Autor:** ![tom42](https://avatars.discourse-cdn.com/v4/letter/t/ea666f/32.png) [@tom42](https://ai-speaker.discourse.group/u/tom42)\
**Data wpisu:** [3 Październik 2021 06:11 UTC](https://ai-speaker.discourse.group/t/nie-dzialajaca-konsola/2172/1 "2021-10-03T06:11:43Z")

</div>

Po aktualizacji do Kasi nie działa mi konsola w przeglądarce Safari na MacOS, w innych przeglądarkach konsola działa normalnie. Gdzie leży problem

---

<div class="post-metadata">

**Autor:** ![araczkowski](https://yyz2.discourse-cdn.com/free1/user_avatar/ai-speaker.discourse.group/araczkowski/32/6_2.png) [@araczkowski](https://ai-speaker.discourse.group/u/araczkowski)\
**Data wpisu:** [3 Październik 2021 07:32 UTC](https://ai-speaker.discourse.group/t/nie-dzialajaca-konsola/2172/2 "2021-10-03T07:32:44Z")

</div>

> [@tom42](#):
>
> Po aktualizacji do Kasi nie działa mi konsola w przeglądarce Safari na MacOS

To przestało ci działać nie po aktualizacji AIS do Kasi, ale po po aktualizacji Safari do wersji 15.0 na Macu.

Tu masz więcej informacji:

> <https://github.com/tsl0922/ttyd/issues/780>
>
> !\[image\](https://user-images.githubusercontent.com/1880965/134843215-3bc82be7-17…48-4744-8491-e696ffb55a44.png)
> 
> After updated Safari to 15.0 on Mac, webgl2.0 is now default and text is not showing on ttyd.
> Looks this is a xtermjs issue (https://github.com/xtermjs/xterm.js/issues/3357) but can we fall back to dom rendering if webgl2.0 is not supported?

Tu jest zrodlo problemu i opis obejścia:

> <https://github.com/xtermjs/xterm.js/issues/3357>
>
> \## Details
> 
> \- Browser and browser version: Safari 14.1
> \- OS version: macOS 11….3 (Apple Silicon)
> \- xterm.js version: 4.11.0 (gotty 1.3.0)
> 
> \### Steps to reproduce
> 
> 1. install xterm.js with webgl addon
> 2. open the page in Safari
> 3. observe missing letters, just background colors can be seen
> 3. Chrome and Firefox work fine

to samo dzieje się w HA, VS itd…

> <https://github.com/home-assistant/addons/issues/2186>
>
> \<!-- READ THIS FIRST:
> - If you need additional help with this template, pleas…e refer to https://www.home-assistant.io/help/reporting\_issues/
> - Make sure you are running the latest version of the add-on before reporting an issue
> - Provide as many details as possible. Paste logs, configuration samples and code into the backticks.
> DO NOT DELETE ANY TEXT from this template! Otherwise, your issue may be closed without comment.
> - This is the issue tracker for add-ons, feature request for new or existing add-ons should be opened on the forum https://community.home-assistant.io/c/feature-requests
> \--\>
> \## The problem
> 
> Text can't be read at all in the Terminal addon in Safari.
> 
> \## Environment
> Terminal&SSH addon v9.1.3, HA 2021.9.6, Safari on MacOS Monterey beta, also happens in Safari on Big Sur 11.6.
> 
> 
> \- Add-on with the issue: Terminal&SSH
> \- Add-on release with the issue: 9.1.3
> \- Last working add-on release (if known): 
> \- Operating environment (OS/Supervised): HAOS 6.3 on Rpi4
> 
> \## Problem-relevant configuration
> \<!--
> An example configuration that caused the problem for you. Fill this out even
> if it seems unimportant to you. Please be sure to remove personal information
> like passwords, private URLs and other credentials.
> \--\>
> 
> \`\`\`yaml
> 
> \`\`\`
> 
> \## Traceback/Error logs
> \<!--
> If you come across any trace or error logs, please provide them.
> \--\>
> 
> \`\`\`txt
> 
> \`\`\`
> 
> \## Additional information
> 
> This only happens in Safari, Edge on the same machine is perfectly fine
> \<img width="1428" alt="Screenshot 2021-09-19 at 10 02 43" src="https://user-images.githubusercontent.com/10572373/133920102-b47d3847-cc99-419a-b072-c9f327ecf0ad.png"\>
> .

---

<div class="post-metadata">

**Autor:** ![tom42](https://avatars.discourse-cdn.com/v4/letter/t/ea666f/32.png) [@tom42](https://ai-speaker.discourse.group/u/tom42)\
**Data wpisu:** [3 Październik 2021 08:56 UTC](https://ai-speaker.discourse.group/t/nie-dzialajaca-konsola/2172/3 "2021-10-03T08:56:41Z")

</div>

To ciekawe, bo w poprzedniej wersji Jarek konsola działała bez zastrzeżeń. Nie mogę zablokować webgl bo u mnie nie jest to wyświetlane w preferencjach safari 15

---

<div class="post-metadata">

**Autor:** ![Piotr.eK](https://yyz2.discourse-cdn.com/free1/user_avatar/ai-speaker.discourse.group/piotr.ek/32/3204_2.png) [@Piotr.eK](https://ai-speaker.discourse.group/u/Piotr.eK)\
**Data wpisu:** [3 Październik 2021 10:44 UTC](https://ai-speaker.discourse.group/t/nie-dzialajaca-konsola/2172/4 "2021-10-03T10:44:14Z")

</div>

Nie znam się za bardzo na “jabłkowym rezerwacie” ale możesz chyba zainstalować inną przeglądarkę… skoro babol tkwi w WebGL Safari…  
Z tego co zobaczyłem to jest kilka przeglądarek na Twój system.  
Z resztą zawsze jest dobrze mieć przynajmniej dwie przeglądarki aby np. móc zdiagnozować problem choćby taki jak Twój.

---

<div class="post-metadata">

**Autor:** ![tom42](https://avatars.discourse-cdn.com/v4/letter/t/ea666f/32.png) [@tom42](https://ai-speaker.discourse.group/u/tom42)\
**Data wpisu:** [3 Październik 2021 10:48 UTC](https://ai-speaker.discourse.group/t/nie-dzialajaca-konsola/2172/5 "2021-10-03T10:48:23Z")

</div>

Jak pisałem na wstępie na innych przeglądarkach działa to normalnie, mam je zainstalowane. Safari jest systemową i działa najszybciej z małym obciążaniem systemu. Ale jak piszecie nie jest to wielki problem.

---

<div class="post-metadata">

**Autor:** ![damu](https://yyz2.discourse-cdn.com/free1/user_avatar/ai-speaker.discourse.group/damu/32/8476_2.png) [@damu](https://ai-speaker.discourse.group/u/damu)\
**Data wpisu:** [3 Październik 2021 15:58 UTC](https://ai-speaker.discourse.group/t/nie-dzialajaca-konsola/2172/6 "2021-10-03T15:58:30Z")

</div>

Safari to silnik WebKid,  
Chrome, Opera, Edge to silnik Blink,  
Firefox to Gecko.

Notabene WebKid był używany w Chrome do wersji 27 🙂

---

<div class="post-metadata">

**Autor:** ![tomek](https://yyz2.discourse-cdn.com/free1/user_avatar/ai-speaker.discourse.group/tomek/32/28_2.png) [@tomek](https://ai-speaker.discourse.group/u/tomek)\
**Data wpisu:** [4 Październik 2021 17:41 UTC](https://ai-speaker.discourse.group/t/nie-dzialajaca-konsola/2172/7 "2021-10-04T17:41:43Z")

</div>

Ktoś już dostarczył poprawkę, tu:

> <https://github.com/tsl0922/ttyd/pull/785/files>
>
> For #780 
> I'm not sure we will wait for xtermjs to support/fix webgl2.0. This …is the same way as VSCode to avoid the issue for now.

jak ta poprawka zostanie scalona, to przebudujemy ttyd i będzie OK
