Intel/Pineview graphics won't load 1024x600 resolution in X11
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.18Possibly 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
Quoted 1 line · Gabriel M. Beddingfield
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
_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx
Quoted 6 lines · Adam Jackson
Quoted 1 line · Gabriel M. Beddingfield
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
Quoted 9 lines · Gabriel M. Beddingfield
Quoted 5 lines · Adam Jackson
Quoted 1 line · Gabriel M. Beddingfield
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
_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx
Quoted 11 lines · Adam Jackson
Quoted 9 lines · Gabriel M. Beddingfield
Quoted 5 lines · Adam Jackson
Quoted 1 line · Gabriel M. Beddingfield
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.
Quoted 7 lines
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/pciWhich 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?
Quoted 3 lines
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
Quoted 10 lines · Gabriel M. Beddingfield
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
Quoted 8 lines
So, I went back to
/etc/modprobe.d/i915-kms.confand 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
_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx
Adam,
Again, thanks for your help...
Quoted 5 lines · Adam Jackson
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
Quoted 11 lines · Gabriel M. Beddingfield
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
Quoted 5 lines · Tino Keitel
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
_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx