DaemonForums  

Go Back   DaemonForums > DaemonForums.org > News

News News regarding BSD and related.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 21st February 2018
shep shep is offline
Real Name: Scott
Arp Constable
 
Join Date: May 2008
Location: Dry and Dusty
Posts: 1,503
Default OpenBSD xf86-video-amdgpu

From the changelog
Quote:
CVSROOT: /cvs
Module name: xenocara
Changes by: jsg@cvs.openbsd.org 2018/02/16 19:31:15

Modified files:
lib/libdrm : Makefile.bsd-wrapper configure configure.ac
xf86drm.c xf86drm.h xf86drmMode.c xf86drmMode.h
lib/libdrm/amdgpu: Makefile.am Makefile.in amdgpu_bo.c
lib/libdrm/etnaviv: Makefile.in
lib/libdrm/include/drm: drm.h
lib/libdrm/intel: Makefile.am Makefile.in intel_chipset.h
lib/libdrm/radeon: radeon_surface.c
lib/libdrm/tests/amdgpu: Makefile.in

Log message:
Merge libdrm 2.4.89
Progress toward support for

Sea Islands BONAIRE, KABINI, MULLINS, KAVERI, HAWAII HD7790, R7 260, R9 290
Volcanic Islands TONGA, ICELAND/TOPAZ, CARRIZO, FIJI, STONEY, POLARIS10, POLARIS11, POLARIS12


See https://www.x.org/wiki/RadeonFeature/ for more details
Reply With Quote
  #2   (View Single Post)  
Old 21st February 2018
e1-531g e1-531g is offline
ISO Quartermaster
 
Join Date: Mar 2014
Posts: 628
Default

Does kernel driver also get updated?
__________________
Signature: Furthermore, I consider that systemd must be destroyed.
Based on Latin oratorical phrase
Reply With Quote
  #3   (View Single Post)  
Old 21st February 2018
shep shep is offline
Real Name: Scott
Arp Constable
 
Join Date: May 2008
Location: Dry and Dusty
Posts: 1,503
Default

Quote:
Originally Posted by e1-531g View Post
Does kernel driver also get updated?
I found amdgpu commits to the compiler, mesa and libdrm. Xenocara still needs import of xf86-video-amdgpu (easy) and the kernel driver.

Edit: I recall that current had partially adopted more recent linux kernel intel drivers. That code base also had more recent amdgpu drivers but I do not believe that they have been implemented.

Last edited by shep; 22nd February 2018 at 04:04 PM.
Reply With Quote
  #4   (View Single Post)  
Old 11th October 2018
shep shep is offline
Real Name: Scott
Arp Constable
 
Join Date: May 2008
Location: Dry and Dusty
Posts: 1,503
Default

It looks like amd support is now at GCN2
http://openbsd-archive.7691.n7.nabbl...-td341554.html

And a dmesg:

Quote:
radeondrm1 at pci1 dev 0 function 0 "ATI Radeon HD 8670M" rev 0x83
drm1 at radeondrm1
radeondrm1: msi
ppb1 at pci0 dev 2 function 3 "AMD AMD64 16h PCIE" rev 0x00: msi
pci2 at ppb1 bus 2
For those who like APU's it looks like FM2+ KAVERI/KABINI/MULLINS series are good. I'm still seen anything definitive on AM4.

Last edited by shep; 14th October 2018 at 05:46 PM.
Reply With Quote
  #5   (View Single Post)  
Old 11th October 2018
fvgit's Avatar
fvgit fvgit is offline
Spikes in tights
 
Join Date: May 2016
Location: perl -MMIME::Base64 -le 'print decode_base64("U2hlcndvb2QgRm9yZXN0")'
Posts: 314
Default

Although that update and discussion is from April thanks a lot for posting this. It had somehow escaped my radar. Only the '1.5 million lines of code' snippet rings a bell, I must've picked that up somewhere.
Reply With Quote
  #6   (View Single Post)  
Old 12th October 2018
Paianni Paianni is offline
Port Guard
 
Join Date: Nov 2017
Posts: 17
Default

Porting xf86-video-amdgpu should be unnecessary as all GCN Radeons can run on the Modesetting DDX driver with good performance, same as the current Intel graphics.
Reply With Quote
  #7   (View Single Post)  
Old 12th October 2018
shep shep is offline
Real Name: Scott
Arp Constable
 
Join Date: May 2008
Location: Dry and Dusty
Posts: 1,503
Default

The latest Xenocara commit updated xf86-video-amdgpu back.
Quote:
driver/xf86-input-acecad 1.5.0
driver/xf86-input-elographics 1.4.1
driver/xf86-input-fpit 1.4.0
driver/xf86-input-hyperpen 1.4.1
driver/xf86-input-joystick 1.6.3 7.7+
driver/xf86-input-keyboard 1.9.0 7.7+
driver/xf86-input-mouse 1.9.3 7.7+
driver/xf86-input-mutouch 1.3.0
driver/xf86-input-penmount 1.5.0
driver/xf86-input-synaptics 1.9.1 7.7+
driver/xf86-input-vmmouse 13.1.0 7.7+
driver/xf86-input-void 1.4.1 7.7+
driver/xf86-video-amdgpu 18.1.0 needs-import
driver/xf86-video-apm 1.2.5
driver/xf86-video-ark 0.7.5 7.7+
driver/xf86-video-ast 1.0.1 7.7+
driver/xf86-video-ati 18.1.0 7.7+ needs-update
driver/xf86-video-chips 1.2.7
driver/xf86-video-cirrus 1.5.3 7.7+
driver/xf86-video-dummy 0.3.8 7.7+
driver/xf86-video-geode 2.11.19 7.7+
driver/xf86-video-glint 1.2.9 7.7+
driver/xf86-video-i128 1.3.6 7.7+
driver/xf86-video-i740 1.3.6
driver/xf86-video-intel 2.99.916 7.7+ needs-update
referebce:http://cvsweb.openbsd.org/cgi-bin/cv...nocara/MODULES

Until Intel launches new chips that address their security vulnerabilites, AMD chips with full video support would be very attractive to the community. I wonder if an AMD donation to the project could be had without NDAs?

https://finance.yahoo.com/news/amd-c...211517325.html.

Last edited by shep; 12th October 2018 at 10:21 PM. Reason: added -> updated
Reply With Quote
  #8   (View Single Post)  
Old 12th October 2018
Paianni Paianni is offline
Port Guard
 
Join Date: Nov 2017
Posts: 17
Default

That line has been in that file for a long time. It was just updated with a newer version. xf86-video-amdgpu is still nowhere to be found in the xenocara tree, that is because the developers do not want or care about it.
Reply With Quote
  #9   (View Single Post)  
Old 12th October 2018
shep shep is offline
Real Name: Scott
Arp Constable
 
Join Date: May 2008
Location: Dry and Dusty
Posts: 1,503
Default

@Paianni

I wasn't clear, amdgpu had recently been updated

It was added back with this recent commit:
https://github.com/openbsd/xenocara/...e0ffa5edba1589

Why update something you have no intention of dealing with?

Last edited by shep; 12th October 2018 at 10:20 PM.
Reply With Quote
Old 18th April 2019
shep shep is offline
Real Name: Scott
Arp Constable
 
Join Date: May 2008
Location: Dry and Dusty
Posts: 1,503
Default

A welcome update
xenocara/driver/xf86-video-amdgpu/


[TXT] COPYING 1.1 2 days jsg branches: 1.1.1; Initial revision
[TXT] ChangeLog 1.1 2 days jsg branches: 1.1.1; Initial revision
[TXT] INSTALL 1.1 2 days jsg branches: 1.1.1; Initial revision
[TXT] Makefile.am 1.1 2 days jsg branches: 1.1.1; Initial revision
[TXT] Makefile.bsd-wrapper 1.1 2 days jsg initial Makefile.bsd-wrapper
Reply With Quote
Old 8th June 2019
shep shep is offline
Real Name: Scott
Arp Constable
 
Join Date: May 2008
Location: Dry and Dusty
Posts: 1,503
Default

Theo de Raadt wrote

Quote:
I am hoping to get one also... and as a rule whatever I get my hands on tends to work \
out well.

danieljboyd@icloud.com wrote:

> I just ordered some E495s (not 'T', but pretty similar). I think
> they're supposed to arrive today. I'll do a test boot and send in a
> dmesg.
>
> On Tue, May 28, 2019 at 10:44:44AM -0400, David Anthony wrote:
> > All,
> >
> > The Lenovo release of T*95 series laptops with AMD Ryzen CPU appears imminent.
> >
> > Would these be poor choices for OpenBSD? Are there any anticipated ???gotchas??? \
> > that I should be aware of? Any thoughts would be greatly appreciated.
> > Respectfully,
> > David Anthony
> >
>
My understanding is that the kernel driver code is in -current but not currently in the default build. Early testers have to build a custom kernel

Quote:
I've tried the new amdgpu driver on my RX460 (4G VRAM), and it seems to work
reasonably. KMS picks up the appropriate console resolution, and X appears to
work. There is some strange behavior with xrandr when setting rotation on one of
my displays (1920x1200->1200x1920) that I don't quite understand; its idea of
the mouse pointer's position seems to be confused. Changing virtual desktop size
by disabling displays outright doesn't seem to cause any problems. I can play
with it more and report further if that information would be helpful. OpenGL
seems to work, but not entirely correctly. I only had time today to test
glxgears (fine) and 0ad (some obvious artifacts, and doesn't quite reach 60fps
at 1920x1200 as it should be able to, presumably has something to do with the
powerplay error visible in dmesg; images available on request. I also see
display corruption in my xterms after exiting, which is resolved by restarting
X). dmesg quickly fills up with stub messages upon starting X, but I assume
that's known. If there's anything I can test on this hardware to assist
development, I'm happy to do so. dmesg without X, post fw_update:
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
NetBSD and AMDGPU darktrym NetBSD General 1 16th September 2016 08:38 PM
OpenBSD 5.5 video problem moisespedro OpenBSD General 14 13th May 2014 02:46 AM
OpenBSD xf86(4) Aperture driver can be disabled for KMS video jggimi News 0 23rd February 2014 12:08 PM
x11/xf86-video-intel and x11/xf86-video-intel29? Carpetsmoker FreeBSD Ports and Packages 2 23rd October 2011 01:23 PM
Hardware Xf86-video-ati 6.13.1 Driver Released Android1 News 0 7th July 2010 02:58 PM


All times are GMT. The time now is 07:04 AM.


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