Skip to content

App disrupts graphical shell on KDE #2

Open

Description

@benvantende

When opening the application in KDE (Kubuntu) the app seems to disrupt the graphical shell. Some apps get a black border around them, like Telegram and specifically Brave gets a very large black border. Also, my windows stop being 'wobbly'. When I quit the nordvpn gui my screen flicker and everything returns to normal.

Activity

  1. GoBig87 commented on Dec 30, 2021

    @GoBig87
    Owner

    Can you run the NordVpnLinuxGUI.sh script and send me the Kivy env that your system uses? Mines

    (venv) jason.inbody@san-00000408:~/GitProjects/NordVpnLinuxGUI$ ./NordVPNLinuxGUI.sh 
    [INFO   ] [Logger      ] Record log in /home/jason.inbody/.kivy/logs/kivy_21-12-30_0.txt
    [INFO   ] [Kivy        ] v2.0.0
    [INFO   ] [Kivy        ] Installed at "/home/jason.inbody/GitProjects/NordVpnLinuxGUI/venv/lib/python3.8/site-packages/kivy/__init__.py"
    [INFO   ] [Python      ] v3.8.10 (default, Nov 26 2021, 20:14:08) 
    [GCC 9.3.0]
    [INFO   ] [Python      ] Interpreter at "/home/jason.inbody/GitProjects/NordVpnLinuxGUI/venv/bin/python"
    [INFO   ] [Factory     ] 186 symbols loaded
    [INFO   ] [Image       ] Providers: img_tex, img_dds, img_sdl2, img_pil (img_ffpyplayer ignored)
    [INFO   ] [KivyMD      ] 0.104.2, git-bc7d1f5, 2021-06-06 (installed at "/home/jason.inbody/GitProjects/NordVpnLinuxGUI/venv/lib/python3.8/site-packages/kivymd/__init__.py")
    [INFO   ] [Text        ] Provider: sdl2
    [INFO   ] [Window      ] Provider: sdl2
    [INFO   ] [GL          ] Using the "OpenGL" graphics system
    [INFO   ] [GL          ] Backend used <sdl2>
    [INFO   ] [GL          ] OpenGL version <b'4.6 (Compatibility Profile) Mesa 20.2.6'>
    [INFO   ] [GL          ] OpenGL vendor <b'Intel'>
    [INFO   ] [GL          ] OpenGL renderer <b'Mesa Intel(R) UHD Graphics 620 (KBL GT2)'>
    [INFO   ] [GL          ] OpenGL parsed version: 4, 6
    [INFO   ] [GL          ] Shading version <b'4.60'>
    [INFO   ] [GL          ] Texture max size <16384>
    [INFO   ] [GL          ] Texture max units <32>
    [INFO   ] [Window      ] auto add sdl2 input provider
    [INFO   ] [Window      ] virtual keyboard not allowed, single mode, not docked
    

    Kivy is built on top of sdl2 but can fall back to pygame I think on some systems. My first guess would be that its a OpenGL/SDL2 issue possibly?

  2. benvantende commented on Jan 4, 2022

    @benvantende
    Author

    Sorry it took some time to react :) Holidays. Here is the output

    [INFO ] [Logger ] Record log in /home/ben/.kivy/logs/kivy_22-01-04_0.txt
    [INFO ] [Kivy ] v2.0.0
    [INFO ] [Kivy ] Installed at "/home/ben/Dropbox/temp/NordVpnLinuxGUI-main/venv/lib/python3.9/site-packages/kivy/init.py"
    [INFO ] [Python ] v3.9.7 (default, Sep 10 2021, 14:59:43)
    [GCC 11.2.0]
    [INFO ] [Python ] Interpreter at "/home/ben/Dropbox/temp/NordVpnLinuxGUI-main/venv/bin/python"
    [INFO ] [Factory ] 186 symbols loaded
    [INFO ] [Image ] Providers: img_tex, img_dds, img_sdl2, img_pil (img_ffpyplayer ignored)
    [INFO ] [KivyMD ] 0.104.2, git-bc7d1f5, 2021-06-06 (installed at "/home/ben/Dropbox/temp/NordVpnLinuxGUI-main/venv/lib/python3.9/site-packages/kivymd/init.py")
    [INFO ] [Text ] Provider: sdl2
    [INFO ] [Window ] Provider: sdl2
    [INFO ] [GL ] Using the "OpenGL" graphics system
    [INFO ] [GL ] Backend used
    [INFO ] [GL ] OpenGL version <b'4.6 (Compatibility Profile) Mesa 20.0.5'>
    [INFO ] [GL ] OpenGL vendor <b'X.Org'>
    [INFO ] [GL ] OpenGL renderer <b'AMD Radeon (TM) RX 480 Graphics (POLARIS10, DRM 3.41.0, 5.13.0-23-generic, LLVM 10.0.0)'>
    [INFO ] [GL ] OpenGL parsed version: 4, 6
    [INFO ] [GL ] Shading version <b'4.60'>
    [INFO ] [GL ] Texture max size <16384>
    [INFO ] [GL ] Texture max units <32>
    [INFO ] [Window ] auto add sdl2 input provider
    [INFO ] [Window ] virtual keyboard not allowed, single mode, not docked
    [WARNING] [Factory ] Ignored class "DialogContainer" re-declaration. Current - module: None, cls: None, baseclass: MDCard+FakeRectangularElevationBehavior, filename: None. Ignored - module: None, cls: None, baseclass: MDCard+FakeRectangularElevationBehavior, filename: None.

  3. sk4t0 commented on Oct 2, 2022

    @sk4t0

    Same here, using Garuda linux and KDE. I also use an AMD cpu/gpu as the user above. Here is my output:

    [INFO   ] [Logger      ] Record log in /home/skato/.kivy/logs/kivy_22-10-02_2.txt
    [INFO   ] [Kivy        ] v2.1.0
    [INFO   ] [Kivy        ] Installed at "/home/skato/NordVpnLinuxGUI/venv/lib/python3.10/site-packages/kivy/__init__.py"
    [INFO   ] [Python      ] v3.10.7 (main, Sep  6 2022, 21:22:27) [GCC 12.2.0]
    [INFO   ] [Python      ] Interpreter at "/home/skato/NordVpnLinuxGUI/venv/bin/python"
    [INFO   ] [Logger      ] Purge log fired. Processing...
    [INFO   ] [Logger      ] Purge finished!
    [INFO   ] [Factory     ] 189 symbols loaded
    [INFO   ] [Image       ] Providers: img_tex, img_dds, img_sdl2, img_pil (img_ffpyplayer ignored)
    [INFO   ] [KivyMD      ] 0.104.2, git-bc7d1f5, 2021-06-06 (installed at "/home/skato/NordVpnLinuxGUI/venv/lib/python3.10/site-packages/kivymd/__init__.py")
    [INFO   ] [Text        ] Provider: sdl2
    [INFO   ] [Window      ] Provider: sdl2
    [INFO   ] [GL          ] Using the "OpenGL" graphics system
    [INFO   ] [GL          ] Backend used <sdl2>
    [INFO   ] [GL          ] OpenGL version <b'4.6 (Compatibility Profile) Mesa 22.1.7'>
    [INFO   ] [GL          ] OpenGL vendor <b'AMD'>
    [INFO   ] [GL          ] OpenGL renderer <b'AMD Radeon Vega 10 Graphics (raven, LLVM 14.0.6, DRM 3.47, 5.19.12-zen1-1-zen)'>
    [INFO   ] [GL          ] OpenGL parsed version: 4, 6
    [INFO   ] [GL          ] Shading version <b'4.60'>
    [INFO   ] [GL          ] Texture max size <16384>
    [INFO   ] [GL          ] Texture max units <32>
    [INFO   ] [Window      ] auto add sdl2 input provider
    [INFO   ] [Window      ] virtual keyboard not allowed, single mode, not docked
    [WARNING] [Factory     ] Ignored class "DialogContainer" re-declaration. Current -  module: None, cls: None, baseclass: MDCard+FakeRectangularElevationBehavior, filename: None. Ignored -  module: None, cls: None, baseclass: MDCard+FakeRectangularElevationBehavior, filename: None.
    [INFO   ] [GL          ] NPOT texture support is available
    
  4. ZachAR3 commented on Feb 20, 2023

    @ZachAR3
    Contributor

    Can you run the NordVpnLinuxGUI.sh script and send me the Kivy env that your system uses? Mines

    (venv) jason.inbody@san-00000408:~/GitProjects/NordVpnLinuxGUI$ ./NordVPNLinuxGUI.sh 
    [INFO   ] [Logger      ] Record log in /home/jason.inbody/.kivy/logs/kivy_21-12-30_0.txt
    [INFO   ] [Kivy        ] v2.0.0
    [INFO   ] [Kivy        ] Installed at "/home/jason.inbody/GitProjects/NordVpnLinuxGUI/venv/lib/python3.8/site-packages/kivy/__init__.py"
    [INFO   ] [Python      ] v3.8.10 (default, Nov 26 2021, 20:14:08) 
    [GCC 9.3.0]
    [INFO   ] [Python      ] Interpreter at "/home/jason.inbody/GitProjects/NordVpnLinuxGUI/venv/bin/python"
    [INFO   ] [Factory     ] 186 symbols loaded
    [INFO   ] [Image       ] Providers: img_tex, img_dds, img_sdl2, img_pil (img_ffpyplayer ignored)
    [INFO   ] [KivyMD      ] 0.104.2, git-bc7d1f5, 2021-06-06 (installed at "/home/jason.inbody/GitProjects/NordVpnLinuxGUI/venv/lib/python3.8/site-packages/kivymd/__init__.py")
    [INFO   ] [Text        ] Provider: sdl2
    [INFO   ] [Window      ] Provider: sdl2
    [INFO   ] [GL          ] Using the "OpenGL" graphics system
    [INFO   ] [GL          ] Backend used <sdl2>
    [INFO   ] [GL          ] OpenGL version <b'4.6 (Compatibility Profile) Mesa 20.2.6'>
    [INFO   ] [GL          ] OpenGL vendor <b'Intel'>
    [INFO   ] [GL          ] OpenGL renderer <b'Mesa Intel(R) UHD Graphics 620 (KBL GT2)'>
    [INFO   ] [GL          ] OpenGL parsed version: 4, 6
    [INFO   ] [GL          ] Shading version <b'4.60'>
    [INFO   ] [GL          ] Texture max size <16384>
    [INFO   ] [GL          ] Texture max units <32>
    [INFO   ] [Window      ] auto add sdl2 input provider
    [INFO   ] [Window      ] virtual keyboard not allowed, single mode, not docked
    

    Kivy is built on top of sdl2 but can fall back to pygame I think on some systems. My first guess would be that its a OpenGL/SDL2 issue possibly?

    Looks the be related to this issue where the desktop compositor gets disabled when running Kivy apps if it helps kivy/kivy#5810

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions