GithubHelp home page GithubHelp logo

cosmicfusion / fedora-amdgpu-pro Goto Github PK

View Code? Open in Web Editor NEW
80.0 7.0 11.0 302 KB

A repository that provides the proprietary driver for fedora without having to deal with hassle of getting RHEL repo to work , and it has 32 bit libraries

Shell 100.00%
amd vulkan amdgpu-pro amf fedora linux opencl opengl rpm

fedora-amdgpu-pro's Introduction

Welcome to my Software Workshop... more like Junkyard!

My name is Mohammed Ward Khaled Al-Nakchbandi, I'm a high school student in Syria whose passion in game modding eventually pulled him into the rabbit hole of software development and Linux*.

In my free time I develop software, GTK GUIs and packages for my own distro PikaOS Linux, and GlouriousEggroll's Nobara Project.

With a little help from Google and StackOverflow: I can almost comfortably work with the following Programing Languages:

  • Rust
  • Python
  • Bash
  • Golang
  • C (pointers break me)

And the following GUI APIs:

  • GTK4
  • GTK3
  • Libadwaita

In the future would hope to able to properly learn the above languages and write efficient code, that's less dependent on outsourcing to bash and other questionable practices, but with my extremely limited time, and resources this will do FOR NOW.

I also dream of becoming proficient in creating wine and Linux patches like GE and TKG

My Creations:

  • fedora-amdgpu-pro : A list of scripts to cleanly install amdgpu-pro components on Nobara and Fedora Linux, and have them only load on demand for the perfect mix of performance and professional workforce support.
  • pika-drivers/nobara-drivers : A GTK4 Libadwaita program written in Rust, for managing all sorts of drivers on Nobara and PikaOS.
  • PikaOS Linux : A Linux Distro Based on Ubuntu without snaps Bringing features from all my favorite distros (Nobara,CachyOS,VanillaOS,PopOS,Linux Mint)

fedora-amdgpu-pro's People

Contributors

cosmicfusion avatar dominotree avatar gloriouseggroll avatar idarlund avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

fedora-amdgpu-pro's Issues

Fail to install. Fedora 37.

dnfi *.rpm                                             
Updating and loading repositories:
Repositories loaded.
Package "amdamf-pro-runtime-5.4.3-4.fc37.x86_64" is already installed.
Package "amd-gpu-pro-firmware-5.4.3-1.fc37.x86_64" is already installed.
Package "amdocl-legacy-5.4.1-4.fc36.x86_64" is already installed.
Package "libdrm-pro-5.4.3-4.fc37.x86_64" is already installed.

Package                                                           Arch           Version                                                          Repository                              Size
Installing:                                                                                                                                                                                   
 amdvlk                                                           x86_64         2022.Q4.4-4                                                      @commandline                        74.4 MiB
 amdvlk-pro                                                       x86_64         5.4.3-4.fc37                                                     @commandline                       113.6 MiB

Transaction Summary:
 Installing:        2 packages

Is this ok [y/N]: y

Verifying PGP signatures

Running transaction
Transaction failed: Rpm transaction failed.

Built as specified. Only amvlk and amdvlk-pro fail to install.

How to uninstall

Hi I tried to uninstall, but after that, I have problem with running my fedora box again, the amd gpu firmware don't load succesfully. I was able to install it again and was able to run my system back. Dmesg log from loading:

amdgpu_fail.txt

amdgpu-opencl-switcher is missing from copr

I've been trying to get this going on Fedora 37, rebuilding the packages in copr manually from src.rpm. The docs mention an amdgpu-opencl-switcher package that doesn't seem to exist in the linked COPR repo and I don't see if in previous builds. I have rebuilt and installed the vulkan and opengl switchers, but neither provide the cl_pro command.

Clarification on support for HIP/ROCm/Blender>3.0

As the title says, there doesn't seem to be any clarification on whether this would help with installing HIP/ROCm packages, or whether this can help with getting Blender 3.x versions to recognize AMD GPUs. Some clarification on this would be appreciated as currently only OpenCL is mentioned in regards to Blender.

Mark this Repo as Archived or Closed.

@CosmicFusion

People are still using this method to install the OpenCL component, if this Repo is depreacted it would do a great deal of good for us who help troubleshoot issues to mark this Repo as closed or make note of pointing to the RHEL URL or get the ROCm drivers from the Fedora Repo dnf install rocm-*

Why is libdrm-pro a required package for amdvlk?

Specifically refereeing to the following line
https://github.com/CosmicFusion/fedora-amdgpu-pro/blob/main/x86_64/amdvlk/amdvlk.spec#L54

I in particular was interested to use amdvlk for one of the 0.001% of games where it performs better than radv. Locally I changed the spec marking libdrm-pro as required and not only the build was successful I could play games with it using vk_amdvlk.
Shouldn't we change libdrm-pro to be a recommended package instead of required or am I missing something?

Thanks for the awesome work o/

Library path is incorrent for gl_pro

The gl_pro command sets the wrong path for includes causing it to instafail.

$ gl_pro glxgears
libGL error: MESA-LOADER: failed to open radeonsi: /opt/amdgpu-pro/OpenGL/lib32/dri/radeonsi_dri.so: cannot open shared object file: No such file or directory (search paths /opt/amdgpu-pro/OpenGL/lib64/dri:/opt/amdgpu-pro/OpenGL/lib32/dri, suffix _dri)
libGL error: failed to load driver: radeonsi
libGL error: MESA-LOADER: failed to open swrast: /opt/amdgpu-pro/OpenGL/lib32/dri/swrast_dri.so: cannot open shared object file: No such file or directory (search paths /opt/amdgpu-pro/OpenGL/lib64/dri:/opt/amdgpu-pro/OpenGL/lib32/dri, suffix _dri)
libGL error: failed to load driver: swrast
Error: glXCreateContext failed

gl_pro() exports:

export LD_LIBRARY_PATH="/opt/amdgpu-pro/OpenGL/lib64:/opt/amdgpu-pro/OpenGL/lib32:${LD_LIBRARY_PATH}" LIBGL_DRIVERS_PATH="/opt/amdgpu-pro/OpenGL/lib64/dri:/opt/amdgpu-pro/OpenGL/lib32/dri"

The actual path from the installed RPMs had "OpenGL" in lowercase:

/opt/amdgpu-pro/opengl/lib64/

Changing that export line to this makes it work properly on my system (Fedora 37, x86_64):

export LD_LIBRARY_PATH="/opt/amdgpu-pro/opengl/lib64:/opt/amdgpu-pro/opengl/lib32:${LD_LIBRARY_PATH}" LIBGL_DRIVERS_PATH="/opt/amdgpu-pro/opengl/lib64/dri:/opt/amdgpu-pro/opengl/lib32/dri"

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.