Skip to contentSkip to conversation

Setting proper video mode

DISCUSSION Jarek 2 participants 4 messages Oct 29, 2011 – Oct 31, 2011

lore
Share & tools
lore

Jarek

author
#0 lore raw

Hi all!

I'm trying to setup some strange LCD display which supports only one
mode 1920x480@61Hz. It works with old IEGD drivers, but not with xf86-video-intel 2.15.0. After some changes to source code I'm able to force the proper resolution, but there is still nothing on the screen.

Is there something beside the modeline, which my affect setting display mode ? How to compare what is set with iegd that the display is working, and how to force xf86-video-intel to do the same ?

The modeline is exactly the same, except refresh rate, which in iegd is 61Hz, and in xf86-video-intel is 61.7 - I don't think that such small difference may affect the display.

Signature · 1 line
Jarek <[email protected]>
#1 lore raw
Quoted 3 lines · Jarek

Is there something beside the modeline, which my affect setting display mode ? How to compare what is set with iegd that the display is working, and how to force xf86-video-intel to do the same ?

The first thing that comes to mind is infoframe setup for HDMI. Is this an HDMI display?

Also, how does the output of intel_reg_dumper compare between the two drivers?

Quoted 3 lines

The modeline is exactly the same, except refresh rate, which in iegd is 61Hz, and in xf86-video-intel is 61.7 - I don't think that such small difference may affect the display.

If they're exactly the same then they can't really have different refresh rates. Refresh rate is a derived quantity, the modeline actually stores the pixel clock rate. If you were seeing different refresh rates in the log file then you were seeing an artifact of the roundoff math of the thing printing them.

On the other hand you might be reporting the refresh rate as seen on the LCD's on-screen display, if it has one, in which case it's a little weirder. That would indicate that you really are sending different timings to the display, possibly because the PLL search code in iegd picked a different answer. But dumping the m/n/p registers would tell you.

- ajax

author
#2 lore raw

Dnia 2011-10-31, pon o godzinie 12:42 -0400, Adam Jackson pisze:

Quoted 8 lines · Jarek
Quoted 4 lines

Is there something beside the modeline, which my affect setting display mode ? How to compare what is set with iegd that the display is working, and how to force xf86-video-intel to do the same ?

The first thing that comes to mind is infoframe setup for HDMI. Is this an HDMI display?

This is directly connected LCD display, shown as LVDS.

Quoted 2 lines

Also, how does the output of intel_reg_dumper compare between the two drivers?

As I understand, I should execute it, from running xorg. Am I right? If I will find difference, what should I do ?

Quoted 9 lines
Quoted 3 lines

The modeline is exactly the same, except refresh rate, which in iegd is 61Hz, and in xf86-video-intel is 61.7 - I don't think that such small difference may affect the display.

On the other hand you might be reporting the refresh rate as seen on the LCD's on-screen display, if it has one, in which case it's a little weirder. That would indicate that you really are sending different timings to the display, possibly because the PLL search code in iegd picked a different answer.

The refresh rate comes from Xorg.0.log. With xf86-video-intel the display doesn't show any picture, only backlight is activated when I'm starting X.
By the way, this MB has two LDVS outputs: LVDS1 and LVDS2. The second one is not connected to anything, but in the log both are connected.

Signature · 1 line
Jarek <[email protected]>
#3 lore raw
Quoted 5 lines · Jarek

Dnia 2011-10-31, pon o godzinie 12:42 -0400, Adam Jackson pisze:

Quoted 2 lines

Also, how does the output of intel_reg_dumper compare between the two drivers?

As I understand, I should execute it, from running xorg. Am I right?

Yes.

Quoted 1 line

If I will find difference, what should I do ?

Well it depends what the differences are. Things like plane base addresses being different wouldn't be surprising, but PLL setup might matter. Just send reg dumps from both and we'll figure it out.

Quoted 5 lines

The refresh rate comes from Xorg.0.log. With xf86-video-intel the display doesn't show any picture, only backlight is activated when I'm starting X.
By the way, this MB has two LDVS outputs: LVDS1 and LVDS2. The second one is not connected to anything, but in the log both are connected.

We don't have any way of doing connection sense on LVDS so we have to say they're connected if they appear at all. Otherwise you can't use them.

- ajax