Unable to set Monitor Resolution size

After upgrading to Leap 42.3, I’m facing issues with setting the monitor resolution. I’m using HDMI to connect CPU and monitor, whose resolution is 1360x768_60.00 Please find the output of command

oo@linux-xahq:~> 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* 


I tried to set the monitor resolution in /etc/X11/xorg.conf.d/50-monitor.conf as

#Section "Monitor"
#  Identifier "Default Monitor"
#
#  ## If your monitor doesn't support DDC you may override the
#  ## defaults here
#  #  HorizSync 28-85
#  #  VertRefresh 50-100
#  ## Add your mode lines here, use e.g the cvt tool
#  ##  Modeline "1360x768"x60.4   86.00  1360 1424 1536 1792  768 771 777 795 +hsync +vsync (48.0 kHz eP)
#  #  xrandr --newmode "1360x768_60.00"  84.75  1360 1432 1568 1776  768 771 781 798 -hsync +vsync 
#  #  xrandr --addmode HDMI-0 1360x768_60.00
#  #  xrandr --output HDMI-0 --mode 1360x768_60.00  
#
#EndSection


I’m missing something, because of which unable to set monitor resolution. Do you need any other info to fix this?

We really need to figure out why xrandr does not get the correct display modes from the monitor before trying to configure manually. My advice is to examine /var/log/Xorg.0.log first. That will show EDID related discovery.

I’m missing something, because of which unable to set monitor resolution. Do you need any other info to fix this?

You can’t put xrandr commands in an Xorg config file like that. You can add such commands to a script file and have it execute at login if desired, but a good idea to try them from a terminal (as user) first before trying to make them permanent.

Further to this you may well have a driver-related issue here. For example, a basic framebuffer driver may be in use. Examination of the Xorg log will be helpful. If you want to share this lengthy output, I recommend uploading to https://paste.opensuse.org/, change the ‘Delete After’ value to something sensible, and share the link to it here for others to review.

Please find Xorg.O.log file at https://paste.opensuse.org/29985859 . Many Thanks!!!

Okay, so you have AMD graphics hardware. If you examine the ‘LoadModule’ and ‘UnloadModule’ entries, you’ll note that the radeon driver is loaded and unloaded again, and that the framebuffer (FBDEV) driver is used instead.




  1.     24.095] (--) FBDEV(0): Virtual size is 1024x768 (pitch 1024)

  1.     24.095] (**) FBDEV(0):  Built-in mode "current": 78.7 MHz, 59.9 kHz, 75.7 Hz

  1.      24.095] (II) FBDEV(0): Modeline "current"x0.0   78.65  1024 1056  1184 1312  768 772 776 792 -hsync -vsync -csync (59.9 kHz b)




You have the ‘nomodeset’ kernel boot option loaded, which is preventing the KMS radeon driver from loading…

    23.947] Kernel command line:  BOOT_IMAGE=/boot/vmlinuz-4.4.92-31-default  root=UUID=86b32f39-ade7-4b6d-b946-72adcf205c25 ro resume=/dev/sda2  splash=silent nomodeset quiet showopts

You should try removing this via YaST > System > Bootloader and reboot when done.

I’m unable to open Yast Bootloader. The error I’m getting is

Details : Augeas parsing/serializing error: Get did not match entire input at /usr/share/augeas/lenses/dist/sysconfig.aug:63.12-.71:

Caller: /usr/lib64/ruby/gems/2.1.0/gems/cfa-0.3.1/lib/cfa/augeaus_parser.rb:236:in 'report_error'

I couldn’t figure out the issue. Also facing issue with the below command:

grub2-mkconfig -o /boot/grub2/grub.cfg   
insmod: ERROR: could not load module part_gpt: No such file or directory

Gecko Linux installed? Seems similar to this thread…
https://forums.opensuse.org/showthread.php/526076-Can-t-open-Yast-quot-Boot-Loader-quot-menu

You might need to start another thread with descriptive title for this particular issue to get the required advice.

No,I didn’t install Gecko Linux. I’ve been using 42.2 and upgraded to 42.3 using zypper dup. Only opensuse and no other OS.

Hi
What about the ncurses version… open a terminal and switch to root user (su - [not su or sudo]) then run the command;


yast bootloader

Use the tab and arrow keys for navigation.

No, it’s not working. Getting the same error. Learned something new about ncurses.

Hi
So if you reboot and at the grub menu hit the ‘e’ button and manually edit out the nomodeset and the press F10(?) to boot the system. Does it come up ok and then can your edit the bootloader?

Yes, I’m able to modify boot and load the system. But, yast bootloader is not opening and getting the below error:

Details : Augeas parsing/serializing error: Get did not match entire input at /usr/share/augeas/lenses/dist/sysconfig.aug:63.12-.71:


Caller: /usr/lib64/ruby/gems/2.1.0/gems/cfa-0.3.1/lib/cfa/augeaus_parser.rb:236:in 'report_error'

Hi
So can you uninstall augeas?

Should I go ahead?

sudo zypper rm augeas
[sudo] password for oo:  
Loading repository data...
Reading installed packages...
Resolving package dependencies...

The following 2 applications are going to be REMOVED:
  KSudoku YaST

The following 80 packages are going to be REMOVED:
  amarok amarok-lang augeas autoyast2-installation breeze4-style kdebase4-runtime kdebase4-workspace-libs kdelibs4 kdelibs4-branding-openSUSE
  kdelibs4-core kdepimlibs4 kdnssd kget kio_audiocd4 kio_mtp kmag kmousetool kopete kreversi kscd ksudoku libakonadi4 libkcddb4
  libkcompactdisc4 libkde4 libkdegames6 libkdepimlibs4 libkscreen libksuseinstall1 libreoffice-kde4 libsvn_auth_kwallet-1-0
  patterns-openSUSE-kde_yast patterns-openSUSE-yast2_basis ruby2.1-rubygem-cfa ruby2.1-rubygem-cfa_grub2 ruby2.1-rubygem-ruby-augeas sweeper
  yast2 yast2-add-on yast2-apparmor yast2-auth-client yast2-bootloader yast2-control-center yast2-control-center-qt yast2-country
  yast2-firewall yast2-fonts yast2-inetd yast2-installation yast2-iscsi-client yast2-journal yast2-ldap yast2-mail yast2-metapackage-handler
  yast2-network yast2-nfs-client yast2-nis-client yast2-ntp-client yast2-online-update yast2-online-update-frontend yast2-packager yast2-pam
  yast2-printer yast2-proxy yast2-samba-client yast2-samba-server yast2-scanner yast2-security yast2-services-manager yast2-slp yast2-snapper
  yast2-sound yast2-storage yast2-sudo yast2-sysconfig yast2-tune yast2-update yast2-users yast2-vm yast2-vpn

The following 2 patterns are going to be REMOVED:
  kde_yast yast2_basis

80 packages to remove.


Yes leave that alone LOL

Most problem like this are due to mixed versions show zypper lr -d

Have you installed any non standard Ruby versions???

Yes. Ruby was installed along with Anaconda package https://www.anaconda.com/download/#linux But I’m not using Ruby. Current Ruby version in my system is 2.1.9

Well that may be the problem. Perhaps anaconda installed a non compatible ruby version. Yast is written in Ruby

perhaps try the package from here

https://software.opensuse.org/search

I need your help. Please find the command output:

sudo zypper in ruby-2.1-6.4.x86_64.rpm   
[sudo] password for oo:  
Loading repository data...
Reading installed packages...
'ruby = 0:2.1-6.4' is already installed.
No update candidate for 'ruby-2.1-6.4.x86_64'. The highest available version is already installed.
Resolving package dependencies...

Nothing to do.


suzo zypper rm ruby
If 'suzo' is not a typo you can use command-not-found to lookup the package that contains it, like this:
    cnf suzo
oo@linux-xahq:~/Downloads> sudo zypper rm ruby  
Loading repository data...
Reading installed packages...
Resolving package dependencies...

The following 2 applications are going to be REMOVED:
  KSudoku YaST

The following 81 packages are going to be REMOVED:
  amarok amarok-lang autoyast2-installation breeze4-style kdebase4-runtime kdebase4-workspace-libs kdelibs4 kdelibs4-branding-openSUSE
  kdelibs4-core kdepimlibs4 kdnssd kget kio_audiocd4 kio_mtp kmag kmousetool kopete kreversi kscd ksudoku libakonadi4 libkcddb4
  libkcompactdisc4 libkde4 libkdegames6 libkdepimlibs4 libkscreen libksuseinstall1 libreoffice-kde4 libsvn_auth_kwallet-1-0
  patterns-openSUSE-kde_yast patterns-openSUSE-yast2_basis ruby sweeper yast2 yast2-add-on yast2-apparmor yast2-auth-client yast2-bootloader
  yast2-control-center yast2-control-center-qt yast2-country yast2-country-data yast2-firewall yast2-fonts yast2-hardware-detection yast2-inetd
  yast2-installation yast2-iscsi-client yast2-journal yast2-ldap yast2-mail yast2-metapackage-handler yast2-network yast2-nfs-client
  yast2-nis-client yast2-ntp-client yast2-online-update yast2-online-update-frontend yast2-packager yast2-pam yast2-printer yast2-proxy
  yast2-ruby-bindings yast2-samba-client yast2-samba-server yast2-scanner yast2-security yast2-services-manager yast2-slp yast2-snapper
  yast2-sound yast2-storage yast2-sudo yast2-sysconfig yast2-transfer yast2-tune yast2-update yast2-users yast2-vm yast2-vpn

The following 2 patterns are going to be REMOVED:
  kde_yast yast2_basis

81 packages to remove.


Shall I uninstall ruby and install again?

Hi
You can use the -f option to re-install a package from the repos.

But why are you installing a ruby rpm?

What repositories do you have active?


zypper lr -d

Please find:

zypper lr -d
Repository priorities are without effect. All enabled repositories share the same priority.

# | Alias                                 | Name                                                     | Enabled | GPG Check | Refresh | Priority
 | Type     | URI                                                                | Service
--+---------------------------------------+----------------------------------------------------------+---------+-----------+---------+---------
-+----------+--------------------------------------------------------------------+--------
1 | Main Repository (NON-OSS)             | Main Repository (NON-OSS)                                | Yes     | (r ) Yes  | Yes     |   99    
 | yast2    | https://download.opensuse.org/distribution/leap/42.3/repo/non-oss/ |         
2 | Main Repository (OSS)                 | Main Repository (OSS)                                    | Yes     | (r ) Yes  | Yes     |   99    
 | yast2    | https://download.opensuse.org/distribution/leap/42.3/repo/oss/     |         
3 | code-1.18.0-1510145323.el7.x86_64.rpm | code-1.18.0-1510145323.el7.x86_64.rpm                    | Yes     | ( p) Yes  | No      |   99    
 | plaindir | dir:///tmp/mozilla_oo0                                             |         
4 | openSUSE_Leap_42.3_NonFree_Update     | Online updates for openSUSE Leap 42.3 NonFree (standard) | Yes     | (r ) Yes  | Yes     |   99    
 | rpm-md   | http://download.opensuse.org/update/leap/42.3/non-oss/             |         
5 | openSUSE_Leap_42.3_Update             | Online updates for openSUSE Leap:42.3 (standard)         | Yes     | (r ) Yes  | Yes     |   99    
 | rpm-md   | http://download.opensuse.org/update/leap/42.3/oss/