13.1 cannot select and run at max resolution on Sony VGN-C13G

Hello,
This is my first post so please forgive me any important omissions.
I selected for my old Sony Vaio VGN-C13G this particular distribution as it seems to me the most promising. Unfortunately OpenSuSE 13.1 detects only 1024x768. Before Windows XP was working at 1280 x 800 on this PC without any problem. I also tried other major distributions but only Knoppix and Puppy Linux can detect and work at 1280 x 800.

More details:

1.Mobile 945GM/GMS, 943/940GML Express Intel Mobile 945GM/GMS/GME, 943/940GML Express
VGA compatible controller: Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller (rev 03)
Display controller: Intel Corporation Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller (rev 03)

  1. zbyszek@linux-44wk:~> 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 0.0*
    1024x600 0.0
    800x600 0.0
    640x480 0.0

  2. /sbin/lspci -nnk | grep VGA -A2
    00:02.0 VGA compatible controller [0300]: Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller [8086:27a2] (rev 03)
    Subsystem: Sony Corporation Device [104d:820f]
    Kernel modules: i915

  3. Tried to install latest Intel driver for Fedora (only Fedora and Ubuntu are available). It was rejected because of lack of appropriate dependencies. When I had original Ubuntu (Lubuntu, Xubuntu) and installed Intel driver resolution was still only 1024x768

  4. zbyszek@linux-44wk:~> rpm -ql xorg-x11-driver-video

/etc/X11/xorg.conf.d/50-device.conf
/etc/X11/xorg.conf.d/50-monitor.conf
/etc/X11/xorg.conf.d/50-screen.conf
/usr/share/doc/packages/xorg-x11-driver-video
/usr/share/doc/packages/xorg-x11-driver-video/README.meta

5.After I entered “man intel” it showed that my graphics is supported by this driver:

DESCRIPTION
intel is an Xorg driver for Intel integrated graphics chipsets. The
driver supports depths 8, 15, 16 and 24. All visual types are sup-
ported in depth 8. For the i810/i815 other depths support the True-
Color and DirectColor visuals. For the i830M and later, only the True-
Color visual is supported for depths greater than 8. The driver sup-
ports hardware accelerated 3D via the Direct Rendering Infrastructure
(DRI), but only in depth 16 for the i810/i815 and depths 16 and 24 for
the 830M and later.

  1. On SUSE web site http://en.opensuse.org/HCL:Motherboards I found the following:

Vendor Model ProcessorVendor Chipset SupportsdefaultKernel SUSE Release 64bitSupported Comments
10.1 10.2 10.3 11.0 11.1 11.2 11.3
Aopen i945GTt-
VFA Intel Mobile Yes ? ? ? N/A Supports Core
Intel® Duo - Yonah
945GM
Express
Chipset

  1. I also tried using YaST Control Centre> Hardware>Boot Loader. I changed in Boot Loader Options VGA mode to 1280x800, 16 bits (mode 0x364). After rebooting SUSE flashed some errors and I’m back in 1024 x 768 resolution.

  2. I found in /var/log/Xorg.0.log a lot of interesting info about video setup but I do not understand it. This file is huge. How can I copy the contents of it (if its needed) for my next post?

Do I expect impossible from OpenSuSE 13.1 to run at 1280 x 800 on this old Sony laptop? I hope that someone will help me.

Hello and welcome.

The only thing I want to explain is something you can not know when not someone tells you.
Please do post computer text by copy/paste from the terminal window between CODE tags. You get the CODE tags by clicking on the # button in the tool bar of the post editor. And, as you already did, but this is my standard request, include in that copy sweep the prompt, the command, the output and the next prompt when applicable.

This is NOT to let you redo the post above, but only for your next posts.

Thank for your cooperation.

Here’s something to take a look at, the first reply here:
http://superuser.com/questions/311378/how-to-get-a-higher-resolution-on-ubuntu-11-04-using-an-intel-chipset

Ignore the script things and just test out the cvt+xrandr to see if the driver allows you to change resolution at all.

You should not install random packages for other distributions, especially not low-level things like drivers. They have to fit to the specific kernel and/or Xorg versions.

  1. I also tried using YaST Control Centre> Hardware>Boot Loader. I changed in Boot Loader Options VGA mode to 1280x800, 16 bits (mode 0x364). After rebooting SUSE flashed some errors and I’m back in 1024 x 768 resolution.

Don’t use that “VGA mode” setting. It’s deprecated and does not even work when KMS is in use (which should be with intel, as the intel driver needs KMS).
You can set the resolution below with “Console Resolution”.
But actually “Autodetect by Grub2” should work fine with intel chips.

  1. I found in /var/log/Xorg.0.log a lot of interesting info about video setup but I do not understand it. This file is huge. How can I copy the contents of it (if its needed) for my next post?

Please upload the file to a pasting/sharing site like http://susepaste.org and post a link.

This file should give a clue why your system does not use the full resolution.

zbyszek@linux-44wk:~> xrandrxrandr: 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        0.0* 
   1024x600        0.0  
   800x600         0.0  
   640x480         0.0  
zbyszek@linux-44wk:~> 

zbyszek@linux-44wk:~> cvt 1280 800# 1280x800 59.81 Hz (CVT 1.02MA) hsync: 49.70 kHz; pclk: 83.50 MHz
Modeline "1280x800_60.00"   83.50  1280 1352 1480 1680  800 803 809 831 -hsync +vsync
zbyszek@linux-44wk:~> 

It looks promising.

  1. Good lesson I’ll never play with drivers from foreign distros.
  2. I don’t like to change anything in YaST Control Centre> Hardware>Boot Loader until we fix up resolution problem
  3. I uploaded /var/log/Xorg.0.log and please find a link below
    By puszkin, 1 Second ago, written in Text. This post will expire in 6 Days
    URL: SUSE Paste

You still need to invoke the desired mode with ‘xrandr --newmode…’, ‘xrandr --addmode…’, and 'xrandr --output… ’ commands as described in the ‘how-to’. This is really only useful for testing purposes, and won’t survive a reboot. However, if the xrandr testing works, then you can proceed to making it permanent by editing some Xorg configuration files (not hard to do).

zbyszek@linux-44wk:~> xrandr --newmode 1280x800_new 83.50  1280 1352 1480 1680  800 803 809 831xrandr: Failed to get size of gamma for output default
zbyszek@linux-44wk:~> xrandr --addmode VGA1 1280x800_new
xrandr: Failed to get size of gamma for output default
xrandr: cannot find output "VGA1"
zbyszek@linux-44wk:~> xrandr --output VGA1 --mode VGA1 1280x800_new
xrandr: unrecognized option '1280x800_new'
Try 'xrandr --help' for more information.
zbyszek@linux-44wk:~>
zbyszek@linux-44wk:~> xrandr --newmode 1280x800_new 83.50  1280 1352 1480 1680  800 803 809 831
xrandr: Failed to get size of gamma for output default

If you got errors with the ‘xrandr --newmode’ command, then anything after that is a waste of time

zbyszek@linux-44wk:~> xrandr --addmode VGA1 1280x800_new
xrandr: Failed to get size of gamma for output default
xrandr: cannot find output "VGA1"

Did you just copy the example perhaps? You have to use the output(s) relevant to your graphics card. Those will be listed using

xrandr

However, if the new mode wasn’t accepted this won’t work anyway.

xrandr: Failed to get size of gamma for output default

Actually, the errors may not be a show stopper here, but you will need to use the correct output name.

As Deano said, you have to adjust the VGA1 to the device you have listed in your randr, could be LVDS or some such.

I havn’t blindly copied howto example. I really entered numbers generated on my laptop.
Regarding to this message: xrandr: Failed to get size of gamma for output default
I’m sorry I don’t understand your meaning of “correct output name”. What’s this? Where can I get it from?

miuku@mariposa:~> xrandr

Screen 0: minimum 1 x 1, current 1360 x 768, maximum 8192 x 8192
Virtual1 connected 1360x768+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
   800x600        60.0 +   60.3  
   2560x1600      60.0  
   1920x1440      60.0  
   1856x1392      60.0  
   1792x1344      60.0  
   1920x1200      59.9  
   1600x1200      60.0  
   1680x1050      60.0  
   1400x1050      60.0  
   1280x1024      60.0  
   1440x900       59.9  
   1280x960       60.0  
   1360x768       60.0* 
   1280x800       59.8  
   1152x864       75.0  
   1280x768       59.9  
   1024x768       60.0  
   640x480        59.9  

miuku@mariposa:~> xrandr --output Virtual1 --mode 1360x768

You need to replace the VGA1 with the name of your display device, in my case it was Virtual1 as you can see from xrandr. Yours is something else. You’ll of course want to replace the mode with the new one you’ve created.

Well, but you already did.
I was mainly suggesting to revert your change, and try the other option to change the resolution.

It might interfere with the graphics driver.

I uploaded /var/log/Xorg.0.log and please find a link below

That shows that your system is not using the intel driver at all, but vesa.
That explains why you get the wrong resolution and why xrandr prints that error message.

Unfortunately I have no idea why vesa is used instead of intel (or fbdev even), there’s no hint in the log AFAICS.
Some thoughts:
Check that you have NO_KMS_IN_INITRD=“no” in /etc/sysconfig/kernel, “yes” might give problems with KMS drivers like intel.
Run “sudo /sbin/mkinitrd” afterwards if you change that. Or just try to run that anyway, maybe something is missing from your initrd.

Please post the output of:

/sbin/lspci -nnk | grep -A3 VGA

This should show which card you have exactly and which kernel module is in use.

I vaguely remember a problem with certain old intel chips. But I have to find that mailinglist thread first.

PS: Please also post the content of /etc/X11/xorg.conf.d/50-device.conf and the output of:

ls /etc/X11/xorg.xonf.d/

[QUOTE=wolfi323;2656173I vaguely remember a problem with certain old intel chips. But I have to find that mailinglist thread first.[/QUOTE]
Found it:
http://lists.opensuse.org/opensuse-xorg/2014-05/msg00001.html

But this was about the i810 which you don’t seem to have. And it was about openSUSE Factory.
So likely not relevant here.

Forget the xrandr commands for now. You need to sort out the graphics driver issue as your Xorg log shows. With the vesa driver in use, your display mode options will be limited.

I hope that I reverted YaST Control Centre> Hardware>Boot Loader to old values

I do have NO_KMS_IN_INITRD=“no” in /etc/sysconfig/kernel so I havn’t changed anything

zbyszek@linux-44wk:~> /sbin/lspci -nnk | grep -A3 VGA00:02.0 VGA compatible controller [0300]: Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller [8086:27a2] (rev 03)
        Subsystem: Sony Corporation Device [104d:820f]
        Kernel modules: i915
00:02.1 Display controller [0380]: Intel Corporation Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller [8086:27a6] (rev 03)
zbyszek@linux-44wk:~> 

Content of /etc/X11/xorg.conf.d/50-device.conf

# Having multiple "Device" sections is known to be problematic. Make# sure you don't have in use another one laying around e.g. in another
# xorg.conf.d file or even a generic xorg.conf file. More details can
# be found in https://bugs.freedesktop.org/show_bug.cgi?id=32430.
#
#Section "Device"
#  Identifier "Default Device"
#
#  #Driver "radeon"
#
#  ## Required magic for radeon/radeonhd drivers; output name
#  ## (here: "DVI-0") can be figured out via 'xrandr -q'
#  #Option "monitor-DVI-0" "Default Monitor"
#
#EndSection
zbyszek@linux-44wk:~> ls /etc/X11/xorg.xonf.d/
ls: cannot access /etc/X11/xorg.xonf.d/: No such file or directory
zbyszek@linux-44wk:~> sudo ls /etc/X11/xorg.xonf.d/
root's password:
ls: cannot access /etc/X11/xorg.xonf.d/: No such file or directory
zbyszek@linux-44wk:~>

I wonder if it’s possible to somehow force the installation to use the correct intel driver. If yes I’m willing to start the new installation of SUSE.

i915, which is what you are using, is the right driver for the card - I think Deano must’ve misread something.

Here’s a nice page from Arch wiki about the whole “Undetected resolutions” thing which Intel apparently has on older chips; https://wiki.archlinux.org/index.php/Xrandr#Adding_undetected_resolutions

Also they have some information here; https://wiki.archlinux.org/index.php/Intel_Graphics but remember, don’t just copy paste stuff from there blindly.

No, he hasn’t
i915 is the kernel module in use.

But Xorg uses the vesa driver, not intel.
Have a look at the Xorg.0.log.

And that one just doesn’t detect the monitor’s resolution.

It might be possible to configure the wanted resolution with the vesa driver as well, but the best thing would be to get the intel driver to work of course.

Right you are, that’s what I get for answering from a cellphone :slight_smile: