RE: How do I select a default visual

2011-07-13 Thread Kotaru, Raj
Hi Lukasz,

I tried startx -- -depth 8.
The X server via ps is identified to be running as:

root  2130  2129  1 05:11 tty8 00:00:00 /usr/bin/X :0 -depth 8 -auth 
/root/.serverauth.2112

In Xorg log file, I see:
[  4369.973] (++) intel(0): Depth 8, (--) framebuffer bpp 8
[  4369.973] (==) intel(0): RGB weight 888
[  4369.973] (**) intel(0): Default visual is PseudoColor
[  4369.973] (II) intel(0): Integrated Graphics Chipset: Intel(R) 965Q
[  4369.973] (--) intel(0): Chipset: 965Q
[  4369.973] (**) intel(0): DRI is disabled because it runs only at depths 16 
and 24.

I do not see any errors in Xorg log file.


However xdpyinfo still gives me a default trucolor (24 bit)  visual.

[orbcad@orbcad-testpc ~]$ xdpyinfo
name of display:localhost:12.0
version number:11.0
vendor string:Hummingbird Ltd.
vendor release number:1
maximum request size:  4194300 bytes
motion buffer size:  1
bitmap unit, bit order, padding:8, MSBFirst, 32
image byte order:MSBFirst
number of supported pixmap formats:4
supported pixmap formats:
depth 1, bits_per_pixel 1, scanline_pad 32
depth 8, bits_per_pixel 8, scanline_pad 32
depth 12, bits_per_pixel 16, scanline_pad 32
depth 24, bits_per_pixel 32, scanline_pad 32
keycode range:minimum 8, maximum 254
focus:  window 0x2800090, revert to Parent
number of extensions:13
BIG-REQUESTS
DOUBLE-BUFFER
Extended-Visual-Information
HCL-DOS-Access
HCLMISC
HCLxperf
LBX
SECURITY
SHAPE
TOG-CUP
XC-APPGROUP
XC-MISC
XInputExtension
default screen number:0
number of screens:1

screen #0:
  dimensions:1680x1050 pixels (480x300 millimeters)
  resolution:89x89 dots per inch
  depths (4):1, 8, 12, 24
  root window id:0x36
  depth of root window:24 planes
  number of colormaps:minimum 8183, maximum 8183
  default colormap:0x20
  default number of colormap cells:256
  preallocated pixels:black 0, white 16777215
  options:backing-store WHEN MAPPED, save-unders NO
  largest cursor:32x32
  current input event mask:0x70003c
ButtonPressMask  ButtonReleaseMaskEnterWindowMask  
LeaveWindowMask  SubstructureRedirectMask FocusChangeMask  
PropertyChangeMask   
  number of visuals:4
  default visual id:  0x24
  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:StaticGray
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:PseudoColor
depth:12 planes
available colormap entries:4096
red, green, blue masks:0x0, 0x0, 0x0
significant bits in color specification:8 bits
  visual:
visual id:0x24
class:TrueColor
depth:24 planes
available colormap entries:256 per subfield
red, green, blue masks:0xff, 0xff00, 0xff
significant bits in color specification:8 bits
[orbcad@orbcad-testpc ~]$   




-Original Message-
From: xorg-bounces+raj.kotaru=acs-inc@lists.freedesktop.org 
[mailto:xorg-bounces+raj.kotaru=acs-inc@lists.freedesktop.org] On Behalf Of 
Lukasz Masko
Sent: Monday, July 11, 2011 3:06 PM
To: xorg@lists.freedesktop.org
Subject: Re: How do I select a default visual

Dnia poniedziałek, 11 lipca 2011, Kotaru, Raj napisał:
 I am running Fedora 14 on a HP PC.  The video is Intel Corporation
 82Q963/Q965 Integrated Graphics Controller.
 
 I need to run a legacy application that requires an 8 bit Pseudocolor
 default visual.   It uses overlay visuals and requires a writable color
 map.
 
 I edited xorg.conf as follows:
 
 
 
 Output of Xdpyinfo gives me an 8 bit pseudocolor visual, but this is not
 the default.  Is there an option that lets me choose the default visual?

What happens when you start X with
startx -- -bpp 8
?
-- 
Łukasz Maśko   GG:   2441498_o)
Lukasz.Masko(at)ipipan.waw.pl   /\\
Registered Linux User #61028   _\_V
Ubuntu: staroafrykańskie słowo oznaczające Nie umiem zainstalować Debiana
___
xorg@lists.freedesktop.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.freedesktop.org/mailman/listinfo/xorg
Your subscription address: raj.kot...@acs-inc.com
___
xorg@lists.freedesktop.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.freedesktop.org/mailman/listinfo/xorg
Your

RE: How do I select a default visual

2011-07-13 Thread Kotaru, Raj
Alan,

I realize this and boy, do I feel stupid!!

Thank you
Raj


-Original Message-
From: Alan Coopersmith [mailto:alan.coopersm...@oracle.com] 
Sent: Wednesday, July 13, 2011 3:48 PM
To: Kotaru, Raj
Cc: e...@yen.ipipan.waw.pl; xorg@lists.freedesktop.org
Subject: Re: How do I select a default visual

On 07/13/11 08:09 AM, Kotaru, Raj wrote:
 Hi Lukasz,
 
 I tried startx -- -depth 8.
 The X server via ps is identified to be running as:
 
 root  2130  2129  1 05:11 tty8 00:00:00 /usr/bin/X :0 -depth 8 -auth 
 /root/.serverauth.2112
 
 In Xorg log file, I see:
 [  4369.973] (++) intel(0): Depth 8, (--) framebuffer bpp 8
 [  4369.973] (==) intel(0): RGB weight 888
 [  4369.973] (**) intel(0): Default visual is PseudoColor
 [  4369.973] (II) intel(0): Integrated Graphics Chipset: Intel(R) 965Q
 [  4369.973] (--) intel(0): Chipset: 965Q
 [  4369.973] (**) intel(0): DRI is disabled because it runs only at depths 16 
 and 24.
 
 I do not see any errors in Xorg log file.
 
 
 However xdpyinfo still gives me a default trucolor (24 bit)  visual.
 
 [orbcad@orbcad-testpc ~]$ xdpyinfo
 name of display:localhost:12.0
 version number:11.0
 vendor string:Hummingbird Ltd.

You're connecting to the wrong Xserver there - Hummingbird is a X server for
Microsoft Windows, it's not Xorg.

-- 
-Alan Coopersmith-alan.coopersm...@oracle.com
 Oracle Solaris Platform Engineering: X Window System

___
xorg@lists.freedesktop.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.freedesktop.org/mailman/listinfo/xorg
Your subscription address: arch...@mail-archive.com


Re: How do I select a default visual

2011-07-13 Thread Alan Coopersmith
On 07/13/11 08:09 AM, Kotaru, Raj wrote:
 Hi Lukasz,
 
 I tried startx -- -depth 8.
 The X server via ps is identified to be running as:
 
 root  2130  2129  1 05:11 tty8 00:00:00 /usr/bin/X :0 -depth 8 -auth 
 /root/.serverauth.2112
 
 In Xorg log file, I see:
 [  4369.973] (++) intel(0): Depth 8, (--) framebuffer bpp 8
 [  4369.973] (==) intel(0): RGB weight 888
 [  4369.973] (**) intel(0): Default visual is PseudoColor
 [  4369.973] (II) intel(0): Integrated Graphics Chipset: Intel(R) 965Q
 [  4369.973] (--) intel(0): Chipset: 965Q
 [  4369.973] (**) intel(0): DRI is disabled because it runs only at depths 16 
 and 24.
 
 I do not see any errors in Xorg log file.
 
 
 However xdpyinfo still gives me a default trucolor (24 bit)  visual.
 
 [orbcad@orbcad-testpc ~]$ xdpyinfo
 name of display:localhost:12.0
 version number:11.0
 vendor string:Hummingbird Ltd.

You're connecting to the wrong Xserver there - Hummingbird is a X server for
Microsoft Windows, it's not Xorg.

-- 
-Alan Coopersmith-alan.coopersm...@oracle.com
 Oracle Solaris Platform Engineering: X Window System

___
xorg@lists.freedesktop.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.freedesktop.org/mailman/listinfo/xorg
Your subscription address: arch...@mail-archive.com


How do I select a default visual

2011-07-11 Thread Kotaru, Raj
I am running Fedora 14 on a HP PC.  The video is Intel Corporation
82Q963/Q965 Integrated Graphics Controller.

I need to run a legacy application that requires an 8 bit Pseudocolor
default visual.   It uses overlay visuals and requires a writable color
map.

I edited xorg.conf as follows:

 

Output of Xdpyinfo gives me an 8 bit pseudocolor visual, but this is not
the default.  Is there an option that lets me choose the default visual?

 

Thanks

Raj

 

 

Xorg.conf sample:

 

Section Device

Identifier  Card0

Driver  intel

BusID   PCI:0:2:0

EndSection

 

Section Screen

Identifier Screen0

Device Card0

MonitorMonitor0

 

DefaultDepth8

 

SubSection Display

Viewport   0 0

Depth 8

VisualPseudoColor

EndSubSection

EndSection

 

Xdpyinfo output:

 

 

screen #0:

  dimensions:1680x1050 pixels (480x300 millimeters)

  resolution:89x89 dots per inch

  depths (4):1, 8, 12, 24

  root window id:0x36

  depth of root window:24 planes

  number of colormaps:minimum 8183, maximum 8183

  default colormap:0x20

  default number of colormap cells:256

  preallocated pixels:black 0, white 16777215

  options:backing-store WHEN MAPPED, save-unders NO

  largest cursor:32x32

  current input event mask:0x70203c

ButtonPressMask  ButtonReleaseMaskEnterWindowMask


LeaveWindowMask  ButtonMotionMask
SubstructureRedirectMask 

FocusChangeMask  PropertyChangeMask   

  number of visuals:4

  default visual id:  0x24

  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:StaticGray

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:PseudoColor

depth:12 planes

available colormap entries:4096

red, green, blue masks:0x0, 0x0, 0x0

significant bits in color specification:8 bits

  visual:

visual id:0x24

class:TrueColor

depth:24 planes

available colormap entries:256 per subfield

red, green, blue masks:0xff, 0xff00, 0xff

significant bits in color specification:8 bits~


___
xorg@lists.freedesktop.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.freedesktop.org/mailman/listinfo/xorg
Your subscription address: arch...@mail-archive.com

Re: How do I select a default visual

2011-07-11 Thread Łukasz Maśko
Dnia poniedziałek, 11 lipca 2011, Kotaru, Raj napisał:
 I am running Fedora 14 on a HP PC.  The video is Intel Corporation
 82Q963/Q965 Integrated Graphics Controller.
 
 I need to run a legacy application that requires an 8 bit Pseudocolor
 default visual.   It uses overlay visuals and requires a writable color
 map.
 
 I edited xorg.conf as follows:
 
 
 
 Output of Xdpyinfo gives me an 8 bit pseudocolor visual, but this is not
 the default.  Is there an option that lets me choose the default visual?

What happens when you start X with
startx -- -bpp 8
?
-- 
Łukasz Maśko   GG:   2441498_o)
Lukasz.Masko(at)ipipan.waw.pl   /\\
Registered Linux User #61028   _\_V
Ubuntu: staroafrykańskie słowo oznaczające Nie umiem zainstalować Debiana
___
xorg@lists.freedesktop.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.freedesktop.org/mailman/listinfo/xorg
Your subscription address: arch...@mail-archive.com