Project Home
Project Home
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - Jade - how to get 1280x480 working ?: (7 Items)
   
Jade - how to get 1280x480 working ?  
Customer is using the stock Jade BSP on a reference board.

They enabled just the 1280x480 mode in jade.conf, along with a pixel format of argb1555 i.e. display.conf is:

device{
	drivername=jade
	vid=0
	did=0
	deviceindex=0
	modeopts=/etc/system/config/jade.conf
	display{
		xres=1280
		yres=480
		refresh=60
		pixel_format=argb1555
  }

They enable just the existing 1280x480 line in jade.con

When they start it, they get:

# gf_dev_attach(): No error

sloginfo returns: 

Jan 01 00:00:00    2     8   200 io-display: driver doesn't support, or not configured for "argb1555" at 1280x480, 60Hz

Any clues ?

Thanks !

Dave
RE: Jade - how to get 1280x480 working ?  
Hey Dave,

Do you have the complete jade.conf and sloginfo?   If so can you post it
here?

Thanks
Mike

-----Original Message-----
From: Dave Bott [mailto:community-noreply@qnx.com] 
Sent: November 3, 2009 4:42 PM
To: advanced-graphics
Subject: Jade - how to get 1280x480 working ?

Customer is using the stock Jade BSP on a reference board.

They enabled just the 1280x480 mode in jade.conf, along with a pixel
format of argb1555 i.e. display.conf is:

device{
	drivername=jade
	vid=0
	did=0
	deviceindex=0
	modeopts=/etc/system/config/jade.conf
	display{
		xres=1280
		yres=480
		refresh=60
		pixel_format=argb1555
  }

They enable just the existing 1280x480 line in jade.con

When they start it, they get:

# gf_dev_attach(): No error

sloginfo returns: 

Jan 01 00:00:00    2     8   200 io-display: driver doesn't support, or
not configured for "argb1555" at 1280x480, 60Hz

Any clues ?

Thanks !

Dave



_______________________________________________

Advanced Graphics
http://community.qnx.com/sf/go/post41272
RE: Jade - how to get 1280x480 working ?  
Customer says:
 
I set the resolution back to 1024x768 and the program runs fine with no error messages.

As for the sloginfo there is only that one message:

Jan 01 00:00:00 2 8 200 io-display: driver doesn't support, or not
configured for "argb1555" at 1280x480, 60Hz
 
It's not clear to me how the jade.conf file precisely matches the mode that is specified in display.conf. Where does 
argb1555 fit in ?
 
If it is hdp and vdp, along with refresh, it might be nice to document that.
 
Are these files any help ?
 
Here's the non-working display.conf and jade.conf .
 
Regards
 
Dave
 
display.conf
device{
	drivername=jade
	vid=0
	did=0
	deviceindex=0
	modeopts=/etc/system/config/jade.conf
	display{
		xres=1280
		yres=480
		refresh=60
		pixel_format=argb1555
  }
}
jade.conf:
# devg-jade.so parameters for tailoring to specific boards and display modes.

#
# See MB8601 Jade Graphics Display Controller Specification for further details.

# Board-specific options:
#
# vidbase	Video Base Address (if PCI card, this value is ignored)
# regbase 	Register Base Address (if PCI card, this value is ignored)	
# vsize 	Amount of video memory
# irq		Interrupt number for InterruptAttach()
# setup		Setup mode and memory (1 = setmode, 0 = keep current setup) 
# dlsize	memory size for 1 drawlist (in bytes)
# anti          global anti-aliasing : 0 = off 1 = on (currently only supports lines)
# hw_tl         enable hw_acceleration of thick_lines : 0 = off 1 = on
# phl           main display default layer: 0-5
# dlayers       SC0en & SC1en fields for Multi-Display Control register (display 0)
# dmode         Dual Display mode (display 0) (0 = single display, 1 = dual parallel mode, 2 = dual multiplexed mode)
# logsw3d	Report 3D software fallback events to the system logger (warning: very verbose, diagnostic only): 0 = off 1 = 
on
# dlayers1      SC0en & SC1en fields for Multi-Display Control register (display 1)
# dmode1        Dual Display mode (display 1 (0 = single display, 1 = dual parallel mode, 2 = dual multiplexed mode)
# nocap1	Do not configure multiplexing pins for video capture unit 1 (0 configure pins for capture1, 1 - do not 
configure pins)	
#
# Note on the logsw3d option:
# The information captured to the system logger contains a "reason" bitmask,
# which specifies the rendering feature which could not be accelerated.  The
# bits in the bitmask are defined as follows:
#
# Stencil Test                        0x00000001
# Unsupported blend mode              0x00000002
# Unsupported Logical Operation       0x00000004
# Unsupported Texture feature         0x00000008
# Color Mask                          0x00000080
# Alpha Test                          0x00000100
# Fog                                 0x00000200
#
# The driver will use the first un-commented entry.
# Note: these are sample values and may need to be adjusted for your specific board
#

# Jade Starter Kit (JADESK) evaluation board
irq=32,regbase=0xf1fc0000,vsize=0x1000000,setup=1,dlsize=2048,anti=0,hw_tl=1,phl=2

# Multiplexed dual-display Jade Starter Kit (JADESK) evaluation board (display 0)
#irq=32,regbase=0xf1fc0000,vsize=0x1000000,setup=1,dlsize=2048,anti=0,hw_tl=1,phl=2,dmode=2,dlayer=0xffff

# Mode specific options: modes corresponding to uncommented entries will be
# available to applications.
#
# Note: For multiplexed dual display mode (dmode != 0), the DCM SC field must be adjusted to double to the clock rate!
#
# Display 0 Parameters
# htp		Horizontal Total Pixels
# hdp		Horizontal Display Period
# hsp		Horizontal Synchronize pulse Position
# hsw		Horizontal Syncronize pulse Width
# vsw 		Vertical Synchronize pulse Width
# vtr		Vertical Total Rasters
# vsp		Vertical Synchronize pulse Position
# vdp		Vertical Display Period
# dcm		Display Control Mode 1 register
# refresh	Refresh rate (in Hz)
#
# Display 1 Parameterrs (only used in parallel independant dual display)
#...
View Full Message
Attachment: Text winmail.dat 8.71 KB
RE: Jade - how to get 1280x480 working ?  
Thanks for this additional information.  

The framework will take the xres, yres, refresh, and pixel_format
specified in display.conf and query the driver for all supported
resolutions/refresh/pixel_formats to see if there is a match.
The slog message below indicates that the frame work couldn't find a
match.

In the case of the Jade (and many of the other embedded platforms) it
will only support a single resolution based on the settings in
jade.conf.  The driver should use the first uncommented 'mode' line.

I agree that it's not clear how all the pieces fit together especially
in this case.  Some other drivers have a bit better detail.

You're correct that hdp and vdp in jade.conf need to match xres and yres
in the display.conf.   argb1555 is the pixel format and the only one
that Jade will use. (it can do 8-bit but the framework doesn't support
this)

Looking at the config files below I don't see anything that appears to
be incorrect.   In case its some kind of formatting thing they may want
to delete all other 'mode' entries completely from the file.

------
Mike


-----Original Message-----
From: Dave Bott [mailto:community-noreply@qnx.com] 
Sent: November 3, 2009 10:36 PM
To: advanced-graphics
Subject: RE: Jade - how to get 1280x480 working ?

Customer says:
 
I set the resolution back to 1024x768 and the program runs fine with no
error messages.

As for the sloginfo there is only that one message:

Jan 01 00:00:00 2 8 200 io-display: driver doesn't support, or not
configured for "argb1555" at 1280x480, 60Hz
 
It's not clear to me how the jade.conf file precisely matches the mode
that is specified in display.conf. Where does argb1555 fit in ?
 
If it is hdp and vdp, along with refresh, it might be nice to document
that.
 
Are these files any help ?
 
Here's the non-working display.conf and jade.conf .
 
Regards
 
Dave
 
display.conf
device{
	drivername=jade
	vid=0
	did=0
	deviceindex=0
	modeopts=/etc/system/config/jade.conf
	display{ 
		xres=1280
		yres=480
		refresh=60
		pixel_format=argb1555
  }
}
jade.conf:
# devg-jade.so parameters for tailoring to specific boards and display
modes.

#
# See MB8601 Jade Graphics Display Controller Specification for further
details.

# Board-specific options:
#
# vidbase	Video Base Address (if PCI card, this value is ignored)
# regbase 	Register Base Address (if PCI card, this value is
ignored)	
# vsize 	Amount of video memory
# irq		Interrupt number for InterruptAttach()
# setup		Setup mode and memory (1 = setmode, 0 = keep current
setup) 
# dlsize	memory size for 1 drawlist (in bytes)
# anti          global anti-aliasing : 0 = off 1 = on (currently only
supports lines)
# hw_tl         enable hw_acceleration of thick_lines : 0 = off 1 = on
# phl           main display default layer: 0-5
# dlayers       SC0en & SC1en fields for Multi-Display Control register
(display 0)
# dmode         Dual Display mode (display 0) (0 = single display, 1 =
dual parallel mode, 2 = dual multiplexed mode)
# logsw3d	Report 3D software fallback events to the system logger
(warning: very verbose, diagnostic only): 0 = off 1 = on
# dlayers1      SC0en & SC1en fields for Multi-Display Control register
(display 1)
# dmode1        Dual Display mode (display 1 (0 = single display, 1 =
dual parallel mode, 2 = dual multiplexed mode)
# nocap1	Do not configure multiplexing pins for video capture
unit 1 (0 configure pins for capture1, 1 - do not configure pins)	
#
# Note on the logsw3d option:
# The information captured to the system logger contains a "reason"
bitmask,
# which specifies the rendering feature which could not be accelerated.
The
# bits in the bitmask are defined as follows:
#
# Stencil Test                        0x00000001
# Unsupported blend mode              0x00000002
# Unsupported Logical Operation       0x00000004
# Unsupported Texture feature         0x00000008
# Color Mask   ...
View Full Message
RE: Jade - how to get 1280x480 working ?  
Good call Mike - and thanks for all of the detailed info too !
 
Customer says:
"
Okay, I cleaned up the file, rebuilt and the error is gone, the driver seems to be working.

The only problem is the output is set for ARGB only. From what I can tell the sil164 on the eval board supports both 
Analog and DVI-D, it just needs to be switched over via I2C. Can this be done through the display driver? Or do you have
 another driver handle the configuration?
"
 
Any suggestion on the output control ?
 
Thanks !
 
Dave

________________________________

From: Michael Van Reenen [mailto:community-noreply@qnx.com]
Sent: Wed 04/11/2009 6:25 AM
To: advanced-graphics
Subject: RE: Jade - how to get 1280x480 working ?




Thanks for this additional information. 

The framework will take the xres, yres, refresh, and pixel_format
specified in display.conf and query the driver for all supported
resolutions/refresh/pixel_formats to see if there is a match.
The slog message below indicates that the frame work couldn't find a
match.

In the case of the Jade (and many of the other embedded platforms) it
will only support a single resolution based on the settings in
jade.conf.  The driver should use the first uncommented 'mode' line.

I agree that it's not clear how all the pieces fit together especially
in this case.  Some other drivers have a bit better detail.

You're correct that hdp and vdp in jade.conf need to match xres and yres
in the display.conf.   argb1555 is the pixel format and the only one
that Jade will use. (it can do 8-bit but the framework doesn't support
this)

Looking at the config files below I don't see anything that appears to
be incorrect.   In case its some kind of formatting thing they may want
to delete all other 'mode' entries completely from the file.

------
Mike


-----Original Message-----
From: Dave Bott [mailto:community-noreply@qnx.com]
Sent: November 3, 2009 10:36 PM
To: advanced-graphics
Subject: RE: Jade - how to get 1280x480 working ?

Customer says:

I set the resolution back to 1024x768 and the program runs fine with no
error messages.

As for the sloginfo there is only that one message:

Jan 01 00:00:00 2 8 200 io-display: driver doesn't support, or not
configured for "argb1555" at 1280x480, 60Hz

It's not clear to me how the jade.conf file precisely matches the mode
that is specified in display.conf. Where does argb1555 fit in ?

If it is hdp and vdp, along with refresh, it might be nice to document
that.

Are these files any help ?

Here's the non-working display.conf and jade.conf .

Regards

Dave

display.conf
device{
        drivername=jade
        vid=0
        did=0
        deviceindex=0
        modeopts=/etc/system/config/jade.conf
        display{
                xres=1280
                yres=480
                refresh=60
                pixel_format=argb1555
  }
}
jade.conf:
# devg-jade.so parameters for tailoring to specific boards and display
modes.

#
# See MB8601 Jade Graphics Display Controller Specification for further
details.

# Board-specific options:
#
# vidbase       Video Base Address (if PCI card, this value is ignored)
# regbase       Register Base Address (if PCI card, this value is
ignored)       
# vsize         Amount of video memory
# irq           Interrupt number for InterruptAttach()
# setup         Setup mode and memory (1 = setmode, 0 = keep current
setup)
# dlsize        memory size for 1 drawlist (in bytes)
# anti          global anti-aliasing : 0 = off 1 = on (currently only
supports lines)
# hw_tl         enable hw_acceleration of thick_lines : 0 = off 1 = on
# phl           main display default layer: 0-5
# dlayers       SC0en & SC1en fields for Multi-Display Control register
(display 0)
# dmode         Dual Display mode (display 0) (0 = single display, 1 =
dual parallel mode, 2 = dual multiplexed mode)
# logsw3d       Report 3D software fallback...
View Full Message
Attachment: Text winmail.dat 13.95 KB
RE: Jade - how to get 1280x480 working ?  
Our driver doesn't touch the SIL164 - so if they want to update the
settings they would need to do this through an external application
through I2C. 

Unfortunately I've not worked with this part myself so I don't have much
in the line of suggestions but from what I recall it is a fairly simply
device.

I know we have an I2C driver for the Jade (used it for video capture to
setup the video decoder) so it may be fairly easy to write a small app
to do this change.

-----
Mike



-----Original Message-----
From: Dave Bott [mailto:community-noreply@qnx.com] 
Sent: November 4, 2009 3:26 PM
To: advanced-graphics
Subject: RE: Jade - how to get 1280x480 working ?

Good call Mike - and thanks for all of the detailed info too !
 
Customer says:
"
Okay, I cleaned up the file, rebuilt and the error is gone, the driver
seems to be working.

The only problem is the output is set for ARGB only. From what I can
tell the sil164 on the eval board supports both Analog and DVI-D, it
just needs to be switched over via I2C. Can this be done through the
display driver? Or do you have another driver handle the configuration?
"
 
Any suggestion on the output control ?
 
Thanks !
 
Dave

________________________________

From: Michael Van Reenen [mailto:community-noreply@qnx.com]
Sent: Wed 04/11/2009 6:25 AM
To: advanced-graphics
Subject: RE: Jade - how to get 1280x480 working ?




Thanks for this additional information. 

The framework will take the xres, yres, refresh, and pixel_format
specified in display.conf and query the driver for all supported
resolutions/refresh/pixel_formats to see if there is a match.
The slog message below indicates that the frame work couldn't find a
match.

In the case of the Jade (and many of the other embedded platforms) it
will only support a single resolution based on the settings in
jade.conf.  The driver should use the first uncommented 'mode' line.

I agree that it's not clear how all the pieces fit together especially
in this case.  Some other drivers have a bit better detail.

You're correct that hdp and vdp in jade.conf need to match xres and yres
in the display.conf.   argb1555 is the pixel format and the only one
that Jade will use. (it can do 8-bit but the framework doesn't support
this)

Looking at the config files below I don't see anything that appears to
be incorrect.   In case its some kind of formatting thing they may want
to delete all other 'mode' entries completely from the file.

------
Mike


-----Original Message-----
From: Dave Bott [mailto:community-noreply@qnx.com]
Sent: November 3, 2009 10:36 PM
To: advanced-graphics
Subject: RE: Jade - how to get 1280x480 working ?

Customer says:

I set the resolution back to 1024x768 and the program runs fine with no
error messages.

As for the sloginfo there is only that one message:

Jan 01 00:00:00 2 8 200 io-display: driver doesn't support, or not
configured for "argb1555" at 1280x480, 60Hz

It's not clear to me how the jade.conf file precisely matches the mode
that is specified in display.conf. Where does argb1555 fit in ?

If it is hdp and vdp, along with refresh, it might be nice to document
that.

Are these files any help ?

Here's the non-working display.conf and jade.conf .

Regards

Dave

display.conf
device{
        drivername=jade
        vid=0
        did=0
        deviceindex=0
        modeopts=/etc/system/config/jade.conf
        display{
                xres=1280
                yres=480
                refresh=60
                pixel_format=argb1555
  }
}
jade.conf:
# devg-jade.so parameters for tailoring to specific boards and display
modes.

#
# See MB8601 Jade Graphics Display Controller Specification for further
details.

# Board-specific options:
#
# vidbase       Video Base Address (if PCI card, this value is ignored)
# regbase       Register Base Address (if PCI card, this value is
ignored)     ...
View Full Message
RE: Jade - how to get 1280x480 working ?  
That's too bad.
 
Thanks for letting me know, and for the much appreciated support !
 
Dave

________________________________

From: Michael Van Reenen [mailto:community-noreply@qnx.com]
Sent: Wed 04/11/2009 1:04 PM
To: advanced-graphics
Subject: RE: Jade - how to get 1280x480 working ?




Our driver doesn't touch the SIL164 - so if they want to update the
settings they would need to do this through an external application
through I2C.

Unfortunately I've not worked with this part myself so I don't have much
in the line of suggestions but from what I recall it is a fairly simply
device.

I know we have an I2C driver for the Jade (used it for video capture to
setup the video decoder) so it may be fairly easy to write a small app
to do this change.

-----
Mike



-----Original Message-----
From: Dave Bott [mailto:community-noreply@qnx.com]
Sent: November 4, 2009 3:26 PM
To: advanced-graphics
Subject: RE: Jade - how to get 1280x480 working ?

Good call Mike - and thanks for all of the detailed info too !

Customer says:
"
Okay, I cleaned up the file, rebuilt and the error is gone, the driver
seems to be working.

The only problem is the output is set for ARGB only. From what I can
tell the sil164 on the eval board supports both Analog and DVI-D, it
just needs to be switched over via I2C. Can this be done through the
display driver? Or do you have another driver handle the configuration?
"

Any suggestion on the output control ?

Thanks !

Dave

________________________________

From: Michael Van Reenen [mailto:community-noreply@qnx.com]
Sent: Wed 04/11/2009 6:25 AM
To: advanced-graphics
Subject: RE: Jade - how to get 1280x480 working ?




Thanks for this additional information.

The framework will take the xres, yres, refresh, and pixel_format
specified in display.conf and query the driver for all supported
resolutions/refresh/pixel_formats to see if there is a match.
The slog message below indicates that the frame work couldn't find a
match.

In the case of the Jade (and many of the other embedded platforms) it
will only support a single resolution based on the settings in
jade.conf.  The driver should use the first uncommented 'mode' line.

I agree that it's not clear how all the pieces fit together especially
in this case.  Some other drivers have a bit better detail.

You're correct that hdp and vdp in jade.conf need to match xres and yres
in the display.conf.   argb1555 is the pixel format and the only one
that Jade will use. (it can do 8-bit but the framework doesn't support
this)

Looking at the config files below I don't see anything that appears to
be incorrect.   In case its some kind of formatting thing they may want
to delete all other 'mode' entries completely from the file.

------
Mike


-----Original Message-----
From: Dave Bott [mailto:community-noreply@qnx.com]
Sent: November 3, 2009 10:36 PM
To: advanced-graphics
Subject: RE: Jade - how to get 1280x480 working ?

Customer says:

I set the resolution back to 1024x768 and the program runs fine with no
error messages.

As for the sloginfo there is only that one message:

Jan 01 00:00:00 2 8 200 io-display: driver doesn't support, or not
configured for "argb1555" at 1280x480, 60Hz

It's not clear to me how the jade.conf file precisely matches the mode
that is specified in display.conf. Where does argb1555 fit in ?

If it is hdp and vdp, along with refresh, it might be nice to document
that.

Are these files any help ?

Here's the non-working display.conf and jade.conf .

Regards

Dave

display.conf
device{
        drivername=jade
        vid=0
        did=0
        deviceindex=0
        modeopts=/etc/system/config/jade.conf
        display{
                xres=1280
                yres=480
                refresh=60
                pixel_format=argb1555
  }
}
jade.conf:
# devg-jade.so parameters for tailoring to specific...
View Full Message
Attachment: Text winmail.dat 14.83 KB