> Hello,
> 
> Testing the latest kms_branch. Here is what I found:
> 
>  1. The output of xrandr shows that the display is connected to LVDS-1.
> 
>     #+BEGIN_SRC sh
>     Screen 0: minimum 320 x 200, current 800 x 480, maximum 4095 x 4095
>     LVDS-1 connected 800x480+0+0 (normal left inverted right x axis y axis) 
> 0mm x 0mm
>        800x480        59.5*+
>     VGA-1 disconnected (normal left inverted right x axis y axis)
>     #+END_SRC
    
In are case we name the device sequence and don't care what CRTC it is 
mapped to as in the VIA drivers case.

>     while the output of the via driver shows display is connected to LVDS-2:

That is strange mappping. I bet the mapping for the VIA driver is 
$OUTPUT-$CRTC. So the LVDS is mapped to the second CRTC. 
  
>     #+BEGIN_SRC sh
>     Screen 0: minimum 320 x 200, current 800 x 480, maximum 4096 x 4096
>     VGA-1 disconnected (normal left inverted right x axis y axis)
>     HDMI-1 disconnected (normal left inverted right x axis y axis)
>     DVI-1 disconnected (normal left inverted right x axis y axis)
>     DisplayPort-1 disconnected (normal left inverted right x axis y axis)
>     DisplayPort-2 disconnected (normal left inverted right x axis y axis)
>     LVDS-2 connected 800x480+0+0 (normal left inverted right x axis y axis) 
> 0mm x 0mm
>        800x480        59.6* 
>     #+END_SRC
> 
>  2. Doing an xrandr resize with the following command using the openchrome
>     driver does not work:
> 
>       #+BEGIN_SRC sh
>     $ xrandr --output LVDS-1 --fb 1300x740 --scale 1.62x1.54
>       xrandr: Configure crtc 0 failed
>       #+END_SRC

No scale Xatom properties supported as of yet. I need to write the code 
for that. I do have the resize code in the xorg driver. Just need to 
implement a user interface for it.

>       However, repeating the above command with LVDS-2 as the output
>       results in some interesting results:
> 
>       #+BEGIN_SRC sh
>       $ xrandr --output LVDS-2 --fb 1300x740 --scale 1.62x1.54
>       warning: output LVDS-2 not found; ignoring
>       $ xrandr
>       Screen 0: minimum 320 x 200, current 1300 x 740, maximum 4095 x 4095
>       LVDS-1 connected 800x480+0+0 (normal left inverted right x axis y axis) 
> 0mm x 0mm
>          800x480        59.5*+
>       VGA-1 disconnected (normal left inverted right x axis y axis)
>       #+END_SRC
> 
>       Notice that the output of "Screen 0" changed. It is now set to
>       1300x740! The physical display also reflects a change. The display
>       shows the desktop but all jumbled up (cut into diagonal slices). So
>       it is unusable.

So the VIA driver is broken as well :-(

> 
>  3. I guess in summary:
>     * Does it matter that xrandr for via proprietary shows LVDS-2 while
>         openchrome shows LVDS-1?

It shouldn't matter, tho openchrome is trying to do what all the other 
xorg drivers are doing.

>       * Why does using xrandr for LVDS-2 set the screen size to the
>       correct value of 1300x740

It has Xatom properties support for scaling. 

> Thanks for the hard work. Attached are the xorg log and xorg.conf.

No problem. Still have more to go.


> Amit
> 

_______________________________________________
openchrome-users mailing list
openchrome-users@openchrome.org
http://wiki.openchrome.org/mailman/listinfo/openchrome-users
Main page:
http://www.openchrome.org
Wiki:
http://www.openchrome.org/trac/wiki/TOC


Reply via email to