LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Games
User Name
Password
Linux - Games This forum is for all discussion relating to gaming in Linux.

Notices


Reply
  Search this Thread
Old 01-06-2023, 10:50 PM   #1
vmelkon
Member
 
Registered: Feb 2007
Location: Canada
Distribution: Kubuntu 22.04
Posts: 549

Rep: Reputation: 84
AMD RX 6800 + raytracing


Hello,
Is raytracing supported on the RX 6000 series video cards under Linux?
What about the 7000 series?

glxinfo shows
Device: AMD Radeon RX 6800 (sienna_cichlid, LLVM 13.0.1, DRM 3.42, 5.15.0-57-generic) (0x73bf)

https://community.khronos.org/t/rayt...of-dxr/77016/3
https://community.khronos.org/t/open...pport/104489/2

So, officially, OpenGL doesn’t have the raytracing feature (doesn’t expose the hardware’s raytracing ability) and never will have.

They have written the extension specification for Vulkan.
VK_KHR_ray_tracing_pipeline
VK_KHR_ray_query
GLSL_EXT_ray_tracing
SPV_KHR_ray_tracing
VK_KHR_acceleration_structure

https://registry.khronos.org/vulkan/..._pipeline.html
https://github.com/KhronosGroup/GLSL...ay_tracing.txt
https://htmlpreview.github.io/?https...y_tracing.html
https://registry.khronos.org/vulkan/...spirv_1_4.html
https://registry.khronos.org/vulkan/...structure.html



but none of those extensions are shown when I run vulkaninfo via the command line.

I have seen a couple of videos on youtube that claim to be running Linux, using some AMD 6800 XT and they demo MetroExodus and Shadow of the Tomb Raider where they enable raytracing.

This is odd since AMD claims these GPU are RDNA2 and it is suppose to have hardware support for DirectX 12 raytracing.
 
Old 01-07-2023, 08:18 AM   #2
biker_rat
Member
 
Registered: Feb 2010
Posts: 370

Rep: Reputation: 220Reputation: 220Reputation: 220
RADV_PERFTEST=rt environment variable needs to be set. Also, kernel & mesa is ancient for AMD RDNA2 ray tracing. Use Kernel 6.1.x, at a minimum. Maybe even Kernel 6.2-rcx. Use at least mesa version 22.3.2.
 
Old 01-30-2023, 03:05 PM   #3
vmelkon
Member
 
Registered: Feb 2007
Location: Canada
Distribution: Kubuntu 22.04
Posts: 549

Original Poster
Rep: Reputation: 84
I tried installing linux-headers-6.1.6-060106_6.1.6-060106.202301141035_all.deb and some other DEB files in a VM, following an online instruction.
The VM boots up and works but I don't know if I should mess around with my real installation.

I downloaded the wrong driver from amd.com.
I don't know what that Ubuntu HWE thing is.

So, I downloaded the non HWE Ubuntu 22.04 AMD driver.
This one installed it but WOW, it is 1.6 GB of files downloaded.
I rebooted. Looks like I now have raytracing support in Vulkan.

Quake 2 RTX works.

The downside is that Cyberpunk 2077 crashes. I did not even turn on raytracing.
Shadow of the tomb raider doesn't start up.. I did not even turn on raytracing.
Metro Exodus crashes. . I did not even turn on raytracing.

Are the AMD drivers not tested?
 
Old 02-22-2023, 01:34 AM   #4
zazeraz
LQ Newbie
 
Registered: Feb 2023
Posts: 1

Rep: Reputation: 0
This might sounds too easy but installing
sudo apt-get install amdvlk
solved my issues using raytracing.
 
Old 09-11-2023, 02:18 PM   #5
vmelkon
Member
 
Registered: Feb 2007
Location: Canada
Distribution: Kubuntu 22.04
Posts: 549

Original Poster
Rep: Reputation: 84
Kubuntu 22.04
AMD Radeon 6800 16 GB
Kernel Version: 5.15.0-83-generic


Whoaaaaa, they added raytracing support.
Now I can run Quake 2 RTX without any special flags.
It runs as fast as it does on Windows.

CyberPunk 2077, I can’t turn on the RTX. Clicking the bar thing doesn’t set it to on.
Metro Exodus Enhanced Edition says there isn’t any support for DXR 1,1.
Shadow of the Tombs Raider, there isn’t a feature to turn on RTX.

I ran vulkaninfo
VK_KHR_acceleration_structure NO
VK_KHR_ray_tracing_pipeline NO
VK_KHR_ray_query YES
VK_KHR_pipeline_library YES
VK_KHR_deferred_host_operations YES
GLSL_EXT_ray_tracing NO
SPV_KHR_ray_tracing NO
 
  


Reply



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
New GPU, no X (slack 13.37 / AMD HD 6800 Series) Eerie Linux - Hardware 2 07-23-2012 03:35 AM
TV out on an nvidia geforce 6800? Braveheart1980 Linux - Hardware 5 09-19-2004 09:25 AM
Will the nVIDIA 6800 Ultra vid card run in linux? Fear58 Linux - Hardware 9 09-14-2004 11:13 AM
Geforce fx 6800 push Linux - Newbie 10 09-14-2004 01:10 AM
Gentoo & nvidia 6800 init Linux - Hardware 0 09-11-2004 11:18 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Games

All times are GMT -5. The time now is 07:44 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