Project Home
Project Home
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - Intel 82915 (Advantech 6152) and Pg.i830 - Photon hangs !: (19 Items)
   
Intel 82915 (Advantech 6152) and Pg.i830 - Photon hangs !  
Somebody uses Pg.i830 and Advantech_6152 ?

My PC  hangs on start Photon with black screen
Re: Intel 82915 (Advantech 6152) and Pg.i830 - Photon hangs !  
1) Try comment first string (Hydra.ms -T) in file /qnx4/grahics/trappers/crttrap.list. 
2) Run command: "crttrap trap"
3) Replace first string in file crt.node by string with Pg.i830.
 Any mode for Pg.i830 will work, VESA modes will hangup system.

EVK  
Re: Intel 82915 (Advantech 6152) and Pg.i830 - Photon hangs !  
> 1) Try comment first string (Hydra.ms -T) in file /qnx4/grahics/trappers/
> crttrap.list. 
> 2) Run command: "crttrap trap"
> 3) Replace first string in file crt.node by string with Pg.i830.
>  Any mode for Pg.i830 will work, VESA modes will hangup system.
> 
> EVK  


All of these methods I have tried. Nothing helps.
Works only
vesabios.ms-i0x12-cnone-nnone-r; Pg.vga4-g640x480x4 ....... Safe Mode
vesabios.ms-i0x12 -r; Pg.vga4-g640x480x4 ...... - VGA 16 color

Alex
Re: Intel 82915 (Advantech 6152) and Pg.i830 - Photon hangs !  
Hi,

I have the exact same problem, but with different hardware.

I tested the Pg.i830 driver on two different SBCs

1. WAFER-945GSE3 : http://www.ieiworld.com/product_groups/industrial/content.aspx?keyword=wafer-945gse3&gid=
00001000010000000001&cid=09050665109937740140&id=09320391708808849321

2. WAFER-8523 : http://www.ieiworld.com/product_groups/industrial/content.aspx?gid=00001000010000000001&cid=
09050662496936266123&id=08331349043427312250

I used the QNX® 4 Product Suite 2009 ISO to install QNX on the target boards. When I boot up, log in and start Photon, 
I get a black screen.  I cannot get the system to shut down by typing blindly for system shutdown (WinKey, h, s).

I checked and according to the QNX® 4 Product Suite 2009 Release notes, the Pg.i830 supports the following chipsets:

Pg.i830 
    Graphics driver for Intel I830/I845/I852/I855/I865/I915/I945/I965 

The I852 and the I945 should then be supported?

I then changed to the 2010 release of the Pg.i830 release and I have the same problem with both chipsets and the new 
driver.

What could be the problem?  Does anyone know of a SBC supporting PC/104 ISA and have QNX4 supported graphics?

Regards,
TJ

Re: Intel 82915 (Advantech 6152) and Pg.i830 - Photon hangs !  
Hi Nick,

Yes, i852 and i945 are both supported by the Pg.i830.

There are several questions to you. How do you start Photon? Do you create 
the crt.<node> file with crttrap utility? If so, does crttrap hang too?

Try to comment out first line (Hydra.ms) in the 
/qnx4/graphics/trappers/crttrap.list file and then launch:

# crttrap clear
# crttrap trap
# ph

Please attach output of the show_pci -vvv utility.

-- 
Respectfully,
Oleg

> Hi,
> 
> I have the exact same problem, but with different hardware.
> 
> I tested the Pg.i830 driver on two different SBCs
> 
> 1. WAFER-945GSE3 :
> http://www.ieiworld.com/product_groups/industrial/content.aspx?keyword
> =wafer-945gse3&gid=00001000010000000001&cid=09050665109937740140&id=093
> 20391708808849321
> 
> 2. WAFER-8523 :
> http://www.ieiworld.com/product_groups/industrial/content.aspx?gid=000
> 01000010000000001&cid=09050662496936266123&id=08331349043427312250
> 
> I used the QNX® 4 Product Suite 2009 ISO to install QNX on the target
> boards. When I boot up, log in and start Photon, I get a black screen.
>  I cannot get the system to shut down by typing blindly for system
> shutdown (WinKey, h, s).
> 
> I checked and according to the QNX® 4 Product Suite 2009 Release notes,
> the Pg.i830 supports the following chipsets:
> 
> Pg.i830
>     Graphics driver for Intel I830/I845/I852/I855/I865/I915/I945/I965
> 
> The I852 and the I945 should then be supported?
> 
> I then changed to the 2010 release of the Pg.i830 release and I have
> the same problem with both chipsets and the new driver.
> 
> What could be the problem?  Does anyone know of a SBC supporting PC/104
> ISA and have QNX4 supported graphics?
> 
> Regards,
> TJ
> 
> 
> 
> 
> 
> _______________________________________________
> 
> General
> http://community.qnx.com/sf/go/post57749
Re: Intel 82915 (Advantech 6152) and Pg.i830 - Photon hangs !  
Hi Oleg,

My apologies, I see I was logged in as Nick Pieters, I'm actually Theuns.

I’m currently working on the i945 based system.

After first installation of QNX on the target hardware I usually run as you said:

# crttrap clear
# crttrap trap
# ph

Thereafter I start Photon by first logging in as root and then entering #ph

At first the crttrap process hung up when it executed the Hydra.ms line.  After commenting it out, it hung up at the 
Null.ms; Pg.i830 -d0x8086,0x27ae -T line with the screen turning black and with nothing that happens.  If I restart, the
 crt.1 file exists with some entries, but I still cannot get into photon (black screen).  

Only after I add the first line of the safe.1 file to the crt.1 file can I get into Photon.  When I try to configure the
 display through Photon to use the Pg.i830, the monitor goes to standby and then returns to the default display settings
.  Some selections of the Pg.i830 driver freezes the system.

I will add the show_pci –vvv as well as my crt.1 file as an attachment.

Kind regards,
Theuns
Attachment: Text i945_system_into.txt 40.4 KB
Re: Intel 82915 (Advantech 6152) and Pg.i830 - Photon hangs !  
Hi Theuns,

The 8086:27ae device is supported by Pg.i830 driver. What interface port 
do you use to connect to monitor? Check VGA port with monitor.

I see that IEI Technology provides specific graphics driver for Windows, so 
I think this is board specific issue. It seems that we need this hardware 
to test it on our side.

-- 
Respectfully,
Oleg

> Hi Oleg,
> 
> My apologies, I see I was logged in as Nick Pieters, I'm actually
> Theuns.
> 
> I’m currently working on the i945 based system.
> 
> After first installation of QNX on the target hardware I usually run as
> you said:
> 
> # crttrap clear
> # crttrap trap
> # ph
> 
> Thereafter I start Photon by first logging in as root and then entering
> #ph
> 
> At first the crttrap process hung up when it executed the Hydra.ms
> line.  After commenting it out, it hung up at the Null.ms; Pg.i830
> -d0x8086,0x27ae -T line with the screen turning black and with nothing
> that happens.  If I restart, the crt.1 file exists with some entries,
> but I still cannot get into photon (black screen).
> 
> Only after I add the first line of the safe.1 file to the crt.1 file
> can I get into Photon.  When I try to configure the display through
> Photon to use the Pg.i830, the monitor goes to standby and then
> returns to the default display settings.  Some selections of the
> Pg.i830 driver freezes the system.
> 
> I will add the show_pci –vvv as well as my crt.1 file as an attachment.
> 
> Kind regards,
> Theuns
> 
> 
> 
> 
> _______________________________________________
> 
> General
> http://community.qnx.com/sf/go/post57798
Re: Intel 82915 (Advantech 6152) and Pg.i830 - Photon hangs !  
Hi Oleg,

The target board only has a VGA interface, no DVI.

Do you think it will be a possibility for you to test the driver on the iEi hardware or should I look for something 
similar from another vendor?

Regards,
Theuns
Re: Intel 82915 (Advantech 6152) and Pg.i830 - Photon hangs !  
Hi Oleg,

I've just tried with QNX6.4.0 and QNX6.4.1 with the same problem.  I can get into Photon with SVGA driver @ 640x480.  
When I setup display properties and select i830 driver, the screen goes to standby, and stays like this.  The graphics 
setting doesn't timeout and revert back to SVGA, the system freezes up.  Its not our goal to run QNX6 on the target 
hardware, I just thought it will give more insight into the problem.  Guess the chipset is a little different after all 
on the iEi boards.

Regards,
Theuns
Re: Intel 82915 (Advantech 6152) and Pg.i830 - Photon hangs !  
Hi Theuns,

I think that hardware testing is possible. This have to be arranged 
through your sales team.

> Guess the chipset is a little different after all on the iEi boards.

In this case we will need a programmer specification from iEi.

-- 
Respectfully,
Oleg

> Hi Oleg,
> 
> The target board only has a VGA interface, no DVI.
> 
> Do you think it will be a possibility for you to test the driver on the
> iEi hardware or should I look for something similar from another
> vendor?
> 
> Regards,
> Theuns
> 
> 
> 
> _______________________________________________
> 
> General
> http://community.qnx.com/sf/go/post57870
Re: Intel 82915 (Advantech 6152) and Pg.i830 - Photon hangs !  
Hi Oleg,

We are the QNX distributors for South Africa.  We are trying to get this hardware working for a client.

Will it be possible to ship the board through to you?

What will be the costs involved?

Kind regards,
Theuns
Re: Intel 82915 (Advantech 6152) and Pg.i830 - Photon hangs !  
Hi Theuns,

In case of custom engineering we'll need a programmer specification for the 
board graphics controller.

We have to discuss this internally and I'll answer later.

-- 
Respectfully,
Oleg

> Hi Oleg,
> 
> We are the QNX distributors for South Africa.  We are trying to get
> this hardware working for a client.
> 
> Will it be possible to ship the board through to you?
> 
> What will be the costs involved?
> 
> Kind regards,
> Theuns
> 
> 
> 
> _______________________________________________
> 
> General
> http://community.qnx.com/sf/go/post58274
Re: Intel 82915 (Advantech 6152) and Pg.i830 - Photon hangs !  
Hi Oleg,

I have fixed the problem.

I finally installed Win XP to see if behaves the same and it did too.  I then realised that it has to do with the 
display outputs.  The board also supports LVDS displays and the default setting is to use "notebook + monitor" as output
.  This limited the resolution to 640x480 because of the BIOS setting, which I ignored as I was using CRT output.  After
 playing around in Win XP, I selected only "monitor" as output and everything worked perfectly.  I then returned to QNX.


After playing around with ALL the north bridge chipset settings in the BIOS it had to do with the boot display device.  
It can be "auto", "CRT" or "LVDS".  I changed it from auto (which seemed to work because I had graphics on my CRT 
monitor) to CRT and it worked.

Thank you for your help.

Kind regards,
Theuns
Re: Intel 82915 (Advantech 6152) and Pg.i830 - Photon hangs !  
Hello Theuns,

we are using Pg.i830 driver with 0x27ae device on two different boards.
Not serious problem so far.

"...
At first the crttrap process hung up when it executed the Hydra.ms line.  After commenting it out, it hung up at the 
Null.ms; Pg.i830 -d0x8086,0x27ae -T line with the screen turning black and with nothing that happens.  If I restart, the

 crt.1 file exists with some entries, but I still cannot get into photon (black screen).
...
"

One question. Have you tried to modify crt.1 file ?
It is necessary to have Pg.i830 entry in the first line.

For example: 
Null.ms;Pg.i830 -g1024x768x32 -d0x8086,0x27ae -I0 -HNqnx/crt;#1024,768,32,200,0CBDr,i830 - Intel 82830/82845/82852/82855
/82865

Regards,
Jacek
Re: Intel 82915 (Advantech 6152) and Pg.i830 - Photon hangs !  
Hi Jacek

"One question. Have you tried to modify crt.1 file ?
It is necessary to have Pg.i830 entry in the first line."

Yes, I modified the first line of crt.1 to use the entry defined in "/etc/config/trap/safe.1" because this was the only 
setting which gets me into Photon.  In Photon I went to change the display properties and selected various Pg.i830 
display drivers.  No matter what resolution, software/hardware cursor or colour depth I select, the screen goes into 
standby mode and does not return to the "safe.1" graphics mode after the timeout.  (The screen stays in standby mode)

If I have the Pg.i830 entry in the first line of crt.1, the screen goes into standby mode upon entry into Photon.

Could it be the mode switcher? Or does Null.ms do nothing?

May I ask on which boards with 0x27ae devices you are successfully running the Pg.i830 driver?

Kind regards,
Theuns
Re: Intel 82915 (Advantech 6152) and Pg.i830 - Photon hangs !  
Hi Theuns,

>Could it be the mode switcher? Or does Null.ms do nothing?

I don't know. Behaviours on your hardware are strange...

>May I ask on which boards with 0x27ae devices you are successfully running the Pg.i830 driver?

Here you go:
1) Protech PMB-532LF (ATX board),
2) Lanner EM-F345 and Lanner LEC-7000 (embedded computers).

Regards,
Jacek
Re: Intel 82915 (Advantech 6152) and Pg.i830 - Photon hangs !  
Hi Theuns,

I have attached output from pci command run on the PMB-532LF board.
Do you want to see output from the LEC-7000 too ?

Regards,
Jacek
Attachment: Text pci_pmb_532lf.txt 18.41 KB
Re: Intel 82915 (Advantech 6152) and Pg.i830 - Photon hangs !  
Hi Jacek,

Thank you so much for the information.

I will have a look at the hardware as well as the "show_pci" output and compare it to our hardware.

Regards,
Theuns
Re: Intel 82915 (Advantech 6152) and Pg.i830 - Photon hangs !  
Hi Theuns,

I have also attached output from the LEC-7000 machine.

Have you tried Pg.i830 driver with different graphics modes (i.e. 640x480x8, etc...) ?
Did you check the BIOS from the point of view of any VGA settings ? 

Good luck,
Jacek
Attachment: Text pci_lec7000.txt 27.09 KB