From: Gordon Ross <gordon4959@ya...> - 2003-02-07 05:04:51
I'm running rdesktop 1.2.0 on Solaris 9, and
the X server is reporting an 8bpp visual as
the default, even though the display supports
24bpp. (presumably 8bpp is more efficient?)
Is there interest in either or both of:
(a) option to specify the visual to use
(b) code to search for a "best" visual
I think netscape has code to do (b).
Sorry I don't have time to implement
either of these at the moment.
Great product, by the way!
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
From: Peter Fales <psfales@lu...> - 2003-02-08 02:24:13
Is this an option for you? If your hardware supports 24 bits, you
you can tell the X server to use 24 bits as the default visual
instead of 8. The X command depends on the graphics hardware (e.g.
Creator, Creator 3, Creator 3D, Create elite, etc.) but it's probably
one of these:
/usr/sbin/ffbconfig -deflinear true
/usr/sbin/m64config -depth 24
/usr/sbin/afbconfig -deflinear true
After making this change you'll need to logout and log back in to
restart the X server with the new configuration.
If the screen appears "washed out" after making this change, you can
try adjusting the gamma correction. For example, a user has reported
afbconfig -deflinear true -g 1.1
Another user reported that none of these commands worked on a SunBlade
100. However, they were able to get it working by putting this command
:0 Local local_uid@... root /usr/openwin/bin/Xsun :0 -nobanner -dev /dev/fb1 defdepth 24
This hasn't caused any problems for us, and fixes problems with colors
flashing as the mousse is moved between windows. I've heard that some
older programs may have trouble because they assume that the default
visual is 8 bits. But, I haven't found any.
Peter Fales Lucent Technologies, Room 1C-436
N9IYJ 2000 N Naperville Rd PO Box 3033
internet: psfales@... Naperville, IL 60566-7033
work: (630) 979-8031
On Thu, Feb 06, 2003 at 09:04:51PM -0800, Gordon Ross wrote:
> I'm running rdesktop 1.2.0 on Solaris 9, and
> the X server is reporting an 8bpp visual as
> the default, even though the display supports
> 24bpp. (presumably 8bpp is more efficient?)
> Is there interest in either or both of:
> (a) option to specify the visual to use
> (b) code to search for a "best" visual
> I think netscape has code to do (b).
> Sorry I don't have time to implement
> either of these at the moment.
> Great product, by the way!
> Do you Yahoo!?
> Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
> This SF.NET email is sponsored by:
> SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
> rdesktop-devel mailing list