In previous versions I had how to change the screen resolution, for example from 1024x738 to others.
How do I do this now in Leap 15?
If you’re running a full Desktop,
There’s likely some graphical utility provided by the Desktop to change resolution.
If you can’t find it, you’ll have to state what Desktop you’re running for others to suggest the app.
Else,
The standard command line utility in all Linux is xrandr.
And, if you’re running just a window manager like icewm, then I generally install arandr, which is a graphical frontend to xrandr.
TSU
If I try xrandr I get the follow :
sergio@audio:~> xrandr
xrandr: Failed to get size of gamma for output default
Screen 0: minimum 1024 x 768, current 1024 x 768, maximum 1024 x 768
default connected primary 1024x768+0+0 0mm x 0mm
1024x768 76.00*
sergio@audio:~> cvt 1368 768 60
# 1368x768 59.88 Hz (CVT) hsync: 47.79 kHz; pclk: 85.25 MHz
Modeline "1368x768_60.00" 85.25 1368 1440 1576 1784 768 771 781 798 -hsync +vsync
sergio@audio:~> xrandr --newmode "1368x768_60.00" 85.25 1368 1440 1576 1784 768 771 781 798 -hsync +vsync
xrandr: Failed to get size of gamma for output default
sergio@audio:~>
Forgot to also ask whether you’re running a proprietary video driver, if you are often times configuration software may be provided by that manufacturer (eg nVidia).
Else,
I haven’t run into your problem personally, but it looks like an Internet search on your error returns hits where people can use xrandr to add resolutions.
I’d expect that if you add resolutions, YMMV but good guesses should be rewarded.
If you have problems finding a solution, post and I’ll suggest a reference.
TSU
The information I found on the internet went well until when this error appeared
xrandr: Failed to get size of gamma for output default
I do not know how to solve this.
The following is the first result I get with a Google search, I recommend skimming all the answers but the first answer is what you should focus on.
The xrandr MAN page also looks like a good resource.
From the Ubuntu forum (and others) result, you should get the idea that you can try adding resolutions manually.
The following xrandr MAN page reference includes some fairly clear example lines in the last section
https://www.x.org/releases/X11R7.5/doc/man/man1/xrandr.1.html
TSU
Which graphical GUI are you using?
- KDE Plasma 5?
- GNOME?
- Something else?
1024x768 is most often a fallback due to automagic configuration failure. We need software and hardware information in order to suggest the most appropriate solution to restoring functional automagic. No one should need to use xrandr to create the mode a common single display prefers. Please upload /var/log/Xorg.0.log to http://susepaste.org. The easiest way to do so is the susepaste command running in an xterm or vtty. Also run these two commands logged in as root or using sudo, and paste the output here:
inxi -Gxx
lspci -nnk | grep -A3 VGA
If either report command not found, use zypper or YaST2 to install and try again.
audio:/home/sergio # inxi -Gxx
Graphics: Card: Advanced Micro Devices [AMD/ATI] RC410 [Radeon Xpress 200/1100]
bus-ID: 01:05.0 chip-ID: 1002:5a61
Display Server: x11 (X.Org 1.19.6 )
drivers: fbdev,ati (unloaded: modesetting,vesa,radeon)
Resolution: 1024x768@76.00hz
OpenGL: renderer: llvmpipe (LLVM 5.0, 128 bits)
version: 3.3 Mesa 18.0.2 (compat-v: 3.0) Direct Render: Yes
audio:/home/sergio # lspci -nnk | grep -A3 VGA
01:05.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] RC410 [Radeon Xpress 200/1100] [1002:5a61]
Subsystem: Hewlett-Packard Company Device [103c:2a4f]
Kernel modules: radeon
02:02.0 Modem [0703]: Motorola SM56 Data Fax Modem [1057:3052] (rev 04)
audio:/home/sergio # xrandr
xrandr: Failed to get size of gamma for output default
Screen 0: minimum 1024 x 768, current 1024 x 768, maximum 1024 x 768
default connected primary 1024x768+0+0 0mm x 0mm
1024x768 76.00*
I don’t know to do the below
How do I do that?
Please upload /var/log/Xorg.0.log to http://susepaste.org.
susepaste -n sergelli -e 40320 /var/log/Xorg.0.log
or goto http://susepaste.org/ in a web browser to upload /var/log/Xorg.0.log.
It’s done:
sergio@audio:~> susepaste -n sergelli -e 40320 /var/log/Xorg.0.log
Pasted as:
http://susepaste.org/64792850
http://paste.opensuse.org/64792850
Link is also in your clipboard.
links work if not included in code blocks. This particular one is useless because it was made booted with nomodeset, resulting in use of awful fbdev X driver.
I usually just turn on the computer. I do not even know how to use nomodeset.
How do I do a boot without nomodeset?
Apparently nomodeset must have been necessary to do the installation initially, then unfortunately it was included in the installed bootloader configuration. You can test the effects of its absence by striking the E key when the Grub menu appears, then cursoring to where you see nomodeset appear on the vmlinuz line and delete it before proceeding to boot. If boot then produces expected behavior, open up YaST -> Bootloader, find and remove nomodeset where it appears, and save the new configuration. From then on, booting and screen resolution should behave as expected.
Before running the boot I removed “nomodeset” and my screen now has a new resolution.
Later I will make the change with YaST -> Bootloader
Thank you very much. You made a great orientation
On another machine, (a netbook) I’m having another problem while trying to change the resolution.
Here are the steps and the problem that happened:
sergio@netBook:~> xrandr
Screen 0: minimum 320 x 200, current 1024 x 600, maximum 4096 x 4096
VGA-1 disconnected (normal left inverted right x axis y axis)
LVDS-1 connected primary 1024x600+0+0 (normal left inverted right x axis y axis) 223mm x 125mm
1024x600 60.00*+
800x600 60.00 60.32 56.25
700x525 59.98
640x512 60.02
640x480 60.00 59.94
512x384 60.00
400x300 60.32 56.34
320x240 60.05
DVI-D-1 disconnected (normal left inverted right x axis y axis)
DP-1 disconnected (normal left inverted right x axis y axis)
sergio@netBook:~> sudo cvt 1024 768
[sudo] password for root:
# 1024x768 59.92 Hz (CVT 0.79M3) hsync: 47.82 kHz; pclk: 63.50 MHz
Modeline "1024x768_60.00" 63.50 1024 1072 1176 1328 768 771 775 798 -hsync +vsync
sergio@netBook:~> sudo xrandr --newmode "1024x768_60.00" 63.50 1024 1072 1176 1328 768 771 775 798 -hsync +vsync
[sudo] password for root:
Can't open display
sergio@netBook:~>
I do not know what to do after receiving this message
Please, any ideas?
Then I logged in as root and the command does not seem to have a sequence
But when trying to use the resolution another error appears
sergio@netBook:~> su
Password:
netBook:/home/sergio # xrandr --newmode "1280x720_60.00" 74.50 1280 1344 1472 1664 720 723 728 748 -hsync +vsync
netBook:/home/sergio # xrandr --newmode "1024x768_60.00" 63.50 1024 1072 1176 1328 768 771 775 798 -hsync +vsync
netBook:/home/sergio # xrandr --newmode LVDS-1 "1024x768_60.00"
xrandr: failed to parse 'LVDS-1' as a mode specification
Try 'xrandr --help' for more information.
netBook:/home/sergio #
This is a different problem with a different computer. You should have started a new thread.
A netbook that is running 1024x600 on LVDS is probably running the highest mode it supports already. What make and model is it? What do the following report?
hwinfo --monitor
inxi -Gxx
It might also help if you
susepaste -n sergelli -e 40320 /var/log/Xorg.0.log
Thank you mrmazda. Sorry about have not started a new topic.
Following are the requests made
NetBook Philco Model 10C.B123 LC Family 10C
netBook:/home/sergio # hwinfo --monitor
22: None 00.0: 10002 LCD Monitor
[Created at monitor.125]
Unique ID: rdCR.ZPh_+uNUemA
Parent ID: _Znp.Q2ELOY_wdBB
Hardware Class: monitor
Model: "InfoVision LCD Monitor"
Vendor: IVO "InfoVision"
Device: eisa 0x03f4
Resolution: 1024x600@60Hz
Size: 223x125 mm
Year of Manufacture: 2010
Week of Manufacture: 10
Detailed Timings #0:
Resolution: 1024x600
Horizontal: 1024 1072 1104 1344 (+48 +80 +320) -hsync
Vertical: 600 603 613 625 (+3 +13 +25) -vsync
Frequencies: 50.40 MHz, 37.50 kHz, 60.00 Hz
Config Status: cfg=new, avail=yes, need=no, active=unknown
Attached to: #2 (VGA compatible controller)
netBook:/home/sergio # inxi -Gxx
Resuming in non X mode: xdpyinfo not found. For package install advice run: inxi --recommends
Graphics: Card: Intel Atom Processor D2xxx/N2xxx Integrated Graphics Controller
bus-ID: 00:02.0 chip-ID: 8086:0be1
Display Server: X.org 1.18.3 drivers: modesetting (unloaded: fbdev,vesa)
tty size: 125x31 Advanced Data: N/A for root
etBook:/home/sergio # susepaste -n sergelli -e 40320 /var/log/Xorg.0.log
Pasted as:
http://susepaste.org/84468214
http://paste.opensuse.org/84468214
netBook:/home/sergio #
I can find nothing to suggest better than 1024x600 is possible on that LCD.