Monitor Resolution Not Sticky

Howdy,
First, I'd like to thank the team for the Wayfire edition, as it is proving to be a valuable learning tool. That said, I have a somewhat frustrating issue to share.

For some reason, my monitor resolution keeps defaulting to 640x480. It happened several times when exploring the live ISO and the issue persists with my install. Apart from a small handful of times, it always defaults to 640x480 on a fresh boot, but it also defaults back to 640x480 when clicking on arbitrary icons/programs in the UI. I confess that I have not yet deciphered the pattern when this happens on the desktop, if indeed there is a pattern, but it can happen as frequently as 2-4 times an hour.

I've researched the docs provided by the developers and I have edited the following lines in the wayfire.ini file, but the issue persists:

From

[output]
mode = auto
position = auto

to

[outupt:DVI-I-1]
mode = [email protected]
position = 0,0

The monitor is a 2560x1440 unit, but because of the limitations of DVI to HDMI conversion, 1920x1080 is the best resolution that can be supported with this hardware. The monitor's primary 1440p Display Port input is being used by a different machine.

I was wondering if you've already come across this, or if I should contact the developers for a suggestion.

Thanks in advance!

 ╭─gumby@tesla in ~/.config/alacritty as 🧙 took 2ms
 ╰─λ garuda-inxi
System:
  Kernel: 6.2.7-zen1-1-zen arch: x86_64 bits: 64 compiler: gcc v: 12.2.1
    parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
    root=UUID=0c508b6b-ff94-4571-852f-2bd7714fe472 rw rootflags=subvol=@
    quiet quiet splash rd.udev.log_priority=3 vt.global_cursor_default=0
    loglevel=3
  Desktop: wayfire v: 0.7.5 info: waybar vt: 1 dm: greetd
    Distro: Garuda Linux base: Arch Linux
Machine:
  Type: Desktop Mobo: ASUSTeK model: M4A88T-I DELUXE v: Rev X.0x
    serial: <superuser required> BIOS: American Megatrends v: 1201
    date: 07/27/2012
CPU:
  Info: model: AMD Phenom II X4 945 bits: 64 type: MCP arch: K10 level: v1
    built: 2009-13 process: AMD 45nm family: 0x10 (16) model-id: 4 stepping: 3
    microcode: 0x10000C8
  Topology: cpus: 1x cores: 4 smt: <unsupported> cache: L1: 512 KiB
    desc: d-4x64 KiB; i-4x64 KiB L2: 2 MiB desc: 4x512 KiB L3: 6 MiB
    desc: 1x6 MiB
  Speed (MHz): avg: 3000 min/max: 800/3000 boost: disabled scaling:
    driver: acpi-cpufreq governor: performance cores: 1: 3000 2: 3000 3: 3000
    4: 3000 bogomips: 24107
  Flags: ht lm nx pae sse sse2 sse3 sse4a svm
  Vulnerabilities: <filter>
Graphics:
  Device-1: NVIDIA GF108 [GeForce GT 440] vendor: Micro-Star MSI
    driver: nouveau v: kernel non-free: series: 390.xx+ status: legacy-active
    (EOL~late 2022) arch: Fermi code: GF1xx process: 40/28nm built: 2010-16
    pcie: gen: 1 speed: 2.5 GT/s lanes: 16 ports: active: DVI-I-1
    empty: HDMI-A-1,VGA-1 bus-ID: 01:00.0 chip-ID: 10de:0de0 class-ID: 0300
    temp: 43.0 C
  Display: wayland server: Xwayland v: 22.1.8 compositor: wayfire v: 0.7.5
    driver: gpu: nouveau display-ID: 1
  Monitor-1: DVI-I-1 model: LG (GoldStar) QHD serial: <filter> built: 2019
    res: 2560x1440 dpi: 93 gamma: 1.2 size: 697x392mm (27.44x15.43")
    diag: 800mm (31.5") ratio: 16:9 modes: max: 1920x1080 min: 640x480
  API: EGL/GBM Message: No known Wayland EGL/GBM data sources.
Audio:
  Device-1: AMD SBx00 Azalia vendor: ASUSTeK driver: snd_hda_intel v: kernel
    bus-ID: 00:14.2 chip-ID: 1002:4383 class-ID: 0403
  Device-2: NVIDIA GF108 High Definition Audio vendor: Micro-Star MSI
    driver: snd_hda_intel v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 16
    bus-ID: 01:00.1 chip-ID: 10de:0bea class-ID: 0403
  Sound API: ALSA v: k6.2.7-zen1-1-zen running: yes
  Sound Interface: sndio v: N/A running: no
  Sound Server-1: PulseAudio v: 16.1 running: no
  Sound Server-2: PipeWire v: 0.3.67 running: yes
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
    vendor: ASUSTeK M4A785/P7P55 driver: r8169 v: kernel pcie: gen: 1
    speed: 2.5 GT/s lanes: 1 port: e800 bus-ID: 02:00.0 chip-ID: 10ec:8168
    class-ID: 0200
  IF: enp2s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
  Device-2: ASUSTek 802.11n Network Adapter type: USB driver: rt2800usb
    bus-ID: 3-3:3 chip-ID: 0b05:1742 class-ID: 0000 serial: <filter>
  IF: wlp0s19f2u3 state: down mac: <filter>
Bluetooth:
  Device-1: ASUSTek Bluetooth Adapter type: USB driver: btusb v: 0.8
    bus-ID: 6-2:3 chip-ID: 0b05:179c class-ID: e001
  Report: bt-adapter ID: hci0 rfk-id: 1 state: down
    bt-service: enabled,running rfk-block: hardware: no software: yes
    address: <filter>
Drives:
  Local Storage: total: 450.91 GiB used: 8.65 GiB (1.9%)
  SMART Message: Required tool smartctl not installed. Check --recommends
  ID-1: /dev/sda maj-min: 8:0 vendor: Western Digital
    model: WD3200AAKS-75L9A0 size: 298.09 GiB block-size: physical: 512 B
    logical: 512 B speed: 3.0 Gb/s type: N/A serial: <filter> rev: 3E02
    scheme: MBR
  ID-2: /dev/sdb maj-min: 8:16 vendor: Western Digital
    model: WD1600BEVT-75ZCT2 size: 149.05 GiB block-size: physical: 512 B
    logical: 512 B speed: 1.5 Gb/s type: HDD rpm: 5400 serial: <filter>
    rev: 1A11 scheme: MBR
  ID-3: /dev/sdc maj-min: 8:32 type: USB vendor: Corsair model: Voyager Mini
    size: 3.77 GiB block-size: physical: 512 B logical: 512 B type: N/A
    serial: <filter> rev: 0.00 scheme: MBR
Partition:
  ID-1: / raw-size: 298.09 GiB size: 298.09 GiB (100.00%)
    used: 8.65 GiB (2.9%) fs: btrfs dev: /dev/sda1 maj-min: 8:1
  ID-2: /home raw-size: 298.09 GiB size: 298.09 GiB (100.00%)
    used: 8.65 GiB (2.9%) fs: btrfs dev: /dev/sda1 maj-min: 8:1
  ID-3: /var/log raw-size: 298.09 GiB size: 298.09 GiB (100.00%)
    used: 8.65 GiB (2.9%) fs: btrfs dev: /dev/sda1 maj-min: 8:1
  ID-4: /var/tmp raw-size: 298.09 GiB size: 298.09 GiB (100.00%)
    used: 8.65 GiB (2.9%) fs: btrfs dev: /dev/sda1 maj-min: 8:1
Swap:
  Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default)
  ID-1: swap-1 type: zram size: 7.76 GiB used: 367.2 MiB (4.6%)
    priority: 100 dev: /dev/zram0
Sensors:
  System Temperatures: cpu: 44.0 C mobo: 40.0 C gpu: nouveau temp: 43.0 C
  Fan Speeds (RPM): cpu: 4066 case-1: 1071
  Power: 12v: 12.16 5v: N/A 3.3v: 3.34 vbat: N/A
Info:
  Processes: 267 Uptime: 1h 58m wakeups: 0 Memory: 7.76 GiB
  used: 4.61 GiB (59.4%) Init: systemd v: 253 default: graphical
  tool: systemctl Compilers: gcc: 12.2.1 Packages: 1280 pm: pacman pkgs: 1271
  libs: 356 tools: octopi,pamac,paru pm: flatpak pkgs: 9 Shell: fish v: 3.6.0
  default: Bash v: 5.1.16 running-in: alacritty inxi: 3.3.25
Garuda (2.6.15-1):
  System install date:     2023-03-19
  Last full system update: 2023-03-22
  Is partially upgraded:   No
  Relevant software:       snapper NetworkManager dracut
  Windows dual boot:       <superuser required>
  Failed units:

Welcome :slight_smile:

Did you try 1280x720?
My monitor 2880x1800, I set to 1440x900

#!/bin/sh
xrandr --output eDP --primary --mode 1440x900 --pos 0x0 --rotate normal 

in .screenlayout
but I am on X11 not wayland

I move thread to Wayfire

check randr, arandr, lxrandr :slight_smile:

Thanks for the reply/suggestion, SGS.
I've tried intermediate resolutions and refresh rates using the wdisplays tool, but I haven't tried intermediate resolutions in the wayfire.ini file.
I'll try this tomorrow and report back.

try wcm (install it if you don't have it).

It's a graphical wayfire configuration tool that can do things like setting the resolution. It worked well for me.

3 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.