I have fiddled a bit myself but I am not out of the woods yet :-(
I have set my canvas to 1920x1200 with:
$ utxconfig -r 1920x1200
Then I logged off and on again. I now have a 1920x1200 canvas which pans.
Xrandr shows a lot of modes but not the custom mode:
bash-4.0$ /usr/X11R6/bin/xrandr
Screen 0: minimum 640 x 480, current 1920 x 1200, maximum 1920 x 1200
default connected 1920x1200+0+0 (normal left inverted right) 0mm x 0mm
640x480 0.0
800x600 0.0
1024x768 0.0
1152x900 0.0
1280x1024 0.0
1280x800 0.0
1400x1050 0.0
1440x900 0.0
1600x1024 0.0
1600x1200 0.0
1680x1050 0.0
1920x1080 0.0
1920x1200 0.0*
So I add the custom mode:
bash-4.0$ /usr/X11R6/bin/xrandr --newmode "1360x768" 84.72 1360 1424
1568 1776 768 769 772 795 -HSync +Vsync
bash-4.0$ /usr/X11R6/bin/xrandr --addmode default 1360x768
bash-4.0$
bash-4.0$ /usr/X11R6/bin/xrandr
Screen 0: minimum 640 x 480, current 1920 x 1200, maximum 1920 x 1200
default connected 1920x1200+0+0 (normal left inverted right) 0mm x 0mm
640x480 0.0
800x600 0.0
1024x768 0.0
1152x900 0.0
1280x1024 0.0
1280x800 0.0
1400x1050 0.0
1440x900 0.0
1600x1024 0.0
1600x1200 0.0
1680x1050 0.0
1920x1080 0.0
1920x1200 0.0*
1360x768 60.0
Now the custom mode is in the list but instead of 0.0 it shows 60.0
which is the refresh rate.
Any suggestions on how to get the 60.0 replaced by 0.0? Or is that
irrelevant?
If I then do:
bash-4.0$ /usr/X11R6/bin/xrandr -s 1360x768
I have to kill my Sun Ray session since I can move the canvas with the
mouse (panning) but I can do nothing else. I also don't see the mouse
cursor anymore.
Might this approach work eventually? Or does the Sun Ray need another
kind of workaround?
Kind regards,
Ivar
Ivar Janmaat schreef:
Hello,
What are the latest and greatest options for xrandr with 4.2?
I have some trouble using xrandr in combination with custom resolutions.
If I login on a Sun Ray with monitor A (a small monitor with custom
resolutions) I have the following supported screen sizes:
bash-4.0$ /usr/X11R6/bin/xrandr
Screen 0: minimum 640 x 480, current 1360 x 768, maximum 1360 x 1024
default connected 1360x768+0+0 (normal left inverted right) 0mm x 0mm
640x480 0.0 800x600 0.0 1024x768 0.0
1152x900 0.0 1280x1024 0.0 1280x800 0.0
1360x768 0.0*
If I move to a Sun Ray with monitor B (a bigger screen) I am (as
expected) unable to use a higher resolution.
My options are still the same:
bash-4.0$ /usr/X11R6/bin/xrandr
Screen 0: minimum 640 x 480, current 1360 x 768, maximum 1360 x 1024
default connected 1360x768+0+0 (normal left inverted right) 0mm x 0mm
640x480 0.0 800x600 0.0 1024x768 0.0
1152x900 0.0 1280x1024 0.0 1280x800 0.0
1360x768 0.0*
I was under the impression however that the other way around should
work without a problem.
If I login on the Sun Ray with monitor B (the bigger screen).
The supported resolutions are:
bash-4.0$ /usr/X11R6/bin/xrandr
Screen 0: minimum 640 x 480, current 1920 x 1200, maximum 1920 x 1200
default connected 1920x1200+0+0 (normal left inverted right) 0mm x 0mm
640x480 0.0 800x600 0.0 1024x768 0.0
1152x900 0.0 1280x1024 0.0 1280x800 0.0
1400x1050 0.0 1440x900 0.0 1600x1024 0.0
1600x1200 0.0 1680x1050 0.0 1920x1080 0.0
1920x1200 0.0*
Now I move to the Sun Ray with monitor A (the smaller screen).
The supported resolutions after the move are:
Screen 0: minimum 640 x 480, current 1920 x 1200, maximum 1920 x 1200
default connected 1920x1200+0+0 (normal left inverted right) 0mm x 0mm
640x480 0.0 800x600 0.0 1024x768 0.0
1152x900 0.0 1280x1024 0.0 1280x800 0.0
1400x1050 0.0 1440x900 0.0 1600x1024 0.0
1600x1200 0.0 1680x1050 0.0 1920x1080 0.0
1920x1200 0.0*
So it looks like the xrandr list is not updated after I moved since
the custom resolution of the smaller screen ( 1360x768) is not in the
list.
In the beginning of this year Loeki wrote:
But we noticed the available modes in XRandR don't get updated when you
insert your card in another Sun Ray.
Is there a way to insert custom modes or force the mode list to update
upon
reinsertion?
Bob replied:
No, not today. Perhaps in our next release.
So I was wondering if there is a workaround in version Sun Ray 4.2 for
this problem?
Somehow I need to get the custom resolution in the xrandr list of
supported resolutions.
Kind regards,
Ivar
Ps
I have had to set the custom resolution on the smaller screen with:
# /opt/SUNWut/sbin/utresdef -a -c "Panasonic LCD TV" 1360x...@60
1360x768 <<EOF
htotal=1776
hfp=64
hsyncwidth=144
vtotal=795
vfp=1
vsyncwidth=3
vcomposite=8
pixclock=8472
xres=1360
yres=768
hz=60
EOF
# /opt/SUNWut/sbin/utresadm -a -v 1 -c IEEE802.xxxxxxxxxxxx -t default
1360x...@60
_______________________________________________
SunRay-Users mailing list
[email protected]
http://www.filibeto.org/mailman/listinfo/sunray-users
_______________________________________________
SunRay-Users mailing list
[email protected]
http://www.filibeto.org/mailman/listinfo/sunray-users