Bug 496335

Summary: [kms] native resolution not used when kms is enabled (i915)
Product: [Fedora] Fedora Reporter: Need Real Name <lsof>
Component: kernelAssignee: Adam Jackson <ajax>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: low    
Version: 12CC: ajax, a.steffan, awilliam, itamar, kernel-maint, kevin, lsof
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-11-12 16:36:25 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
the xorg log for with a normal boot (modesetting). I hold the power button when the machine does not respond.
none
the xorg log with nomodeset as a kernel boot parameter.
none
lspci output
none
my xorg.conf file
none
xorg log with modesetting
none
xorg log with no modesetting none

Description Need Real Name 2009-04-17 21:24:30 UTC
hw: http://www.smolts.org/client/show/pub_1f537efb-3ace-44a1-bef6-d3bd92eb4a08  
xorg: https://bugzilla.redhat.com/attachment.cgi?id=339892

kernel-2.6.29.1-46.fc11.x86_64 works fine with my screen. everything else switches to a low resolution for X itself. console while booting is correct.
s-c-d shows no useful resolutions.

This is frustrating since it used to work.

Comment 1 Need Real Name 2009-04-17 21:26:35 UTC
Oh and suspend resume is broken now too.

Comment 2 Need Real Name 2009-04-17 22:05:11 UTC
> Oh and suspend resume is broken now too.

Actually it's worse, switching VTs is broken. If I am lucky I get a terminal by continuously trying new VTs, but then everything freezes. If I keep trying more, I might see a _ cursor flashing ridiculously fast, so fast it's almost not flashing. Ctrl+Alt+Del does not response.

Upping severity since this is now a crash bug.

Comment 3 Chuck Ebbert 2009-04-18 04:24:39 UTC
Is this report against 2.6.29.1-85?

Can you try -97 from koji?

Comment 4 Need Real Name 2009-04-18 08:32:51 UTC
This is a report against everything after 46.fc11.x86_64, up to and including kernel-2.6.29.1-70.fc11.x86_64.

I will try 97 now.

Comment 5 Need Real Name 2009-04-18 08:47:33 UTC
I booted into 97, and got the wrong resolution again, same as above (i.e. correct at one point during boot).

Tried switching vts - freeze. No escape.

Reboot 1 - Freeze when X starts.
Reboot 2 - Freeze when X starts.

Gone back to 46 for now.

Comment 6 Need Real Name 2009-04-18 09:30:24 UTC
My screen's native resolution is 1680x1050.
Setting xorg.conf to this shows "no mode of this name".

Perhaps relevant?

Comment 7 Need Real Name 2009-04-22 21:33:51 UTC
Still broken in kernel-2.6.29.1-100.fc11.x86_64.

Do you need logs or anything?

Comment 8 Need Real Name 2009-04-29 18:36:37 UTC
I realise you're busy, but I'm sitting here with a pretty much broken Fedora install and I've not heard anything.

Do you expect the i915 will work before Fedora 11 reaches final?

It seems strange that I can switch vts, but not run ctrl+alt+del or even use the vts.

-46 doesn't crash my system, but the resolution is stretched making it awkward for anything graphical. No looking at photos, etc.

Comment 9 Need Real Name 2009-05-04 17:30:03 UTC
kernel-2.6.29.1-111.fc11.x86_64 is also broken.

Comment 10 Kevin Fenzi 2009-05-04 18:21:15 UTC
How about attaching your /var/log/Xorg.0.log and dmesg from the 111 case? 

I have a eee900 here with i915 thats working fine.

Comment 11 Need Real Name 2009-05-04 18:27:44 UTC
Sure, it's in the first comment:
 https://bugzilla.redhat.com/attachment.cgi?id=339892

Comment 12 Kevin Fenzi 2009-05-04 18:38:04 UTC
For the -111 kernel and xorg-x11-drv-intel-2.7.0-2.fc11 case? 
That seems to be the -70 kernel and 2.6.99 intel driver.

Comment 13 Need Real Name 2009-05-04 18:44:02 UTC
(In reply to comment #12)
> For the -111 kernel and xorg-x11-drv-intel-2.7.0-2.fc11 case? 
> That seems to be the -70 kernel and 2.6.99 intel driver.  

Yes that's for an older kernel.

I'll upload two new xorg log files.

Comment 14 Need Real Name 2009-05-04 18:52:08 UTC
Created attachment 342351 [details]
the xorg log for with a normal boot (modesetting). I hold the power button when the machine does not respond.

Comment 15 Need Real Name 2009-05-04 18:53:19 UTC
Created attachment 342352 [details]
the xorg log with nomodeset as a kernel boot parameter.

This at least doesn't crash the box, but I get the wrong 1280x1024 resolution in X, despite configuring 1400x1050. Colour depth is 16 if that helps.

Comment 16 Need Real Name 2009-05-04 18:53:52 UTC
Created attachment 342353 [details]
lspci output

Comment 17 Need Real Name 2009-05-04 18:55:24 UTC
Created attachment 342354 [details]
my xorg.conf file

Initially generated by s-c-d, but amended to use 16 colours to see if that helped.

I notice "driver vesa". Will try changing to intel.

Comment 18 Need Real Name 2009-05-04 19:03:27 UTC
Changing "driver vesa" to "driver intel" gives me native resolution!

But only if I boot with nomodeset.

If I boot normally, I get X in 1024 x 768 despite the framebuffer using the native resolution.

Comment 19 Kevin Fenzi 2009-05-04 19:06:05 UTC
So, from that I assume you have a /etc/X11/xorg.conf? 
does it work if you move/remove that file and boot without it?

Comment 20 Need Real Name 2009-05-04 19:10:12 UTC
nomodeset + xorg.conf file = X native resolution
modeset + xorg.conf file = X low resolution

and if I remember correctly (I can retest if you want):

nomodeset + no xorg.conf = X low resoltuion
modeset + no xorg.conf = crash

Comment 21 Need Real Name 2009-05-04 19:13:37 UTC
Correction:
> nomodeset + no xorg.conf = X low resoltuion

nomodeset + no xorg.conf = X native resolution

This is new. Good.

Comment 22 Need Real Name 2009-05-04 19:18:22 UTC
To re-summarise:

nomodeset + xorg.conf file = X native resolution
modeset   + xorg.conf file = X low resolution

nomodeset + no xorg.conf file = X native resolution
modeset   + no xorg.conf file = X low resolution

It looks like the intel driver is skipping over my screen's resolution:

(II) intel(0): Printing probed modes for output DVI1
(II) intel(0): Modeline "1680x1050"x60.0  146.25  1680 1784 1960 2240  1050 1053 1059 1089 -hsync +vsync (65.3 kHz)
(II) intel(0): Modeline "1280x1024"x75.0  135.00  1280 1296 1440 1688  1024 1025 1028 1066 +hsync +vsync (80.0 kHz)

Comment 23 Adam Williamson 2009-05-04 19:29:23 UTC
I am confused. In both of the logs you posted, the driver in use is vesa, not intel. In this case no modesetting would be used, there's no modesetting for the vesa driver (AFAIK).

Can you provide Xorg.0.logs from the case with no xorg.conf file?

Comment 24 Need Real Name 2009-05-04 19:30:35 UTC
Created attachment 342361 [details]
xorg log with modesetting

Comment 25 Need Real Name 2009-05-04 19:31:41 UTC
Created attachment 342362 [details]
xorg log with no modesetting

Comment 26 Need Real Name 2009-05-04 19:32:48 UTC
Here are the logs with no xorg.conf file.

Comment 27 Adam Williamson 2009-05-04 20:40:36 UTC
looks like enough information there for kristian to figure out what's wrong. thanks. correcting summary.

Comment 28 Bug Zapper 2009-06-09 14:02:20 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 11 development cycle.
Changing version to '11'.

More information and reason for this action is here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 30 Need Real Name 2009-11-08 15:07:30 UTC
WFM

Comment 31 Adam Jackson 2009-11-12 16:36:25 UTC
I'm assuming comment #30 means "it works now".  Closing on that basis, please reopen if I'm wrong.