Skip to contentSkip to conversation

PA-RISC 0.9.3 + C200 + Visualize-EG = HPMC

parisc-linux [email protected] 5 participants 10 messages Feb 27, 2002 – Mar 21, 2002 4 messages not in the archive

lore
Share & tools
lore
#0 lore raw

Hello PA-RISC list,

I have successfully installed Debian 3.0/PA-RISC-Linux 0.9.3, on an HP-9000
C200, but cannot get X working to save me. Following earlier posts to this list
I made sure that only one screen resolution was specified in my XF86Config-4
file (1280x1024-8, matching the stifb settings for the console) and checked
it via "fbset -i".

The graphics card on my C200 is a Visualize-EG (A4450A) which is, I believe, a GSC vs. PCI card. In any case, trying to start X blanks the screen, then a few seconds later I get a High Priority Machine Check error as the workstation locks up. Any insights or workarounds most appreciated!

Thanks,
John

P.S. I tried a newer kernel, 2.4.17, to no avail.

#1 lore raw
Quoted 11 lines · On Wed, 27 Feb 2002 [email protected] wrote:

Hello PA-RISC list,

I have successfully installed Debian 3.0/PA-RISC-Linux 0.9.3, on an HP-9000
C200, but cannot get X working to save me. Following earlier posts to this list
I made sure that only one screen resolution was specified in my XF86Config-4
file (1280x1024-8, matching the stifb settings for the console) and checked
it via "fbset -i".

so far so good ...

Quoted 5 lines

The graphics card on my C200 is a Visualize-EG (A4450A) which is, I believe, a GSC vs. PCI card. In any case, trying to start X blanks the screen, then a few seconds later I get a High Priority Machine Check error as the workstation locks up. Any insights or workarounds most appreciated!

that's the problem!
I have a C240 with the same graphics card. It is (still) unsupported. You have to wait until s.o. develops a working driver (or implement it by yourself)

sorry.

Quoted 4 lines

Thanks,
John

P.S. I tried a newer kernel, 2.4.17, to no avail.

greetings max

#3 lore raw
In reply to [email protected]
Quoted 5 lines · [email protected] wrote:

The graphics card on my C200 is a Visualize-EG (A4450A) which is, I believe, a GSC vs. PCI card. In any case, trying to start X blanks the screen, then a few seconds later I get a High Priority Machine Check error as the workstation locks up. Any insights or workarounds most appreciated!

We are still trying to figure out what causes the HPMC with PCI gfx cards. STI console works and that's it for now.

So far, I've figured out that xf1bppPolyGlyphBltBlack() is the userspace routine that triggers the HPMC. Don't know the code path how it got there or what happens before hand.

grant

#2 lore raw
In reply to M. Grabert
Quoted 10 lines
Quoted 5 lines

The graphics card on my C200 is a Visualize-EG (A4450A) which is, I believe, a GSC vs. PCI card. In any case, trying to start X blanks the screen, then a few seconds later I get a High Priority Machine Check error as the workstation locks up. Any insights or workarounds most appreciated!

that's the problem!
I have a C240 with the same graphics card. It is (still) unsupported. You have to wait until s.o. develops a working driver (or implement it by yourself)

I've been fighting the same HPMC on my C180; I used the same XF86Config-4 file that works perfectly on the 715/100 I just got rid of, same versions of everythig, etc. Mine has the onboard video, but I didn't think to look into what it actually is.

Is there a simple way to tell what kind of video is in these? I'm at work, so I don't have the machine in front of me to play with, testing commands, but does something simple like 'fbset -i' tell you what's in there? Or perhaps the appropriate line in dmesg says 'Visualize EG' or something?

author
#8 lore raw

[parisc-linux] PA-RISC 0.9.3+C200+Visualize-EG+2.4.18-pa05 = working X!

In reply to a message not in the archive
Quoted 14 lines · Grant Grundler
Quoted 5 lines · John

I saw your post from this weekend. Did you actually get X working on your C3000 with the Visualize-EG?! If a mere mortal can patch the kernel (or you have it available) I'd love to try it on my C200 to see if it works now too.

patch is on ftp.p-l.o/patches/entry.S-diff.
Then:
cd /usr/src/linux
patch -p0 < entry.S-diff
make vmlinux

Quoted 3 lines

I don't have any kernels suitable for C200 built since I remove ccio driver from the c3k builds. I expect to commit the patch today or tomorrow and can build "generic" kernels then.

I wanted to share the good news that Grant's recent patch to "entry.S" yields a new kernel (2.4.18-pa05) which allows X-windows to work on my C200 with Visualize-EG graphics. Before installing the patch I would get an HPMC when X tried to start. I got gdm up & running fine, but have had some troubles with KDE that I hope to resolve. The 8-bit color isn't great, but that's all I've got! Thanks Grant!

John

#9 lore raw

[parisc-linux] Re: PA-RISC 0.9.3+C200+Visualize-EG+2.4.18-pa05 = working X!

Quoted 1 line · John

I wanted to share the good news that Grant's recent patch to "entry.S"

...

Quoted 1 line

Thanks Grant!

That's great news!

But Thomas Bogendoerf should get most of the credit for figuring out the problem and fix. I just implemented what he said.

BTW, I've modified the patch a bit (removed an un-needed depdi) and it's still not committed yet. I'd like to let Thomas commit it himself since he really did the hard part.

grant

#10 lore raw

Re: [parisc-linux] Re: PA-RISC 0.9.3+C200+Visualize-EG+2.4.18-pa05 = working X!

Quoted 5 lines · Grant Grundler
Quoted 1 line · John

I wanted to share the good news that Grant's recent patch to "entry.S"

...

Quoted 1 line

Thanks Grant!

Quoted 8 lines

That's great news!

But Thomas Bogendoerf should get most of the credit for figuring out the problem and fix. I just implemented what he said.

BTW, I've modified the patch a bit (removed an un-needed depdi) and it's still not committed yet. I'd like to let Thomas commit it himself since he really did the hard part.

I also downloaded and patched a 2.4.18-pa5 kernel with it, (just a simple conflict with the kernel version number in
the Makefile appeared, easy to solve).

It works on my C240 with a FX2 card. Well, it now recognizes the gfx card at startup and it seems to initialize it, but since I currently don't have a proper monitor, I can't tell you whether gfx is working or not :-/
(BTW, I use the serial console on the C240, connected to a FreeBSD
notebook)
At least the C240 is still running, so the patch doesn't do a harm ;)

Actually I HAVE a monitor (a 15" LCD) but it's max resolultion is about 1024x786/70Hz. Since the FX/2 just supports 72 and 75Hz in the video selection menu at bootup, the monitor just tells me "signal is out of sync range".

I have mentioned this before (18 Dec 2001) in the mailing-list, and I was asking how and if you can change the FX-graphics to a custom resolution (mode 6). Grant replied

Quoted 2 lines

Yes. I don't know exactly how though. I'd look in the User's Guide (might be available on docs.hp.com).

unfortunately I haven't found any information except this:

(http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B2355-90142/B2355-90142_top.html&con=/hpux/onlinedocs/B2355-90142/00/00/42-con.html&toc=/hpux/onlinedocs/B2355-90142/00/00/42-toc.html&searchterms=refresh&queryid=20020320-135018)

-------+++++++++========= snip =========++++++++-------

Changing the Monitor Type
=========================

A configuration tool is available to change the monitor type on HP VISUALIZE-FX devices. Monitor resolution, refresh rate and stereo mode settings may be configured using the setmon tool. To change the monitor type, the setmon command can be executed directly or done through the SAM system administration tool.

The setmon executable is located at /opt/graphics/common/bin/setmon. Under SAM this component is located under the top-level "Display" folder, next to the "X Server Configuration" icon.

-------+++++++++========= snip =========++++++++-------

It seems this utility exists only for the Visualize-FX cards. Moreover I don't know whether this affects only X (on HP/UX).

Does anybody have information about this utility ?
(I don't have HP/UX, so I can try it ...)
Perhaps it is possible to port/run it. Or does anybody has information how to change the custom resolution on FX-Cards (without this utility) ?

Thanks in advance, max!

#11 lore raw

Re: [parisc-linux] Re: PA-RISC 0.9.3+C200+Visualize-EG+2.4.18-pa05 = working X!

Quoted 20 lines · M. Grabert
Quoted 5 lines · Grant Grundler
Quoted 1 line · John

I wanted to share the good news that Grant's recent patch to "entry.S"

...

Quoted 1 line

Thanks Grant!

Quoted 8 lines

That's great news!

But Thomas Bogendoerf should get most of the credit for figuring out the problem and fix. I just implemented what he said.

BTW, I've modified the patch a bit (removed an un-needed depdi) and it's still not committed yet. I'd like to let Thomas commit it himself since he really did the hard part.

I also downloaded and patched a 2.4.18-pa5 kernel with it, (just a simple conflict with the kernel version number in
the Makefile appeared, easy to solve).

Quoted 7 lines

It works on my C240 with a FX2 card. Well, it now recognizes the gfx card at startup and it seems to initialize it, but since I currently don't have a proper monitor, I can't tell you whether gfx is working or not :-/
(BTW, I use the serial console on the C240, connected to a FreeBSD
notebook)
At least the C240 is still running, so the patch doesn't do a harm ;)

It doesnt crash my C240 either, but unfortunately no fb is working. I guess this doesn't work for the FX2 graphics cards..

Arjen Hommersom

#13 lore raw

Re: [parisc-linux] Re: PA-RISC 0.9.3+C200+Visualize-EG+2.4.18-pa05 = working X!

In reply to M. Grabert
Quoted 8 lines · M. Grabert

I have mentioned this before (18 Dec 2001) in the mailing-list, and I was asking how and if you can change the FX-graphics to a custom resolution (mode 6). Grant replied

Quoted 2 lines

Yes. I don't know exactly how though. I'd look in the User's Guide (might be available on docs.hp.com).

unfortunately I haven't found any information except this:

hmm...I was looking for the method using PDC prompt. "mon" I thought let one do such customization but I don't know the syntax. Am I on the wrong track or does someone have the docs for this?

(Note that mucking with timings can break your HW if you mess it up)

hth,
grant

#12 lore raw

Re: [parisc-linux] Re: PA-RISC 0.9.3+C200+Visualize-EG+2.4.18-pa05 = working X!

In reply to Arjen Hommersom
Quoted 2 lines · Arjen Hommersom

It doesnt crash my C240 either, but unfortunately no fb is working. I guess this doesn't work for the FX2 graphics cards..

correct. FX/* cards support 24-bit color and have a different Frame buffer layout that tsbogend/deller/esiee/et al don't know how to make work exactly.

I'm really happy the Vis-EG works (using it now)...but I've got a Vis-FX/E waiting to be plugged in...

thanks,
grant