Opened 11 years ago

Last modified 11 years ago

#1293 in-progress bug

External LCD on a second DVI

Reported by: modeenf Owned by: euan
Priority: normal Milestone: R1
Component: Drivers/Graphics/radeon Version: R1/pre-alpha1
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: no Platform: x86

Description

I have a Radeon x300 in a Dell Latitude D610 and using an external LCD on DVI throug a D/Port. There are no output at all on .

If I remember right this are known problem but I coudn't find a ticket on this.

I'm using hrev21591 and have Zeta 1.5. The LCD are a Dell 1907FPV

Attachments (2)

ek_radeon_dual_dvi_patch1.diff (35.4 KB) - added by euan 11 years ago.
First beta patch
syslog.zip (15.6 KB) - added by modeenf 11 years ago.
the syslog. If evey bootup shows on a syslog then te second boot up are with 2 sceens

Download all attachments as: .zip

Change History (11)

comment:1 Changed 11 years ago by axeld

Owner: changed from axeld to euan

comment:2 Changed 11 years ago by euan

Status: newassigned

comment:3 Changed 11 years ago by euan

A log file would be useful to check the monitor routing (attach here). I have a patch in progress, is quite complex though, given the mapping and routing of the Radeon internals.

comment:4 Changed 11 years ago by euan

I now have a working prototype of the external DVI fix. There are a number of things that need resolved however:

The Radeon series cannot scale the secondary DVI. So it can only display at the native resolution. If the monitor supports internal scaling of DVI input, we would need some way of detecting this from the EDID data (needs investigated).

If the LVDS or Primary DVI is at it's native resolution we can re-assign the scaler to the secondary channel. messy, but in theory possible.

If the LVDS / Primary DVI has the same native resolution as the secondary DVI we can clone the primary output to secondary, and use the same scaler output to drive both channels.

It can't do centered timings (where it is at native res, but shows smaller resolutions as a centered box). This would be quite useful

I'll maybe be able to upload a patch for testing only on Thursday for those wanting to try it.

I noticed a couple of other issues with the driver. Selecting a higher resolution than the monitor results in the framebuffer wrapping on screen. Should Haiku not change to a virtual desktop? I can't test in in BeOS right now, so don't know if this is a Radeon bug, or appserver. Also selecting a combined desktop resolution lower than the native resolution displays on screen at native resoltution, but with the unused area of the screen filled with rubbish. Pretty, but useless. probably a radeon bug.

comment:5 Changed 11 years ago by euan

Here's a working beta patch.

Tested only on an X600 Dual DVI. Needs particular testing with laptop + DVI combination.

  • Clone mode with resolutions below secondary DVI native resolution Second screen with not stretch to screen. Will display in top left corner, remaining unused screen space will be filled with garbage. Plan to center and blank surrounding area.
  • Clone mode with resolutions above secondary DVI resolution screen will display decent looking screen except the extra area wraps the left hand side. it shouldn't allow this. Should probably change to scroll mode.
  • Combine mode with resolution above or below secondary DVI native resolution Shouldn't allow it, will return "general system error" message box, or will change mode, but secondary screen shows same image as primary monitor.

patch is attached.

Changed 11 years ago by euan

First beta patch

comment:6 Changed 11 years ago by modeenf

Can't test it right now, Will have to wait 2 weeks. But after that I can test it again :)

comment:7 Changed 11 years ago by axeld

Should be fixed with hrev21930, thanks Euan.

comment:8 Changed 11 years ago by modeenf

No doesn't work here on a Radeon x300

What happends are that the DVI port (LCD) are black and when I set's the desktop to use both screens the desktop are strech as it should but the LCD attatch to the DVI port are still black and inactive. Before it only used one screen and I hade to move the destop around to see different part of the desktop.

Do you need som mor information?

comment:9 Changed 11 years ago by euan

Can you post your syslog?

Changed 11 years ago by modeenf

Attachment: syslog.zip added

the syslog. If evey bootup shows on a syslog then te second boot up are with 2 sceens

Note: See TracTickets for help on using tickets.