LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 12-08-2016, 08:27 PM   #1
Yoda47
Member
 
Registered: Jan 2006
Location: MI, USA
Distribution: Fedora 28
Posts: 46

Rep: Reputation: 15
Monitor at 1024x768 and won't let me change it


I built out a new computer and installed OpenSuse Tumbleweed on it.

It boots up and the resolution is at 1024x768 and won't let me change it in KDE system config (it shows "Default" as the display, and 1024x768 as the only resolution with no option to change it.)

Graphics: integrated Intel on a Skylake Core i7
Desktop: KDE Plasma 5

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*

cvt 1280x1024:
# 1280x1024 59.89 Hz (CVT 1.31M4) hsync: 63.67 kHz; pclk: 109.00 MHz
Modeline "1280x1024_60.00" 109.00 1280 1368 1496 1712 1024 1027 1034 1063 -hsync +vsync

I added this information to the xorg monitor conf file (along with a screen section) and rebooted.

It took a long time, and came up to a text login screen.

I rebooted, and at the grub menu picked to boot into recovery mode.

In recovery mode, the resolution was fine, and KDE system config showed the correct monitor (Samsung SyncMaster 213T), and all supported resolutions are listed.

So I deleted the problem config file and restored it from backup and rebooted.

It's back to 1024x768 and won't let me change it.

What'd I miss/do wrong? (and why does recovery mode properly detect the monitor?)
 
Old 12-09-2016, 12:05 PM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,144

Rep: Reputation: 2308Reputation: 2308Reputation: 2308Reputation: 2308Reputation: 2308Reputation: 2308Reputation: 2308Reputation: 2308Reputation: 2308Reputation: 2308Reputation: 2308
Code:
maximum 1024 x 768
That's configured somewhere in xorg.conf.d/. Try these commands on your box
Code:
bash-4.3$ cd /etc/X11/xorg.conf.d
bash-4.3$ grep Virtual *
To explain my numbers, I have a setup which lists an external monitor & a projector, as separate left/right screens. Here's what I get
Code:
20-video.conf:        Virtual  2880 720   
20-video.conf:        Virtual  3520 1080
You need to set up the Virtual screen size. Loads about it google.
 
Old 12-09-2016, 12:42 PM   #3
seasons
Member
 
Registered: Dec 2014
Distribution: siduction
Posts: 264

Rep: Reputation: 58
You may also want to compare the /var/log/Xorg.0.log from a normal boot and from a recovery mode boot.
 
Old 12-09-2016, 05:06 PM   #4
Yoda47
Member
 
Registered: Jan 2006
Location: MI, USA
Distribution: Fedora 28
Posts: 46

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by seasons View Post
You may also want to compare the /var/log/Xorg.0.log from a normal boot and from a recovery mode boot.
Is that a different log file? There aren't any errors in either. (Well, except the one time that I toasted the config file trying to fix this issue, when I restored from the backup I made and rebooted, no errors, but no adjustable resolution either...)
 
Old 12-09-2016, 05:10 PM   #5
Yoda47
Member
 
Registered: Jan 2006
Location: MI, USA
Distribution: Fedora 28
Posts: 46

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by business_kid View Post
Code:
maximum 1024 x 768
That's configured somewhere in xorg.conf.d/. Try these commands on your box
Code:
bash-4.3$ cd /etc/X11/xorg.conf.d
bash-4.3$ grep Virtual *
To explain my numbers, I have a setup which lists an external monitor & a projector, as separate left/right screens. Here's what I get
Code:
20-video.conf:        Virtual  2880 720   
20-video.conf:        Virtual  3520 1080
You need to set up the Virtual screen size. Loads about it google.
Yeah, and every few years when I have to mess with it, the entire contents of /etc/X11/ seem to change. Last year when I had this same issue, I had one xorg conf file, and I just had to add the output from cvt (I think that's the command...) to the monitor section. Now I have separate files for monitor, screen, and device.

Do I still have to mess with Virtual screen size with just one monitor? (and yes, I'll google it and post back here...)
 
Old 12-09-2016, 05:31 PM   #6
Yoda47
Member
 
Registered: Jan 2006
Location: MI, USA
Distribution: Fedora 28
Posts: 46

Original Poster
Rep: Reputation: 15
Some xrandr output for consideration:

xrandr -q
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*
1280x1024_75.00 (0x293) 138.750MHz -HSync +VSync
h: width 1280 start 1368 end 1504 total 1728 skew 0 clock 80.30KHz
v: height 1024 start 1027 end 1034 total 1072 clock 74.90Hz

xrandr --addmode default 1280x1024_75.00
xrandr: Failed to get size of gamma for output default

xrandr --output default --gamma 0:0:0 --mode 1280x1024_75.00
xrandr: screen cannot be larger than 1024x768 (desired size 1280x1024)

on my old computer, the xrandr output looks like this:
xrandr -q
Screen 0: minimum 8 x 8, current 1280 x 1024, maximum 32767 x 32767
DP1 disconnected (normal left inverted right x axis y axis)
HDMI1 disconnected (normal left inverted right x axis y axis)
VGA1 connected primary 1280x1024+0+0 (normal left inverted right x axis y axis) 340mm x 270mm
1280x1024 60.02*+ 75.02
1280x1024_60.00 59.89
1152x864 75.00
1024x768 75.03
VIRTUAL1 disconnected (normal left inverted right x axis y axis)

It lists VGA, HDMI, and DVI outputs, while the xrandr output on the new computer (the one I'm having the problem on) lists only "default connected primary"
Is that the problem? Driver? Motherboard driver????

Last edited by Yoda47; 12-09-2016 at 06:10 PM.
 
Old 12-09-2016, 06:40 PM   #7
Yoda47
Member
 
Registered: Jan 2006
Location: MI, USA
Distribution: Fedora 28
Posts: 46

Original Poster
Rep: Reputation: 15
Solved my issue.

It's been bugging me that:

a. xrandr didn't list an output type
b. Recover mode worked fine.

So I googled the difference between normal boot and recovery mode (Google doesn't directly answer this by the way. The difference is the command line parameters in GRUB. View them by pressing the 'e' key at the GRUB menu.)

So, I looked at them. Normal mode had "nomodeset" added. (I had to add this to get it boot at setup. (I was using a different monitor))

I removed nomodeset and rebooted, it works fine now, and I can choose various resolutions from KDE settings.

So I feel kinda dumb, as I caused this, but I learned something, so...
 
  


Reply

Tags
monitor output, suse, x11


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
Ubuntu 10.04 monitor resolution 1024x768 not available. normh Linux - Newbie 2 01-06-2013 06:38 PM
Can't increase resolution over 1024x768 in X with monitor devoutjew Linux - Software 7 04-14-2007 12:05 PM
1024x768 monitor resolution in debian danimal87 Linux - Newbie 1 06-13-2005 09:32 PM
My monitor will not go into 1024x768 jon2kx Linux - Hardware 9 08-19-2004 02:09 PM
My monitor could not be set at 1024x768 ! wlaw Linux - Hardware 4 06-17-2004 06:43 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 03:42 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