Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 19/04/2024, à 20:48

stemy2

[résolu] Gestion des fenêtres complètement anarchique

Bonjour,

Je suis face à un problème qui est en train de me rendre fou: pour certaines applications, la gestion des fenêtres fonctionne de façon complètement anarchique.

-Soit elles se ferment sans raison après une durée très courte, et impossible d'en savoir la raison, le crash en lui-même n'étant pas précédé par un message sur la console.
-Soit elles s'exécutent en arrière-plan alors qu'elles sont censées être à l'avant-plan, et n'apparaissent même pas dans la liste des fenêtres quand je fais alt+tab (cela dit, ce problème précis ne se produit que sous wayland).
-Soit les deux à la fois.

Quand elles s'exécutent en arrière-plan, j'ai une notif qui me dit "L'application s'ouvre en arrière-plan", et quand je clique sur "plus d'infos", j'ai une fenêtre qui me dit "Il existe peut-être une raison légitime, mais l'application n'en a pas fourni une. Remarquez que vous risquez de perdre des données si vous forcez la fermeture".

J'ai lancé quelques applications problématiques en mode console, voici les sorties que j'obtiens:

stem@stem-kubuntu:~$ /usr/bin/flatpak run --branch=stable --arch=x86_64 --command=SpaceCadetPinball com.github.k4zmu2a.spacecadetpinball
Game version: 2.1.0
Command line: 
Compiled with: SDL 2.28.5; SDL_mixer 2.6.3; ImGui 1.89.2 WIP HW
warning: queue 0x5c1a876bd520 destroyed while proxies still attached:
  wl_registry@30 still attached
libEGL warning: egl: failed to create dri2 screen
warning: queue 0x5c1a8807f180 destroyed while proxies still attached:
  wl_registry@39 still attached
MESA: error: CreateSwapchainKHR failed with VK_ERROR_INITIALIZATION_FAILED
MESA: error: zink: could not create swapchain
Using SDL renderer: opengl
Loading game from: /app/bin/PINBALL.DAT
SDL Error: Couldn't open timidity.cfg
SDL Error: That operation is not supported
(dernière ligne répétée en boucle jusq'au crash)
stem@stem-kubuntu:~$ /usr/bin/flatpak run --branch=stable --arch=x86_64 --command=supertux2 org.supertuxproject.SuperTux
warning: queue 0x5bdd5d20c2b0 destroyed while proxies still attached:
  wl_registry@29 still attached
libEGL warning: egl: failed to create dri2 screen
warning: queue 0x5bdd5d7e04d0 destroyed while proxies still attached:
  wl_registry@39 still attached
MESA: error: CreateSwapchainKHR failed with VK_ERROR_INITIALIZATION_FAILED
MESA: error: zink: could not create swapchain
warning: queue 0x5bdd5dc47870 destroyed while proxies still attached:
  wl_callback@35 still attached
  wl_surface@34 still attached
stem@stem-kubuntu:~$ /usr/bin/flatpak run --branch=stable --arch=x86_64 --command=supertuxkart net.supertuxkart.SuperTuxKart
[verbose  ] main: Error messages and other text output will be logged to /home/stem/.var/app/net.supertuxkart.SuperTuxKart/config/supertuxkart/config-0.10/stdout.log.
[info   ] [FileManager]: Data files will be fetched from: '/app/share/supertuxkart/data/'
[info   ] [FileManager]: User directory is '/home/stem/.var/app/net.supertuxkart.SuperTuxKart/config/supertuxkart/config-0.10/'.
[info   ] [FileManager]: Addons files will be stored in '/home/stem/.var/app/net.supertuxkart.SuperTuxKart/data/supertuxkart/addons/'.
[info   ] [FileManager]: Screenshots will be stored in '/home/stem/.var/app/net.supertuxkart.SuperTuxKart/data/supertuxkart/screenshots/'.
[info   ] [FileManager]: User-defined grand prix will be stored in '/home/stem/.var/app/net.supertuxkart.SuperTuxKart/data/supertuxkart/grandprix/'.
[info   ] [FileManager]: Asset 0 will be loaded from '/app/share/supertuxkart/data/challenges/'.
[info   ] [FileManager]: Asset 1 will be loaded from '/app/share/supertuxkart/data/gfx/'.
[info   ] [FileManager]: Asset 2 will be loaded from '/app/share/supertuxkart/data/grandprix/'.
[info   ] [FileManager]: Asset 3 will be loaded from '/app/share/supertuxkart/data/gui/icons/'.
[info   ] [FileManager]: Asset 4 will be loaded from '/app/share/supertuxkart/data/gui/screens/'.
[info   ] [FileManager]: Asset 5 will be loaded from '/app/share/supertuxkart/data/gui/dialogs/'.
[info   ] [FileManager]: Asset 6 will be loaded from '/app/share/supertuxkart/data/replay/'.
[info   ] [FileManager]: Asset 7 will be loaded from '/app/share/supertuxkart/data/shaders/'.
[info   ] [FileManager]: Asset 8 will be loaded from '/app/share/supertuxkart/data/skins/'.
[info   ] [FileManager]: Asset 9 will be loaded from '/app/share/supertuxkart/data/ttf/'.
[info   ] [FileManager]: Asset 10 will be loaded from '/app/share/supertuxkart/data/po/'.
[info   ] [FileManager]: Asset 11 will be loaded from '/app/share/supertuxkart/data/library/'.
[info   ] [FileManager]: Asset 12 will be loaded from '/app/share/supertuxkart/data/models/'.
[info   ] [FileManager]: Asset 13 will be loaded from '/app/share/supertuxkart/data/music/'.
[info   ] [FileManager]: Asset 14 will be loaded from '/app/share/supertuxkart/data/sfx/'.
[info   ] [FileManager]: Asset 15 will be loaded from '/app/share/supertuxkart/data/textures/'.
[info   ] [FileManager]: Asset 16 will be loaded from '/app/share/supertuxkart/data/tracks/'.
[verbose  ] translation: Env var LANGUAGE = 'fr'.
[verbose  ] translation: Language 'French'.
..:: Antarctica Rendering Engine 2.0 ::..
[info   ] [IrrDriver Logger]: ..:: Antarctica Rendering Engine 2.0 ::..
warning: queue 0x648a481da630 destroyed while proxies still attached:
  wl_registry@30 still attached
libEGL warning: egl: failed to create dri2 screen
warning: queue 0x648a48bf0b20 destroyed while proxies still attached:
  wl_registry@43 still attached
MESA: error: CreateSwapchainKHR failed with VK_ERROR_INITIALIZATION_FAILED
MESA: error: zink: could not create swapchain
[info   ] [IrrDriver Logger]: SDL Version 2.28.5
[info   ] [IrrDriver Logger]: Using renderer: OpenGL 4.6
[info   ] [IrrDriver Logger]: zink Vulkan 1.3(NVIDIA GeForce GTX 1050 Ti (NVIDIA_PROPRIETARY)): Mesa
[info   ] [IrrDriver Logger]: OpenGL driver version is 1.2 or better.
[info   ] [IrrDriver Logger]: GLSL version: 4.6
[info   ] IrrDriver: OpenGL version: 4.6
[info   ] IrrDriver: OpenGL vendor: Mesa
[info   ] IrrDriver: OpenGL renderer: zink Vulkan 1.3(NVIDIA GeForce GTX 1050 Ti (NVIDIA_PROPRIETARY))
[info   ] IrrDriver: OpenGL version string: 4.6 (Core Profile) Mesa 24.0.5 (git-7737614720)
[info   ] GLDriver: ARB Compute Shader Present
[info   ] GLDriver: ARB Arrays of Arrays Present
[info   ] GLDriver: ARB Texture Storage Present
[info   ] GLDriver: ARB Texture View Present
[info   ] GLDriver: ARB Image Load Store Present
[info   ] GLDriver: ARB Shader Storage Buffer Object Present
[info   ] GLDriver: EXT Texture Compression S3TC Present
[info   ] GLDriver: ARB Uniform Buffer Object Present
[info   ] GLDriver: ARB Explicit Attrib Location Present
[info   ] GLDriver: EXT Texture Filter Anisotropic Present
[info   ] GLDriver: Geometry Shaders Present
[info   ] GLDriver: ARB Texture Buffer Object Present
[info   ] GLDriver: ARB Texture Swizzle Present
[info   ] GLDriver: ARB Pixel Buffer Object Present
[info   ] GLDriver: ARB Sampler Objects Present
[info   ] GLDriver: ARB Vertex Type 2_10_10_10_rev Present
[info   ] GLDriver: ARB Instanced Arrays Present
[info   ] SharedGPUObjects: Hardware Skinning enabled, method: TBO, max bones: 1024
[info   ] ShaderFilesManager: Compiling shader: /app/share/supertuxkart/data/shaders/screenquad.vert
[info   ] ShaderFilesManager: Compiling shader: /app/share/supertuxkart/data/shaders/motion_blur.frag
[info   ] ShaderFilesManager: Compiling shader: /app/share/supertuxkart/data/shaders/lightning.frag
[info   ] ShaderFilesManager: Compiling shader: /app/share/supertuxkart/data/shaders/primitive2dlist.vert
[info   ] ShaderFilesManager: Compiling shader: /app/share/supertuxkart/data/shaders/transparent.frag
[info   ] ShaderFilesManager: Compiling shader: /app/share/supertuxkart/data/shaders/texturedquad.vert
[info   ] ShaderFilesManager: Compiling shader: /app/share/supertuxkart/data/shaders/uniformcolortexturedquad.frag
[info   ] ShaderFilesManager: Compiling shader: /app/share/supertuxkart/data/shaders/texturedquad.frag
[info   ] ShaderFilesManager: Compiling shader: /app/share/supertuxkart/data/shaders/coloredquad.vert
[info   ] ShaderFilesManager: Compiling shader: /app/share/supertuxkart/data/shaders/coloredquad.frag
[info   ] ShaderFilesManager: Compiling shader: /app/share/supertuxkart/data/shaders/colortexturedquad.vert
[info   ] ShaderFilesManager: Compiling shader: /app/share/supertuxkart/data/shaders/colortexturedquad.frag
[info   ] irr_driver: GLSL supported.
[info   ] GUI: Loading skin data from file: /app/share/supertuxkart/data/skins/peach/stkskin.xml
[info   ] ShaderFilesManager: Compiling shader: /app/share/supertuxkart/data/shaders/sp_pass.vert
[info   ] ShaderFilesManager: Compiling shader: /app/share/supertuxkart/data/shaders/sp_solid.frag
[info   ] ShaderFilesManager: Compiling shader: /app/share/supertuxkart/data/shaders/sp_shadow.vert
[info   ] ShaderFilesManager: Compiling shader: /app/share/supertuxkart/data/shaders/white.frag
[info   ] ShaderFilesManager: Compiling shader: /app/share/supertuxkart/data/shaders/sp_skinning.vert
[info   ] ShaderFilesManager: Compiling shader: /app/share/supertuxkart/data/shaders/sp_skinning_shadow.vert
[info   ] ShaderFilesManager: Compiling shader: /app/share/supertuxkart/data/shaders/sp_normal_map.frag
[info   ] ShaderFilesManager: Compiling shader: /app/share/supertuxkart/data/shaders/sp_alpha_test.frag
[info   ] ShaderFilesManager: Compiling shader: /app/share/supertuxkart/data/shaders/sp_shadow_alpha_test.frag
[info   ] ShaderFilesManager: Compiling shader: /app/share/supertuxkart/data/shaders/sp_decal.frag
[info   ] ShaderFilesManager: Compiling shader: /app/share/supertuxkart/data/shaders/sp_grass_pass.vert
[info   ] ShaderFilesManager: Compiling shader: /app/share/supertuxkart/data/shaders/sp_grass.frag
[info   ] ShaderFilesManager: Compiling shader: /app/share/supertuxkart/data/shaders/sp_grass_shadow.vert
[info   ] ShaderFilesManager: Compiling shader: /app/share/supertuxkart/data/shaders/sp_unlit.frag
[info   ] ShaderFilesManager: Compiling shader: /app/share/supertuxkart/data/shaders/sp_transparent.frag
[info   ] ShaderFilesManager: Compiling shader: /app/share/supertuxkart/data/shaders/sp_ghost.frag
[info   ] ShaderFilesManager: Compiling shader: /app/share/supertuxkart/data/shaders/sp_dynamic_night_bloom.frag
[info   ] ShaderFilesManager: Compiling shader: /app/share/supertuxkart/data/shaders/sp_tilling_mitigation.frag
[info   ] ShaderFilesManager: Compiling shader: /app/share/supertuxkart/data/shaders/sp_vertical_mapping.frag
[info   ] ShaderFilesManager: Compiling shader: /app/share/supertuxkart/data/shaders/sp_road_blending.frag
[info   ] ShaderFilesManager: Compiling shader: /app/share/supertuxkart/data/shaders/sp_displace.frag
[info   ] ShaderFilesManager: Compiling shader: /app/share/supertuxkart/data/shaders/colorize.frag
[info   ] ShaderFilesManager: Compiling shader: /app/share/supertuxkart/data/shaders/sp_normal_visualizer.vert
[info   ] ShaderFilesManager: Compiling shader: /app/share/supertuxkart/data/shaders/sp_normal_visualizer.geom
[info   ] ShaderFilesManager: Compiling shader: /app/share/supertuxkart/data/shaders/sp_normal_visualizer.frag
[info   ] HTTPRequest: Downloading https://online.supertuxkart.net/dl/xml/online_news.xml
[info   ] addons: Using cached addons.xml.
[warn   ] track: Music information file 'amazon_jungle.music' not found for track 'Amazonian Journey' - ignored.

[warn   ] track: Music information for track 'Amazonian Journey' replaced by default music.

[warn   ] track: Music information for track 'bowling' replaced by default music.

[warn   ] track: Music information file 'TheDeadRocks-EasyJob.music' not found for track 'Coyote Canyon' - ignored.

[warn   ] track: Music information for track 'Coyote Canyon' replaced by default music.

[info   ] GrandPrixManager: Loading Grand Prix files from /app/share/supertuxkart/data/grandprix/
[info   ] GrandPrixManager: Loading Grand Prix files from /home/stem/.var/app/net.supertuxkart.SuperTuxKart/data/supertuxkart/grandprix/
[warn   ] SPMeshBuffer: kartDirt shader is missing, fallback to solid
[warn   ] SPMeshBuffer: kartDirt shader is missing, fallback to solid
[warn   ] SPMeshBuffer: kartDirt shader is missing, fallback to solid
[warn   ] SPMeshBuffer: kartDirt shader is missing, fallback to solid
[warn   ] SPMeshBuffer: kartDirt shader is missing, fallback to solid
[verbose  ] Thread: Start waiting 4155015.861000
[verbose  ] Thread: Waited 0.011000 seconds for thread to become deleteable.
[verbose  ] Thread: Stop waiting 4155015.872000
[info   ] Singleton: Destroyed singleton.
[info   ] Singleton: Destroyed singleton.
[info   ] Singleton: Destroyed singleton.
[info   ] Singleton: Destroyed singleton.
[info   ] Singleton: Destroyed singleton.
[info   ] Singleton: Destroyed singleton.
[info   ] Singleton: Destroyed singleton.
[info   ] Singleton: Destroyed singleton.
[info   ] Singleton: Destroyed singleton.
[info   ] Singleton: Destroyed singleton.
stem@stem-kubuntu:~$

Dans les sorties concernées, on peut voir les erreurs suivantes qui semblent liées aux graphismes, peut-être que c'est une piste, peut-être que c'est une piste:

libEGL warning: egl: failed to create dri2 screen
MESA: error: CreateSwapchainKHR failed with VK_ERROR_INITIALIZATION_FAILED
MESA: error: zink: could not create swapchain

Dernière modification par stemy2 (Le 22/04/2024, à 10:08)


Kubuntu 23.10 6.5.0-28-generic
Nvidia GTX 1050 Ti (nvidia-driver: 535)

Hors ligne

#2 Le 20/04/2024, à 21:31

Astrolivier

Re : [résolu] Gestion des fenêtres complètement anarchique

salut,

pour savoir sur quel système tu es, peux tu renvoyer les retours de

 lsb_release -d

et

uname -r

aussi, est-ce que ces soucis n'arrivent que sur du flatpak ou aussi sur les logiciels "natifs" ?


pas que j'ai la moindre idée, mais c'est pour commencer à cerner


S'il faut absolument faire des sacrifices pour assurer le progrès de l'humanité, ne serait-il pas indispensable de s'en tenir au principe selon lequel c'est à ceux dont on exige le sacrifice que la décision doit revenir en dernier ressort ? (howard zinn)

Hors ligne

#3 Le 20/04/2024, à 21:53

xubu1957

Re : [résolu] Gestion des fenêtres complètement anarchique


Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Résolu] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci.                   Membre de Linux-Azur

Hors ligne

#4 Le 21/04/2024, à 10:17

stemy2

Re : [résolu] Gestion des fenêtres complètement anarchique

Voilà, j'ai mis les infos dans ma signature.

ça ne semble toucher que les applications flatpak, mais pas toutes. D'ailleurs, sur ce point précis, j'ai un conflit bizarre: quand je lance le jeu Space Cadet Pinball, il crash après quelques secondes et fait crasher Betterbird en même temps que lui qui, à son tour, ne parvient plus à rester ouvert plus de quelques secondes.

Depuis que je me connecte sous X11 et non plus sous wayland, aucune autre application que celles ci-dessus ne semble avoir de problème, désormais. Je modifierais ce message si j'en trouve d'autres.

Dernière modification par stemy2 (Le 21/04/2024, à 10:19)


Kubuntu 23.10 6.5.0-28-generic
Nvidia GTX 1050 Ti (nvidia-driver: 535)

Hors ligne

#5 Le 21/04/2024, à 10:45

geole

Re : [résolu] Gestion des fenêtres complètement anarchique

Il m'a semblé que le point commun est cette phrase.
MESA: error: zink: could not create swapchain

Du coup, une recherche internet donne quelques résultats

I created a new file at /etc/modprobe.d/nvidia.conf, and put the following lines inside:
options nvidia_drm modeset=1
options nvidia_drm fbdev=1

Dernière modification par geole (Le 21/04/2024, à 10:48)


Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
"gedit admin:///etc/fstab" est proscrit,  utilisez "pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY xdg-open /etc/fstab" Voir  https://doc.ubuntu-fr.org/gedit
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248

Hors ligne

#6 Le 21/04/2024, à 11:27

stemy2

Re : [résolu] Gestion des fenêtres complètement anarchique

geole a écrit :

Il m'a semblé que le point commun est cette phrase.
MESA: error: zink: could not create swapchain

Du coup, une recherche internet donne quelques résultats

I created a new file at /etc/modprobe.d/nvidia.conf, and put the following lines inside:
options nvidia_drm modeset=1
options nvidia_drm fbdev=1

Oui, je suis aussi tombé sur cette solution, qui n'a strictement rien résolu chez moi.

Par contre, j'ai trouvé un bidouillage qui semble marcher: autoriser l'exécution en arrière-plan de l'application incriminée via flatseal. Jusqu'ici, toutes les apps auxquelles j'ai réservé ce traitement n'ont plus crashé.

Dernière modification par stemy2 (Le 22/04/2024, à 10:07)


Kubuntu 23.10 6.5.0-28-generic
Nvidia GTX 1050 Ti (nvidia-driver: 535)

Hors ligne