Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No response from the program - PyGIWarning: Gtk was imported without specifying a version first. #68

Open
ghost opened this issue Oct 18, 2021 · 1 comment

Comments

@ghost
Copy link

ghost commented Oct 18, 2021

I'm trying to run a program. I have mistakes.

fakexrandr-manage      
/usr/bin/fakexrandr-manage:37: PyGIWarning: Gtk was imported without specifying a version first. Use gi.require_version('Gtk', '3.0') before import to ensure that the right version gets loaded.
  from gi.repository import Gtk, Gdk
/usr/bin/fakexrandr-manage:571: DeprecationWarning: Gtk.ScrolledWindow.add_with_viewport is deprecated
  actual_scroller.add_with_viewport(self.scroller_window)
/usr/bin/fakexrandr-manage:573: PyGTKDeprecationWarning: Using positional arguments with the GObject constructor has been deprecated. Please specify keyword(s) for "label" or use a class specific constructor. See: https://wiki.gnome.org/PyGObject/InitializerDeprecations
  button = Gtk.Button("Create")
Xlib:  extension "RANDR" missing on display ":0".
Traceback (most recent call last):
  File "/usr/bin/fakexrandr-manage", line 732, in <module>
    perform_action(action)
  File "/usr/bin/fakexrandr-manage", line 644, in perform_action
    wnd = MainWindow()
  File "/usr/bin/fakexrandr-manage", line 622, in __init__
    self.load_displays()
  File "/usr/bin/fakexrandr-manage", line 517, in load_displays
    self._displays = query_xrandr()
  File "/usr/bin/fakexrandr-manage", line 144, in query_xrandr
    for i in range(screen_resources.contents.ncrtc):
ValueError: NULL pointer access

I migrated from Nouveau to Nvidia

OS: Arch Linux
plasmashell --version && kf5-config --version                    
plasmashell 5.23.0
Qt: 5.15.2
Szkielety KDE: 5.87.0
kf5-config: 1.0
@phillipberndt
Copy link
Owner

Xlib: extension "RANDR" missing on display ":0".

Fakexrandr needs randr support.

Are you sure you run X11 and not Wayland with X11 emulation?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant