How do you fix screen resolution

New to Debian (Or Linux in general)? Ask your questions here!

How do you fix screen resolution

Postby jacatone » 2020-09-02 03:23

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?
jacatone
 
Posts: 12
Joined: 2014-04-26 20:08

Re: How do you fix screen resolution

Postby cuckooflew » 2020-09-02 07:40

https://lists.debian.org/debian-user/2017/02/msg00231.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?query=how+to+set+screen+resolution+on+Debian&cat=web&pl=ext-ff&language=english&extVersion=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!
cuckooflew
 
Posts: 683
Joined: 2018-05-10 19:34
Location: Some where out west


Re: How do you fix screen resolution

Postby Head_on_a_Stick » 2020-09-02 16:11

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.
Black Lives Matter

Debian buster-backports ISO image: for new hardware support
User avatar
Head_on_a_Stick
 
Posts: 12485
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: How do you fix screen resolution

Postby sgosnell » 2020-09-02 23:35

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.
sgosnell
 
Posts: 779
Joined: 2011-03-14 01:49

Re: How do you fix screen resolution

Postby stevepusser » 2020-09-03 02:49

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
User avatar
stevepusser
 
Posts: 11981
Joined: 2009-10-06 05:53

Re: How do you fix screen resolution

Postby sgosnell » 2020-09-03 23:23

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.
sgosnell
 
Posts: 779
Joined: 2011-03-14 01:49

Re: How do you fix screen resolution

Postby stevepusser » 2020-09-04 07:52

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
User avatar
stevepusser
 
Posts: 11981
Joined: 2009-10-06 05:53

Re: How do you fix screen resolution

Postby sgosnell » 2020-09-05 03:16

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.
sgosnell
 
Posts: 779
Joined: 2011-03-14 01:49

Re: How do you fix screen resolution

Postby stevepusser » 2020-09-05 04:43

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
User avatar
stevepusser
 
Posts: 11981
Joined: 2009-10-06 05:53

Re: How do you fix screen resolution

Postby sgosnell » 2020-09-05 13:52

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.
sgosnell
 
Posts: 779
Joined: 2011-03-14 01:49

Re: How do you fix screen resolution

Postby stevepusser » 2020-09-06 02:24

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
User avatar
stevepusser
 
Posts: 11981
Joined: 2009-10-06 05:53

Re: How do you fix screen resolution

Postby sgosnell » 2020-09-06 02:38

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
sgosnell
 
Posts: 779
Joined: 2011-03-14 01:49

Re: How do you fix screen resolution

Postby Head_on_a_Stick » 2020-09-06 11:44

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
Black Lives Matter

Debian buster-backports ISO image: for new hardware support
User avatar
Head_on_a_Stick
 
Posts: 12485
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: How do you fix screen resolution

Postby sgosnell » 2020-09-06 17:31

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
sgosnell
 
Posts: 779
Joined: 2011-03-14 01:49


Return to Beginners Questions

Who is online

Users browsing this forum: No registered users and 6 guests

fashionable