Page 1 of 1

How to set correct screen resolution in Fossapup?

Posted: Sat Mar 06, 2021 10:36 am
by boof

my screen needs to run at 2540x1440, but always defaults to next larger size, which is too big. how to fix permanently, pls?


Re: lock screen resolution fosserpup

Posted: Sat Mar 06, 2021 3:18 pm
by bigpup

Is this Fossapup64 9.5?

What is providing the graphics?
What hardware?
Pup-Sysinfo can provide this info.

Post the info given in Pup-Sysinfo->Devices->Display->Summary

In a terminal/console
Enter xrandr
Does the output list the resolution you want to use?

Is Fossapup a frugal or live install, you have made a save, and boot using the save?


Re: lock screen resolution fosserpup

Posted: Sat Mar 06, 2021 3:38 pm
by PipzDex

Good morning! (at least for me) :D

@boof
I think the correct resolution is 2560x1440 (not 2540x1440)

Maybe this cause an error and skip to the next resolution

but without more specific info, this is only a speculation

check the post above... is very important!!

Cheers!! :thumbup2:


Re: lock screen resolution fosserpup

Posted: Sat Mar 06, 2021 3:56 pm
by boof
Screenshot(3).jpg
Screenshot(3).jpg (121.97 KiB) Viewed 2959 times
Screenshot(2).jpg
Screenshot(2).jpg (125.45 KiB) Viewed 2959 times

pls, how to cut and paste from terminal, as xandr op is very different from expected


Re: lock screen resolution fosserpup

Posted: Sat Mar 06, 2021 4:10 pm
by bigpup

In terminal
Highlight the text.
That copies.
Middle mouse button clicked to paste.

For other programs.
to paste.
Middle mouse button click.
or
Use the right click menu paste, that most other programs have.


Re: lock screen resolution fosserpup

Posted: Sat Mar 06, 2021 4:16 pm
by boof

default desktop image is too large for screen.

root# xrandr
Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 16384 x 16384
eDP-1 connected (normal left inverted right x axis y axis)
1366x768 60.00 +
1360x768 59.80 59.96
1280x720 59.86 59.74
1024x768 60.00
1024x576 59.95 59.96 59.90 59.82
960x600 59.93 60.00
960x540 59.96 59.99
800x600 60.00 60.32
840x525 60.01 59.88
800x512 60.17
700x525 59.98
800x450 59.95 59.82
640x512 60.02
720x450 59.89
700x450 59.96 59.88
640x480 60.00
684x384 59.88 59.85
680x384 59.80 59.96
640x400 59.88 59.98
576x432 60.06
640x360 59.86 59.83
512x384 60.00
512x288 60.00 59.92
400x300 60.32
DP-1 disconnected (normal left inverted right x axis y axis)
HDMI-1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 698mm x 392mm
1920x1080 50.00*+ 60.00 59.94 24.00 23.98
1920x1080i 60.00 50.00 59.94
1280x720 60.00 50.00 59.94
720x576 50.00
720x576i 50.00
720x480 60.00 59.94
720x480i 60.00 59.94
640x480 60.00 59.94
DP-2 disconnected (normal left inverted right x axis y axis)
HDMI-2 disconnected (normal left inverted right x axis y axis)


Re: lock screen resolution fosserpup

Posted: Sat Mar 06, 2021 4:25 pm
by rcrsn51

my screen needs to run at 2540x1440

Where are you getting this number?


Re: lock screen resolution fosserpup

Posted: Sat Mar 06, 2021 4:34 pm
by boof
Screenshot(5).jpg
Screenshot(5).jpg (111.84 KiB) Viewed 2925 times
Screenshot(4).jpg
Screenshot(4).jpg (98.59 KiB) Viewed 2925 times

it's wrong. it was listed in screen resolutions list, with default 31xx X 1xxx, and it was next one down. whatever i do, the screen resolution will not change. nb laptop monitor disabled, hdmi to main screen 65in 4k that puts the mouse on the 4k screen. i'm using xorg.conf i think


Re: lock screen resolution fosserpup

Posted: Sat Mar 06, 2021 7:27 pm
by PipzDex
boof wrote: Sat Mar 06, 2021 4:34 pm

Screenshot(5).jpgScreenshot(4).jpgit's wrong. it was listed in screen resolutions list, with default 31xx X 1xxx, and it was next one down. whatever i do, the screen resolution will not change. nb laptop monitor disabled, hdmi to main screen 65in 4k that puts the mouse on the 4k screen. i'm using xorg.conf i think

Hi @boof

ok, so if I'm not mistaken what you comment is the following:
You use an intel processor laptop connected to a 65 "4k tv connected by HDMI
Your laptop is an HP intel atom / celeron / pentium X5 processor integrated graphics card intel and etc (intel)

Well, your case is very similar to mine, the different thing is that I am a PC but I have the same problem, except that my base resolution does not exceed 1024x768 and I solved it with this pet that I had to create ...

But first I need to verify this information on your computer, open the terminal and paste these lines,

Code: Select all

xrandr

cvt 2560 1440 60

xrandr --newmode "2560x1440_60.00"  312.25  2560 2752 3024 3488  1440 1443 1448 1493 -hsync +vsync

xrandr --addmode HDMI-1 "2560x1440_60.00"

xrandr --size "2560x1440_60.00"

exit

If the information is correct, then you can install the pet without problems ... BUT first verify if this works


Re: How to set correct screen resolution in Fossapup?

Posted: Sat Mar 06, 2021 9:25 pm
by rcrsn51

it was listed in screen resolutions list, with default 31xx X 1xxx,

What list? I still cannot see where you are getting this number.


Re: How to set correct screen resolution in Fossapup?

Posted: Sat Mar 06, 2021 11:31 pm
by boof

i pasted all the code into terminal, no <enter> 2 butt mouse and my pc went blank. may have gone off, reboot no new resolution. would like load pet, pls post it.


Re: How to set correct screen resolution in Fossapup?

Posted: Sat Mar 06, 2021 11:52 pm
by boof

root# xrandr
Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 16384 x 16384
eDP-1 connected (normal left inverted right x axis y axis)
1366x768 60.00 +
1360x768 59.80 59.96
1280x720 59.86 59.74
1024x768 60.00
1024x576 59.95 59.96 59.90 59.82
960x600 59.93 60.00
960x540 59.96 59.99
800x600 60.00 60.32
840x525 60.01 59.88
800x512 60.17
700x525 59.98
800x450 59.95 59.82
640x512 60.02
720x450 59.89
700x450 59.96 59.88
640x480 60.00
684x384 59.88 59.85
680x384 59.80 59.96
640x400 59.88 59.98
576x432 60.06
640x360 59.86 59.83
512x384 60.00
512x288 60.00 59.92
400x300 60.32
DP-1 disconnected (normal left inverted right x axis y axis)
HDMI-1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 698mm x 392mm
1920x1080 50.00*+ 60.00 59.94 24.00 23.98
1920x1080i 60.00 50.00 59.94
1280x720 60.00 50.00 59.94
720x576 50.00
720x576i 50.00
720x480 60.00 59.94
720x480i 60.00 59.94
640x480 60.00 59.94
DP-2 disconnected (normal left inverted right x axis y axis)
HDMI-2 disconnected (normal left inverted right x axis y axis)
root# cvt 2560 1440 60
# 2560x1440 59.96 Hz (CVT 3.69M9) hsync: 89.52 kHz; pclk: 312.25 MHz
Modeline "2560x1440_60.00" 312.25 2560 2752 3024 3488 1440 1443 1448 1493 -hsync +vsync
root# xrandr --newmode "2560x1440_60.00" 312.25 2560 2752 3024 3488
xrandr: failed to parse '2560x1440_60.00' as a mode specification
Try 'xrandr --help' for more information.
root# xrandr --addmode HDMI-1 "2560x1440_60.00"
xrandr: cannot find mode "2560x1440_60.00"
root# xrandr --size "2560x1440_60.00"
Size 2560x1440 not found in available modes
root#


Re: How to set correct screen resolution in Fossapup?

Posted: Sun Mar 07, 2021 12:07 am
by boof

root# xrandr --help
usage: xrandr [options]
where options are:
--display <display> or -d <display>
--help
-o <normal,inverted,left,right,0,1,2,3>
or --orientation <normal,inverted,left,right,0,1,2,3>
-q or --query
-s <size>/<width>x<height> or --size <size>/<width>x<height>
-r <rate> or --rate <rate> or --refresh <rate>
-v or --version
-x (reflect in x)
-y (reflect in y)
--screen <screen>
--verbose
--current
--dryrun
--nograb
--prop or --properties
--fb <width>x<height>
--fbmm <width>x<height>
--dpi <dpi>/<output>
--output <output>
--auto
--mode <mode>
--preferred
--pos <x>x<y>
--rate <rate> or --refresh <rate>
--reflect normal,x,y,xy
--rotate normal,inverted,left,right
--left-of <output>
--right-of <output>
--above <output>
--below <output>
--same-as <output>
--set <property> <value>
--scale <x>x<y>
--scale-from <w>x<h>
--transform <a>,<b>,<c>,<d>,<e>,<f>,<g>,<h>,<i>
--off
--crtc <crtc>
--panning <w>x<h>[+<x>+<y>[/<track:w>x<h>+<x>+<y>[/<border:l>/<t>/<r>/<b>]]]
--gamma <r>:<g>:<b>
--brightness <value>
--primary
--noprimary
--newmode <name> <clock MHz>
<hdisp> <hsync-start> <hsync-end> <htotal>
<vdisp> <vsync-start> <vsync-end> <vtotal>
[flags...]
Valid flags: +HSync -HSync +VSync -VSync
+CSync -CSync CSync Interlace DoubleScan
--rmmode <name>
--addmode <output> <name>
--delmode <output> <name>
--listproviders
--setprovideroutputsource <prov-xid> <source-xid>
--setprovideroffloadsink <prov-xid> <sink-xid>
--listmonitors
--listactivemonitors
--setmonitor <name> {auto|<w>/<mmw>x<h>/<mmh>+<x>+<y>} {none|<output>,<output>,...}
--delmonitor <name>
r


Re: How to set correct screen resolution in Fossapup?

Posted: Sun Mar 07, 2021 2:45 am
by PipzDex

HI @boof

checking your info, i found a error, you already copy line for line and the line

Code: Select all

xrandr --newmode "2560x1440_60.00" 312.25 2560 2752 3024 3488 1440 1443 1448 1493 -hsync +vsync

you copy only a part of this that's why the script didn't work..

This is my script modified for your case

I really hope this time works succesfully

delete the fake "gz" of the script


Re: How to set correct screen resolution in Fossapup?

Posted: Sun Mar 07, 2021 9:18 pm
by boof
Screenshot(4).jpg
Screenshot(4).jpg (98.59 KiB) Viewed 2319 times
Screenshot(5).jpg
Screenshot(5).jpg (111.84 KiB) Viewed 2319 times

Re: How to set correct screen resolution in Fossapup?

Posted: Fri Apr 16, 2021 10:03 am
by PipzDex

In case of...
Check my post about this topic
Cheers!!

viewtopic.php?p=20420#p20420


Re: How to set correct screen resolution in Fossapup?

Posted: Fri Apr 23, 2021 1:53 am
by boof

this is solved. i turned off overscan on tv.