libvibrant / vibrantLinux

A tool to automate managing your screen's saturation depending on what programs are running
GNU General Public License v3.0
132 stars 7 forks source link

VibrantLinux isn't working on Fedora 37 (Flatpak version) #51

Open ahmed-h-ayyad opened 1 year ago

ahmed-h-ayyad commented 1 year ago

OS: Fedora 37 Windowing system: Xorg Installed through Flathub Graphics: AMDGPU driver

here's the output of the command flatpak run io.github.libvibrant.vibrantLinux

_Gtk-Message: 20:02:11.127: Failed to load module "canberra-gtk-module" Gtk-Message: 20:02:11.128: Failed to load module "pk-gtk-module" Gtk-Message: 20:02:11.129: Failed to load module "canberra-gtk-module" Gtk-Message: 20:02:11.129: Failed to load module "pk-gtk-module" Qt: Session management error: Could not open network socket terminate called after throwing an instance of 'std::runtimeerror' what(): this system has no supported displays

Scrumplex commented 1 year ago

Can you try running xrandr --verbose and send the output here?

ahmed-h-ayyad commented 1 year ago

@Scrumplex

Identifier: 0x54
    Timestamp:  108938
    Subpixel:   unknown
    Clones:    
    CRTCs:      0 1 2
    Transform:  1.000000 0.000000 0.000000
                0.000000 1.000000 0.000000
                0.000000 0.000000 1.000000
               filter: 
    TearFree: on 
        supported: off, on, auto
    subconnector: Unknown 
        supported: Unknown, VGA, DVI-D, HDMI, DP, Wireless, Native
    vrr_capable: 0 
        range: (0, 1)
    max bpc: 8 
        range: (8, 16)
    underscan vborder: 0 
        range: (0, 128)
    underscan hborder: 0 
        range: (0, 128)
    underscan: off 
        supported: off, on, auto
    scaling mode: None 
        supported: None, Full, Center, Full aspect
    link-status: Good 
        supported: Good, Bad
    CONNECTOR_ID: 63 
        supported: 63
    non-desktop: 0 
        range: (0, 1)
Scrumplex commented 1 year ago

Looks like your GPU doesn't support the CTM property required for libvibrant to work. What hardware and drivers are you using exactly?

ahmed-h-ayyad commented 1 year ago

I don't think so, it was already working before something went wrong.

Scrumplex commented 1 year ago

Maybe something changed because of some package upgrade?

ahmed-h-ayyad commented 1 year ago

the output of xrandr --verbose is different now still not working

here it is

Screen 0: minimum 320 x 200, current 1366 x 768, maximum 16384 x 16384
eDP connected primary 1366x768+0+0 (0x56) normal (normal left inverted right x axis y axis) 309mm x 173mm
        Identifier: 0x52
        Timestamp:  2297623
        Subpixel:   unknown
        Gamma:      1.0:1.0:1.0
        Brightness: 1.0
        Clones:    
        CRTC:       0
        CRTCs:      0 1 2
        Transform:  1.000000 0.000000 0.000000
                    0.000000 1.000000 0.000000
                    0.000000 0.000000 1.000000
                   filter: 
        _KDE_SCREEN_INDEX: 1 
        EDID: 
                00ffffffffffff0009e5970600000000
                01190104951f11780a24109759548e27
                1e505400000001010101010101010101
                010101010101641b568450000c303020
                440035ad1000001a3e12568450000c30
                3020440035ad1000001a000000000000
                00000000000000000000000000000002
                000c46f90b3c6e0b0f19700000000096
        TearFree: on 
                supported: off, on, auto
        vrr_capable: 0 
                range: (0, 1)
        max bpc: 10 
                range: (8, 16)
        underscan vborder: 0 
                range: (0, 128)
        underscan hborder: 0 
                range: (0, 128)
        underscan: off 
                supported: off, on, auto
        scaling mode: None 
                supported: None, Full, Center, Full aspect
        link-status: Good 
                supported: Good, Bad
        CONNECTOR_ID: 53 
                supported: 53
        non-desktop: 0 
                range: (0, 1)
  1366x768 (0x56) 70.120MHz +HSync -VSync *current +preferred
        h: width  1366 start 1414 end 1446 total 1498 skew    0 clock  46.81KHz
        v: height  768 start  772 end  776 total  780           clock  60.01Hz
  1366x768 (0x57) 46.700MHz +HSync -VSync
        h: width  1366 start 1414 end 1446 total 1498 skew    0 clock  31.17KHz
        v: height  768 start  772 end  776 total  780           clock  39.97Hz
  1280x720 (0x58) 70.120MHz +HSync -VSync
        h: width  1280 start 1414 end 1446 total 1498 skew    0 clock  46.81KHz
        v: height  720 start  772 end  776 total  780           clock  60.01Hz
  1024x768 (0x59) 70.120MHz +HSync -VSync
        h: width  1024 start 1414 end 1446 total 1498 skew    0 clock  46.81KHz
        v: height  768 start  772 end  776 total  780           clock  60.01Hz
  800x600 (0x5a) 70.120MHz +HSync -VSync
        h: width   800 start 1414 end 1446 total 1498 skew    0 clock  46.81KHz
        v: height  600 start  772 end  776 total  780           clock  60.01Hz
  640x480 (0x5b) 70.120MHz +HSync -VSync
        h: width   640 start 1414 end 1446 total 1498 skew    0 clock  46.81KHz
        v: height  480 start  772 end  776 total  780           clock  60.01Hz
DisplayPort-0 disconnected (normal left inverted right x axis y axis)
        Identifier: 0x53
        Timestamp:  2297623
        Subpixel:   unknown
        Clones:    
        CRTCs:      0 1 2
        Transform:  1.000000 0.000000 0.000000
                    0.000000 1.000000 0.000000
                    0.000000 0.000000 1.000000
                   filter: 
        TearFree: on 
                supported: off, on, auto
        subconnector: Unknown 
                supported: Unknown, VGA, DVI-D, HDMI, DP, Wireless, Native
        vrr_capable: 0 
                range: (0, 1)
        max bpc: 8 
                range: (8, 16)
        underscan vborder: 0 
                range: (0, 128)
        underscan hborder: 0 
                range: (0, 128)
        underscan: off 
                supported: off, on, auto
        scaling mode: None 
                supported: None, Full, Center, Full aspect
        link-status: Good 
                supported: Good, Bad
        CONNECTOR_ID: 58 
                supported: 58
        non-desktop: 0 
                range: (0, 1)
DisplayPort-1 disconnected (normal left inverted right x axis y axis)
        Identifier: 0x54
        Timestamp:  2297623
        Subpixel:   unknown
        Clones:    
        CRTCs:      0 1 2
        Transform:  1.000000 0.000000 0.000000
                    0.000000 1.000000 0.000000
                    0.000000 0.000000 1.000000
                   filter: 
        TearFree: on 
                supported: off, on, auto
        subconnector: Unknown 
                supported: Unknown, VGA, DVI-D, HDMI, DP, Wireless, Native
        vrr_capable: 0 
                range: (0, 1)
        max bpc: 8 
                range: (8, 16)
        underscan vborder: 0 
                range: (0, 128)
        underscan hborder: 0 
                range: (0, 128)
        underscan: off 
                supported: off, on, auto
        scaling mode: None 
                supported: None, Full, Center, Full aspect
        link-status: Good 
                supported: Good, Bad
        CONNECTOR_ID: 63 
                supported: 63
        non-desktop: 0 
                range: (0, 1)