Any chance for ati-legacy-drivers?

New features which should be implemented in Porteus; suggestions are welcome. All questions or problems with testing releases (alpha, beta, or rc) should go in their relevant thread here, rather than the Bug Reports section.
User avatar
evergreen
Shogun
Shogun
Posts: 201
Joined: 27 Mar 2016, 16:58
Distribution: Porteus x86_64
Location: Argentine, Patagonia
Contact:

Re: Any chance for ati-legacy-drivers?

Post#31 by evergreen » 18 Jan 2017, 22:53

Hi Blaze,

I tried before the old xorg 1.14 without the driver fglrx in the virtualbox and it doesnt work for that I ask if could i make a newer module.. today I created a new key with all incluide the module fglrx and the old xorg.. I tried it in the physical machine of course.
here is the Log. :cry:

Code: Select all

[    77.918] 
X.Org X Server 1.14.5
Release Date: 2013-12-12
[    78.044] X Protocol Version 11, Revision 0
[    78.087] Build Operating System: Slackware 14.1 Slackware Linux Project
[    78.131] Current Operating System: Linux porteus 4.9.0-porteus #1 SMP PREEMPT Sat Dec 17 19:22:10 BRST 2016 x86_64
[    78.131] Kernel command line: quiet \boot\syslinux\vmlinuz initrd=boot\syslinux\initrd.xz
[    78.222] Build Date: 11 January 2014  12:01:12PM
[    78.266]  
[    78.310] Current version of pixman: 0.30.2
[    78.398] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[    78.398] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    78.577] (==) Log file: "/var/log/Xorg.1.log", Time: Wed Jan 18 23:26:10 2017
[    78.624] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    78.624] (==) No Layout section.  Using the first Screen section.
[    78.624] (==) No screen section available. Using defaults.
[    78.625] (**) |-->Screen "Default Screen Section" (0)
[    78.625] (**) |   |-->Monitor "<default monitor>"
[    78.625] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[    78.625] (==) Automatically adding devices
[    78.625] (==) Automatically enabling devices
[    78.625] (==) Automatically adding GPU devices
[    78.625] (WW) The directory "/usr/share/fonts/local" does not exist.
[    78.625] 	Entry deleted from font path.
[    78.625] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[    78.625] 	Entry deleted from font path.
[    78.625] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[    78.625] 	Entry deleted from font path.
[    78.625] (WW) The directory "/usr/share/fonts/misc" does not exist.
[    78.625] 	Entry deleted from font path.
[    78.625] (WW) The directory "/usr/share/fonts/CID" does not exist.
[    78.625] 	Entry deleted from font path.
[    78.625] (WW) The directory "/usr/share/fonts/75dpi/" does not exist.
[    78.625] 	Entry deleted from font path.
[    78.625] (WW) The directory "/usr/share/fonts/100dpi/" does not exist.
[    78.625] 	Entry deleted from font path.
[    78.625] (WW) The directory "/usr/share/fonts/75dpi" does not exist.
[    78.625] 	Entry deleted from font path.
[    78.625] (WW) The directory "/usr/share/fonts/100dpi" does not exist.
[    78.625] 	Entry deleted from font path.
[    78.625] (WW) The directory "/usr/share/fonts/cyrillic" does not exist.
[    78.625] 	Entry deleted from font path.
[    78.625] (==) FontPath set to:
	/usr/share/fonts/TTF
[    78.625] (==) ModulePath set to "/usr/lib64/xorg/modules"
[    78.625] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[    78.625] (II) Loader magic: 0x7f7820
[    78.625] (II) Module ABI versions:
[    78.625] 	X.Org ANSI C Emulation: 0.4
[    78.625] 	X.Org Video Driver: 14.1
[    78.625] 	X.Org XInput driver : 19.1
[    78.625] 	X.Org Server Extension : 7.0
[    78.626] (II) xfree86: Adding drm device (/dev/dri/card0)
Blaze wrote:evergreen, I think you can take old 002-xorg.xzm from Porteus 3.1 and try to replace this module 002-xorg.xzm in /mnt/Porteus_partition/porteus/base/ (Porteus 3.2.2)

Cheers
AMD A8-7410, APU AMD Radeon R5 Graphics M330

User avatar
evergreen
Shogun
Shogun
Posts: 201
Joined: 27 Mar 2016, 16:58
Distribution: Porteus x86_64
Location: Argentine, Patagonia
Contact:

Any chance for ati-legacy-drivers?

Post#32 by evergreen » 07 Apr 2018, 13:26

Hello again

now with more information, I have had working the proprietary drivers in slackware current with kernel 4.14 xorg117, everything work fine

Here is the topic to downgrade xorg in porteus
Make a module to downgrade xorg

the new scenery is when I run my scripts to patch and generate my package is missing something from the kernel src, here is the log maybe someone can give me a hand to try something else,

Thanks :oops:

Script

Code: Select all

mkdir /tmp/amd && cd /tmp/amd
wget --referer='http://support.amd.com/en-us/download/desktop?os=Linux+x86_64' https://www2.ati.com/drivers/linux/radeon-crimson-15.12-15.302-151217a-297685e.zip
unzip radeon-crimson-15.12-15.302-151217a-297685e.zip
cd fglrx-15.302
wget 'https://aur.archlinux.org/cgit/aur.git/snapshot/catalyst-test.tar.gz'
tar -xvzf catalyst-test.tar.gz
chmod +x amd-driver-installer-15.302-x86.x86_64.run
./amd-driver-installer-15.302-x86.x86_64.run --extract ./drv
cd drv/
patch -Np1 --verbose < ../catalyst-test/4.3-gentoo-mtrr.patch
patch -Np1 --verbose < ../catalyst-test/4.3-kolasa-seq_printf.patch
patch -Np1 --verbose < ../catalyst-test/4.4-manjaro-xstate.patch
patch -Np1 --verbose < ../catalyst-test/4.6-arch-get_user_pages-page_cache_release.patch
patch -Np1 --verbose < ../catalyst-test/4.7-arch-cpu_has_pge-v2.patch
patch -Np1 --verbose < ../catalyst-test/4.9_over_4.6-arch-get_user_pages_remote.patch

patch -Np1 --verbose < ../catalyst-test/4.10-arch-sling00-virtual_address-acpi_get_table_with_size.patch
patch -Np1 --verbose < ../catalyst-test/4.11-npfeiler-signal_vmf.patch
patch -Np1 --verbose < ../catalyst-test/4.12-arch-remove_clts.patch
patch -Np1 --verbose < ../catalyst-test/4.12-npfeiler-PUD_OFFSET.patch
patch -Np1 --verbose < ../catalyst-test/4.12-npfeiler-movsl_mask.patch
patch -Np1 --verbose < ../catalyst-test/4.13-npfeiler-wait_queue_t.patch
patch -Np1 --verbose < ../catalyst-test/4.14-npfeiler-task_struct-mm_segment_t.patch
patch -Np1 --verbose < ../catalyst-test/4.14.21_4.15.5-npfeiler-flush_tlb_one_kernel.patch

patch -Np1 --verbose < ../catalyst-test/arch-fglrx-authatieventsd_new.patch
patch -Np1 --verbose < ../catalyst-test/crimson_i686_xg.patch
patch -Np1 --verbose < ../catalyst-test/fglrx_gpl_symbol.patch
patch -Np1 --verbose < ../catalyst-test/grsec_arch.patch
patch -Np1 --verbose < ../catalyst-test/lano1106_fglrx_intel_iommu.patch
patch -Np1 --verbose < ../catalyst-test/lano1106_kcl_agp_13_4.patch
patch -Np1 --verbose < ../catalyst-test/makefile_compat.patch
patch -Np1 --verbose < ../catalyst-test/makesh-dont-check-gcc-version.patch
./ati-installer.sh 15.302 --buildpkg Slackware/Slackware
Log

Code: Select all

# sh fglrx2.sh
--2018-04-07 15:00:07--  https://www2.ati.com/drivers/linux/radeon-crimson-15.12-15.302-151217a-297685e.zip
Resolving www2.ati.com (www2.ati.com)... 23.213.58.212
Connecting to www2.ati.com (www2.ati.com)|23.213.58.212|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 185391473 (177M) [application/zip]
Saving to: ‘radeon-crimson-15.12-15.302-151217a-297685e.zip’

radeon-crimson-15.1 100%[===================>] 176.80M  1.68MB/s    in 92s     

2018-04-07 15:01:39 (1.93 MB/s) - ‘radeon-crimson-15.12-15.302-151217a-297685e.zip’ saved [185391473/185391473]

Archive:  radeon-crimson-15.12-15.302-151217a-297685e.zip
   creating: fglrx-15.302/
   creating: fglrx-15.302/doc/
  inflating: fglrx-15.302/doc/issues.html  
   creating: fglrx-15.302/doc/articles/
  inflating: fglrx-15.302/doc/articles/4470.html  
  inflating: fglrx-15.302/doc/articles/no3d-kt400.html  
  inflating: fglrx-15.302/doc/articles/dualheadvideo.html  
  inflating: fglrx-15.302/doc/articles/4461.html  
  inflating: fglrx-15.302/doc/articles/4481.html  
  inflating: fglrx-15.302/doc/articles/r420blankdisplay.html  
  inflating: fglrx-15.302/doc/articles/corruptstereo.html  
  inflating: fglrx-15.302/doc/articles/xrestartpcie.html  
  inflating: fglrx-15.302/doc/articles/4479.html  
  inflating: fglrx-15.302/doc/articles/rv280dviblankdisplay.html  
  inflating: fglrx-15.302/doc/articles/4480.html  
  inflating: fglrx-15.302/doc/articles/xvsatshift.html  
  inflating: fglrx-15.302/doc/articles/doom3corrupt.html  
  inflating: fglrx-15.302/doc/articles/4482.html  
  inflating: fglrx-15.302/doc/articles/4469.html  
  inflating: fglrx-15.302/doc/articles/4484.html  
  inflating: fglrx-15.302/doc/articles/dga3dhang.html  
  inflating: fglrx-15.302/doc/articles/1gbhang.html  
  inflating: fglrx-15.302/doc/articles/4483.html  
  inflating: fglrx-15.302/doc/articles/4478.html  
  inflating: fglrx-15.302/doc/articles/4463.html  
  inflating: fglrx-15.302/doc/articles/laptopsuspend.html  
  inflating: fglrx-15.302/doc/articles/rv350springdale.html  
  inflating: fglrx-15.302/doc/articles/xf86_enodev.html  
  inflating: fglrx-15.302/doc/articles/4462.html  
  inflating: fglrx-15.302/doc/articles/devshm.html  
  inflating: fglrx-15.302/doc/articles/no3d-aiw8500dv.html  
  inflating: fglrx-15.302/doc/articles/corruptvtswitch.html  
  inflating: fglrx-15.302/doc/articles/secondheadcorruption.html  
  inflating: fglrx-15.302/doc/articles/4475.html  
  inflating: fglrx-15.302/doc/articles/4464.html  
  inflating: fglrx-15.302/doc/articles/4485.html  
  inflating: fglrx-15.302/doc/articles/mousecursorhang.html  
  inflating: fglrx-15.302/doc/articles/missingdrmheaders.html  
  inflating: fglrx-15.302/doc/articles/nomembercount.html  
  inflating: fglrx-15.302/doc/articles/pcie3dmemoryleak.html  
   creating: fglrx-15.302/doc/user-manual/
  inflating: fglrx-15.302/doc/user-manual/index.html  
  inflating: fglrx-15.302/doc/user-manual/AMD_Linux_Driver_Specification.pdf  
  inflating: fglrx-15.302/doc/configure.html  
  inflating: fglrx-15.302/doc/LICENSE.TXT  
  inflating: fglrx-15.302/doc/index.html  
  inflating: fglrx-15.302/doc/tips-linux.html  
  inflating: fglrx-15.302/doc/driverfaq.html  
  inflating: fglrx-15.302/doc/linuxfaq.html  
  inflating: fglrx-15.302/doc/installer.html  
   creating: fglrx-15.302/doc/examples/
   creating: fglrx-15.302/doc/examples/etc/
   creating: fglrx-15.302/doc/examples/etc/init.d/
  inflating: fglrx-15.302/doc/examples/etc/init.d/atieventsd.sh  
   creating: fglrx-15.302/doc/examples/etc/acpi/
   creating: fglrx-15.302/doc/examples/etc/acpi/events/
  inflating: fglrx-15.302/doc/examples/etc/acpi/events/a-lid-aticonfig  
  inflating: fglrx-15.302/doc/examples/etc/acpi/events/a-ac-aticonfig  
  inflating: fglrx-15.302/doc/examples/etc/acpi/ati-powermode.sh  
  inflating: fglrx-15.302/amd-driver-installer-15.302-x86.x86_64.run  
  inflating: fglrx-15.302/check.sh   
--2018-04-07 15:01:41--  https://aur.archlinux.org/cgit/aur.git/snapshot/catalyst-test.tar.gz
Resolving aur.archlinux.org (aur.archlinux.org)... 5.9.250.164, 2a01:4f8:160:3033::2
Connecting to aur.archlinux.org (aur.archlinux.org)|5.9.250.164|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/x-gzip]
Saving to: ‘catalyst-test.tar.gz’

catalyst-test.tar.g     [ <=>                ]  30.12K  --.-KB/s    in 0.03s   

2018-04-07 15:01:43 (901 KB/s) - ‘catalyst-test.tar.gz’ saved [30844]

catalyst-test/
catalyst-test/.SRCINFO
catalyst-test/4.10-arch-sling00-virtual_address-acpi_get_table_with_size.patch
catalyst-test/4.11-npfeiler-signal_vmf.patch
catalyst-test/4.12-arch-remove_clts.patch
catalyst-test/4.12-npfeiler-PUD_OFFSET.patch
catalyst-test/4.12-npfeiler-movsl_mask.patch
catalyst-test/4.13-npfeiler-wait_queue_t.patch
catalyst-test/4.14-npfeiler-task_struct-mm_segment_t.patch
catalyst-test/4.14.21_4.15.5-npfeiler-flush_tlb_one_kernel.patch
catalyst-test/4.3-gentoo-mtrr.patch
catalyst-test/4.3-kolasa-seq_printf.patch
catalyst-test/4.4-manjaro-xstate.patch
catalyst-test/4.6-arch-get_user_pages-page_cache_release.patch
catalyst-test/4.7-arch-cpu_has_pge-v2.patch
catalyst-test/4.9_over_4.6-arch-get_user_pages_remote.patch
catalyst-test/PKGBUILD
catalyst-test/arch-fglrx-authatieventsd_new.patch
catalyst-test/ati-powermode.sh
catalyst-test/atieventsd.service
catalyst-test/atieventsd.sh
catalyst-test/catalyst-15.9_control_file.tar.gz
catalyst-test/catalyst-test.install
catalyst-test/catalyst.conf
catalyst-test/catalyst.sh
catalyst-test/crimson_i686_xg.patch
catalyst-test/dkms.conf
catalyst-test/fglrx_gpl_symbol.patch
catalyst-test/grsec_arch.patch
catalyst-test/lano1106_fglrx_intel_iommu.patch
catalyst-test/lano1106_kcl_agp_13_4.patch
catalyst-test/lib32-catalyst.sh
catalyst-test/makefile_compat.patch
catalyst-test/makesh-dont-check-gcc-version.patch
catalyst-test/pxp_switch_catalyst
catalyst-test/switchlibGL
catalyst-test/switchlibglx
catalyst-test/temp-links-catalyst.service
catalyst-test/temp_links_catalyst
Creating directory ./drv
Verifying archive integrity... All good.
Uncompressing AMD Proprietary Driver-15.302...........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|--- 15.9/common/lib/modules/fglrx/build_mod/firegl_public.c	2015-09-09 00:57:14.000000000 +0200
|+++ 15.9/common/lib/modules/fglrx/build_mod/firegl_public.c	2015-11-03 19:00:09.121884973 +0100
--------------------------
patching file common/lib/modules/fglrx/build_mod/firegl_public.c
Using Plan A...
Hunk #1 succeeded at 3424 (offset 12 lines).
Hunk #2 succeeded at 3437 (offset 12 lines).
done
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|--- 15.9/common/lib/modules/fglrx/build_mod/firegl_public.c	2015-09-09 00:57:14.000000000 +0200
|+++ 15.9b/common/lib/modules/fglrx/build_mod/firegl_public.c	2015-11-02 21:02:06.124639919 +0100
--------------------------
patching file common/lib/modules/fglrx/build_mod/firegl_public.c
Using Plan A...
Hunk #1 succeeded at 631 (offset 8 lines).
done
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|--- 15.12/common/lib/modules/fglrx/build_mod/firegl_public.c	2015-12-18 19:47:41.000000000 +0100
|+++ 15.12b/common/lib/modules/fglrx/build_mod/firegl_public.c	2015-12-19 20:48:13.223261632 +0100
--------------------------
patching file common/lib/modules/fglrx/build_mod/firegl_public.c
Using Plan A...
Hunk #1 succeeded at 6464 (offset 14 lines).
done
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|--- 16.5/common/lib/modules/fglrx/build_mod/firegl_public.c	2015-12-18 19:47:41.000000000 +0100
|+++ 16.5b/common/lib/modules/fglrx/build_mod/firegl_public.c	2016-05-09 20:29:48.227025117 +0200
--------------------------
patching file common/lib/modules/fglrx/build_mod/firegl_public.c
Using Plan A...
Hunk #1 succeeded at 3225 (offset 5 lines).
Hunk #2 succeeded at 3247 (offset 5 lines).
Hunk #3 succeeded at 3262 (offset 5 lines).
done
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff -uNr 16.8/common/lib/modules/fglrx/build_mod/firegl_public.c 16.8b/common/lib/modules/fglrx/build_mod/firegl_public.c
|--- 16.8/common/lib/modules/fglrx/build_mod/firegl_public.c	2015-12-18 19:47:41.000000000 +0100
|+++ 16.8b/common/lib/modules/fglrx/build_mod/firegl_public.c	2016-08-15 15:09:37.228538907 +0200
--------------------------
patching file common/lib/modules/fglrx/build_mod/firegl_public.c
Using Plan A...
Hunk #1 succeeded at 4544 (offset 26 lines).
Hunk #2 succeeded at 4562 (offset 26 lines).
Hunk #3 succeeded at 4593 (offset 26 lines).
Hunk #4 succeeded at 4610 (offset 26 lines).
Hmm...  The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff -uNr 16.8/common/lib/modules/fglrx/build_mod/firegl_public.h 16.8b/common/lib/modules/fglrx/build_mod/firegl_public.h
|--- 16.8/common/lib/modules/fglrx/build_mod/firegl_public.h	2015-12-18 19:47:41.000000000 +0100
|+++ 16.8b/common/lib/modules/fglrx/build_mod/firegl_public.h	2016-08-15 15:09:05.815141238 +0200
--------------------------
patching file common/lib/modules/fglrx/build_mod/firegl_public.h
Using Plan A...
Hunk #1 succeeded at 650.
done
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|--- 16.12/common/lib/modules/fglrx/build_mod/firegl_public.c	2016-12-10 19:44:46.764677311 +0100
|+++ 16.12b/common/lib/modules/fglrx/build_mod/firegl_public.c	2016-12-10 19:45:43.941354338 +0100
--------------------------
patching file common/lib/modules/fglrx/build_mod/firegl_public.c
Using Plan A...
Hunk #1 succeeded at 3225.
Hunk #2 succeeded at 3249.
done
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff -uNr 17.2/common/lib/modules/fglrx/build_mod/firegl_public.c 17.2b/common/lib/modules/fglrx/build_mod/firegl_public.c
|--- 17.2/common/lib/modules/fglrx/build_mod/firegl_public.c	2017-02-12 19:41:19.000000000 +0100
|+++ 17.2b/common/lib/modules/fglrx/build_mod/firegl_public.c	2017-02-12 20:27:36.924630194 +0100
--------------------------
patching file common/lib/modules/fglrx/build_mod/firegl_public.c
Using Plan A...
Hunk #1 succeeded at 3225.
Hunk #2 succeeded at 3251.
Hunk #3 succeeded at 3630.
Hunk #4 succeeded at 3707.
Hunk #5 succeeded at 3754.
Hunk #6 succeeded at 3819.
Hunk #7 succeeded at 3883.
Hunk #8 succeeded at 4180.
Hmm...  The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff -uNr 17.2/common/lib/modules/fglrx/build_mod/kcl_acpi.c 17.2b/common/lib/modules/fglrx/build_mod/kcl_acpi.c
|--- 17.2/common/lib/modules/fglrx/build_mod/kcl_acpi.c	2017-02-12 19:41:19.000000000 +0100
|+++ 17.2b/common/lib/modules/fglrx/build_mod/kcl_acpi.c	2017-02-12 20:40:04.632067465 +0100
--------------------------
patching file common/lib/modules/fglrx/build_mod/kcl_acpi.c
Using Plan A...
Hunk #1 succeeded at 359 (offset -4 lines).
Hunk #2 succeeded at 1032 (offset -12 lines).
done
Hmm...  Looks like a unified diff to me...
(Stripping trailing CRs from patch; use --binary to disable.)
The text leading up to this was:
--------------------------
|--- archive_files/common/lib/modules/fglrx/build_mod/firegl_public.c.pre	2017-05-25 19:18:22.773622548 +0200
|+++ archive_files/common/lib/modules/fglrx/build_mod/firegl_public.c	2017-05-25 19:17:13.929285722 +0200
--------------------------
patching file common/lib/modules/fglrx/build_mod/firegl_public.c
Using Plan A...
Hunk #1 succeeded at 203.
Hunk #2 succeeded at 4200.
Hunk #3 succeeded at 4253.
Hmm...  The next patch looks like a unified diff to me...
(Stripping trailing CRs from patch; use --binary to disable.)
The text leading up to this was:
--------------------------
|--- archive_files/common/lib/modules/fglrx/build_mod/kcl.c.pre	2017-05-25 19:18:22.776955783 +0200
|+++ archive_files/common/lib/modules/fglrx/build_mod/kcl.c	2017-05-25 19:18:19.697047011 +0200
--------------------------
patching file common/lib/modules/fglrx/build_mod/kcl.c
Using Plan A...
patch unexpectedly ends in middle of line
Hunk #1 succeeded at 30 with fuzz 1.
done
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|--- archive_files/common/lib/modules/fglrx/build_mod/firegl_public.c	2015-12-18 19:47:41.000000000 +0100
|+++ archive_filesb/common/lib/modules/fglrx/build_mod/firegl_public.c	2017-08-15 21:14:37.288814512 +0200
--------------------------
patching file common/lib/modules/fglrx/build_mod/firegl_public.c
Using Plan A...
Hunk #1 succeeded at 6609 (offset 101 lines).
Hunk #2 succeeded at 6633 (offset 101 lines).
done
Hmm...  Looks like a unified diff to me...
(Stripping trailing CRs from patch; use --binary to disable.)
The text leading up to this was:
--------------------------
|diff --git archive_files/common/lib/modules/fglrx/build_mod/firegl_public.c archive_files/common/lib/modules/fglrx/build_mod/firegl_public.c
|index b2c9e7c..2e9a112 100755
|--- archive_files/common/lib/modules/fglrx/build_mod/firegl_public.c
|+++ archive_files/common/lib/modules/fglrx/build_mod/firegl_public.c
--------------------------
patching file common/lib/modules/fglrx/build_mod/firegl_public.c
Using Plan A...
Hunk #1 succeeded at 208.
Hunk #2 succeeded at 2756.
Hunk #3 succeeded at 2773.
Hunk #4 succeeded at 2836.
Hunk #5 succeeded at 2851.
Hunk #6 succeeded at 2914.
Hunk #7 succeeded at 2929.
Hunk #8 succeeded at 3114.
Hunk #9 succeeded at 3169.
Hunk #10 succeeded at 4120.
Hunk #11 succeeded at 4136.
Hmm...  The next patch looks like a unified diff to me...
(Stripping trailing CRs from patch; use --binary to disable.)
The text leading up to this was:
--------------------------
|diff --git archive_files/common/lib/modules/fglrx/build_mod/firegl_public.h archive_files/common/lib/modules/fglrx/build_mod/firegl_public.h
|index 14e25f9..aca2940 100755
|--- archive_files/common/lib/modules/fglrx/build_mod/firegl_public.h
|+++ archive_files/common/lib/modules/fglrx/build_mod/firegl_public.h
--------------------------
patching file common/lib/modules/fglrx/build_mod/firegl_public.h
Using Plan A...
patch unexpectedly ends in middle of line
Hunk #1 succeeded at 91 with fuzz 1.
done
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|--- archive_files/common/lib/modules/fglrx/build_mod/kcl_ioctl.c	2015-12-18 19:47:41.000000000 +0100
|+++ archive_filesb/common/lib/modules/fglrx/build_mod/kcl_ioctl.c	2017-08-20 19:44:10.356564038 +0200
--------------------------
patching file common/lib/modules/fglrx/build_mod/kcl_ioctl.c
Using Plan A...
Hunk #1 succeeded at 30.
done
Hmm...  Looks like a unified diff to me...
(Stripping trailing CRs from patch; use --binary to disable.)
The text leading up to this was:
--------------------------
|--- archive_files/common/lib/modules/fglrx/build_mod/kcl_wait.c	2015-12-18 19:47:41.000000000 +0100
|+++ archive_filesb/common/lib/modules/fglrx/build_mod/kcl_wait.c	2017-09-30 14:13:37.285611187 +0200
--------------------------
patching file common/lib/modules/fglrx/build_mod/kcl_wait.c
Using Plan A...
Hunk #1 succeeded at 43.
done
Hmm...  Looks like a unified diff to me...
(Stripping trailing CRs from patch; use --binary to disable.)
The text leading up to this was:
--------------------------
|--- archive_files/common/lib/modules/fglrx/build_mod/kcl_ioctl.c	2017-12-05 16:21:41.450899943 +0100
|+++ archive_filesb/common/lib/modules/fglrx/build_mod/kcl_ioctl.c	2017-12-05 16:24:04.919602271 +0100
--------------------------
patching file common/lib/modules/fglrx/build_mod/kcl_ioctl.c
Using Plan A...
Hunk #1 succeeded at 31.
done
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|--- archive_files/common/lib/modules/fglrx/build_mod/firegl_public.c	2015-12-18 19:47:41.000000000 +0100
|+++ archive_filesb/common/lib/modules/fglrx/build_mod/firegl_public.c	2018-02-25 17:33:11.469309861 +0100
--------------------------
patching file common/lib/modules/fglrx/build_mod/firegl_public.c
Using Plan A...
Hunk #1 succeeded at 2989 (offset 40 lines).
done
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|--- 14.1/common/etc/ati/authatieventsd.sh	2014-01-30 15:36:26.000000000 +0100
|+++ 14.1/common/etc/ati/authatieventsd.sh	2014-02-02 14:10:19.529653688 +0100
--------------------------
patching file common/etc/ati/authatieventsd.sh
Using Plan A...
Hunk #1 succeeded at 32.
Hunk #2 succeeded at 42.
Hunk #3 succeeded at 85.
Hunk #4 succeeded at 98.
done
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|--- 15.11/common/lib/modules/fglrx/build_mod/firegl_public.c	2015-11-21 00:35:38.000000000 +0100
|+++ 15.11b/common/lib/modules/fglrx/build_mod/firegl_public.c	2015-11-24 22:28:02.113843493 +0100
--------------------------
patching file common/lib/modules/fglrx/build_mod/firegl_public.c
Using Plan A...
Hunk #1 succeeded at 1727 (offset 13 lines).
done
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|--- 13.1/common/lib/modules/fglrx/build_mod/firegl_public.c	2013-01-15 22:33:27.000000000 +0100
|+++ 13.1/common/lib/modules/fglrx/build_mod/firegl_public.c	2014-08-18 20:05:44.327520475 +0200
--------------------------
patching file common/lib/modules/fglrx/build_mod/firegl_public.c
Using Plan A...
Hunk #1 succeeded at 293 (offset 43 lines).
done
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff -uNr 15.12/common/lib/modules/fglrx//build_mod/firegl_public.c 15.12b/common/lib/modules/fglrx//build_mod/firegl_public.c
|--- 15.12/common/lib/modules/fglrx//build_mod/firegl_public.c	2015-12-19 21:14:13.251002548 +0100
|+++ 15.12b/common/lib/modules/fglrx//build_mod/firegl_public.c	2015-12-19 21:36:27.703783498 +0100
--------------------------
patching file common/lib/modules/fglrx//build_mod/firegl_public.c
Using Plan A...
Hunk #1 succeeded at 6612 (offset 147 lines).
Hunk #2 succeeded at 6643 (offset 147 lines).
Hmm...  The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff -uNr 15.12/common/lib/modules/fglrx//build_mod/kcl_acpi.c 15.12b/common/lib/modules/fglrx//build_mod/kcl_acpi.c
|--- 15.12/common/lib/modules/fglrx//build_mod/kcl_acpi.c	2015-12-19 21:14:13.247669219 +0100
|+++ 15.12b/common/lib/modules/fglrx//build_mod/kcl_acpi.c	2015-12-19 21:10:27.224899708 +0100
--------------------------
patching file common/lib/modules/fglrx//build_mod/kcl_acpi.c
Using Plan A...
Hunk #1 succeeded at 145.
Hunk #2 succeeded at 407 (offset 3 lines).
Hunk #3 succeeded at 424 (offset 3 lines).
done
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|--- 13.4/common/lib/modules/fglrx/build_mod/firegl_public.c	2013-04-16 23:29:55.000000000 +0200
|+++ 13.4/common/lib/modules/fglrx/build_mod/firegl_public.c	2013-05-21 17:05:34.726681102 +0200
--------------------------
patching file common/lib/modules/fglrx/build_mod/firegl_public.c
Using Plan A...
Hunk #1 succeeded at 93 with fuzz 2.
done
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|--- 13.4/common/lib/modules/fglrx/build_mod/kcl_agp.c	2013-05-24 16:45:52.236740084 -0400
|+++ 13.4/common/lib/modules/fglrx/build_mod/kcl_agp.c	2013-05-24 16:49:29.283579408 -0400
--------------------------
patching file common/lib/modules/fglrx/build_mod/kcl_agp.c
Using Plan A...
Hunk #1 succeeded at 56.
Hunk #2 succeeded at 309.
done
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|--- 10.10/common/lib/modules/fglrx/build_mod/2.6.x/Makefile	2010-09-22 09:15:33.000000000 +0200
|+++ 10.10/common/lib/modules/fglrx/build_mod/2.6.x/Makefile	2010-10-01 17:57:21.057820899 +0200
--------------------------
patching file common/lib/modules/fglrx/build_mod/2.6.x/Makefile
Using Plan A...
Hunk #1 succeeded at 68 (offset 2 lines).
done
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|--- 16.5/common/lib/modules/fglrx/build_mod/make.sh	2015-12-18 19:47:41.000000000 +0100
|+++ 16.5b/common/lib/modules/fglrx/build_mod/make.sh	2016-05-11 22:04:56.681353509 +0200
--------------------------
patching file common/lib/modules/fglrx/build_mod/make.sh
Using Plan A...
Hunk #1 succeeded at 57.
done
=====================================================================
 AMD  Proprietary Driver Installer/Packager 
=====================================================================
Generating package: Slackware/Slackware

ATI SlackBuild 
-------------------------------------------- 
by: Emanuele Tomasi <tomasi@cli.di.unipi.it> 

AMD kernel module generator version 2.1
doing Makefile based build for kernel 2.6.x and higher
rm -rf *.c *.h *.o *.ko *.a .??* *.symvers
make -C /lib/modules/4.15.2-porteus/build SUBDIRS=/tmp/amd/fglrx-15.302/drv/common/lib/modules/fglrx/build_mod/2.6.x modules
make[1]: Entering directory '/usr/src/linux-4.15.2'
  CC [M]  /tmp/amd/fglrx-15.302/drv/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.o
<command-line>:0:0: warning: "COMPAT_ALLOC_USER_SPACE" redefined
<command-line>:0:0: note: this is the location of the previous definition
In file included from /tmp/amd/fglrx-15.302/drv/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:215:0:
/tmp/amd/fglrx-15.302/drv/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.h:671:21: warning: extra tokens at end of #ifndef directive
 #ifndef boot_cpu_has(X86_FEATURE_PGE)
                     ^
/tmp/amd/fglrx-15.302/drv/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function ‘kcl_flush_tlb_one’:
/tmp/amd/fglrx-15.302/drv/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:2998:5: error: implicit declaration of function ‘__flush_tlb_one_kernel’; did you mean ‘__flush_tlb_one’? [-Werror=implicit-function-declaration]
     __flush_tlb_one_kernel(*addr);
     ^~~~~~~~~~~~~~~~~~~~~~
     __flush_tlb_one
At top level:
/tmp/amd/fglrx-15.302/drv/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:6609:12: warning: ‘KCL_fpu_save_init’ defined but not used [-Wunused-function]
 static int KCL_fpu_save_init(struct task_struct *tsk)
            ^~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
make[2]: *** [scripts/Makefile.build:317: /tmp/amd/fglrx-15.302/drv/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.o] Error 1
make[1]: *** [Makefile:1508: _module_/tmp/amd/fglrx-15.302/drv/common/lib/modules/fglrx/build_mod/2.6.x] Error 2
make[1]: Leaving directory '/usr/src/linux-4.15.2'
make: *** [Makefile:89: kmod_build] Error 2
build failed with return value 2
ERROR: I didn't make module
AMD A8-7410, APU AMD Radeon R5 Graphics M330

Post Reply