Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

How do you fix screen resolution

New to Debian (Or Linux in general)? Ask your questions here!
Post Reply
Message
Author
jacatone
Posts: 12
Joined: 2014-04-26 20:08

How do you fix screen resolution

#1 Post by jacatone »

Have a newer 15.4 Win 10 Pro laptop. When I run the Debian 10.5 live dvd, I only get a resolution of 1024x768 instead of the default 1920x1080. How do I fix this?

cuckooflew
Posts: 677
Joined: 2018-05-10 19:34
Location: Some where out west
Been thanked: 1 time

Re: How do you fix screen resolution

#2 Post by cuckooflew »

https://lists.debian.org/debian-user/20 ... 00231.html
To configure your display manually:

1-create a script in /etc/X11/Xsession.d/ containing the xrandr command you wish applied when X starts. http://fm.no-ip.com/Share/setup contains a long list of xrandr commands that have worked for me with various hardware at various times; or


2-create /etc/X11/xorg.conf.

http://fm.no-ip.com/Share/Linux/xorg.co ... 0x108-mini can be used as a starting skeleton. Comment or remove the DisplaySize line if you don't wish DPI forced to 108. If your gfxcard has multiple outputs, xorg.conf may require an uncommented line in the device section similar one of those contained in:

http://fm.no-ip.com/Share/Linux/50-device.conf , e.g.:
Option "monitor-VGA-0" "DefaultMonitor"

You shouldn't need to specify the driver to use, but if 1680x1050 continues to fail to result you can try putting one in the device section, e.g.:

'Driver "nouveau"'.
https://www.startpage.com/do/dsearch?qu ... sion=1.3.0
Or also

Code: Select all

$man xrandr
DESCRIPTION
Xrandr is used to set the size, orientation and/or reflection of the
outputs for a screen. It can also set the screen size.

If invoked without any option, it will dump the state of the outputs,
showing the existing modes for each of them, with a '+' after the
preferred modes and a '*' after the current mode.

There are a few global options. Other options modify the last output
that is specified in earlier parameters in the command line. Multiple
outputs may be modified at the same time by passing multiple --output
options followed immediately by their corresponding modifying options.

--help Print out a summary of the usage and exit.
Please Read What we expect you have already Done
Search Engines know a lot, and
"If God had wanted computers to work all the time, He wouldn't have invented RESET buttons"
and
Just say NO to help vampires!


User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 132 times

Re: How do you fix screen resolution

#4 Post by Head_on_a_Stick »

jacatone wrote:How do I fix this?
Perhaps try a newer kernel? See my [FAQ] in the HowTo section for details. You will probably also need newer firmware as well (Debian deblob their kernels) and if it's a 10th generation Intel integrated graphics chip then buster won't work at all because they need a newer Mesa version.
deadbang

sgosnell
Posts: 975
Joined: 2011-03-14 01:49

Re: How do you fix screen resolution

#5 Post by sgosnell »

Buster works with 10th generation Intel CPUs, but it requires a newer kernel from backports. I went directly to the 5.7 kernel from Sid, then the 5.8 kernel from Experimental without issues. It does take a 5-series kernel of some type, though. But since the OP can get the desktop running, that's not the issue. With a 10th Gen CPU, generic Buster won't show the desktop at all.
Take my advice, I'm not using it.

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: How do you fix screen resolution

#6 Post by stevepusser »

sgosnell wrote:Buster works with 10th generation Intel CPUs, but it requires a newer kernel from backports. I went directly to the 5.7 kernel from Sid, then the 5.8 kernel from Experimental without issues. It does take a 5-series kernel of some type, though. But since the OP can get the desktop running, that's not the issue. With a 10th Gen CPU, generic Buster won't show the desktop at all.
Did you get fully accelerated video without a newer Mesa on Buster, or just a crippled llvmpipe rendering version? What did "inxi -G" report? I'm asking because that's what our testing showed without a newer Mesa.

But we don't even know how old or even what video GPU the OP has*. Even in the past with fully compatible hardware, these issues were usually due to missing firmware, such as the bazillions of questions about AMD GPUs that just needed "firmware-amd-graphics".

* How about please giving us a clue, jacatone? If you don't know, install inxi and give us the result of "inxi -Gxx" in code tags here.
Last edited by stevepusser on 2020-09-04 07:41, edited 1 time in total.
MX Linux packager and developer

sgosnell
Posts: 975
Joined: 2011-03-14 01:49

Re: How do you fix screen resolution

#7 Post by sgosnell »

Code: Select all

Graphics:  Device-1: Intel driver: i915 v: kernel 
           Display: x11 server: X.Org 1.20.9 driver: modesetting unloaded: fbdev,vesa 
           resolution: 1600x900~60Hz 
           OpenGL: renderer: Mesa Intel UHD Graphics (CML GT2) v: 4.6 Mesa 20.1.6 
I don't know if that's the latest version of Mesa, it's what I got with Sid. I don't see much difference, at least from memory, in the display from when I installed Buster. I don't keep up with graphics issues very much, and what I have is all that my monitor will support, AFAIK.
Take my advice, I'm not using it.

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: How do you fix screen resolution

#8 Post by stevepusser »

Newer Intel graphics does require firmware-misc-nonfree from the nonfree repo section be installed, preferably from buster-backports in Buster, but I would bet your problems in Buster are also due to the need for a newer Mesa for tenth-generation graphic or newer, and backports doesn't have a newer Mesa.

You could see if how the Live Session of MX 19.2 AHS or KDE editions work on your machine, since we've put a lot of work into backporting newer video drivers on a Buster base for that Debian derivative. If it works, at least you have a path on Buster to get it working, probably by adding the MX main and AHS repo sections to a Buster install. They should be fully compatible, AFAIK.
MX Linux packager and developer

sgosnell
Posts: 975
Joined: 2011-03-14 01:49

Re: How do you fix screen resolution

#9 Post by sgosnell »

I took a shotgun approach to firmware. I installed everything that looked pertinent. I may have unused firmware onboard, but I've never known that to be a problem. I should have mentioned the firmware, but I don't know what is required and what isn't. If the description had Intel in it, I installed it, and all the linux firmware available.
Take my advice, I'm not using it.

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: How do you fix screen resolution

#10 Post by stevepusser »

Intel video firmware is in firmware-misc-nonfree, preferably as recent as possible, since it also supports older hardware. I'm not sure exactly what you have there, but it seems likely to be tenth generation--if your CPU is tenth-gen, such as i7-10XXX, then it is for sure, and you can't really get it working correctly in Buster right now, since it does need the newer Mesa.
MX Linux packager and developer

sgosnell
Posts: 975
Joined: 2011-03-14 01:49

Re: How do you fix screen resolution

#11 Post by sgosnell »

As I said, my 17-10xxxx NUC worked fine on Buster with the kernel and firmware from backports. I don't know about the OP's system.
Take my advice, I'm not using it.

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: How do you fix screen resolution

#12 Post by stevepusser »

sgosnell wrote:As I said, my 17-10xxxx NUC worked fine on Buster with the kernel and firmware from backports. I don't know about the OP's system.
Hmmm...that's good to know. Could you help us out and tell us what "inxi -Gxx" reports on your system? Thanks!
MX Linux packager and developer

sgosnell
Posts: 975
Joined: 2011-03-14 01:49

Re: How do you fix screen resolution

#13 Post by sgosnell »

I posted a few posts up, but here it is again. I've done a few updates since, but this is current running Sid. If you really have a need, I can boot from the backported Buster kernel.

Code: Select all

stan@NUC:~$ inxi -Gxx
Graphics:  Device-1: Intel driver: i915 v: kernel bus ID: 00:02.0 chip ID: 8086:9bca 
           Display: x11 server: X.Org 1.20.9 driver: modesetting unloaded: fbdev,vesa 
           resolution: 1600x900~60Hz s-dpi: 96 
           OpenGL: renderer: Mesa Intel UHD Graphics (CML GT2) v: 4.6 Mesa 20.1.7 direct render: Yes 
Take my advice, I'm not using it.

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 132 times

Re: How do you fix screen resolution

#14 Post by Head_on_a_Stick »

sgosnell wrote:

Code: Select all

           OpenGL: renderer: Mesa Intel UHD Graphics (CML GT2) v: 4.6 Mesa 20.1.7 direct render: Yes 
That's the sid version of Mesa so it doesn't tell us very much. Was Mesa being used as the OpenGL renderer when it was installed from buster?

This command is more useful than that silly inxi mega-script:

Code: Select all

glxinfo -B
deadbang

sgosnell
Posts: 975
Joined: 2011-03-14 01:49

Re: How do you fix screen resolution

#15 Post by sgosnell »

I have no archive of anything before I went to Sid. All I can say is that graphics worked, and looked identical to what I see now. But yes, Mesa was the renderer. There has been no change in hardware, and I'm certain Mesa was in use. Once again, note that the backported kernel and firmware was in use. The desktop would not come up without that. The 4.x kernels do not appear to work at all with this hardware, but the 5.x kernels do.

Code: Select all

stan@NUC:~$ glxinfo -B
name of display: :0.0
display: :0  screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
    Vendor: Intel (0x8086)
    Device: Mesa Intel(R) UHD Graphics (CML GT2) (0x9bca)
    Version: 20.1.7
    Accelerated: yes
    Video memory: 3072MB
    Unified memory: yes
    Preferred profile: core (0x1)
    Max core profile version: 4.6
    Max compat profile version: 4.6
    Max GLES1 profile version: 1.1
    Max GLES[23] profile version: 3.2
OpenGL vendor string: Intel
OpenGL renderer string: Mesa Intel(R) UHD Graphics (CML GT2)
OpenGL core profile version string: 4.6 (Core Profile) Mesa 20.1.7
OpenGL core profile shading language version string: 4.60
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile

OpenGL version string: 4.6 (Compatibility Profile) Mesa 20.1.7
OpenGL shading language version string: 4.60
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile

OpenGL ES profile version string: OpenGL ES 3.2 Mesa 20.1.7
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
 [code]stan@NUC:~$ glxinfo -B
name of display: :0.0
display: :0  screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
    Vendor: Intel (0x8086)
    Device: Mesa Intel(R) UHD Graphics (CML GT2) (0x9bca)
    Version: 20.1.7
    Accelerated: yes
    Video memory: 3072MB
    Unified memory: yes
    Preferred profile: core (0x1)
    Max core profile version: 4.6
    Max compat profile version: 4.6
    Max GLES1 profile version: 1.1
    Max GLES[23] profile version: 3.2
OpenGL vendor string: Intel
OpenGL renderer string: Mesa Intel(R) UHD Graphics (CML GT2)
OpenGL core profile version string: 4.6 (Core Profile) Mesa 20.1.7
OpenGL core profile shading language version string: 4.60
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile

OpenGL version string: 4.6 (Compatibility Profile) Mesa 20.1.7
OpenGL shading language version string: 4.60
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile

OpenGL ES profile version string: OpenGL ES 3.2 Mesa 20.1.7
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
Take my advice, I'm not using it.

giorgio.volpe
Posts: 4
Joined: 2010-03-19 13:59

Re: How do you fix screen resolution

#16 Post by giorgio.volpe »

Did you find a solution?
Same problem with a mini-PC (not NUC but with i9 processor and comet lake-u gt2).

giorgio@ltsp00:~$ xrandr
Screen 0: minimum 320 x 200, current 1280 x 800, maximum 16384 x 16384
DP-1 disconnected (normal left inverted right x axis y axis)
HDMI-1 disconnected (normal left inverted right x axis y axis)
DP-2 connected 1280x800+0+0 (normal left inverted right x axis y axis) 598mm x 336mm
1280x800 59.91*
1024x768 60.00
800x600 60.32
720x576 50.00
720x480 60.00 59.94
640x480 60.00 59.94
720x400 70.08


I tried to pass to testing but this doesn't fix!

Any suggestion?

arochester
Emeritus
Emeritus
Posts: 2435
Joined: 2010-12-07 19:55
Has thanked: 14 times
Been thanked: 54 times

Re: How do you fix screen resolution

#17 Post by arochester »

@giorgio.volpe

Please don't just tag your problem onto the end of somebody else's post. This thread is nearly a year old.

Please start your own thread...

Post Reply