Skip to contentSkip to conversation

Wrong resolution in framebuffer and X Window

REGRESSION Maciej Rutecki 2 participants 5 messages Apr 17, 2011 – May 19, 2011

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

Hi

Last known good: 2.6.38
Failing kernel: 2.6.39-rc3
Subsystem: Intel graphics driver.

Description:
PC should work with 1440x900 resolution. But console (and after) X Window start work with 1024x768.

I attach dmesg and Xorg.0.log with drm.debug log_buf_lenM options:
http://unixy.pl/maciek/download/kernel/2.6.39-rc1/zlom/kms/

seems that driver cannot detect resolution higher than 1024x768.

Also I boot kernel replace "i915.modeset=1" with "nomodeset" option:
http://unixy.pl/maciek/download/kernel/2.6.39-rc1/zlom/nomodeset/

But then X Window fails to start and got message: "(EE) No devices detected."

Config for 2.6.39-rc3:
http://unixy.pl/maciek/download/kernel/2.6.39-rc1/zlom/config-2.6.39-rc3

Best regards

Signature · 2 lines
Maciej Rutecki
http://www.maciek.unixy.pl
#1 lore raw
Quoted 18 lines · On niedziela, 17 kwietnia 2011 o 18:04:04 Maciej Rutecki wrote:

Hi

Last known good: 2.6.38
Failing kernel: 2.6.39-rc3
Subsystem: Intel graphics driver.

Description:
PC should work with 1440x900 resolution. But console (and after) X Window start work with 1024x768.

I attach dmesg and Xorg.0.log with drm.debug log_buf_lenM options:
http://unixy.pl/maciek/download/kernel/2.6.39-rc1/zlom/kms/

seems that driver cannot detect resolution higher than 1024x768.

Also I boot kernel replace "i915.modeset=1" with "nomodeset" option:
http://unixy.pl/maciek/download/kernel/2.6.39-rc1/zlom/nomodeset/

Quoted 7 lines

But then X Window fails to start and got message: "(EE) No devices detected."

Config for 2.6.39-rc3:
http://unixy.pl/maciek/download/kernel/2.6.39-rc1/zlom/config-2.6.39-rc3

Best regards

Forgot:
00:02.0 VGA compatible controller: Intel Corporation 82G33/G31 Express Integrated Graphics Controller (rev 02)

Regards

Signature · 2 lines
Maciej Rutecki
http://www.maciek.unixy.pl
#2 lore raw
In reply to Maciej Rutecki

(add LKML)

Quoted 18 lines · On niedziela, 17 kwietnia 2011 o 18:04:04 Maciej Rutecki wrote:

Hi

Last known good: 2.6.38
Failing kernel: 2.6.39-rc3
Subsystem: Intel graphics driver.

Description:
PC should work with 1440x900 resolution. But console (and after) X Window start work with 1024x768.

I attach dmesg and Xorg.0.log with drm.debug=14 log_buf_len=16M options:
http://unixy.pl/maciek/download/kernel/2.6.39-rc1/zlom/kms/

seems that driver cannot detect resolution higher than 1024x768.

Also I boot kernel replace "i915.modeset=1" with "nomodeset" option:
http://unixy.pl/maciek/download/kernel/2.6.39-rc1/zlom/nomodeset/

Quoted 7 lines

But then X Window fails to start and got message: "(EE) No devices detected."

Config for 2.6.39-rc3:
http://unixy.pl/maciek/download/kernel/2.6.39-rc1/zlom/config-2.6.39-rc3

Best regards

Device:
00:02.0 VGA compatible controller: Intel Corporation 82G33/G31 Express Integrated Graphics Controller (rev 02)

Signature · 2 lines
Maciej Rutecki
http://www.maciek.unixy.pl
#3 lore raw
Quoted 24 lines · On czwartek, 21 kwietnia 2011 o 19:22:05 Maciej Rutecki wrote:

(add LKML)

Quoted 21 lines · On niedziela, 17 kwietnia 2011 o 18:04:04 Maciej Rutecki wrote:

Hi

Last known good: 2.6.38
Failing kernel: 2.6.39-rc3
Subsystem: Intel graphics driver.

Description:
PC should work with 1440x900 resolution. But console (and after) X Window start work with 1024x768.

I attach dmesg and Xorg.0.log with drm.debug=14 log_buf_len=16M options:
http://unixy.pl/maciek/download/kernel/2.6.39-rc1/zlom/kms/

seems that driver cannot detect resolution higher than 1024x768.

Also I boot kernel replace "i915.modeset=1" with "nomodeset" option:
http://unixy.pl/maciek/download/kernel/2.6.39-rc1/zlom/nomodeset/

But then X Window fails to start and got message: "(EE) No devices detected."

Quoted 8 lines
Quoted 4 lines

Config for 2.6.39-rc3:
http://unixy.pl/maciek/download/kernel/2.6.39-rc1/zlom/config-2.6.39-rc3

Best regards

Device:
00:02.0 VGA compatible controller: Intel Corporation 82G33/G31 Express Integrated Graphics Controller (rev 02)

Reported on:
https://bugzilla.kernel.org/show_bug.cgi?id=34002

2 weeks ago. Problem STILL exists on 2.6.39. That any of the graphic developers might be interested in the problem?

Signature · 2 lines
Maciej Rutecki
http://www.maciek.unixy.pl
#4 lore raw
Quoted 34 lines · Maciej Rutecki
Quoted 24 lines · On czwartek, 21 kwietnia 2011 o 19:22:05 Maciej Rutecki wrote:

(add LKML)

Quoted 21 lines · On niedziela, 17 kwietnia 2011 o 18:04:04 Maciej Rutecki wrote:

Hi

Last known good: 2.6.38
Failing kernel: 2.6.39-rc3
Subsystem: Intel graphics driver.

Description:
PC should work with 1440x900 resolution. But console (and after) X Window start work with 1024x768.

I attach dmesg and Xorg.0.log with drm.debug=14 log_buf_len=16M options:
http://unixy.pl/maciek/download/kernel/2.6.39-rc1/zlom/kms/

seems that driver cannot detect resolution higher than 1024x768.

Also I boot kernel replace "i915.modeset=1" with "nomodeset" option:
http://unixy.pl/maciek/download/kernel/2.6.39-rc1/zlom/nomodeset/

But then X Window fails to start and got message: "(EE) No devices detected."

Quoted 8 lines
Quoted 4 lines

Config for 2.6.39-rc3:
http://unixy.pl/maciek/download/kernel/2.6.39-rc1/zlom/config-2.6.39-rc3

Best regards

Device:
00:02.0 VGA compatible controller: Intel Corporation 82G33/G31 Express Integrated Graphics Controller (rev 02)

Quoted 5 lines

Reported on:
https://bugzilla.kernel.org/show_bug.cgi?id=34002

2 weeks ago. Problem STILL exists on 2.6.39. That any of the graphic developers might be interested in the problem?

I had a problem similar to this, beginning with 2.6.37 (2.6.36 was okay). It turned out to be that newer kernels were detecting the LVDS (LCD panel) interface from the chipset, event though nothing was attached to that interface. So GNOME would come up at 1024x768 (max the LVDS supported, I guess).

I initially worked around it by going into the GNOME -> Preferences -> Monitors, and disabling the LVDS device there, in favour of the 1920x1200 "VGA" device I use.

Later, I hacked my kernel to just ignore the LVDS completely:

drivers/gpu/drm/i915/intel_lvds.c renamed from drivers/gpu/drm/i915/intel_lvds.c.orig +2 -0
@@ -841,6 +841,7 @@
  */
 bool intel_lvds_init(struct drm_device *dev)
 {
+    if (0) {
 	struct drm_i915_private *dev_priv = dev->dev_private;
 	struct intel_lvds *intel_lvds;
 	struct intel_encoder *intel_encoder;
@@ -1041,5 +1042,6 @@
 	drm_encoder_cleanup(encoder);
 	kfree(intel_lvds);
 	kfree(intel_connector);
+    }
 	return false;
 }