When NVIDIA is chosen, I get many issues on my desktop:
Missing desktop from one of the displays (the Primary in this case). Black with cursor only. I can drag and drop Windows to it but the Desktop is missing, no panels… etc
Google Chrome keeps crashing. Before, it used to crash several times (around 10 times in a row) with a fresh open but then remains working perfectly. Now, I am reaching around 100 attempts and still crashing with every open after a few seconds.
And many other minor weird behaviors.
With Intel, nothing of those happens. Only with NVIDIA.
## IMPORTANT : Manjaro KDE users
Manjaro ships with a default configuration for SDDM (the default login manager for KDE) which overrides some keys needed by optimus-manager. To use optimus-manager, you need to edit the file `/etc/sddm.conf` and simply put a `#` before the line starting with `DisplayCommand` and the one starting with `DisplayStopCommand` .
Have you read this on the GitHub? There is it could be problem.
This looks like crashed plasmashell. I got that a lot on Nvidia drivers on multimonitor setup (but worked fine for one screen) in the past and had to start plasmashell 1-3 times (because it kept crashing) till it was OK. Use krunner for starting plasmashell. However, I don’t get that issue on hybrid mode with 450xx drivers (didn’t check full Nvidia mode yet).
However, if that happens for single monitor setup, something is off and it’s not clear what. I would look into configs.
Open it in terminal and look on the output. See what it says right before the crash. There is a high chance it will show what is wrong or at least point you in some direction.
I will, once I get ability to post images here, and some small updates are indeed needed.
The tutorial mentioned above: archived.forum.manjaro org/t/guide-install-and-configure-optimus-manager-for-hybrid-gpu-setups-intel-nvidia/92196 is what I actually followed in the first place to install optimus-manager
The issue (of missing desktop) did not happen for several days in a row. And Chrome has never crashed since this post
Now, only the issue of (broken plasmashell?) is there.
I tried running plasmashell from the terminal. It gave an error about inotify max number of files to watch or something like this - I increased the number. The error did not show up again but running plasmashell did not help neither.
The lines DisplayCommand and DisplayStopCommand are already commented out since the installation of Optimus-manager.
Speaking of Optimus-manager, the Hybrid mode has never worked with me. After the session reload, it stays in Intel mode.
Despite that Google Chrome has never crashed since then, it also behaves very strangely: when I scroll through a page, some random parts of the page freezes. When I switch between tabs, also some random parts from the previous tab freeze, and so on.
None of those happen with Intel mode. And I get theses on the console. None of those outputs comes with Intel neither. So when Intel, nothing shows on the console. Perfectly fine. With NVIDIA, I get this weird behaveour and those errors:
[user@LEGION ~]$ google-chrome-stable
[15760:15809:0912/103728.868398:ERROR:media_history_store.cc(363)] Failed to create or update the media history store.
[15797:15802:0912/103730.878773:ERROR:ssl_client_socket_impl.cc(963)] handshake failed; returned -1, SSL error code 1, net_error -101
[15797:15802:0912/103730.882750:ERROR:ssl_client_socket_impl.cc(963)] handshake failed; returned -1, SSL error code 1, net_error -101
[15797:15802:0912/103730.898669:ERROR:ssl_client_socket_impl.cc(963)] handshake failed; returned -1, SSL error code 1, net_error -101
[15797:15802:0912/103731.002719:ERROR:ssl_client_socket_impl.cc(963)] handshake failed; returned -1, SSL error code 1, net_error -101
[15797:15802:0912/103731.029972:ERROR:ssl_client_socket_impl.cc(963)] handshake failed; returned -1, SSL error code 1, net_error -101
[15797:15802:0912/103731.241849:ERROR:ssl_client_socket_impl.cc(963)] handshake failed; returned -1, SSL error code 1, net_error -101
[15797:15802:0912/103731.377846:ERROR:ssl_client_socket_impl.cc(963)] handshake failed; returned -1, SSL error code 1, net_error -101
[15797:15802:0912/103731.901584:ERROR:ssl_client_socket_impl.cc(963)] handshake failed; returned -1, SSL error code 1, net_error -101
[15797:15802:0912/103732.035607:ERROR:ssl_client_socket_impl.cc(963)] handshake failed; returned -1, SSL error code 1, net_error -101
[15797:15802:0912/103732.036747:ERROR:ssl_client_socket_impl.cc(963)] handshake failed; returned -1, SSL error code 1, net_error -101
[15797:15802:0912/103732.255290:ERROR:ssl_client_socket_impl.cc(963)] handshake failed; returned -1, SSL error code 1, net_error -101
[15797:15802:0912/103732.385807:ERROR:ssl_client_socket_impl.cc(963)] handshake failed; returned -1, SSL error code 1, net_error -101
[15794:15794:0912/104124.299060:ERROR:shared_image_manager.cc(214)] SharedImageManager::ProduceSkia: Trying to Produce a Skia representation from a no
n-existent mailbox.
[15794:15794:0912/104124.299332:ERROR:shared_image_manager.cc(214)] SharedImageManager::ProduceSkia: Trying to Produce a Skia representation from a no
n-existent mailbox.
Fontconfig error: Cannot load default config file: No such file: (null)
[15760:15760:0912/112223.140023:ERROR:CONSOLE(0)] "Unchecked runtime.lastError: Could not establish connection. Receiving end does not exist.", source
: chrome-extension://hnbmpkmhjackfpkpcbapafmpepgmmddc/devtools.html (0)
[15794:15794:0912/112226.732035:ERROR:gl_utils.cc(316)] [.RendererMainThread-0x3b3651c13c00] GL_INVALID_OPERATION: Framebuffer is incomplete.
[15794:15794:0912/112226.732588:ERROR:gl_utils.cc(316)] [.RendererMainThread-0x3b3651c13c00] GL_INVALID_OPERATION: Framebuffer is incomplete.
[15794:15794:0912/112226.735979:ERROR:gl_utils.cc(316)] [.RendererMainThread-0x3b3651c13c00] GL_INVALID_FRAMEBUFFER_OPERATION: Framebuffer is incomple
te.
Fontconfig error: Cannot load default config file: No such file: (null)
[15760:15760:0912/112854.010751:ERROR:CONSOLE(0)] "Unchecked runtime.lastError: Could not establish connection. Receiving end does not exist.", source
: chrome-extension://hnbmpkmhjackfpkpcbapafmpepgmmddc/devtools.html (0)
[15794:15794:0912/112858.396243:ERROR:gl_utils.cc(316)] [.RendererMainThread-0x3b3651d24800] GL_INVALID_OPERATION: Framebuffer is incomplete.
[15794:15794:0912/112858.396703:ERROR:gl_utils.cc(316)] [.RendererMainThread-0x3b3651d24800] GL_INVALID_OPERATION: Framebuffer is incomplete.
[15794:15794:0912/112858.400344:ERROR:gl_utils.cc(316)] [.RendererMainThread-0x3b3651d24800] GL_INVALID_FRAMEBUFFER_OPERATION: Framebuffer is incomple
te.
[15760:15779:0912/131741.988510:ERROR:connection_factory_impl.cc(428)] Failed to connect to MCS endpoint with error -106