DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD General

OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 23rd December 2020
smak's Avatar
smak smak is offline
New User
 
Join Date: Feb 2015
Posts: 8
Default amdgpu

i have a polaris gpu, an rx570 that after the initial install and boot, downloads amdgpu and promptly freezes to blank screen on any subsequent boot.

in freebsd or linux distros i can set the grub "nomodeset" command and that allows regular use, but dont recall what i did to fix this on previous openbsd installs or if its a new issue entirely.

would appreciate some ideas on this, search did not yield expected results.
Reply With Quote
  #2   (View Single Post)  
Old 23rd December 2020
Head_on_a_Stick's Avatar
Head_on_a_Stick Head_on_a_Stick is offline
Real Name: Matthew
Bloaty McBloatFace
 
Join Date: Dec 2015
Location: London
Posts: 271
Default

Quote:
Originally Posted by smak View Post
downloads amdgpu
I presume you are referring to fw_update(1)?

Which version of OpenBSD are you using? You might need -current for that card, although it should be supported by the amdgpu firmware tarball for the 6.8 -release & -stable versions (which is dated 2020-06-19 and contains Polaris files).

I suppose you could boot from the ramdisk kernel then delete the files under /etc/firmware/amdgpu/ and make the directory immutable so that fw_update(1) will fail but that seems hacky in the extreme and will leave you without a functional GPU. Note that the nomodeset kernel parameter would also prevent the GPU from working under GNU/Linux because AMD cards require kernel mode setting so it isn't really a solution under that operating system.
__________________
Linux is for people who hate Windows. BSD is for people who love UNIX.
Reply With Quote
  #3   (View Single Post)  
Old 23rd December 2020
smak's Avatar
smak smak is offline
New User
 
Join Date: Feb 2015
Posts: 8
Default

Quote:
Originally Posted by Head_on_a_Stick View Post
I presume you are referring to fw_update(1)?

Which version of OpenBSD are you using? You might need -current for that card, although it should be supported by the amdgpu firmware tarball for the 6.8 -release & -stable versions (which is dated 2020-06-19 and contains Polaris files).

I suppose you could boot from the ramdisk kernel then delete the files under /etc/firmware/amdgpu/ and make the directory immutable so that fw_update(1) will fail but that seems hacky in the extreme and will leave you without a functional GPU. Note that the nomodeset kernel parameter would also prevent the GPU from working under GNU/Linux because AMD cards require kernel mode setting so it isn't really a solution under that operating system.
I'm using 6.8.. i can bypass loading amdgpu from boot -c and still get a display but then no screens are available for xorg.

not fw_update, but the initial boot after slicing up the drive and installing system components. that boot works fine and installs amdgpu automatically and directs users to install security updates. but then the next boot amdgpu is loaded after the kernel loads all drivers and instead of the screen adjusting to a higher resolution it goes blank/black with a tinge of backlighting.

this happens with many distros and by adding nomodeset to grub it resolves the issue and amdgpu may be run without issue. openbsd does not utilize grub so i'm at a loss.
Reply With Quote
  #4   (View Single Post)  
Old 23rd December 2020
Head_on_a_Stick's Avatar
Head_on_a_Stick Head_on_a_Stick is offline
Real Name: Matthew
Bloaty McBloatFace
 
Join Date: Dec 2015
Location: London
Posts: 271
Default

Quote:
Originally Posted by smak View Post
I'm using 6.8
Try -current then.

Quote:
Originally Posted by smak View Post
this happens with many distros and by adding nomodeset to grub it resolves the issue
No, it doesn't. The amdgpu driver requires kernel mode setting. If you can get to a graphical desktop after applying that parameter then it's probably using the VESA driver, which will give terrible performance.
__________________
Linux is for people who hate Windows. BSD is for people who love UNIX.
Reply With Quote
  #5   (View Single Post)  
Old 24th December 2020
smak's Avatar
smak smak is offline
New User
 
Join Date: Feb 2015
Posts: 8
Default

with openbsd installed i'm not that demanding on gpu performance.. i'd much rather have a stable and secure workable system.

upgraded to current with no change

tried some bios settings too to no avail.

was running fine early in the year i wonder if i roll back the version it may help.

meantime if anyone has suggestions..... i have tried all displyport/hdmi/dvi ports on the gpu.
Reply With Quote
  #6   (View Single Post)  
Old 24th December 2020
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,471
Default

Please post your dmesg(8).
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenBSD xf86-video-amdgpu shep News 10 8th June 2019 03:20 PM
NetBSD and AMDGPU darktrym NetBSD General 1 16th September 2016 08:38 PM


All times are GMT. The time now is 02:55 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2022, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick