Changing multi-user default resolution when booting and after

Yeah, I tried using that, but display image is distorted. Therefore I’m just writing in fb0/mode file “1920x1080p60” and it works. If I use fbset It is repeating image multiple times on the screen and I can see on the display settings it has failed to negotiate resolution and frame rate.

Command: fbset -fb /dev/fb0 -g 1920 1080 1920 1080 32 --timings 6734 148 88 36 4 44 5 -pixclock 6734

Output:

mode "1920x1080-60"
    # D: 148.500 MHz, H: 67.500 kHz, V: 60.000 Hz
    geometry 1920 1080 1920 1080 32
    timings 6734 148 88 36 4 44 5
    hsync high
    vsync high
    nonstd 1
    accel true
    rgba 8/16,8/8,8/0,8/24
endmode

When using the bash script provided earlier I get:

mode "1920x1080-60"
    # D: 148.500 MHz, H: 67.500 kHz, V: 60.000 Hz
    geometry 1920 1080 1920 1080 32
    timings 6734 148 88 36 4 44 5
    hsync high
    vsync high
    nonstd 1
    accel true
    rgba 8/16,8/8,8/0,8/24
endmode

Both are exactly the same. Bash scripts provides desired output, fbset fails provide desired output.

And none of these records the screen resolution.

When GUI is used, how does it records the settings for the user/screen/output port? Perhaps I could simulate something like that. I would be happy if you just pointed me to the right direction.