output-device ID?

View: New views
6 Messages — Rating Filter:   Alert me  

output-device ID?

by Hartwig Atrops-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi all.

How can I set the output device on my Blade100? I added a PCI Graphics Card
and want to use it as the default display (onboard graphics does not work
with Xopen).

With openboot diag-switch? set to true the card is listed as

/pci@1f,0/pci@5/display

Using this with

setenv output-device /pci@5...

does not work.

How can I find out the correct setting?

Thanks,

   Hartwig





--
To UNSUBSCRIBE, email to debian-sparc-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...


Re: output-device ID?

by bthom73 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



Hartwig Atrops wrote:

> Hi all.
>
> How can I set the output device on my Blade100? I added a PCI Graphics Card
> and want to use it as the default display (onboard graphics does not work
> with Xopen).
>
> With openboot diag-switch? set to true the card is listed as
>
> /pci@1f,0/pci@5/display
>
> Using this with
>
> setenv output-device /pci@5...
>
> does not work.
>
> How can I find out the correct setting?
>
> Thanks,
>
>    Hartwig
>
>
>
>
>  
Hi Hartwig,

The method that you're using is basically correct, but it seems odd
to me that OBP is recognizing your PCI graphics card as simply "display"
and there's no "@" character in the third section of the path
"/pci@1f,0/pci@5/display".

You can optionally leave out the characters prior to the "@" character
so in short form the command equates to "setenv output-device /@1f,0/@5/"
which is missing the device in the third section of the path.

Does show-devs or show-displays show the same path for the PCI graphics
card? It could be that the specific PCI graphics card that you're trying
to use
isn't being fully recognized by OBP which expects all of the graphics
cards to
be Sun graphics cards...

Hope the info helps.

-Brian









--
To UNSUBSCRIBE, email to debian-sparc-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...


Re: output-device ID?

by Hartwig Atrops-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi.

> Hi Hartwig,
>
> The method that you're using is basically correct, but it seems odd
> to me that OBP is recognizing your PCI graphics card as simply "display"
> and there's no "@" character in the third section of the path
> "/pci@1f,0/pci@5/display".

I misunderstood the diag-switch? output - I am not familiar with Sun device
notation.  show-devs has the answer: display@0 !

Now I get the message "The selected output device has no write routine".

What to do?

Thank you.

   Hartwig


--
To UNSUBSCRIBE, email to debian-sparc-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...


Re: output-device ID?

by bthom73 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



Hartwig Atrops wrote:

> Hi.
>
>  
>> Hi Hartwig,
>>
>> The method that you're using is basically correct, but it seems odd
>> to me that OBP is recognizing your PCI graphics card as simply "display"
>> and there's no "@" character in the third section of the path
>> "/pci@1f,0/pci@5/display".
>>    
>
> I misunderstood the diag-switch? output - I am not familiar with Sun device
> notation.  show-devs has the answer: display@0 !
>
> Now I get the message "The selected output device has no write routine".
>
> What to do?
>
> Thank you.
>
>    Hartwig
>
>  

Hi Hartwig,

I might be mistaken but I believe that means that your PCI graphics card
isn't
being recognized as a valid Sun graphics card by OBP. Although your
graphics
card might be supported under linux/sparc, you might still be stuck with
using
the Sunblade 100 onboard video as the console until you can get the machine
booted into linux.

Is it a Sun PCI graphics card or one that was re-purposed from an x86 box?
If I remember correctly, early Sunblade 100's with the 3D graphics option
were originally shipped with Sun Expert3D-Lite PCI cards, and then later
on it was switched to Sun XVR-500 PCI cards. Trying to use any other cards
your luck my vary... I'm not saying that it won't work, just saying that
it's not
something that Sun intended to work.

-Brian


--
To UNSUBSCRIBE, email to debian-sparc-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...


Re: output-device ID?

by Hartwig Atrops-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hmmm ...

Weird behaviour.

First. Lenny is installed on the Blade, text mode ok.

output-device now set to /pci@1f,0/pci@5/display@0

One monitor connected to the onboard VGA port, one to the additional PCI card.

PCI Card from x86 world.

VT420 Terminal attached to the serial port.

During boot both monitors stay dark - no signal. SILO prompt appears on the
terminal.

After SILO took over, the onboard graphics is switched on, boot messages
appear on that line - and on the terminal.

But: only part of the boot messages is displayed on that monitor, part on the
terminal. I cannot say weather some of the boot messages appear on both lines.

In the end, login prompts appear on the onboard graphics and on the terminal.
I can login via USB keyboard and via terminal.

The output of the PCI card stays dark all the time.

Do I somehow need to configure Linux so it uses the PCI card? I never had two
graphics cards in one system before.

Regards,

   Hartwig

On Thursday 08 October 2009 22:10, Brian Thompson wrote:

> Hartwig Atrops wrote:
> > Hi.
> >
> >> Hi Hartwig,
> >>
> >> The method that you're using is basically correct, but it seems odd
> >> to me that OBP is recognizing your PCI graphics card as simply "display"
> >> and there's no "@" character in the third section of the path
> >> "/pci@1f,0/pci@5/display".
> >
> > I misunderstood the diag-switch? output - I am not familiar with Sun
> > device notation.  show-devs has the answer: display@0 !
> >
> > Now I get the message "The selected output device has no write routine".
> >
> > What to do?
> >
> > Thank you.
> >
> >    Hartwig
>
> Hi Hartwig,
>
> I might be mistaken but I believe that means that your PCI graphics card
> isn't
> being recognized as a valid Sun graphics card by OBP. Although your
> graphics
> card might be supported under linux/sparc, you might still be stuck with
> using
> the Sunblade 100 onboard video as the console until you can get the machine
> booted into linux.
>
> Is it a Sun PCI graphics card or one that was re-purposed from an x86 box?
> If I remember correctly, early Sunblade 100's with the 3D graphics option
> were originally shipped with Sun Expert3D-Lite PCI cards, and then later
> on it was switched to Sun XVR-500 PCI cards. Trying to use any other cards
> your luck my vary... I'm not saying that it won't work, just saying that
> it's not
> something that Sun intended to work.
>
> -Brian


--
To UNSUBSCRIBE, email to debian-sparc-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...


Re: output-device ID?

by bthom73 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



Hartwig Atrops wrote:

> Hmmm ...
>
> Weird behaviour.
>
> First. Lenny is installed on the Blade, text mode ok.
>
> output-device now set to /pci@1f,0/pci@5/display@0
>
> One monitor connected to the onboard VGA port, one to the additional PCI card.
>
> PCI Card from x86 world.
>
> VT420 Terminal attached to the serial port.
>
> During boot both monitors stay dark - no signal. SILO prompt appears on the
> terminal.
>
> After SILO took over, the onboard graphics is switched on, boot messages
> appear on that line - and on the terminal.
>
> But: only part of the boot messages is displayed on that monitor, part on the
> terminal. I cannot say weather some of the boot messages appear on both lines.
>
> In the end, login prompts appear on the onboard graphics and on the terminal.
> I can login via USB keyboard and via terminal.
>
> The output of the PCI card stays dark all the time.
>
> Do I somehow need to configure Linux so it uses the PCI card? I never had two
> graphics cards in one system before.
>
> Regards,
>
>    Hartwig
>
>
>  

Can you try it again with "setenv output-device screen" instead of the
PCI path and then compare how the boot behavior differs?

What I'm guessing is happening is that the Sun is trying to use the PCI
graphics card as the boot console, but then it's giving up and falling
back to
serial after it decides that it doesn't know how to deal with the PCI
card...

Once you're booted into linux you shouldn't have to worry about OBP
any longer since linux has its own idea of which PCI cards are supported.
The major concern with OBP being that you don't want to get stuck in a
situation where the machine doesn't boot properly and at the same time
not being able to see the console in order to repair it.

My background is mostly from the Solaris side of things, but I'm sure
there are other folks on this list that can provide you with some expert
hints on what to do next once your machine is booted into linux. Having
multiple display cards in a single workstation is definitely supported by
linux. It's just a matter of configuring things so that the displays
work the
way that you want them to. If you want to try to merge the two physical
displays into a single large virtual display, doing a google search for
"xinerama" will yield quite a bit of useful info.

Hope the info helps.

-Brian



--
To UNSUBSCRIBE, email to debian-sparc-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...