HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: X Window System
Operating System - HP-UX
1836987
Members
2079
Online
110111
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2003 10:00 PM
10-20-2003 10:00 PM
Hi forumers,
a programmer ask me about X11 and I have no answer. Can anybody help me. I post the question as follows:
I need help to understand exactly what triggers the creation of the
X visuals when a HP workstation is booted.
It seems that the file X0screens is the trigger for that but that is not
very clear for me.
If this file contains only the line
Screen /dev/crt
it looks like several visuals are created (after a reboot), that means
I have 3 or 4 PseudoColor visual + 1 DirectColor visual + 1 or 2 TrueColor
visuals. It seems that the default visual is a PseudoColor visual.
Where are defined these visuals and the default one ?
For PseudoColor visuals, it looks like like there are doubled, and it looks
like the difference is relative to the DOUBLE-BUFFER perflevel. Do you
know the difference ?
When the default visual has a perflevel equal to 1, I noticed that the
refresh of CAS graphics is very sloiw.
Second big question is relative to the following line we need currently to
add in the X0screens to make CAS working correctly:
ScreenOptions DisableDefaultCmapTransparency
Without this parameter, the color allocation in the default colormap fails
My hypothesis is that this parameter allows to reduce the number of allocated
colors in the default colormap before trying to start CAS. Is it correct ?
The problem could be that, as soon as I add this screen option, then I have
only 2 PseudoColor visuals and no more a TrueColor visual. Do you know why ?
Thanks in advance
Carsten
a programmer ask me about X11 and I have no answer. Can anybody help me. I post the question as follows:
I need help to understand exactly what triggers the creation of the
X visuals when a HP workstation is booted.
It seems that the file X0screens is the trigger for that but that is not
very clear for me.
If this file contains only the line
Screen /dev/crt
it looks like several visuals are created (after a reboot), that means
I have 3 or 4 PseudoColor visual + 1 DirectColor visual + 1 or 2 TrueColor
visuals. It seems that the default visual is a PseudoColor visual.
Where are defined these visuals and the default one ?
For PseudoColor visuals, it looks like like there are doubled, and it looks
like the difference is relative to the DOUBLE-BUFFER perflevel. Do you
know the difference ?
When the default visual has a perflevel equal to 1, I noticed that the
refresh of CAS graphics is very sloiw.
Second big question is relative to the following line we need currently to
add in the X0screens to make CAS working correctly:
ScreenOptions DisableDefaultCmapTransparency
Without this parameter, the color allocation in the default colormap fails
My hypothesis is that this parameter allows to reduce the number of allocated
colors in the default colormap before trying to start CAS. Is it correct ?
The problem could be that, as soon as I add this screen option, then I have
only 2 PseudoColor visuals and no more a TrueColor visual. Do you know why ?
Thanks in advance
Carsten
Solved! Go to Solution.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2003 10:41 PM
10-20-2003 10:41 PM
Re: X Window System
Hi Carsten,
give that link to your developer.
http://www.docs.hp.com/hpux/11.0/index.html
Go to the CDE section.
He should pick what he need !!
Roland
give that link to your developer.
http://www.docs.hp.com/hpux/11.0/index.html
Go to the CDE section.
He should pick what he need !!
Roland
Sometimes you lose and sometimes the others win
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2003 10:46 AM
10-21-2003 10:46 AM
Solution
The X server on HP-UX usually presents as many visuals as it can to allow access to all the features a graphics card provides. That varies for different graphics cards. The specific visuals and options supported by various cards are listed in chapters 4 and 5 of the "Graphics Administration Guide for HP-UX 11.x", available from
http://h20000.www2.hp.com/bc/docs/support/SupportManual/lpv38356/lpv38356.pdf
You can affect which visuals are available by setting options with SAM or by editing X0screens (or XF86Config for FireGL-UX and newer cards). There is no direct list of visuals in X0screens, but some options will affect available visuals and which visual is used as the default.
Different visuals are used for specific OpenGL features. It is common to have visuals for overlay planes and image plains, with single buffered and double buffered visuals. Some will look alike to plain X11 programs. There is a utility in /opt/graphics/OpenGL/contrib/xglinfo that you can build an run to report the OpenGL specific features of all the visuals on an X server.
The DisableDefaultCmapTransparency option is an extreme fix for applications that absolutely insist on getting many colors from the default colormap. The color index 255 is normally reserved on the Visualize-FXE for a transparent color into the image planes where the TrueColor visuals reside. The option releases that color index to colormaps in the default visual. There is then no transparent color available for showing through to the image plane visuals.
http://h20000.www2.hp.com/bc/docs/support/SupportManual/lpv38356/lpv38356.pdf
You can affect which visuals are available by setting options with SAM or by editing X0screens (or XF86Config for FireGL-UX and newer cards). There is no direct list of visuals in X0screens, but some options will affect available visuals and which visual is used as the default.
Different visuals are used for specific OpenGL features. It is common to have visuals for overlay planes and image plains, with single buffered and double buffered visuals. Some will look alike to plain X11 programs. There is a utility in /opt/graphics/OpenGL/contrib/xglinfo that you can build an run to report the OpenGL specific features of all the visuals on an X server.
The DisableDefaultCmapTransparency option is an extreme fix for applications that absolutely insist on getting many colors from the default colormap. The color index 255 is normally reserved on the Visualize-FXE for a transparent color into the image planes where the TrueColor visuals reside. The option releases that color index to colormaps in the default visual. There is then no transparent color available for showing through to the image plane visuals.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP