WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: PlayOnLinux.tcz  (Read 53240 times)

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14799
Re: PlayOnLinux.tcz
« Reply #180 on: January 01, 2022, 09:57:54 AM »
That shows /usr/local/lib/dri/r600_dri.so is the 32-bit version.

My intention was that you test the 64-bit version of Xorg-7.7-3d and vulkan.

You could try this:
Code: [Select]
sudo cp /tmp/tcloop/Xorg-7.7-3d/usr/local/lib/dri/r600_dri.so /usr/local/lib/dri/
sudo cp /tmp/tcloop/Xorg-7.7-3d/usr/local/lib/dri/swrast_dri.so /usr/local/lib/dri/
sudo cp /tmp/tcloop/Xorg-7.7-3d/usr/local/lib/dri/libvulkan_radeon.so /usr/local/lib/dri/
« Last Edit: January 01, 2022, 10:00:33 AM by Juanito »

Offline xor

  • Hero Member
  • *****
  • Posts: 1268
Re: PlayOnLinux.tcz
« Reply #181 on: January 01, 2022, 10:11:43 AM »
Code: [Select]
tc@box:~$ file /usr/local/lib/dri/r600_dri.so
/usr/local/lib/dri/r600_dri.so: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked, BuildID[sha1]=de4316eccc7d88b797dd8673ae61b1299364caaa, stripped

Hi xor
You need to install the  file  extension:
Code: [Select]
tce-load -wi file
Then run:
Code: [Select]
file /usr/local/lib/dri/r600_dri.so

Offline xor

  • Hero Member
  • *****
  • Posts: 1268
Re: PlayOnLinux.tcz
« Reply #182 on: January 01, 2022, 10:12:46 AM »
Code: [Select]
tc@box:~$ sudo cp /tmp/tcloop/Xorg-7.7-3d/usr/local/lib/dri/swrast_dri.so /usr/l
ocal/lib/dri/
tc@box:~$ sudo cp /tmp/tcloop/Xorg-7.7-3d/usr/local/lib/dri/libvulkan_radeon.so
/usr/local/lib/dri/
cp: cannot stat '/tmp/tcloop/Xorg-7.7-3d/usr/local/lib/dri/libvulkan_radeon.so': No such file or directory

That shows /usr/local/lib/dri/r600_dri.so is the 32-bit version.

My intention was that you test the 64-bit version of Xorg-7.7-3d and vulkan.

You could try this:
Code: [Select]
sudo cp /tmp/tcloop/Xorg-7.7-3d/usr/local/lib/dri/r600_dri.so /usr/local/lib/dri/
sudo cp /tmp/tcloop/Xorg-7.7-3d/usr/local/lib/dri/swrast_dri.so /usr/local/lib/dri/
sudo cp /tmp/tcloop/Xorg-7.7-3d/usr/local/lib/dri/libvulkan_radeon.so /usr/local/lib/dri/

???
« Last Edit: January 01, 2022, 10:17:36 AM by xor »

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14799
Re: PlayOnLinux.tcz
« Reply #183 on: January 01, 2022, 10:20:55 AM »
Sorry:
Code: [Select]
sudo cp /tmp/tcloop/Xorg-7.7-3d/usr/local/lib/libvulkan_radeon.so /usr/local/lib
Then:
Code: [Select]
glxinfo | grep Acc
vkcube

Offline xor

  • Hero Member
  • *****
  • Posts: 1268
Re: PlayOnLinux.tcz
« Reply #184 on: January 01, 2022, 11:57:22 AM »
Sorry:
Code: [Select]
sudo cp /tmp/tcloop/Xorg-7.7-3d/usr/local/lib/libvulkan_radeon.so /usr/local/lib
Then:
Code: [Select]
glxinfo | grep Acc
vkcube

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14799
Re: PlayOnLinux.tcz
« Reply #185 on: January 01, 2022, 12:28:09 PM »
You have hardware accelerated graphics running OK.

Vulkan gives an error - did the cube graphic appear?

What happens if you run steam now?

Offline xor

  • Hero Member
  • *****
  • Posts: 1268
Code: [Select]
sudo cp /tmp/tcloop/Xorg-7.7-3d/usr/local/lib/dri/r600_dri.so /usr/local/lib/dri/
sudo cp /tmp/tcloop/Xorg-7.7-3d/usr/local/lib/dri/swrast_dri.so /usr/local/lib/dri/
sudo cp /tmp/tcloop/Xorg-7.7-3d/usr/local/lib/libvulkan_radeon.so /usr/local/lib


tc@box:~$ sudo cp /tmp/tcloop/Xorg-7.7-3d/usr/local/lib/dri/r600_dri.so /usr/loc
al/lib/dri/
tc@box:~$ sudo cp /tmp/tcloop/Xorg-7.7-3d/usr/local/lib/dri/swrast_dri.so /usr/l
ocal/lib/dri/
tc@box:~$ sudo cp /tmp/tcloop/Xorg-7.7-3d/usr/local/lib/libvulkan_radeon.so /usr
/local/lib

cp: '/tmp/tcloop/Xorg-7.7-3d/usr/local/lib/libvulkan_radeon.so' and '/usr/local/lib/libvulkan_radeon.so' are the same file

now the login screen doesn't come up at all!
bug report is in the 3rd post after this one!
« Last Edit: January 01, 2022, 11:28:42 PM by xor »

Offline xor

  • Hero Member
  • *****
  • Posts: 1268
Code: [Select]
tc@box:~$ tce-load -wi  vulkan-tools
vulkan-tools is already installed!
tc@box:~$ vkcube
vkcube: /usr/src/Vulkan-Tools-1.2.141/cube/cube.c:3175: demo_init_vk: Assertion `!err' failed.
Aborted
« Last Edit: January 01, 2022, 11:22:43 PM by xor »

Offline xor

  • Hero Member
  • *****
  • Posts: 1268
Code: [Select]
Please wait...
steam.sh[17350]: Running Steam on tinycore 11.1 64-bit
steam.sh[17350]: STEAM_RUNTIME is enabled automatically
setup.sh[17425]: Steam runtime environment up-to-date!
steam.sh[17350]: Steam client's requirements are satisfied
Installing breakpad exception handler for appid(steam)/version(1639697812)
libGL error: MESA-LOADER: failed to open r600: /usr/local/lib/dri/r600_dri.so: wrong ELF class: ELFCLASS64 (search paths /usr/local/lib/dri)
libGL error: failed to load driver: r600
libGL error: MESA-LOADER: failed to open r600: /usr/local/lib/dri/r600_dri.so: wrong ELF class: ELFCLASS64 (search paths /usr/local/lib/dri)
libGL error: failed to load driver: r600
libGL error: MESA-LOADER: failed to open swrast: /usr/local/lib/dri/swrast_dri.so: wrong ELF class: ELFCLASS64 (search paths /usr/local/lib/dri)
libGL error: failed to load driver: swrast
Installing breakpad exception handler for appid(steam)/version(1639697812)
Installing breakpad exception handler for appid(steam)/version(1639697812)
Loaded SDL version 2.0.19-6963453
libGL error: MESA-LOADER: failed to open r600: /usr/local/lib/dri/r600_dri.so: wrong ELF class: ELFCLASS64 (search paths /usr/local/lib/dri)
libGL error: failed to load driver: r600
libGL error: MESA-LOADER: failed to open r600: /usr/local/lib/dri/r600_dri.so: wrong ELF class: ELFCLASS64 (search paths /usr/local/lib/dri)
libGL error: failed to load driver: r600
libGL error: MESA-LOADER: failed to open swrast: /usr/local/lib/dri/swrast_dri.so: wrong ELF class: ELFCLASS64 (search paths /usr/local/lib/dri)
libGL error: failed to load driver: swrast
Steam: An X Error occurred
X Error of failed request:  GLXBadContext
Major opcode of failed request:  152
Serial number of failed request:  47
xerror_handler: X failed, continuing
Steam: An X Error occurred
X Error of failed request:  BadValue (integer parameter out of range for operation)
Major opcode of failed request:  152
Value in failed request:  0x0
Serial number of failed request:  46
xerror_handler: X failed, continuing
/home/tc/.local/share/Steam/steam.sh: line 794: 17497 Segmentation fault      "$STEAMROOT/$STEAMEXEPATH" "$@"
crash_20220102070751_4.dmp[17504]: Uploading dump (out-of-process)
/tmp/dumps/crash_20220102070751_4.dmp
>>>> END OF COMMAND <<<<

no progress! :(
---

I think the graphics card model is according to this list
https://en.wikipedia.org/wiki/Radeon_HD_2000_series#Radeon_Feature_Matrix
It should be in a different category!
according to this table the GPU I have is not "R600" class,
It is shown in the table as the "Southern Islands" classification.
« Last Edit: January 01, 2022, 11:35:43 PM by xor »

Offline xor

  • Hero Member
  • *****
  • Posts: 1268
Re: PlayOnLinux.tcz
« Reply #189 on: January 02, 2022, 02:11:36 AM »
1 step
http://tinycorelinux.net/11.x/x86/tcz/Xorg-7.7-3d.tcz
df folder >> libvulkan_radeon.so
2 step
Code: [Select]
sudo rm -f /usr/local/lib/dri/libvulkan_radeon.so
sudo cp /home/tc/df/libvulkan_radeon.so /usr/local/lib/dri/
3 step
Code: [Select]
tce-load -wil libvulkan

note: I now use /mnt/sdd1/steamtest/df/ folder instead of /home/tc/df folder.

vvv ! sequential command order ! vvv

sudo rm -f /usr/local/lib/dri/swrast_dri.so
sudo cp /mnt/sdd1/steamtest/df/swrast_dri.so /usr/local/lib/dri/
sudo rm -f /usr/local/lib/dri/r600_dri.so
sudo cp /mnt/sdd1/steamtest/df/r600_dri.so /usr/local/lib/dri/
sudo rm -f /usr/local/lib/dri/libvulkan_radeon.so
sudo cp /mnt/sdd1/steamtest/df/libvulkan_radeon.so /usr/local/lib/dri/
sudo cp /tmp/tcloop/Xorg-7.7-3d/usr/local/lib/dri/r600_dri.so /usr/local/lib/dri/
sudo cp /tmp/tcloop/Xorg-7.7-3d/usr/local/lib/dri/swrast_dri.so /usr/local/lib/dri/
sudo cp /tmp/tcloop/Xorg-7.7-3d/usr/local/lib/libvulkan_radeon.so /usr/local/lib

I'm confused what to do now!  :( ???
« Last Edit: January 02, 2022, 02:18:09 AM by xor »

Offline xor

  • Hero Member
  • *****
  • Posts: 1268
Re: PlayOnLinux.tcz
« Reply #190 on: January 02, 2022, 02:38:22 AM »
hd 7480d

Categorized by "Southern Islands" https://en.wikipedia.org/wiki/List_of_AMD_graphics_processing_units#Features_Overview
GCN is evaluated in the 1st gene microarchitecture class

https://en.wikipedia.org/wiki/AMDGPU page;
AMDGPU is AMD's fully open source unified graphics driver for Linux.[3] AMDGPU officially supports cards built upon GCN 1.2 or higher, though as of 2021 support for GCN 1.0/1.1 is incomplete,[4] it can be enabled by a kernel parameter[5][6] and some Linux distributions enabled it by default. [7]


Those in the GCN 1st gen microarchitecture class as of 2021
AMDGPU driver support has emerged!

I think this project will need to be migrated from TCL11 to TCL13!
« Last Edit: January 02, 2022, 02:41:32 AM by xor »

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14799
Re: PlayOnLinux.tcz
« Reply #191 on: January 02, 2022, 04:36:18 AM »
What we've learned is that with a 64-bit hardware accelerated gui steam will not start.

If we overwrite the 64-bit graphics drivers r600_dri.so and swrast_dri.so with their 32-bit versions, but do not re-start the gui, then steam will start.

Once steam has started, the contents browser window is blank, but there are no error messages to suggest why.

I'd say we're stuck for now..
« Last Edit: January 02, 2022, 04:42:49 AM by Juanito »

Offline xor

  • Hero Member
  • *****
  • Posts: 1268
Re: PlayOnLinux.tcz
« Reply #192 on: January 02, 2022, 05:29:13 AM »
Firstly ; must look at the glass half full :D

first of all what did we achieve :)

to make a starter; I wrote 250 lines of script :D

I think technically we have overcome the hardest part of the job.

By the way, in order not to waste all this effort when we have come to this point.

I would like to renew previous requests from linux applications that request MultiLib.

one.
PlayOnLinux .tcz (x86_64-bit)

2nd.
lutris .tcz (x86_64-bit)
http://forum.tinycorelinux.net/index.php/topic,24304.0.html

3.
Steam TUI .tcz (x86_64-bit)
http://forum.tinycorelinux.net/index.php/topic,24994.0.html

note: if the launcher works compatible with these 3 different versions, we can consider it to have passed the beta test :D
« Last Edit: January 02, 2022, 05:37:12 AM by xor »

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14799
Re: PlayOnLinux.tcz
« Reply #193 on: January 02, 2022, 09:45:57 AM »
Got it - start with LIBGL_DRIVERS_PATH="/usr/local/lib/dri:/usr/local/lib32/dri" bin_steam.sh

..and a free game works.

« Last Edit: January 02, 2022, 09:48:11 AM by Juanito »

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14799
Re: PlayOnLinux.tcz
« Reply #194 on: January 02, 2022, 10:45:54 AM »
i.e. do not overwrite the 64-bit Xorg-7.7-3d files:

/usr/local/lib/dri/r600_dri.so
/usr/local/lib/dri/swrast_dri.so
/usr/local/lib/libvulkan_radeon.so

instead mount the 32-bit Xorg-7.7-3d somewhere and copy the contents of /usr/local/lib to /usr/local/lib32.