LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-15-2019, 10:03 AM   #16
Timothy Miller
Moderator
 
Registered: Feb 2003
Location: Arizona, USA
Distribution: Debian, Arch, Void
Posts: 3,544
Blog Entries: 4

Rep: Reputation: 1189Reputation: 1189Reputation: 1189Reputation: 1189Reputation: 1189Reputation: 1189Reputation: 1189Reputation: 1189Reputation: 1189

Quote:
Originally Posted by tramtrist View Post
I wasn't aware Ryzen GPU acceleration/support was available pre-5.x Kernel...
It's in the later 4.x series, but it's MASSIVELY improved in 5.x
 
Old 08-15-2019, 11:41 AM   #17
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 7,517

Rep: Reputation: 5171Reputation: 5171Reputation: 5171Reputation: 5171Reputation: 5171Reputation: 5171Reputation: 5171Reputation: 5171Reputation: 5171Reputation: 5171Reputation: 5171
Quote:
Originally Posted by tramtrist View Post
I wasn't aware Ryzen GPU acceleration/support was available pre-5.x Kernel...
I think the 4.15 kernel is what introduced kernel support for the newer GPUs and then support has just gotten better since then. I'm not doing much with my APU, but it does work fine for the GPU video decoding and whatever the default effects are in KDE4 using -current from May (including the stock 4.19.x kernel at that time). I haven't really tried any gaming on it.
 
Old 08-25-2019, 10:14 AM   #18
spike86
Member
 
Registered: May 2004
Distribution: Arch
Posts: 61

Rep: Reputation: 14
Writing from 3400g

Hi to all, and sorry for the long delay (I have been on holiday)

I had some troubles trying to make this APU work with stock slackware-current.

It seems that, even if the vega cores are the same and in the same number as in the 2400g, the 3400g changed enough inner things to not work (outside for vesa) with stock 4.19.66 -current kernel.

It took me quite a while to figure out (the other pc that I build (2400g) works great with a less updated mesa-18.2 and 4.19 kernel on MX linux), until I stumbled on a random comment from a arch linux guy who said that in it's configuration (kernel 5.X) worked great in reply to another user with my same problem (but on arch)

since arch and -current share the same mesa version, I decided to just upgrade the kernel and check if it worked.

Long story short, it worked, but the amdgpu driver failed to recon my monitor correctly, so at boot my console was all blurred and extremely low resolution (640x480 I think), and X start in the same way as the console (even with a xorg.conf file) because of KMS...

So I added the "video=1280x1024" bit to the append line in /boot/efi/EFI/Slackware/elilo.conf

Now both the console and X start with the correct resolution (and without xorg.conf)

direct rendering works great, and both games and video render correctly (game performance are very good, both in wine's and native's linux games)

But running current has it's own set of problem of course....

So I need your help once again, since I new to this spin of Slackware.

I downloaded sbotools and tried to use it (I think it uses the 14.2 branch of slackbuild tree, but I used it for so long, that it was worth a try) expecting the worst, but instead it worked for MOST of my required packages, with few exceptions.

Then I downloaded sbopkg, read the docs, pointed to ponce git repository, and tried to install the missing packages.

Some of them installed correctly, others didn't

Code:
vhba needed by cdemu failed with "cc1: error: incompatible gcc/plugin versions"

steamos-xpad failed with "cc1: error: incompatible gcc/plugin versions"

thunar-media-tags-plugin failed with "checking for thunarx-2 >= 1.0.1... not found
*** The required package thunarx-2 was not found on your system.
*** Please install thunarx-2 (atleast version 1.0.1) or adjust
*** the PKG_CONFIG_PATH environment variable if you
*** installed the package in a nonstandard prefix so that
*** pkg-config is able to find it."

arc-theme-red failed with  "configure: error: Invalid GNOME version: 3.24" (note: arc-theme worked instead)

mu64py failed with lots of python errors with the last line being "ValueError: PyCapsule_GetPointer called with incorrect name"
another thing: I require portaudio-32bit for pcsx2, however I have failed to find a way to use sbopkg to build a 32bit version of a package. Is there a way that I missed?
Then I tried to build it manually with the normal Slackbuild (from ponce git) using the ". /etc/profile.d/32-dev.sh" and then start the build. It worked, but the package contained /lib64 directories, and convert32pkg refused to convert it.... what I'm doing wrong?

Sorry for the monumental post!

Last edited by spike86; 08-25-2019 at 10:25 AM.
 
Old 08-25-2019, 07:34 PM   #19
spike86
Member
 
Registered: May 2004
Distribution: Arch
Posts: 61

Rep: Reputation: 14
portaudio solved

ok, as for portaudio I managed to compile and install it.

I forgot (it was such a long time since I manually compiled a slackbuild!) to set ARCH=i486 after sourcing 32dev.sh.
so in order I had to
Code:
#. /etc/profile.d/32dev.sh
#export ARCH=i486
#sbopkg -i portaudio
However it FAILED anyway... then I figured the reason, I have set the jobs nr in the sbopkg.conf file.
Most build succeeded normally, but some, like this, fail.
Commenting that line in sbopkg.conf solved the issue, and a conversion of the resulting 32bit packages closed the deal.
So one problem less. PCSX2 then compiled succesfully (and WITH the -j8 line in sbopkg.conf enabled)

*) vhba module and steamos-xpad, however seems to suffer from a gcc<->kernel compatibility problem. No idea on where to start with it. Any clues?

*) for thunar-media-tags-plugin I tried to point the PKG_CONFIG_PATH to both /usr/lib64/pkgconfig/ to no avail, and then to /usr/lib64/pkgconfig/thunarx-3.pc directly, but it still end with the same "checking for thunarx-2 >= 1.0.1... not found".... I do have thunarx-3, it SHOULD be higher version than thunarx-2, no?

*) m64py still fail with
Code:
m64py-0.2.2/src/m64py/core/defs.py
m64py-0.2.2/src/m64py/core/vidext.py
running install
running build
running build_qt
Traceback (most recent call last):
  File "setup.py", line 322, in <module>
    ("share/applications", ["xdg/m64py.desktop"]),
  File "/usr/lib64/python2.7/distutils/core.py", line 151, in setup
    dist.run_commands()
  File "/usr/lib64/python2.7/distutils/dist.py", line 953, in run_commands
    self.run_command(cmd)
  File "/usr/lib64/python2.7/distutils/dist.py", line 972, in run_command
    cmd_obj.run()
  File "/usr/lib64/python2.7/distutils/command/install.py", line 563, in run
    self.run_command('build')
  File "/usr/lib64/python2.7/distutils/cmd.py", line 326, in run_command
    self.distribution.run_command(command)
  File "/usr/lib64/python2.7/distutils/dist.py", line 972, in run_command
    cmd_obj.run()
  File "setup.py", line 287, in run
    self.run_command("build_qt")
  File "/usr/lib64/python2.7/distutils/cmd.py", line 326, in run_command
    self.distribution.run_command(command)
  File "/usr/lib64/python2.7/distutils/dist.py", line 972, in run_command
    cmd_obj.run()
  File "setup.py", line 62, in run
    self.compile_ui(join(dirpath, filename))
  File "setup.py", line 38, in compile_ui
    uic.compileUi(ui_file, fp, from_imports = True)
  File "/usr/lib64/python2.7/site-packages/PyQt4/uic/__init__.py", line 173, in compileUi
    winfo = compiler.UICompiler().compileUi(uifile, pyfile, from_imports, resource_suffix)
  File "/usr/lib64/python2.7/site-packages/PyQt4/uic/Compiler/compiler.py", line 55, in __init__
    CompilerCreatorPolicy())
  File "/usr/lib64/python2.7/site-packages/PyQt4/uic/uiparser.py", line 183, in __init__
    self.factory = QObjectCreator(creatorPolicy)
  File "/usr/lib64/python2.7/site-packages/PyQt4/uic/objcreator.py", line 97, in __init__
    self._cwFilters.append(plugin_locals["getFilter"]())
  File "<string>", line 22, in getFilter
ValueError: PyCapsule_GetPointer called with incorrect name
even after changing jobs count... no idea on that one too, i've no experience with python...
 
Old 08-27-2019, 03:11 PM   #20
spike86
Member
 
Registered: May 2004
Distribution: Arch
Posts: 61

Rep: Reputation: 14
SOLVED and moved to another thread the other problems

Hi to all again, I'll mark this thread as solved, since Ryzen 5 3400g works well with -current as long as a 5.2 kernel is installed, and to answer myself on one of my first posts, yes, VESA do works out of the box (to a max of 800x600) with -current stock kernel. Only acceleration and higher resolutions, require compiling a 5 kernel.

So, I'll move the rest of the questions to THIS thread instad, to make things easier for everyone.

Also, I haven't read it anywhere (probably my fault) but SBOTOOLS do works with current, in /etc/sbotools/sbotools.conf it's enough to set the SLACKWARE_VERSION= to current, then it will automagically use Ponce-Git as a source.

In the meanwhile, thanks to everyone that answered here!

Last edited by spike86; 08-27-2019 at 03:13 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux support Intel i7 8700 or AMD Ryzen 3600 sujitSali Linux - Hardware 12 07-15-2019 12:50 PM
Ryzen 2400G iGPU randomly hangs, only SSH works Stefan42 Linux - Hardware 2 06-24-2019 05:15 PM
Which CPU has better Linux Support - Ryzen 2600 or I5 8400? sujitSali Linux - Hardware 2 09-05-2018 02:44 PM
LXer: VirtualBox 5.1.24 Brings A Better Support For AMD Ryzen CPUs LXer Syndicated Linux News 0 07-20-2017 02:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:14 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration