You are not logged in.

#1 2024-09-04 10:27:13

Deepti Kushawaha
Member
Registered: 2024-08-27
Posts: 8

anaconda-navigator is not working due to error in display settings

anaconda navigator is not working whie launching thorugh base environment.Previously it was working when I was using Breeze as global theme in plasma KDE desktop environment but now it is showing me this error since I have changed my theme to Carl theme. I resstored the display settings and rebooted the system but its not working. 


Terminal:bash
(base) [i-am-user@archlinux ~]$ anaconda-navigator
2024-09-04 15:39:04,759 - WARNING linux_scaling.get_scaling_factor_using_dbus:32
An exception occurred during fetching list of system display settings.

qt.qpa.plugin: Could not find the Qt platform plugin "wayland" in ""
qt.glx: qglx_findConfig: Failed to finding matching FBConfig for QSurfaceFormat(version 2.0, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize -1, redBufferSize 1, greenBufferSize 1, blueBufferSize 1, alphaBufferSize -1, stencilBufferSize -1, samples -1, swapBehavior QSurfaceFormat::SingleBuffer, swapInterval 1, colorSpace QSurfaceFormat::DefaultColorSpace, profile  QSurfaceFormat::NoProfile)
qt.glx: qglx_findConfig: Failed to finding matching FBConfig for QSurfaceFormat(version 2.0, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize -1, redBufferSize 1, greenBufferSize 1, blueBufferSize 1, alphaBufferSize -1, stencilBufferSize -1, samples -1, swapBehavior QSurfaceFormat::SingleBuffer, swapInterval 1, colorSpace QSurfaceFormat::DefaultColorSpace, profile  QSurfaceFormat::NoProfile)
Could not initialize GLX
Aborted (core dumped)

Offline

#2 2024-09-04 10:59:41

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 12,789

Re: anaconda-navigator is not working due to error in display settings

Not a display error, typically that error means the the application has trouble to distinguish if it is run under X or XWayland or wayland .

https://wiki.archlinux.org/title/Wayland#Qt


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#3 2024-09-05 06:24:23

Deepti Kushawaha
Member
Registered: 2024-08-27
Posts: 8

Re: anaconda-navigator is not working due to error in display settings

It has been 10 days since I have downloaded arch I am totally new arch user. I have read the docs in the link but cannot get what to do . I don't even understand what I am doing. Please help!

Offline

#4 2024-09-05 07:40:45

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 12,789

Re: anaconda-navigator is not working due to error in display settings

Please post the output of

pacman -Qs wayland qt

Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#5 2024-09-05 08:07:17

Deepti Kushawaha
Member
Registered: 2024-08-27
Posts: 8

Re: anaconda-navigator is not working due to error in display settings

Output:

[i-am-user@archlinux ~]$ pacman -Qs wayland qt
local/kwayland 6.1.4-1 (plasma)
    Qt-style Client and Server library wrapper for the Wayland libraries
local/layer-shell-qt 6.1.4-1 (plasma)
    Qt component to allow applications to make use of the Wayland
    wl-layer-shell protocol
local/qt6-wayland 6.7.2-4 (qt6)
    Provides APIs for Wayland

Last edited by Deepti Kushawaha (2024-09-05 08:07:40)

Offline

#6 2024-09-05 08:29:27

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 12,789

Re: anaconda-navigator is not working due to error in display settings

Try installing qt5-wayland using pacman .


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#7 2024-09-05 09:04:03

Deepti Kushawaha
Member
Registered: 2024-08-27
Posts: 8

Re: anaconda-navigator is not working due to error in display settings

I installed qt5 as you have said

) [kushawaha-deepti@archlinux ~]$ pacman -Qs wayland qt             local/kwayland 6.1.4-1 (plasma)
    Qt-style Client and Server library wrapper for the Wayland libraries
local/layer-shell-qt 6.1.4-1 (plasma)
    Qt component to allow applications to make use of the Wayland
    wl-layer-shell protocol
local/qt5-wayland 5.15.15+kde+r59-1 (qt5)
    Provides APIs for Wayland
local/qt6-wayland 6.7.2-4 (qt6)

Offline

#8 2024-09-05 09:52:09

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 12,789

Re: anaconda-navigator is not working due to error in display settings

What does anaconda-navigator output now when you try to start it ?


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#9 2024-09-05 10:34:29

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 12,327
Website

Re: anaconda-navigator is not working due to error in display settings

Mod note: Moving to AUR Issues.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#10 2024-09-05 10:34:53

Deepti Kushawaha
Member
Registered: 2024-08-27
Posts: 8

Re: anaconda-navigator is not working due to error in display settings

output:

(base) [i-am-user@archlinux ~]$ anaconda-navigator
2024-09-05 16:04:02,676 - WARNING linux_scaling.get_scaling_factor_using_dbus:32
An exception occurred during fetching list of system display settings.

qt.qpa.plugin: Could not find the Qt platform plugin "wayland" in ""
qt.glx: qglx_findConfig: Failed to finding matching FBConfig for QSurfaceFormat(version 2.0, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize -1, redBufferSize 1, greenBufferSize 1, blueBufferSize 1, alphaBufferSize -1, stencilBufferSize -1, samples -1, swapBehavior QSurfaceFormat::SingleBuffer, swapInterval 1, colorSpace QSurfaceFormat::DefaultColorSpace, profile  QSurfaceFormat::NoProfile)
qt.glx: qglx_findConfig: Failed to finding matching FBConfig for QSurfaceFormat(version 2.0, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize -1, redBufferSize 1, greenBufferSize 1, blueBufferSize 1, alphaBufferSize -1, stencilBufferSize -1, samples -1, swapBehavior QSurfaceFormat::SingleBuffer, swapInterval 1, colorSpace QSurfaceFormat::DefaultColorSpace, profile  QSurfaceFormat::NoProfile)
Could not initialize GLX
Aborted (core dumped)

Offline

#11 2024-09-05 18:18:18

Mr formal7
Member
Registered: 2024-09-05
Posts: 2

Re: anaconda-navigator is not working due to error in display settings

I saw this post was recent, and decided to make an account, I use anaconda for school and I am having the same issue with the same error.
qt-5 wayland and qt-6 wayland are installed, could this be a bug or is there a way to fix it?
I get this on both my desktop and laptop, this is what it spits out when I try to launch anaconda-navigator, it's basically the same as above.
I'm using xorg right now but it also does this in wayland, and I was using wayland earlier

(base) [isaac@crimsoneye ~]$ anaconda-navigator                                                                             
2024-09-05 13:55:44,625 - WARNING linux_scaling.get_scaling_factor_using_dbus:32                                                               
An exception occurred during fetching list of system display settings.                                                                         

qt.glx: qglx_findConfig: Failed to finding matching FBConfig for QSurfaceFormat(version 2.0, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize -1, redBufferSize 1, greenBufferSize 1, blueBufferSize 1, alphaBufferSize -1, stencilBufferSize -1, samples -1, swapBehavior QSurfaceFormat::SingleBuffer, swapInterval 1, colorSpace QSurfaceFormat::DefaultColorSpace, profile  QSurfaceFormat::NoProfile)
qt.glx: qglx_findConfig: Failed to finding matching FBConfig for QSurfaceFormat(version 2.0, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize -1, redBufferSize 1, greenBufferSize 1, blueBufferSize 1, alphaBufferSize -1, stencilBufferSize -1, samples -1, swapBehavior QSurfaceFormat::SingleBuffer, swapInterval 1, colorSpace QSurfaceFormat::DefaultColorSpace, profile  QSurfaceFormat::NoProfile)
Could not initialize GLX
Aborted (core dumped)

Last edited by Mr formal7 (2024-09-05 18:22:14)

Offline

#12 2024-09-05 18:50:20

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 12,789

Re: anaconda-navigator is not working due to error in display settings

A ddg search foir QSurfaceFormat(version 2.0) lead to an autodesk support article with that same error .

Combining that with with the outputs shown indicates it's not a wayland issue and also not unique to conda .
This smells like conda / autodesk are not using system libraries, but some version they provide that don't cooperate well with archlinux system libraries .

This matches the prompts starting which (base)  which I think is the way conda uses to indicate the commands are executed inside of a conda session .

Try running anaconda-navigator outside of a conda session and post the output.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#13 2024-09-05 19:12:23

Deepti Kushawaha
Member
Registered: 2024-08-27
Posts: 8

Re: anaconda-navigator is not working due to error in display settings

[i-am-user@archlinux ~]$ anaconda-navigator
bash: anaconda-navigator: command not found

This does not work because command:anaconda-navigator does not directly run on bash we have to initialize anaconda distribution (command: conda init) not every time though and then when we refresh the terminal then it opens in the base environment where we run the command anaconda-navigator.

well to get in/out from base environment I use conda config --set auto_activate_base true/false  and this command run finely in without base environment

Previously it was working properly but after changing global theme it is not working more than that it is not possible to open login SDDM screen with plasma wayland session it always opens with plasma X11 session this is the difference I have seen this far

Offline

#14 2024-09-05 23:18:11

Mr formal7
Member
Registered: 2024-09-05
Posts: 2

Re: anaconda-navigator is not working due to error in display settings

I think I should also mention that I am not using the AUR for anaconda.
I followed anaconda's instructions for installation since the AUR version would hang during installation.
I found a way to access spyder, which is what I needed to use for class, so I don't need to worry about it right now.
I also get the same error launching spyder through conda, instead of going through anaconda-navigator.
I thought I should mention that you can install spyder through pacman, just in case you also needed to use it.
I don't get the error launching the pacman version standalone.

Offline

#15 2024-09-06 02:02:58

Deepti Kushawaha
Member
Registered: 2024-08-27
Posts: 8

Re: anaconda-navigator is not working due to error in display settings

For now I have found a way to get anaconda-navigator working

This was some GL Library  error associated with Qt mainly
bash:(activate base environment first of all)

(base) [i-am-user@archlinux ~]$ conda init
no change     /home/i-am-user/home/condabin/conda
no change     /home/i-am-user/home/bin/conda
no change     /home/i-am-user/home/bin/conda-env
no change     /home/i-am-user/home/bin/activate
no change     /home/i-am-user/home/bin/deactivate
no change     /home/i-am-user/home/etc/profile.d/conda.sh
no change     /home/i-am-user/home/etc/fish/conf.d/conda.fish
no change     /home/i-am-user/home/shell/condabin/Conda.psm1
no change     /home/i-am-user/home/shell/condabin/conda-hook.ps1
no change     /home/i-am-useri/home/lib/python3.12/site-packages/xontrib/conda.xsh
no change     /home/i-am-user/home/etc/profile.d/conda.csh
no change     /home/i-am-user/.bashrc
No action taken.
(base) [i-am-user@archlinux ~]$ export __GLX_VENDOR_LIBRARY_NAME=nvidia
(base) [i-am-user@archlinux ~]$ anaconda-navigator 
2024-09-06 07:14:18,846 - WARNING linux_scaling.get_scaling_factor_using_dbus:32
An exception occurred during fetching list of system display settings.

qt.qpa.plugin: Could not find the Qt platform plugin "wayland" in ""

the above "/home/i-am-user/home/" is actually "/home/i-am-user/anaconda3/" by default. Thanks! for the help.

Last edited by Deepti Kushawaha (2024-09-06 02:05:06)

Offline

#16 2024-09-06 09:35:54

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 12,789

Re: anaconda-navigator is not working due to error in display settings

Deepti Kushawaha wrote:

well to get in/out from base environment I use conda config --set auto_activate_base true/false  and this command run finely in without base environment

That exactly matches with conda using their own qt libraries that clash with system libraries .
It's part of the reason why arch wiki recommends to disable auto_activate_base as default setting .

Mr formal7 wrote:

I followed anaconda's instructions for installation since the AUR version would hang during installation.

You did notice that https://wiki.archlinux.org/title/Conda#miniforge lists an alternative for aur installation ?


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

Board footer

Powered by FluxBB