Can't change my resolution

Hi,

I am on a Dell Vostro 1220. Resolution of the screen is 1280 x 800, YET I can only get 1024x7something. Krandr does not give me any extra options. This has never happened before and I have run the last three versions of OpenSuse, but happened after a fresh install of 12.3.

This is the grahpics card, it’s intel:

/sbin/lspci -nnk |grep VGA -A2
00:02.0 VGA compatible controller [0300]: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller [8086:2a42] (rev 07)
        Subsystem: Dell Device [1028:02d8]
00:02.1 Display controller [0380]: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller [8086:2a43] (rev 07)

I have tried adding the mode manually:


BlokPCsGroupBasedDHCP-146175204037:/home/dorien # xrandr --newmode "1280x800_60.00" 83.50  1280 1352 1480 1680  800 803 809 831 -hsync +vsync
xrandr: Failed to get size of gamma for output default
BBlokPCsGroupBasedDHCP-146175204037:/home/dorien # 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
BBlokPCsGroupBasedDHCP-146175204037:/home/dorien # xrandr --newmode "1280x800_60.00" 83.50  1280 1352 1480 1680  800 803 809 831 -hsync +vsync^C
BBlokPCsGroupBasedDHCP-146175204037:/home/dorien # xrandr --newmode "1280x800_60.00"   83.50  1280 1352 1480 1680  800 803 809 831 -hsync +vsync
xrandr: Failed to get size of gamma for output default
X Error of failed request:  BadName (named color or font does not exist)
  Major opcode of failed request:  140 (RANDR)
  Minor opcode of failed request:  16 (RRCreateMode)
  Serial number of failed request:  19
  Current serial number in output stream:  19

But it doesn’t work, seems it is not using the correct driver.

So I checked some xorg conf files:

BBlokPCsGroupBasedDHCP-146175204037:/home/dorien # cat /etc/X11/xorg.conf.d/50-monitor.conf
# Having multiple "Monitor" 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 "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
#
#EndSection
BBlokPCsGroupBasedDHCP-146175204037:/home/dorien # cat /etc/X11/xorg.conf.d/50-screen.conf
# Having multiple "Screen" 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 "Screen"
#  Identifier "Default Screen"
#
#  Device "Default Device"
#
#  ## Doesn't help for radeon/radeonhd drivers; use magic in
#  ## 50-device.conf instead
#  Monitor "Default Monitor"
#
#EndSection

Does anybody have an idea on how to proceed? Thanks!

Please upload your Xorg log file (/var/log/Xorg.0.log) to SUSE Paste or similar and post a link.

That file should show which driver is in use and why 1024x768 is the maximum resolution.

And your config files are just the standard supplied by openSUSE. Everything is commented out, so they don’t really configure anything.
But that’s ok.
Most of the time Xorg’s auto-configuration works just fine nowadays…

Here is the log file you requested:
https://dl.dropboxusercontent.com/u/13564139/log.txt

X is using the fbdev driver, that explains the max. resolution of 1024x768.

The cause seems to be that the i915 kernel module is not loaded.
Your lspci output:

/sbin/lspci -nnk |grep VGA -A2
00:02.0 VGA compatible controller [0300]: Intel Corporation Mobile 4  Series Chipset Integrated Graphics Controller [8086:2a42] (rev 07)
        Subsystem: Dell Device [1028:02d8]
00:02.1 Display controller [0380]: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller [8086:2a43] (rev 07)

should contain a line “Kernel driver in use: i915”

You could try to add it manually to the initrd, see here:
https://forums.opensuse.org/english/get-technical-help-here/hardware/468893-graphics-drivers-intel-intergrated-graphics-2.html#post2413793

I followed the steps and added i915 to etc/systemconfig editor.

When I do lsmod (after reboot), the module is not listed. Perhaps it is not installed?

I looked at Intel graphics manager software.opensuse.org:, which seems perfect, but this returns a “your distribution is not supported”.

I guess you could try loading it explicitly. You’ll need to edit /etc/X11/xorg.conf.d/50-device.conf (via editor as root)

sudo nano /etc/X11/xorg.conf.d/50-device.conf

so that it looks like this

Section "Device"
Identifier "Default Device"
#
Driver "intel"
#
EndSection

Save and restart the X-server with CTRL-ALT-Backspace (twice). If this causes the X-server to crash, you’ll need to restart in failsafe mode, and undo the changes (or comment the lines again) made there.

I doubt this will work…
The X server does try to load the intel driver according to the Xorg.0.log.
But the kernel module is not loaded, that’s why X then uses fbdev instead I think.

So I think if you do this, X will just fail to start.

It’s part of the standard kernel package, so it SHOULD be installed.

Please do this (as root) and post the output:

modprobe i915
dmesg | tail

I looked at Intel graphics manager software.opensuse.org:, which seems perfect, but this returns a “your distribution is not supported”.

Yes, that package is not part of the official distribution.
But you can try it nevertheless if you want to. It IS available for 12.3, just click on “Show unsupported packages” and accept the warning.
But I have no idea if that will fix your problem…

True, but the OP claims to have added it to the initrd now. (I don’t know why it wasn’t already there.)

It’s part of the standard kernel package, so it SHOULD be installed.

Agreed.

Yes, and Xorg’s autoconfig does prefer the intel driver if it can be loaded.
So setting it explicitely in X’s config should be unnecessary.

True, although I have read of situations where it wasn’t for one reason or another (and the Xorg logs haven’t been published to peruse in detail).

I did the modproble, this is the output. Krandr does not yet show a higher resolution, but I guess it would require reboot, and then the modprobe would be gone. Perhaps the message brings clarity to you.


BBlokPCsGroupBasedDHCP-146175204037:/home/dorien # modprobe i915
BBlokPCsGroupBasedDHCP-146175204037:/home/dorien # dmesg |tail
   56.055869] ll header: 00000000: ff ff ff ff ff ff 00 26 b9 03 c3 e5 08 00        .......&......
   56.058755] IPv4: martian source 192.168.2.255 from 192.168.2.25, on dev wlan0
   56.058760] ll header: 00000000: ff ff ff ff ff ff 00 26 b9 03 c3 e5 08 00        .......&......
   66.088558] IPv4: martian source 255.255.255.255 from 192.168.2.25, on dev wlan0
   66.088568] ll header: 00000000: ff ff ff ff ff ff 00 26 b9 03 c3 e5 08 00        .......&......
   66.091351] IPv4: martian source 192.168.2.255 from 192.168.2.25, on dev wlan0
   66.091357] ll header: 00000000: ff ff ff ff ff ff 00 26 b9 03 c3 e5 08 00        .......&......
   66.094439] IPv4: martian source 192.168.2.255 from 192.168.2.25, on dev wlan0
   66.094449] ll header: 00000000: ff ff ff ff ff ff 00 26 b9 03 c3 e5 08 00        .......&......
   71.849550] SFW2-INext-DROP-DEFLT IN=eth0 OUT= MAC= SRC=fe80:0000:0000:0000:0226:b9ff:fe03:c3e5 DST=ff02:0000:0000:0000:0000:0000:0000:00fb LEN=84 TC=0 HOPLIMIT=255 FLOWLBL=0 PROTO=UDP SPT=5353 DPT=5353 LEN=44 
BBlokPCsGroupBasedDHCP-146175204037:/home/dorien # 

When I added Intel driver in my config, the system was not able to boot. Sorry, I forgot the error message. I could try again and write it down?

Do you think a kernel update would help?

No need to.
But your dmesg output only shows entries from the firewall.

Could you do the modprobe again (directly after a reboot) and post the whole output of dmesg?
You can redirect it to a file and then upload that file to SUSE Paste or similar:

dmesg > dmesg-output.txt

Do you think a kernel update would help?

Maybe, or maybe not.
I have no idea.

You could try to install the latest stable kernel from here:
Index of /repositories/Kernel:/stable/standard
Just download the appropriate rpm for your system and install it with “zypper in kernel-xxx.rpm”
If the new kernel gives you problems, you can still select the old one under “Advanced options” in the boot menu.

Quite possibly…

Sorry for the late reply, I have been on holidays. I have tried the modprobe as you suggested:

This is the output:

BBlokPCsGroupBasedDHCP-146175204037:/home/dorien # modprobe i915
BBlokPCsGroupBasedDHCP-146175204037:/home/dorien # dmesg |tail
 2616.889891] SFW2-INext-DROP-DEFLT IN=wlan0 OUT= MAC=0c:60:76:4f:4e:36:00:22:75:52:5d:30:08:00 SRC=192.168.2.1 DST=192.168.2.28 LEN=78 TOS=0x00 PREC=0x00 TTL=64 ID=1620 PROTO=UDP SPT=34476 DPT=137 LEN=58 
 2791.890988] SFW2-INext-DROP-DEFLT IN=wlan0 OUT= MAC=0c:60:76:4f:4e:36:00:22:75:52:5d:30:08:00 SRC=192.168.2.1 DST=192.168.2.28 LEN=78 TOS=0x00 PREC=0x00 TTL=64 ID=2124 PROTO=UDP SPT=34684 DPT=137 LEN=58 
 2792.994526] SFW2-INext-DROP-DEFLT IN=wlan0 OUT= MAC=0c:60:76:4f:4e:36:00:22:75:52:5d:30:08:00 SRC=192.168.2.1 DST=192.168.2.28 LEN=78 TOS=0x00 PREC=0x00 TTL=64 ID=2125 PROTO=UDP SPT=34684 DPT=137 LEN=58 
 2794.090959] SFW2-INext-DROP-DEFLT IN=wlan0 OUT= MAC=0c:60:76:4f:4e:36:00:22:75:52:5d:30:08:00 SRC=192.168.2.1 DST=192.168.2.28 LEN=78 TOS=0x00 PREC=0x00 TTL=64 ID=2126 PROTO=UDP SPT=34684 DPT=137 LEN=58 
 2816.891159] SFW2-INext-DROP-DEFLT IN=wlan0 OUT= MAC=0c:60:76:4f:4e:36:00:22:75:52:5d:30:08:00 SRC=192.168.2.1 DST=192.168.2.28 LEN=78 TOS=0x00 PREC=0x00 TTL=64 ID=2155 PROTO=UDP SPT=34692 DPT=137 LEN=58 
 2817.991171] SFW2-INext-DROP-DEFLT IN=wlan0 OUT= MAC=0c:60:76:4f:4e:36:00:22:75:52:5d:30:08:00 SRC=192.168.2.1 DST=192.168.2.28 LEN=78 TOS=0x00 PREC=0x00 TTL=64 ID=2156 PROTO=UDP SPT=34692 DPT=137 LEN=58 
 2819.094083] SFW2-INext-DROP-DEFLT IN=wlan0 OUT= MAC=0c:60:76:4f:4e:36:00:22:75:52:5d:30:08:00 SRC=192.168.2.1 DST=192.168.2.28 LEN=78 TOS=0x00 PREC=0x00 TTL=64 ID=2157 PROTO=UDP SPT=34692 DPT=137 LEN=58 
 2840.151334] SFW2-INext-DROP-DEFLT IN=eth0 OUT= MAC= SRC=fe80:0000:0000:0000:0226:b9ff:fe03:c3e5 DST=ff02:0000:0000:0000:0000:0000:0000:00fb LEN=84 TC=0 HOPLIMIT=255 FLOWLBL=0 PROTO=UDP SPT=5353 DPT=5353 LEN=44 
 2841.891662] SFW2-INext-DROP-DEFLT IN=wlan0 OUT= MAC=0c:60:76:4f:4e:36:00:22:75:52:5d:30:08:00 SRC=192.168.2.1 DST=192.168.2.28 LEN=78 TOS=0x00 PREC=0x00 TTL=64 ID=2268 PROTO=UDP SPT=34741 DPT=137 LEN=58 
 2849.146636] SFW2-INext-DROP-DEFLT IN=wlan0 OUT= MAC= SRC=fe80:0000:0000:0000:0e60:76ff:fe4f:4e36 DST=ff02:0000:0000:0000:0000:0000:0000:00fb LEN=84 TC=0 HOPLIMIT=255 FLOWLBL=0 PROTO=UDP SPT=5353 DPT=5353 LEN=44 


Yes, that package is not part of the official distribution.
But you can try it nevertheless if you want to. It IS available for 12.3, just click on “Show unsupported packages” and accept the warning.
But I have no idea if that will fix your problem…

Still, it doesn’t work, it gives an error (after installing and running it) that I don’t have a right distribution. Tried running it from source. Some thing, guess it is just not compatible.

Upgraded to 3.10.3-19.gec6c1d9-desktop

This is what inel-linux-graphics-installer gives me.


# intel-linux-graphics-installer
diagnostics-view.c/new_diagnostic: Adding diagnostic for Checking if Intel graphics card available...
diagnostics-view.c/new_diagnostic: Adding diagnostic for Retrieving information from 01.org...
diagnostics-view.c/new_diagnostic: Adding diagnostic for Checking distribution...
diagnostics-view.c/new_diagnostic: Adding diagnostic for Checking kernel version...
diagnostics-view.c/new_diagnostic: Adding diagnostic for Checking available repositories...
diagnostics-view.c/diagnostics_view_start: Running diagnostic Checking if Intel graphics card available...
diagnostics-view.c/diagnostics_view_start: Running diagnostic Retrieving information from 01.org...
{
  errors: (nil)
  sources: ]
  INSTALL: ]
  install: ]
  upgrade: ]
}
diagnostics-view.c/diagnostics_view_start: Running diagnostic Checking distribution...
main-window.c/on_diagnostics_finished: Diagnostics finished with an error


I have the same thing with my new dell xps13 ultrabook, but only with dual monitors, it does not give me the full possible output. I have tried the suggested things, upgraded the kernel to no avail.

This laptop has the intel driver too. I am guessing there is a problem with these drivers in the latest kernels?

Did the DRM driver load? What’s the output of

/sbin/lspci -nnk | grep VGA -A2

If its not loaded, then post your dmesg to susepaste and provide a link

Solved for me?

I did have a similar problem to solve with my Asus eee 1201 HA, with a Intel video-card. after installing OS 12.3 my video-card did get a good driver, and a good resolution: 1366x768. But after the first big update, the driver changed and my solution stayed on 1024x768. What I tried; It stayed on the wrong resolution >:(

I have solved it til so far by complete reinstalling OpenSuse 12.3, with out updating directly after the instal.:\

After that I went looking for the desktop-kernel number in software-mangement. First I tried to keep my resolution by protecting the kernel, but the consequence; no system-updates anymore forced me to choose an other solution.
Now I have chosen to update the system(unprotect), and to downgrade the desktop-kernel to 3.7.10-1.16.1. For me it seams to work till so far. My questions I still have;

  1. Is this a good solution anyway?:\
  2. can I keep it this way, without big consequences for the updating/safety of my system?
  3. do I have to downgrade after every update?

I hope I can help anybody with this solution. And I hope that anyone can help me to answer the questions I still have?

Thanks
Ludje