LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-14-2017, 01:26 PM   #1
momas
LQ Newbie
 
Registered: Apr 2017
Posts: 2

Rep: Reputation: Disabled
How do I change my display to a higher resolution?


I am a newbie. My computer supports until 3840x2160, although in the Settings it is only up to 1024x768. Please tell me how to change it to a higher resolution. If there is something I need to post, please tell me.
 
Old 04-14-2017, 01:39 PM   #2
jsbjsb001
Senior Member
 
Registered: Mar 2009
Location: Earth, unfortunately...
Distribution: Currently: OpenMandriva. Previously: openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,869

Rep: Reputation: 2052Reputation: 2052Reputation: 2052Reputation: 2052Reputation: 2052Reputation: 2052Reputation: 2052Reputation: 2052Reputation: 2052Reputation: 2052Reputation: 2052
Quote:
Originally Posted by momas View Post
I am a newbie. My computer supports until 3840x2160, although in the Settings it is only up to 1024x768. Please tell me how to change it to a higher resolution. If there is something I need to post, please tell me.
If your using a NVIDIA based video card in your PC, you can use the following command (as root/superuser), to change it;

Code:
nvidia-xconfig --mode 1366x768
This will change it to 1366x768 screen resolution. Also you need the NVIDIA driver installed for this command to work.

Restart your PC, for changes to take effect.

Last edited by jsbjsb001; 04-14-2017 at 01:47 PM. Reason: forgot "This will change it to 1366x768 screen resolution. Also you need the NVIDIA driver installed for this...." part.
 
Old 04-14-2017, 02:08 PM   #3
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 873Reputation: 873Reputation: 873Reputation: 873Reputation: 873Reputation: 873Reputation: 873
$ xrandr

$ xrandr --output HDMI-0 --mode 3840x2160

Or whatever name your system calls it. HDMI1 and eDP1 for my hp stream 11. HDMI-0 for my gateway desktop. With multiple displays that command gets longer. Which you likely have since 1024x768 is the lowest common denominator of resolutions available on both displays.

$ xrandr --output HDMI1 --mode 1920x1080 --panning 1920x1080 --primary --output eDP1 --mode 1366x768 --panning 1920x1080+0+0

$ xbacklight -set 0%
$ xset dpms force off
$ xset -dpms s noblank s noexpose

For my hp stream 11 to an external display. With the extra lines to fully turn off the laptops LCD and always on the external display. Which I mostly use for youtube videos. While I do other stuff on the other machine.
 
Old 04-14-2017, 02:11 PM   #4
momas
LQ Newbie
 
Registered: Apr 2017
Posts: 2

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Shadow_7 View Post
$ xrandr

$ xrandr --output HDMI-0 --mode 3840x2160

Or whatever name your system calls it. HDMI1 and eDP1 for my hp stream 11. HDMI-0 for my gateway desktop. With multiple displays that command gets longer. Which you likely have since 1024x768 is the lowest common denominator of resolutions available on both displays.

$ xrandr --output HDMI1 --mode 1920x1080 --panning 1920x1080 --primary --output eDP1 --mode 1366x768 --panning 1920x1080+0+0

$ xbacklight -set 0%
$ xset dpms force off
$ xset -dpms s noblank s noexpose

For my hp stream 11 to an external display. With the extra lines to fully turn off the laptops LCD and always on the external display. Which I mostly use for youtube videos. While I do other stuff on the other machine.
I get this when I type :

#xrandr --output HDMI-0 --mode 3840x2160
xrandr: Failed to get size of gamma for output default
warning: output HDMI-0 not found; ignoring
root@debian:/home/rr# xrandr --output HDMI-0 --mode 1920x1080
xrandr: Failed to get size of gamma for output default
warning: output HDMI-0 not found; ignoring

#xrandr
xrandr: Failed to get size of gamma for output default
Screen 0: minimum 640 x 480, current 1024 x 768, maximum 1024 x 768
default connected primary 1024x768+0+0 0mm x 0mm
1024x768 61.00*
800x600 61.00
640x480 60.00
 
Old 04-14-2017, 02:12 PM   #5
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 873Reputation: 873Reputation: 873Reputation: 873Reputation: 873Reputation: 873Reputation: 873
There's arandr if you need more of a GUI approach. And depending on your environment you should be able to right mouse on the background and select properties or display or something to adjust your options. Although I found that lacking relative to xrandr for an ubuntu install I tried once.

The --primary on the previous post so when you full screened something it fills the larger display.
 
Old 04-14-2017, 02:28 PM   #6
RadicalDreamer
Senior Member
 
Registered: Jul 2016
Location: USA
Distribution: Slackware64-Current
Posts: 1,439

Rep: Reputation: 717Reputation: 717Reputation: 717Reputation: 717Reputation: 717Reputation: 717Reputation: 717
What is the make and model of your graphics card?
 
Old 04-14-2017, 05:51 PM   #7
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 873Reputation: 873Reputation: 873Reputation: 873Reputation: 873Reputation: 873Reputation: 873
nvidia doesn't play that nice with xrandr it seems...

$ nvidia-xconfig

????? about the only option the proprietary driver gives you I guess. Otherwise --output 0 or --output "Screen 0" might yield results, although not unique and your list of options kind of suck so probably futile.

nvidia-driver: /usr/share/doc/nvidia-driver/html/xrandrextension.html

so... file:///usr/share/doc/nvidia-driver/html/xrandrextension.html
in a web browser might have additional information.
 
Old 04-14-2017, 07:35 PM   #8
JeremyBoden
Senior Member
 
Registered: Nov 2011
Location: London, UK
Distribution: Debian
Posts: 1,894

Rep: Reputation: 469Reputation: 469Reputation: 469Reputation: 469Reputation: 469
What does the screen support?
Do you have a 4K display?
 
Old 04-14-2017, 07:51 PM   #9
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,513

Rep: Reputation: 1009Reputation: 1009Reputation: 1009Reputation: 1009Reputation: 1009Reputation: 1009Reputation: 1009Reputation: 1009
If you type:
Code:
$ xrandr
without arguments, it will give you information you require to choose an existing output and what settings are available for that output. If you need to add a resolution
Code:
$ cvt
will give you a modeline for use with xrandr to add the resolution.

You're probably specifying an output that doesn't exist, or maybe referring to it incorrectly. For instance, on my machine
Code:
$ xrandr
yields
Code:
bob@bob:~$ xrandr
Screen 0: minimum 320 x 200, current 1600 x 1200, maximum 8192 x 8192
LVDS-1 connected (normal left inverted right x axis y axis)
   1366x768      60.01 +
   1360x768      59.80    59.96  
   1024x768      60.04    60.00  
   960x720       60.00  
   928x696       60.05  
   896x672       60.01  
   960x600       60.00  
   960x540       59.99  
   800x600       60.00    60.32    56.25  
   840x525       60.01    59.88  
   800x512       60.17  
   700x525       59.98  
   640x512       60.02  
   720x450       59.89  
   640x480       60.00    59.94  
   680x384       59.80    59.96  
   576x432       60.06  
   512x384       60.00  
   400x300       60.32    56.34  
   320x240       60.05  
VGA-1 disconnected (normal left inverted right x axis y axis)
HDMI-1 connected primary 1600x1200+0+0 (normal left inverted right x axis y axis) 408mm x 306mm
   1600x1200     60.00*+
   1280x1024     75.02    60.02  
   1280x960      60.00  
   1152x864      75.00  
   1024x768      75.03    70.07    60.00  
   832x624       74.55  
   800x600       72.19    75.00    60.32    56.25  
   640x480       75.00    72.81    66.67    59.94  
   720x400       70.08  
DP-1 disconnected (normal left inverted right x axis y axis)
So, even though there is only one HDMI output, it is called HDMI-1, not HDMI-0.

Last edited by AwesomeMachine; 04-14-2017 at 07:53 PM. Reason: correction
 
Old 04-14-2017, 11:31 PM   #10
mrmazda
Senior Member
 
Registered: Aug 2016
Location: USA
Distribution: openSUSE, Debian, Knoppix, Mageia, Fedora, others
Posts: 3,337
Blog Entries: 1

Rep: Reputation: 1123Reputation: 1123Reputation: 1123Reputation: 1123Reputation: 1123Reputation: 1123Reputation: 1123Reputation: 1123Reputation: 1123
Quote:
Originally Posted by momas View Post
I am a newbie. My computer supports until 3840x2160, although in the Settings it is only up to 1024x768. Please tell me how to change it to a higher resolution. If there is something I need to post, please tell me.
In order to be seriously helpful we do need more information about your computer and the distribution you installed. Try this command:
Code:
inxi -c0 -v1
If it works, paste its contents back here. If it doesn't, try this one:
Code:
lspci -nnk | grep -A3 VGA
If it works, paste its output, and tell us which distro you installed, and the text content of the titlebar of the settings window where you see your display limited to 1024x768.
Also tell us what kind of cable connects your PC to your display.
Attaching the file /var/log/Xorg.0.log here would be helpful as well.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Display resolution too low; no higher setting available... buccaneere Linux - Hardware 2 02-13-2009 10:50 AM
Looking to change the monitor settings for higher resolution Icomey Ubuntu 2 01-15-2006 03:25 PM
Debian: how to setup a higher display resolution? pvv Linux - Newbie 3 09-02-2005 11:38 AM
KDE: Unable to change to higher resolution then 800 x 600? Help me.. slamsonic Linux - General 1 07-27-2005 08:20 AM
Can't increase display resolution higher than 800x600 ravinder Linux - Newbie 4 08-12-2004 08:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:18 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration