LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.

Notices


Reply
  Search this Thread
Old 01-28-2007, 09:56 PM   #1
praveen_repelle
Member
 
Registered: Jan 2007
Location: Mumbai
Distribution: Solaris, CentOS
Posts: 42

Rep: Reputation: 15
Java Desktop is blurred


Hi,
I boot into the Java Desktop environment to find the screen to be blurred and hazy... ( resolution seems to be low ).

At the same time, if I change the preferred X environment to CDE, I get a high resolution screen, which is very clear.

Any specific packages that I might be missing out in the installation, that could affect better clarity to the Java Desktop Env.

My OS: Solaris 10 06/06 [ x86 ]

Thanks,

Praveen.
 
Old 01-29-2007, 01:34 AM   #2
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
Both graphic environments start only after the X display is up and configured, so what you are describing is difficult to explain.

Can you check if the screen resolutions are identical between CDE and JDS ? (compare xdpyinfo output).

Is the blurring still happening when inside an application (eg. firefox) ?
 
Old 01-29-2007, 09:16 AM   #3
Dox Systems - Brian
Member
 
Registered: Nov 2006
Posts: 344

Rep: Reputation: 31
Is this on the console, or a SunRay client?
 
Old 01-29-2007, 10:32 PM   #4
praveen_repelle
Member
 
Registered: Jan 2007
Location: Mumbai
Distribution: Solaris, CentOS
Posts: 42

Original Poster
Rep: Reputation: 15
Details of my Standalone machine:
SunOS machine-p4 5.10 Generic_118855-14 i86pc i386 i86pc

Output of xdpyinfo while on JDS:

name of display: :0.0
version number: 11.0
vendor string: Sun Microsystems, Inc.
vendor release number: 6620
maximum request size: 262140 bytes
motion buffer size: 256
bitmap unit, bit order, padding: 32, LSBFirst, 32
image byte order: LSBFirst
number of supported pixmap formats: 6
supported pixmap formats:
depth 1, bits_per_pixel 1, scanline_pad 32
depth 4, bits_per_pixel 8, scanline_pad 32
depth 8, bits_per_pixel 8, scanline_pad 32
depth 15, bits_per_pixel 16, scanline_pad 32
depth 16, bits_per_pixel 16, scanline_pad 32
depth 24, bits_per_pixel 32, scanline_pad 32
keycode range: minimum 8, maximum 254
focus: window 0xb80009, revert to Parent
number of extensions: 30
AccessX
Adobe-DPS-Extension
DAMAGE
DOUBLE-BUFFER
DPMS
DPSExtension
Extended-Visual-Information
LBX
MIT-SCREEN-SAVER
MIT-SHM
MIT-SUNDRY-NONSTANDARD
Multi-Buffering
RECORD
SECURITY
SHAPE
SUN_ALLPLANES
SUN_DGA
SUN_OVL
SUN_SME
SYNC
SolarisIA
TOG-CUP
X-Resource
XC-APPGROUP
XC-MISC
XEVIE
XFIXES
XInputDeviceEvents
XInputExtension
XTEST
default screen number: 0
number of screens: 1

screen #0:
dimensions: 1024x768 pixels (321x241 millimeters)
resolution: 81x81 dots per inch
depths (6): 8, 1, 4, 15, 16, 24
root window id: 0x3c
depth of root window: 8 planes
number of colormaps: minimum 1, maximum 1
default colormap: 0x20
default number of colormap cells: 256
preallocated pixels: black 0, white 1
options: backing-store YES, save-unders YES
largest cursor: 32x32
current input event mask: 0xfa2033
KeyPressMask KeyReleaseMask EnterWindowMask
LeaveWindowMask ButtonMotionMask StructureNotifyMask
SubstructureNotifyMask SubstructureRedirectMask FocusChangeMask
PropertyChangeMask ColormapChangeMask
number of visuals: 6
default visual id: 0x21
visual:
visual id: 0x21
class: PseudoColor
depth: 8 planes
available colormap entries: 256
red, green, blue masks: 0x0, 0x0, 0x0
significant bits in color specification: 8 bits
visual:
visual id: 0x22
class: GrayScale
depth: 8 planes
available colormap entries: 256
red, green, blue masks: 0x0, 0x0, 0x0
significant bits in color specification: 8 bits
visual:
visual id: 0x23
class: StaticColor
depth: 8 planes
available colormap entries: 256
red, green, blue masks: 0x7, 0x38, 0xc0
significant bits in color specification: 8 bits
visual:
visual id: 0x24
class: TrueColor
depth: 8 planes
available colormap entries: 8 per subfield
red, green, blue masks: 0x7, 0x38, 0xc0
significant bits in color specification: 8 bits
visual:
visual id: 0x25
class: DirectColor
depth: 8 planes
available colormap entries: 8 per subfield
red, green, blue masks: 0x7, 0x38, 0xc0
significant bits in color specification: 8 bits
visual:
visual id: 0x26
class: StaticGray
depth: 8 planes
available colormap entries: 256
red, green, blue masks: 0x0, 0x0, 0x0
significant bits in color specification: 8 bits


I have run xdpyinfo on CDE screen.
Observation was that the output was similar.

I am pasting the diff command output of the two screen files [ JDS and CDE ]

18c18
< focus: window 0xb80009, revert to Parent
---
> focus: window 0x800009, revert to PointerRoot
65,67c65,67
< current input event mask: 0xfa2033
< KeyPressMask KeyReleaseMask EnterWindowMask
< LeaveWindowMask ButtonMotionMask StructureNotifyMask
---
> current input event mask: 0x38003f
> KeyPressMask KeyReleaseMask ButtonPressMask
> ButtonReleaseMask EnterWindowMask LeaveWindowMask
69d68
< PropertyChangeMask ColormapChangeMask

Also, I am unable to change Desktop Resolution from :

Preferences -- Desktop Preferences -- Display -- Screen Resolution

Error Dialog Box displays the following message:

The XServer does not support the XRandR extension. Runtime resolution changes to the display size are not available.

Regards,

Praveen.
 
Old 01-30-2007, 01:35 AM   #5
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
What kind of screen is yours ? CRT or LCD ?
 
Old 01-30-2007, 07:55 AM   #6
Dox Systems - Brian
Member
 
Registered: Nov 2006
Posts: 344

Rep: Reputation: 31
Quote:
Originally Posted by praveen_repelle
Also, I am unable to change Desktop Resolution from :

Preferences -- Desktop Preferences -- Display -- Screen Resolution

Error Dialog Box displays the following message:

The XServer does not support the XRandR extension. Runtime resolution changes to the display size are not available.
That's normal. If anyone figures out how to make that work, I'd like to know how. None of the many Solaris boxen I've seen can change the resolution that way... On SPARCs, it's usually m64config, and from x86 I think it's xdmconfig -- and has to be done from the CLI.
 
Old 01-30-2007, 09:10 AM   #7
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
Quote:
Originally Posted by Dox Systems - Brian
That's normal. If anyone figures out how to make that work, I'd like to know how.
None of the many Solaris boxen I've seen can change the resolution that way...
Recent Solaris releases allow that. My laptop, using either the Nvidia proprietary or the nv Xorg driver supports changing the resolution on the fly with RANDR extension.
Quote:
On SPARCs, it's usually m64config, and from x86 I think it's xdmconfig -- and has to be done from the CLI.
Actually kdmconfig, but it's becoming obsolete now that Xorg is replacing Xsun.
 
Old 01-30-2007, 09:05 PM   #8
praveen_repelle
Member
 
Registered: Jan 2007
Location: Mumbai
Distribution: Solaris, CentOS
Posts: 42

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by jlliagre
What kind of screen is yours ? CRT or LCD ?
CRT 17" Compaq monitor.

I have run kdmconfig earlier, and selected the 1024x768, that is what reflects on the CDE screen.

The output of xdpyinfo also has a mention of the screen resolution, however, the screen still comes across as blurred.

Just curious, Is there a specific version of Java Runtime Env. that I might need to install specifically, for the JDS to come good.

B'coz I went with the Full Dev Install and I suppose that would install all the packages required for X to work.
 
Old 01-31-2007, 12:57 AM   #9
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
Quote:
Originally Posted by praveen_repelle
CRT 17" Compaq monitor.

I have run kdmconfig earlier, and selected the 1024x768, that is what reflects on the CDE screen.

The output of xdpyinfo also has a mention of the screen resolution, however, the screen still comes across as blurred.
Can you try with another monitor and see if the blurring still appears ?

Quote:
Just curious, Is there a specific version of Java Runtime Env. that I might need to install specifically, for the JDS to come good.
No, they are mostly unrelated.

Can you better describe how this blurring looks like ?

If you do a screenshot under JDS and then view the saved file under CDE, does the blurring still appears ?
 
Old 01-31-2007, 05:34 AM   #10
praveen_repelle
Member
 
Registered: Jan 2007
Location: Mumbai
Distribution: Solaris, CentOS
Posts: 42

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by jlliagre
Can you try with another monitor and see if the blurring still appears ?

Can you better describe how this blurring looks like ?

If you do a screenshot under JDS and then view the saved file under CDE, does the blurring still appears ?
I don't have a different monitor to try on.

I have however noticed that the applications show up with fine resolution, within JDS, it is only the general interface which report poor picture quality.

By that I mean the screen is full of dots.... spaced apart.
It cannot be a monitor issue at all.
I have booted up Belenix, Schillix, and Nexenta OS, and I get good quality GUI interface.
These distros do not have JDS built in them, so I cannot vouch for that.

Please clarify: What exactly is XRANDR extension, and how to enable it or get it to work, b'coz I think that is where the problem lies.
 
Old 01-31-2007, 06:49 AM   #11
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
Quote:
Originally Posted by praveen_repelle
I don't have a different monitor to try on.
Nevermind, it's not related to your monitor.
Quote:
I have however noticed that the applications show up with fine resolution, within JDS, it is only the general interface which report poor picture quality.
By that I mean the screen is full of dots.... spaced apart.
It cannot be a monitor issue at all.
Correct.
I got it now, I overlook this part of your xdpyinfo output. You are using an 8 bit depth root window, while JDS expect it to be 16, 24 or 32.
root window id: 0x3c
depth of root window: 8 planes
Quote:
..
Please clarify: What exactly is XRANDR extension, and how to enable it or get it to work, b'coz I think that is where the problem lies.
XRANDR cannot change screen depth on the fly, it is just about resolution and orientation.
You need to fix the depth issue through the configuration file or a command.

What X server are you running, Xsun or Xorg ? "ps -ef|grep X" will tell you.
 
Old 02-01-2007, 03:53 AM   #12
praveen_repelle
Member
 
Registered: Jan 2007
Location: Mumbai
Distribution: Solaris, CentOS
Posts: 42

Original Poster
Rep: Reputation: 15
Thumbs up

Quote:
Originally Posted by jlliagre
root window id: 0x3c
depth of root window: 8 planes
What X server are you running, Xsun or Xorg ? "ps -ef|grep X" will tell you.
I have Xsun running.

I get a screen blanked out if I were to try Xorg with a space box coming up on the Screen stating Monitor Frequency Not supported.

So, using kdmconfig, I have selected Xsun. And it works.

Now, all I need to do would be change the default depth to something higher than 8 planes.....

And yes, I always login as root.... and the xdpyinfo mentions the root window resolution to be less.

Now, how to go about changing the default depth resolution ?
 
Old 02-01-2007, 04:01 AM   #13
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
kdmconfig let you set Xsun screen depth.

Run it again and don't select the "8 planes (256 colors)" choice but "16 planes (65536 colors)" or higher.
 
Old 02-01-2007, 12:49 PM   #14
praveen_repelle
Member
 
Registered: Jan 2007
Location: Mumbai
Distribution: Solaris, CentOS
Posts: 42

Original Poster
Rep: Reputation: 15
Thanks a lot; jlliagre;

I managed to configure the JDS resolution,

The display is crystal clear now.

Thank you Dox Systems - Brian for your valuable time;



Regards,
Praveen.
 
Old 02-01-2007, 03:39 PM   #15
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
You are welcome.

Next step would be to understand why Xorg doesn't work for you, as Xsun is being deprecated ...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Add launchers to desktop in Java Desktop System omega71122 Solaris / OpenSolaris 6 01-31-2006 05:15 PM
Is Java Desktop System really Java? NCC-1701&NCC-1701-D Programming 7 06-19-2005 03:55 PM
Blurred Screen. Help skea Linux - General 1 06-09-2005 08:08 AM
Blurred Screen skea General 1 06-09-2005 07:32 AM
the texts are blurred xephyr Linux - Newbie 1 10-24-2004 06:02 PM

LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris

All times are GMT -5. The time now is 06:40 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration