Intel-GFX Archive on lore.kernel.org
 help / color / mirror / Atom feed
* Intel/Pineview graphics won't load 1024x600 resolution in X11
@ 2010-04-27 17:53 Gabriel M. Beddingfield
  2010-04-27 19:12 ` Adam Jackson
  2010-04-28  6:30 ` Tino Keitel
  0 siblings, 2 replies; 9+ messages in thread
From: Gabriel M. Beddingfield @ 2010-04-27 17:53 UTC (permalink / raw)
  To: intel-gfx


Hello,

First: if this is the wrong place to ask, would you please 
point me to the appropriate channel.

I'm using an N450 processor with the GMA 3150 Pineview graphics
system.  When X11 starts, it seems to detect that it's capable of
1024x600, but then loads 800x600 instead.

     (II) VESA(0): Printing DDC gathered Modelines:
     (II) VESA(0): Modeline "1024x600"x0.0   45.00  1024 1077 1112 1200  600 604 609 625 -hsync -vsync (37.5 kHz)
     (II) VESA(0): Modeline "1024x600"x0.0   51.42  1024 1117 1152 1240  600 617 622 638 -hsync -vsync (41.5 kHz)
     (II) VESA(0): Searching for matching VESA mode(s):
     [skip a bunch of "Mode:" sections]
     (II) VESA(0): Not using built-in mode "800x600" (no mode of this name)
     (II) VESA(0): Not using built-in mode "640x480" (no mode of this name)
     (WW) VESA(0): No valid modes left. Trying less strict filter...
     (II) VESA(0): <default monitor>: Using hsync range of 37.50-41.47 kHz
     (II) VESA(0): <default monitor>: Using vrefresh range of 60.00-65.00 Hz
     (WW) VESA(0): Unable to estimate virtual size
     (II) VESA(0): Not using built-in mode "640x480" (hsync out of range)
     (--) VESA(0): Virtual size is 800x600 (pitch 800)
     (**) VESA(0): *Built-in mode "800x600"
     (**) VESA(0): Display dimensions: (220, 130) mm
     (**) VESA(0): DPI set to (92, 117)
     (II) VESA(0): Attempting to use 60Hz refresh for mode "800x600" (115)
     (**) VESA(0): Using "Shadow Framebuffer"

[The full Xorg.0.log is here:  http://pastebin.com/ggvREGqX]

Any idea why it won't load the correct resolution?

Basic info:

     OS:            Ubuntu/Jaunty with several backports
     X.Org Xserver: 1.6.0
     kernel:        2.6.33.2-rt13
     intel driver:  2.11.0
     libdrm:        2.4.18

Possibly related:

     /etc/modprobe.d/i915-kms.conf has this:

         options i915 modeset=0

     When it has modeset=1, the console has a nice 128x37
     display, but X11 won't load.

Thanks in advance,
Gabriel

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Intel/Pineview graphics won't load 1024x600 resolution in X11
  2010-04-27 17:53 Intel/Pineview graphics won't load 1024x600 resolution in X11 Gabriel M. Beddingfield
@ 2010-04-27 19:12 ` Adam Jackson
  2010-04-27 19:16   ` Gabriel M. Beddingfield
  2010-04-28  6:30 ` Tino Keitel
  1 sibling, 1 reply; 9+ messages in thread
From: Adam Jackson @ 2010-04-27 19:12 UTC (permalink / raw)
  To: Gabriel M. Beddingfield; +Cc: intel-gfx


[-- Attachment #1.1: Type: text/plain, Size: 217 bytes --]

On Tue, 2010-04-27 at 12:53 -0500, Gabriel M. Beddingfield wrote:

> Any idea why it won't load the correct resolution?

Because you're using the vesa driver, and you should be using the intel
driver.

- ajax

[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Intel/Pineview graphics won't load 1024x600 resolution in X11
  2010-04-27 19:12 ` Adam Jackson
@ 2010-04-27 19:16   ` Gabriel M. Beddingfield
  2010-04-27 19:22     ` Adam Jackson
  0 siblings, 1 reply; 9+ messages in thread
From: Gabriel M. Beddingfield @ 2010-04-27 19:16 UTC (permalink / raw)
  To: Adam Jackson; +Cc: intel-gfx



On Tue, 27 Apr 2010, Adam Jackson wrote:

> On Tue, 2010-04-27 at 12:53 -0500, Gabriel M. Beddingfield wrote:
>
>> Any idea why it won't load the correct resolution?
>
> Because you're using the vesa driver, and you should be using the intel
> driver.

How do I get/force it to use the intel driver?  I thought 
that was supposed to happen automatically.

Thanks,
Gabriel

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Intel/Pineview graphics won't load 1024x600 resolution in X11
  2010-04-27 19:16   ` Gabriel M. Beddingfield
@ 2010-04-27 19:22     ` Adam Jackson
  2010-04-27 19:58       ` Gabriel M. Beddingfield
  0 siblings, 1 reply; 9+ messages in thread
From: Adam Jackson @ 2010-04-27 19:22 UTC (permalink / raw)
  To: Gabriel M. Beddingfield; +Cc: intel-gfx


[-- Attachment #1.1: Type: text/plain, Size: 965 bytes --]

On Tue, 2010-04-27 at 14:16 -0500, Gabriel M. Beddingfield wrote:
> On Tue, 27 Apr 2010, Adam Jackson wrote:
> > On Tue, 2010-04-27 at 12:53 -0500, Gabriel M. Beddingfield wrote:
> >> Any idea why it won't load the correct resolution?
> >
> > Because you're using the vesa driver, and you should be using the intel
> > driver.
> 
> How do I get/force it to use the intel driver?  I thought 
> that was supposed to happen automatically.

It looks like Ubuntu's driver selection mechanism doesn't think the
intel driver can drive that chip:

(II) No matches found for this device in /usr/share/xserver-xorg/pci

Which is pretty lols since it means they managed to introduce new
failure modes.  Outstanding work, cadet.

Simplest thing to do is remove the vesa driver, but that'll only work if
your kernel includes Pineview support, and I don't remember if 2.6.33
and/or Ubuntu's version of it includes Pineview.  Think it does though.

- ajax

[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Intel/Pineview graphics won't load 1024x600 resolution in X11
  2010-04-27 19:22     ` Adam Jackson
@ 2010-04-27 19:58       ` Gabriel M. Beddingfield
  2010-04-27 20:47         ` Adam Jackson
  0 siblings, 1 reply; 9+ messages in thread
From: Gabriel M. Beddingfield @ 2010-04-27 19:58 UTC (permalink / raw)
  To: Adam Jackson; +Cc: intel-gfx



On Tue, 27 Apr 2010, Adam Jackson wrote:

> On Tue, 2010-04-27 at 14:16 -0500, Gabriel M. Beddingfield wrote:
>> On Tue, 27 Apr 2010, Adam Jackson wrote:
>>> On Tue, 2010-04-27 at 12:53 -0500, Gabriel M. Beddingfield wrote:
>>>> Any idea why it won't load the correct resolution?
>>>
>>> Because you're using the vesa driver, and you should be using the intel
>>> driver.
>>
>> How do I get/force it to use the intel driver?  I thought
>> that was supposed to happen automatically.
>
> It looks like Ubuntu's driver selection mechanism doesn't think the
> intel driver can drive that chip:
>
> (II) No matches found for this device in /usr/share/xserver-xorg/pci
>
> Which is pretty lols since it means they managed to introduce new
> failure modes.  Outstanding work, cadet.

First:  I _really_ appreciate your help!

I added 8086A010, 8086A011, and 8086A012 to a file 
/usr/share/xserver-xorg/pci/intel.icv, and then I get:

    (EE) Failed to load module "i810" (module does not exist, 0)
    (EE) open /dev/fb0: No such file or directory
    (EE) intel(0): No kernel modesetting driver detected
    (EE) Screen(s) found, but none have a usable configuration

So, I went back to /etc/modprobe.d/i915-kms.conf and set 'modeset=1'
(was 0).  When I do that, the Console initializes and uses a
framebuffer (which looks nice)... but when X11 starts is garbles the
screen and makes the virtual terminals unusable (like when vsync or
hsync is wrong).  I think the error messages are the same, too.

This suggests that I'm missing a kernel module, right?  What would
it's name look like?

> Simplest thing to do is remove the vesa driver, but that'll only work if
> your kernel includes Pineview support, and I don't remember if 2.6.33
> and/or Ubuntu's version of it includes Pineview.  Think it does though.

How can I confirm?  I'm actually using Debian/experimental's version
of 2.6.33.

-gabriel

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Intel/Pineview graphics won't load 1024x600 resolution in X11
  2010-04-27 19:58       ` Gabriel M. Beddingfield
@ 2010-04-27 20:47         ` Adam Jackson
  2010-04-28 15:41           ` Gabriel M. Beddingfield
  0 siblings, 1 reply; 9+ messages in thread
From: Adam Jackson @ 2010-04-27 20:47 UTC (permalink / raw)
  To: Gabriel M. Beddingfield; +Cc: intel-gfx


[-- Attachment #1.1: Type: text/plain, Size: 1150 bytes --]

On Tue, 2010-04-27 at 14:58 -0500, Gabriel M. Beddingfield wrote:

> First:  I _really_ appreciate your help!
> 
> I added 8086A010, 8086A011, and 8086A012 to a file 
> /usr/share/xserver-xorg/pci/intel.icv, and then I get:
> 
>     (EE) Failed to load module "i810" (module does not exist, 0)
>     (EE) open /dev/fb0: No such file or directory
>     (EE) intel(0): No kernel modesetting driver detected
>     (EE) Screen(s) found, but none have a usable configuration
> 
> So, I went back to /etc/modprobe.d/i915-kms.conf and set 'modeset=1'
> (was 0).  When I do that, the Console initializes and uses a
> framebuffer (which looks nice)... but when X11 starts is garbles the
> screen and makes the virtual terminals unusable (like when vsync or
> hsync is wrong).  I think the error messages are the same, too.
> 
> This suggests that I'm missing a kernel module, right?  What would
> it's name look like?

No, that suggests that you have a KMS driver, just that it's buggy.
It'd be called i915.ko.

At this point you probably need to consider it a Debian kernel bug.  I'd
try a 2.6.34 build, if they have any.

- ajax

[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Intel/Pineview graphics won't load 1024x600 resolution in X11
  2010-04-27 17:53 Intel/Pineview graphics won't load 1024x600 resolution in X11 Gabriel M. Beddingfield
  2010-04-27 19:12 ` Adam Jackson
@ 2010-04-28  6:30 ` Tino Keitel
  2010-04-28 14:29   ` Adam Jackson
  1 sibling, 1 reply; 9+ messages in thread
From: Tino Keitel @ 2010-04-28  6:30 UTC (permalink / raw)
  To: intel-gfx

On Tue, Apr 27, 2010 at 12:53:59 -0500, Gabriel M. Beddingfield wrote:
> 
> Hello,
> 
> First: if this is the wrong place to ask, would you please point me
> to the appropriate channel.
> 
> I'm using an N450 processor with the GMA 3150 Pineview graphics
> system.  When X11 starts, it seems to detect that it's capable of
> 1024x600, but then loads 800x600 instead.
> 
>     (II) VESA(0): Printing DDC gathered Modelines:

Your X server uses the VESA driver. This list is about the intel
driver. As 1024x600 is not a resolution defined by VESA, it won't be
used by the VESA driver. If you switch to the intel driver, it should
work (and also give reasonable and nice features like video and 3D
accelleration).

In the logfile, the intel driver is loaded but not used. I don't know
why. Maybe because it is loaded too late. You might try to remove the
VESA driver and the fbdev driver.

Regards,
Tino

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Intel/Pineview graphics won't load 1024x600 resolution in X11
  2010-04-28  6:30 ` Tino Keitel
@ 2010-04-28 14:29   ` Adam Jackson
  0 siblings, 0 replies; 9+ messages in thread
From: Adam Jackson @ 2010-04-28 14:29 UTC (permalink / raw)
  To: Tino Keitel; +Cc: intel-gfx


[-- Attachment #1.1: Type: text/plain, Size: 1193 bytes --]

On Wed, 2010-04-28 at 08:30 +0200, Tino Keitel wrote:

> Your X server uses the VESA driver. This list is about the intel
> driver. As 1024x600 is not a resolution defined by VESA, it won't be
> used by the VESA driver. If you switch to the intel driver, it should
> work (and also give reasonable and nice features like video and 3D
> accelleration).

To be perfectly clear, because I see this mistaken interpretation far
too often:

The vesa _driver_ does not define modes.  At all.  Your (VESA VBE [1]
conformant) video BIOS does.  There is a list in the BIOS that varies by
platform, and that's all that the driver can use.  Some machines might
be able to do 1024x600 with the vesa driver, if their BIOS includes that
mode.  But it's nothing to do with any list of modes published by VESA
the standards organization [2], nor is it something that the vesa driver
can control.

[1] - Video BIOS Extensions, a set of real-mode programming interfaces
defined by VESA way back in the dark ages.

[2] - Many BIOSes do include modes that VESA has written down as
standards, and often exclusively modes of that sort.  But they _may_
include any modes they wish.

- ajax

[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Intel/Pineview graphics won't load 1024x600 resolution in X11
  2010-04-27 20:47         ` Adam Jackson
@ 2010-04-28 15:41           ` Gabriel M. Beddingfield
  0 siblings, 0 replies; 9+ messages in thread
From: Gabriel M. Beddingfield @ 2010-04-28 15:41 UTC (permalink / raw)
  To: Adam Jackson; +Cc: intel-gfx


Adam,

Again, thanks for your help...

On Tue, 27 Apr 2010, Adam Jackson wrote:

> No, that suggests that you have a KMS driver, just that it's buggy.
> It'd be called i915.ko.
>
> At this point you probably need to consider it a Debian kernel bug.  I'd
> try a 2.6.34 build, if they have any.

I build 2.6.34-rc5 and got the right resolution.  I have 
"other" issues, though.  I'll work through those before 
bugging you about them.  :-)

FYI:

I originally was using my own build of 2.6.33.2-rt13.  I 
also tried debian's current build 2.6.33.2 (or .1) and got 
the same results.

Thanks,
Gabriel

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2010-04-28 15:41 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-27 17:53 Intel/Pineview graphics won't load 1024x600 resolution in X11 Gabriel M. Beddingfield
2010-04-27 19:12 ` Adam Jackson
2010-04-27 19:16   ` Gabriel M. Beddingfield
2010-04-27 19:22     ` Adam Jackson
2010-04-27 19:58       ` Gabriel M. Beddingfield
2010-04-27 20:47         ` Adam Jackson
2010-04-28 15:41           ` Gabriel M. Beddingfield
2010-04-28  6:30 ` Tino Keitel
2010-04-28 14:29   ` Adam Jackson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox