Hi, We have a script that runs with utaction that will detect and resize to the new monitor resolution. The problem we are currently having is that when a user removes their card for exactly 10 minutes, and re-inserts the card, xrandr "sets" the resolution, but the resolution does not indeed get set. When the user is active (card in a sunray somewhere) the time out does not exist. We are using Solaris 10 SPARC with SRSS 4.1. I am very happy with some of the new features that are coming into sunray including this one. Going from a 1280x1024 to 1680x1050 as you'll see below, Here is a sample log of a working xrandr -s <resolution>
SZ: Pixels Physical Refresh 0 640 x 480 ( 180mm x 135mm ) 1 800 x 600 ( 225mm x 169mm ) 2 1024 x 768 ( 288mm x 216mm ) 3 1152 x 900 ( 324mm x 254mm ) *4 1280 x 1024 ( 361mm x 289mm ) 5 1400 x 1050 ( 394mm x 296mm ) 6 1440 x 900 ( 406mm x 254mm ) 7 1600 x 1024 ( 451mm x 289mm ) 8 1600 x 1200 ( 451mm x 339mm ) 9 1680 x 1050 ( 473mm x 296mm ) Current rotation - normal Current reflection - none Rotations possible - normal Reflections possible - none Setting size to 9, rotation to normal Setting reflection on neither axis Event received, type = 90 Got a screen change notify event! window = 41 root = 41 size_index = 9 rotation 1 timestamp = 895388740, config_timestamp = 895350272 Rotation = 1 1680 X 1050 pixels, 473 X 296 mm Display width 1680, height 1050 Display widthmm 473, heightmm 296 new Subpixel rendering model is unknown ***The Broken one after exactly 10 minutes after the card has been removed from a Sunray, and is repeatable consistently at exactly 10 minutes looks like this: SZ: Pixels Physical Refresh 0 640 x 480 ( 180mm x 135mm ) 1 800 x 600 ( 225mm x 169mm ) 2 1024 x 768 ( 288mm x 216mm ) 3 1152 x 900 ( 324mm x 254mm ) 4 1280 x 1024 ( 361mm x 289mm ) 5 1400 x 1050 ( 394mm x 296mm ) 6 1440 x 900 ( 406mm x 254mm ) 7 1600 x 1024 ( 451mm x 289mm ) 8 1600 x 1200 ( 451mm x 339mm ) * 9 1680 x 1050 ( 473mm x 296mm ) Current rotation - normal Current reflection - none Rotations possible - normal Reflections possible - none Setting size to 4, rotation to normal But it does not finish by setting it to the selected Resolution as you see in the previous log, it stays at the last set resolution, in the above case 1680x1050 instead of going to 1280x1024 as requested. Any Ideas would be helpful... Adam
_______________________________________________ SunRay-Users mailing list [email protected] http://www.filibeto.org/mailman/listinfo/sunray-users
