Re: Blank screen after boot with Radeon HD 5450

2017-05-31 Thread Maximilian Pichler
On Wed, May 31, 2017 at 3:44 PM, Allan Streib  wrote:
>> You may be able to get a higher resolution by decreasing the refresh rate:
>>
>> $ gtf 2560 1440 33
>>
>>   # 2560x1440 @ 33.00 Hz (GTF) hsync: 48.44 kHz; pclk: 162.77 MHz
>>   Modeline "2560x1440_33.00"  162.77  2560 2688 2960 3360  1440 1441
>> 1444 1468  -HSync +Vsync
>>
>> $ xrandr --newmode 2560x1440_33.00 162.77 2560 2688 2960 3360 1440
>> 1441 1444 1468 -HSync +Vsync
>> $ xrandr --addmode DVI-0 2560x1440_33.00
>> $ xrandr --output DVI-0  --mode 2560x1440_33.00
>
> Yes, that actually worked! I tried first at 50Hz and it did not, but
> 33Hz is working at 2560x1440 (but not in console however, I don't know
> how to specify a different mode there, if it's even possible).

DVI limits the clock frequency to 165 MHz (the first number on the
mode line). You may be able to go beyond that by using a DisplayPort
cable instead.



Re: Blank screen after boot with Radeon HD 5450

2017-05-31 Thread Allan Streib
Sorry for the noise -- I hit send before I was finished formatting my
prior reply.

Maximilian Pichler  writes:

> If and when I get my hands on another monitor I'll definitely try it
> out. (Although ultimately it would be nice to get it working with this
> one, as it works fine under Linux. This is a Dell U2515H.)

Interesting, that's the same model I have.

> You may be able to get a higher resolution by decreasing the refresh rate:
>
> $ gtf 2560 1440 33
>
>   # 2560x1440 @ 33.00 Hz (GTF) hsync: 48.44 kHz; pclk: 162.77 MHz
>   Modeline "2560x1440_33.00"  162.77  2560 2688 2960 3360  1440 1441
> 1444 1468  -HSync +Vsync
>
> $ xrandr --newmode 2560x1440_33.00 162.77 2560 2688 2960 3360 1440
> 1441 1444 1468 -HSync +Vsync
> $ xrandr --addmode DVI-0 2560x1440_33.00
> $ xrandr --output DVI-0  --mode 2560x1440_33.00

Yes, that actually worked! I tried first at 50Hz and it did not, but
33Hz is working at 2560x1440 (but not in console however, I don't know
how to specify a different mode there, if it's even possible).

Thanks!

Allan



Re: Blank screen after boot with Radeon HD 5450

2017-05-31 Thread Allan Streib
Maximilian Pichler  writes:

> If and when I get my hands on another monitor I'll definitely try it
> out. (Although ultimately it would be nice to get it working with this
> one, as it works fine under Linux. This is a Dell U2515H.)

Interesting, that's the same model I have.

 You may be able to get a higher resolution by decreasing the refresh rate:

 $ gtf 2560 1440 33

   # 2560x1440 @ 33.00 Hz (GTF) hsync: 48.44 kHz; pclk: 162.77 MHz
   Modeline "2560x1440_33.00"  162.77  2560 2688 2960 3360  1440 1441
 1444 1468  -HSync +Vsync

 $ xrandr --newmode 2560x1440_33.00 162.77 2560 2688 2960 3360 1440
 1441 1444 1468 -HSync +Vsync
 $ xrandr --addmode DVI-0 2560x1440_33.00
 $ xrandr --output DVI-0  --mode 2560x1440_33.00



Re: Blank screen after boot with Radeon HD 5450

2017-05-31 Thread Maximilian Pichler
On Wed, May 31, 2017 at 2:06 PM, Allan Streib  wrote:
> I think you should try another monitor if at all possible. Perhaps your
> monitor just goes into power-save mode with an incompatible signal.

If and when I get my hands on another monitor I'll definitely try it
out. (Although ultimately it would be nice to get it working with this
one, as it works fine under Linux. This is a Dell U2515H.)

> My xrandr shows the 2560x1440 mode at 59.95Hz, I'm assuming that's close
> enough to 60Hz that it should work? Or could that be the problem? The
> highest I can get working is 2048x1152.
>
> Screen 0: minimum 320 x 200, current 4096 x 1152, maximum 8192 x 8192
> DVI-0 connected primary 2048x1152+0+0 (normal left inverted right x axis y 
> axis) 553mm x 311mm
>2560x1440 59.95 +
>2048x1152 60.00*
>1920x1200 59.95
>[...]

You may be able to get a higher resolution by decreasing the refresh rate:

$ gtf 2560 1440 33

  # 2560x1440 @ 33.00 Hz (GTF) hsync: 48.44 kHz; pclk: 162.77 MHz
  Modeline "2560x1440_33.00"  162.77  2560 2688 2960 3360  1440 1441
1444 1468  -HSync +Vsync

$ xrandr --newmode 2560x1440_33.00 162.77 2560 2688 2960 3360 1440
1441 1444 1468 -HSync +Vsync
$ xrandr --addmode DVI-0 2560x1440_33.00
$ xrandr --output DVI-0  --mode 2560x1440_33.00



Re: Blank screen after boot with Radeon HD 5450

2017-05-31 Thread Allan Streib
Maximilian Pichler  writes:

> Just tried another graphics card (VisionTek Radeon HD 6350), with
> identical results: the boot messages are shown, then the signal is
> lost.
>

I think you should try another monitor if at all possible. Perhaps your
monitor just goes into power-save mode with an incompatible signal. On
mine, it pops up a message that asks me to set my video card to "2560 x
1140 60Hz" which, according to the dmesg, it should already be:

   radeondrm0: 2560x1440

My xrandr shows the 2560x1440 mode at 59.95Hz, I'm assuming that's close
enough to 60Hz that it should work? Or could that be the problem? The
highest I can get working is 2048x1152.

Screen 0: minimum 320 x 200, current 4096 x 1152, maximum 8192 x 8192
DVI-0 connected primary 2048x1152+0+0 (normal left inverted right x axis y 
axis) 553mm x 311mm
   2560x1440 59.95 +
   2048x1152 60.00* 
   1920x1200 59.95  
   [...]



Re: Blank screen after boot with Radeon HD 5450

2017-05-31 Thread Maximilian Pichler
Just tried another graphics card (VisionTek Radeon HD 6350), with
identical results: the boot messages are shown, then the signal is
lost.



Re: Blank screen after boot with Radeon HD 5450

2017-05-31 Thread Mihai Popescu
On Wed, May 31, 2017 at 1:02 AM, Luis Coronado  wrote:
> xrandr over ssh? even if you run it with -X it will display something from
> the machine running the ssh client (and the local X server) not the ssh
> server one :s
>
> -l
>
> On Tue, May 30, 2017 at 3:08 PM, Mihai Popescu  wrote:
>>
>> What is the output of xrandr plain command, without any parameters? Do
>> not use display numbers or anything else, type it like this 'xrandr'
>> using a ssh connection on the non working configuration.
>>
>

It looks like xrandr reports are not helpful. I think you shoudl
enable the onboard card, find a second monitor from a friend and try
to boot with both monitor connected. Then you can debug.



Re: Blank screen after boot with Radeon HD 5450

2017-05-30 Thread Luis Coronado
xrandr over ssh? even if you run it with -X it will display something from
the machine running the ssh client (and the local X server) not the ssh
server one :s

-l

On Tue, May 30, 2017 at 3:08 PM, Mihai Popescu  wrote:

> What is the output of xrandr plain command, without any parameters? Do
> not use display numbers or anything else, type it like this 'xrandr'
> using a ssh connection on the non working configuration.
>
>


Re: Blank screen after boot with Radeon HD 5450

2017-05-30 Thread Maximilian Pichler
Without parameters, via ssh:

$ xrandr
Can't open display
$ echo [$DISPLAY]
[]

This is after logging in and typing startx on the keyboard, with a
blank monitor. I've also tried launching startx via ssh, with the same
result.

On Tue, May 30, 2017 at 5:08 PM, Mihai Popescu  wrote:
> What is the output of xrandr plain command, without any parameters? Do
> not use display numbers or anything else, type it like this 'xrandr'
> using a ssh connection on the non working configuration.
>



Re: Blank screen after boot with Radeon HD 5450

2017-05-30 Thread Mihai Popescu
What is the output of xrandr plain command, without any parameters? Do
not use display numbers or anything else, type it like this 'xrandr'
using a ssh connection on the non working configuration.



Re: Blank screen after boot with Radeon HD 5450

2017-05-30 Thread Maximilian Pichler
On Tue, May 30, 2017 at 2:55 PM, Mihai Popescu  wrote:
> Did you disable the onboard card from BIOS? What options do you have for this?

In the BIOS, "Primary Graphics Adapter" is set to "PCI Express". When
switching it to "Onboard" and plugging the cable into the onboard DP,
the boot message and the BIOS setup are shown and the display
functions at 2560x1440@60Hz.

When the setting is "PCI Express" the OpenBSD boot messages are
displayed through the PCI adapter (only). A brief moment after the
"scsibus4 at softraid0: 256 targets" there is no signal anymore,
neither on the PCI adapter nor the on-board one. (This happens no
matter whether xenodm is on or off.)



Re: Blank screen after boot with Radeon HD 5450

2017-05-30 Thread Mihai Popescu
> (by accident I had the cable connected to the onboard video)

I recall I tried once a dual monitor setup using an onboard graphics +
another plugged in card. I don't remember exactly, but I think the
boot message was shown one the onboard graphic card only or on both
monitors. I was concerned about this behaviour then I got over it
since in X all was ok.

Did you disable the onboard card from BIOS? What options do you have for this?



Re: Blank screen after boot with Radeon HD 5450

2017-05-30 Thread Maximilian Pichler
On Tue, May 30, 2017 at 2:15 PM,   wrote:
> Just a thought -- maybe it's because there is no error  ???
>
> man xbacklight(1)

$ xbacklight
No outputs have backlight property

The monitor is not just dark, but it says "no signal" and goes into
power save mode.



Re: Blank screen after boot with Radeon HD 5450

2017-05-30 Thread andrew

On Tue, May 30, 2017 at 12:22:09PM -0400, Maximilian Pichler wrote:

As mentioned, I booted another OS from a USB stick and it runs at
2560x1440@60MHz. Doesn't this make it unlikely that the issue is with
the monitor or cable? Also, the connection is via DisplayPort, even
the most basic version of which shouldn't struggle with this
resolution.

Is there not a more systematic way of debugging this? I find it
puzzling that none of the logs contains any error message.



Just a thought -- maybe it's because there is no error  ???

man xbacklight(1)



Re: Blank screen after boot with Radeon HD 5450

2017-05-30 Thread Maximilian Pichler
I would certainly have followed Allan's advice, but only own one
monitor. Apologies for having failed to mention this.



Re: Blank screen after boot with Radeon HD 5450

2017-05-30 Thread Mihai Popescu
> Is there not a more systematic way of debugging this?

IT is, but it may be different than your method.

> I find it puzzling that none of the logs contains any error message.

I find it puzzling asking about a problem on a list and not following
any of the advices and report back. I will find it more puzzling if
someone will give you a solution.

Bye.



Re: Blank screen after boot with Radeon HD 5450

2017-05-30 Thread Maximilian Pichler
As mentioned, I booted another OS from a USB stick and it runs at
2560x1440@60MHz. Doesn't this make it unlikely that the issue is with
the monitor or cable? Also, the connection is via DisplayPort, even
the most basic version of which shouldn't struggle with this
resolution.

Is there not a more systematic way of debugging this? I find it
puzzling that none of the logs contains any error message.


On Tue, May 30, 2017 at 9:42 AM, Allan Streib  wrote:
> Maximilian Pichler  writes:
>
>>2560x1440 59.95*+
>>2048x1152 60.00
>>1920x1200 59.88
>>1920x1080 60.0050.0059.9430.0025.0024.00
>
> [...]
>
> Try connecting a lower-resolution monitor and see if it works, if you
> have one.
>
> I have found that my dual 2560x1440 monitors, connected with DVI->HDMI
> cables, are not capable of 2560x1440 I believe this is due to limits of
> DVI. However the monitor and/or the card does not realize this and
> reports 2560x1440 60Hz as the "preferred" mode.
>
> I have a ATI Radeon HD 5870 card.
>
> If I connect one monitor with an HDMI cable I can see the console. With
> two monitors connected with DVI->HDMI I do not. I have to do a "blind"
> login then run "startx" and all is well.
>
> Allan
>
>



Re: Blank screen after boot with Radeon HD 5450

2017-05-30 Thread Allan Streib
Maximilian Pichler  writes:

>2560x1440 59.95*+
>2048x1152 60.00
>1920x1200 59.88
>1920x1080 60.0050.0059.9430.0025.0024.00

[...]

Try connecting a lower-resolution monitor and see if it works, if you
have one.

I have found that my dual 2560x1440 monitors, connected with DVI->HDMI
cables, are not capable of 2560x1440 I believe this is due to limits of
DVI. However the monitor and/or the card does not realize this and
reports 2560x1440 60Hz as the "preferred" mode.

I have a ATI Radeon HD 5870 card.

If I connect one monitor with an HDMI cable I can see the console. With
two monitors connected with DVI->HDMI I do not. I have to do a "blind"
login then run "startx" and all is well.

Allan




Re: Blank screen after boot with Radeon HD 5450

2017-05-29 Thread Maximilian Pichler
Apologies, I have to revise the results from my previous message (by
accident I had the cable connected to the onboard video).

In fact xrandr does detect the DisplayPort connection:

$ DISPLAY=:0 xrandr
Screen 0: minimum 320 x 200, current 2560 x 1440, maximum 8192 x 8192
DisplayPort-0 connected primary 2560x1440+0+0 (normal left inverted
right x axis y axis) 553mm x 311mm
   2560x1440 59.95*+
   2048x1152 60.00
   1920x1200 59.88
   1920x1080 60.0050.0059.9430.0025.0024.00
29.9723.98
   1920x1080i60.0050.0059.94
   1600x1200 60.00
   1680x1050 59.95
   1280x1024 75.0260.02
   1200x960  59.99
   1152x864  75.00
   1280x720  60.0050.0059.94
   1440x576i 50.00
   1024x768  75.0860.00
   1440x480i 60.0059.94
   800x600   75.0060.32
   720x576   50.00
   720x480   60.0059.94
   640x480   75.0060.0059.94
   720x400   70.08
DVI-0 disconnected (normal left inverted right x axis y axis)
VGA-0 disconnected (normal left inverted right x axis y axis)

However, the screen remains blank. Changing the resolution doesn't help either:
$ DISPLAY=:0 xrandr --output DisplayPort-0 --mode 1280x720
(screen remains blank)


On Sun, May 28, 2017 at 8:02 PM, Maximilian Pichler
 wrote:
> I tried your suggestion of logging in with the keyboard while the
> screen is blank and then typing "startx". Then logged in via ssh:
> $ DISPLAY=:0 xrandr
> Screen 0: minimum 320 x 200, current 1024 x 768, maximum 8192 x 8192
> DisplayPort-0 disconnected primary (normal left inverted right x axis y axis)
> DVI-0 disconnected (normal left inverted right x axis y axis)
> VGA-0 disconnected (normal left inverted right x axis y axis)
>
> The DisplayPort cable is connected.
>
> Still it seems that the problem is not with X, as it occurs even with
> it is disabled.



Re: Blank screen after boot with Radeon HD 5450

2017-05-28 Thread Allan Streib
"Jens A. Griepentrog"  writes:

> Is there a way to choose lower resolutions for radeondrm console using
> some suitable configuration file?

I asked basically this question some weeks ago, and lack of any answer
and not finding anything about this in man pages or FAQ has me to belive
that for now the answer is no, it's not configurable.

http://marc.info/?l=openbsd-misc=149185776506814=2

Allan



Re: Blank screen after boot with Radeon HD 5450

2017-05-28 Thread Maximilian Pichler
I tried your suggestion of logging in with the keyboard while the
screen is blank and then typing "startx". Then logged in via ssh:
$ DISPLAY=:0 xrandr
Screen 0: minimum 320 x 200, current 1024 x 768, maximum 8192 x 8192
DisplayPort-0 disconnected primary (normal left inverted right x axis y axis)
DVI-0 disconnected (normal left inverted right x axis y axis)
VGA-0 disconnected (normal left inverted right x axis y axis)

The DisplayPort cable is connected.

Still it seems that the problem is not with X, as it occurs even with
it is disabled.



Re: Blank screen after boot with Radeon HD 5450

2017-05-28 Thread Maximilian Pichler
On Sun, May 28, 2017 at 4:50 PM, Steven McDonald
 wrote:
> Have you tried booting more than once?

Yes, many times, both warm and cold.



Re: Blank screen after boot with Radeon HD 5450

2017-05-28 Thread Jens A. Griepentrog

On 05/28/17 22:50, Steven McDonald wrote:

On Sun, 28 May 2017 15:37:08 -0400
Maximilian Pichler  wrote:


After the installation of a VisionTek Radeon 5450 graphics card my
machine gives a blank screen after booting. It still shows the normal
system messages (full dmesg below), with the last visible one being
"scsibus4 at softraid0: 256 targets". Then the monitor (connected via
DisplayPort) goes into power save mode. This is on OpenBSD 6.1 and
amd64.


Have you tried booting more than once? I've had this problem on a
Radeon HD 6850 after a fresh install in the past, and after a reboot > it 
worked. I suspect the cause was that fw_update ran too late for the
firmware to load correctly (and I no longer have access to that
hardware to test).



I see this every time after a fresh install on a Radeon HD 6450, too.
Login and reboot (as with eyes shut) has always been successful.

By the way, recently, I had a nice effect: I forgot to attach the
monitor cable before boot, hence the usual 1600x1200 resolution was not
detected, and the standard 1024x768 mode was chosen. After connecting
the monitor cable, as a result I got the neat SunOS console font based
on the lower resolution (getting back the full resolution in the
consecutive startx session). I like it very much, since it was better
readable and not that tiny. Is there a way to choose lower resolutions 
for radeondrm console using some suitable configuration file?


With best regards,
Jens



Re: Blank screen after boot with Radeon HD 5450

2017-05-28 Thread Steven McDonald
On Sun, 28 May 2017 22:54:22 +0200
Steven McDonald  wrote:

> Re-reading your mail, it sounds like you installed the card into an
> existing system. In that case, my question becomes "have you run
> fw_update?"

Just noticed the part of your mail where you showed you had the
firmware installed. Sorry for the noise, brain must be in slow motion
tonight.



Re: Blank screen after boot with Radeon HD 5450

2017-05-28 Thread Steven McDonald
Re-reading your mail, it sounds like you installed the card into an
existing system. In that case, my question becomes "have you run
fw_update?"



Re: Blank screen after boot with Radeon HD 5450

2017-05-28 Thread Steven McDonald
On Sun, 28 May 2017 15:37:08 -0400
Maximilian Pichler  wrote:

> After the installation of a VisionTek Radeon 5450 graphics card my
> machine gives a blank screen after booting. It still shows the normal
> system messages (full dmesg below), with the last visible one being
> "scsibus4 at softraid0: 256 targets". Then the monitor (connected via
> DisplayPort) goes into power save mode. This is on OpenBSD 6.1 and
> amd64.

Have you tried booting more than once? I've had this problem on a
Radeon HD 6850 after a fresh install in the past, and after a reboot it
worked. I suspect the cause was that fw_update ran too late for the
firmware to load correctly (and I no longer have access to that
hardware to test).