DEVILDOG!!! A Linux for Satan!!!
so ...
the 3.14.n kernel actually needs patching to install the 14.4 ati / fglrx driver correctly.
didn't see that coming.
found a patch - applied it - fully compiled the driver - restarted - tested - all good - installing compiz - BATTERY FLAT! NooOOoOooOOoOoOOooo!!!
ok ... well ... redo tonight but can confirm that Debian kernel-3.14-0.bpo.1-686-Pae can be made to run the fglrx driver.... it also fixes my touchscreen - hoot hoot hoot!
Im alot happier about this more modern kernel - its the first we tried but FAILED to direct render first time round.
Ill post the new version tonight maybe !
: ))))
xxx.
the 3.14.n kernel actually needs patching to install the 14.4 ati / fglrx driver correctly.
didn't see that coming.
found a patch - applied it - fully compiled the driver - restarted - tested - all good - installing compiz - BATTERY FLAT! NooOOoOooOOoOoOOooo!!!
ok ... well ... redo tonight but can confirm that Debian kernel-3.14-0.bpo.1-686-Pae can be made to run the fglrx driver.... it also fixes my touchscreen - hoot hoot hoot!
Im alot happier about this more modern kernel - its the first we tried but FAILED to direct render first time round.
Ill post the new version tonight maybe !
: ))))
xxx.
FGLRX ATI Driver install on 3.14-0.bpo.1-686-pae
OK -
Problem: fglrx-install.log ...
Solution: ... http://devgurus.amd.com/thread/168727
Patch Content: ...
Next do this as root to patch the kmod.
Finally, re-compile and install the kmod .
My Result varied slightly cos of a typo ...
... mid post break brb.
Please enjoy some screeners while I think about remastering....
Compiz Startup (yes that's an error but it works even if its not doing anything fancy).
Openbox Desktop
Code: Select all
./amd-driver-installer-14.10.1006.1001-x86.x86_64.run
Code: Select all
Supported adapter detected.
Check if system has the tools required for installation.
Uninstalling any previously installed drivers.
Unloading radeon module...
Unloading drm module...
Error: Module drm is in use by: ttm drm_kms_helper
[Message] Kernel Module : Trying to install a precompiled kernel module.
[Message] Kernel Module : Precompiled kernel module version mismatched.
[Message] Kernel Module : Found kernel module build environment, generating kernel module now.
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/3.14-0.bpo.1-686-pae/build SUBDIRS=/lib/modules/fglrx/build_mod/2.6.x modules
make[1]: Entering directory `/usr/src/linux-headers-3.14-0.bpo.1-686-pae'
CC [M] /lib/modules/fglrx/build_mod/2.6.x/firegl_public.o
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function 'KCL_GetEffectiveUid':
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:1787:5: error: incompatible types when returning type 'kuid_t' but 'KCL_TYPE_Uid' was expected
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:1793:1: warning: control reaches end of non-void function [-Wreturn-type]
make[4]: *** [/lib/modules/fglrx/build_mod/2.6.x/firegl_public.o] Error 1
make[3]: *** [_module_/lib/modules/fglrx/build_mod/2.6.x] Error 2
make[2]: *** [sub-make] Error 2
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-3.14-0.bpo.1-686-pae'
make: *** [kmod_build] Error 2
build failed with return value 2
[Error] Kernel Module : Failed to compile kernel module - please consult readme.
[Reboot] Kernel Module : update-initramfs
Patch Content: ...
Code: Select all
--- ./firegl_public.c.orig 2014-05-25 11:15:02.198520000 +0900
+++ ./firegl_public.c 2014-05-25 11:15:46.289501864 +0900
@@ -1784,7 +1784,8 @@
#else
#ifdef current_euid
- return current_euid();
+// return current_euid();
+ return __kuid_val(current_euid());
#else
return current->euid;
#endif
Next do this as root to patch the kmod.
Code: Select all
# cd /lib/modules/fglrx/build_mod/
# patch -u < "PATH to firegl_public_c.patch"
Finally, re-compile and install the kmod .
Code: Select all
# cd /lib/modules/fglrx/build_mod/
# ./make.sh
# cd ..
# ./make_install.sh
Code: Select all
root@dog:/lib/modules/fglrx/build_mod# patch -u < "/mnt/live/mnt/sda8/devil-dog/firegl_public_c.patch"
patching file firegl_public.c
root@dog:/lib/modules/fglrx/build_mod# cd ..
root@dog:/lib/modules/fglrx# ./make.sh
bash: ./make.sh: No such file or directory
root@dog:/lib/modules/fglrx# ls
build_mod make_install.sh
root@dog:/lib/modules/fglrx# cd build_mod
root@dog:/lib/modules/fglrx/build_mod# ls
2.6.x firegl_public.c kcl_agp.h kcl_ioctl.h kcl_str.h
drm.h firegl_public.h kcl_config.h kcl_iommu.c kcl_type.h
drmP.h kcl.c kcl_debug.c kcl_iommu.h kcl_wait.c
drm_compat.h kcl.h kcl_debug.h kcl_osconfig.h kcl_wait.h
drm_os_linux.h kcl_acpi.c kcl_io.c kcl_pci.c libfglrx_ip.a
drm_proc.h kcl_acpi.h kcl_io.h kcl_pci.h make.sh
fglrxko_pci_ids.h kcl_agp.c kcl_ioctl.c kcl_str.c make.sh.log
root@dog:/lib/modules/fglrx/build_mod# ./make.sh
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/3.14-0.bpo.1-686-pae/build SUBDIRS=/lib/modules/fglrx/build_mod/2.6.x modules
make[1]: Entering directory `/usr/src/linux-headers-3.14-0.bpo.1-686-pae'
CC [M] /lib/modules/fglrx/build_mod/2.6.x/firegl_public.o
CC [M] /lib/modules/fglrx/build_mod/2.6.x/kcl_acpi.o
CC [M] /lib/modules/fglrx/build_mod/2.6.x/kcl_agp.o
CC [M] /lib/modules/fglrx/build_mod/2.6.x/kcl_debug.o
CC [M] /lib/modules/fglrx/build_mod/2.6.x/kcl_ioctl.o
CC [M] /lib/modules/fglrx/build_mod/2.6.x/kcl_io.o
CC [M] /lib/modules/fglrx/build_mod/2.6.x/kcl_pci.o
CC [M] /lib/modules/fglrx/build_mod/2.6.x/kcl_str.o
CC [M] /lib/modules/fglrx/build_mod/2.6.x/kcl_iommu.o
/lib/modules/fglrx/build_mod/2.6.x/kcl_iommu.c: In function 'KCL_IOMMU_CheckInfo':
/lib/modules/fglrx/build_mod/2.6.x/kcl_iommu.c:190:21: warning: unused variable 'pdev' [-Wunused-variable]
CC [M] /lib/modules/fglrx/build_mod/2.6.x/kcl.o
CC [M] /lib/modules/fglrx/build_mod/2.6.x/kcl_wait.o
LD [M] /lib/modules/fglrx/build_mod/2.6.x/fglrx.o
Building modules, stage 2.
MODPOST 1 modules
CC /lib/modules/fglrx/build_mod/2.6.x/fglrx.mod.o
LD [M] /lib/modules/fglrx/build_mod/2.6.x/fglrx.ko
make[1]: Leaving directory `/usr/src/linux-headers-3.14-0.bpo.1-686-pae'
build succeeded with return value 0
duplicating results into driver repository...
done.
You must change your working directory to /lib/modules/fglrx
and then call ./make_install.sh in order to install the built module.
root@dog:/lib/modules/fglrx/build_mod# cd ..
root@dog:/lib/modules/fglrx# ls
build_mod fglrx.3.14-0.bpo.1-686-pae.ko make.3.14-0.bpo.1-686-pae.log make_install.sh
root@dog:/lib/modules/fglrx# ./make_install
bash: ./make_install: No such file or directory
root@dog:/lib/modules/fglrx# ./make_install.sh
- recreating module dependency list
- trying a sample load of the kernel modules... done.
... mid post break brb.
Please enjoy some screeners while I think about remastering....
Compiz Startup (yes that's an error but it works even if its not doing anything fancy).
Openbox Desktop
- Attachments
-
- firegl_public_c.patch.zip
- firegl_public.o patch
- (328 Bytes) Downloaded 303 times
DEVILDOG...
If it moves, EAT IT!
If you can't eat it... HUMP IT!!
If you can't hump it ... KILL IT!!!
If you can't kill it ... it's a ROCK!!!!
If it moves, EAT IT!
If you can't eat it... HUMP IT!!
If you can't hump it ... KILL IT!!!
If you can't kill it ... it's a ROCK!!!!
Thank you very much, Devil.Dog! Screenshots look great!
Links to your instructions for both kernels added in HowTo thread post:
http://www.murga-linux.com/puppy/viewto ... 519#791519
Toni
Links to your instructions for both kernels added in HowTo thread post:
http://www.murga-linux.com/puppy/viewto ... 519#791519
Toni
Hi, Devil.Dog.
Just checked the first two posts and downloaded 061-dd-0.2-base.3.14.0.bpo-pae.squashfs. I see you added full build environment and separate DEVX is not needed anymore for DevilDog.
Unfortunately i don't have proper hardware to test it but if you like to make it smaller I suggest to test extracting the module (example in /live/image):
Remove /live/image/working-dir/opt (I think /opt it is the same as inside 01-filesystem.squashfs).
Remove /live/image/working-dir/lib/modules/3.2.0-4-486 (I think /lib/modules/3.2.0-4-486 it is the same as inside 01-filesystem.squashfs).
And repack it again (example for maximum xz compression - smallest size):
I also think you can boot without /live/image/live/026-kernel-3.14.0.bpo-pae.squashfs because the same kernel is already full size and patched inside 061-dd-0.2-base.3.14.0.bpo-pae.squashfs /lib/modules/3.14-0.bpo.1-686-pae
I think you can use only vmlinuz6 and initrd63.xz from 026-kernel-3.14-Pae.tar.gz to boot.
When you are ready with final DevilDog version I can try to make more suggestions for slimming down the squashfs module size if you want.
Great job patching 3.14-Pae kernel ati driver!
Just checked the first two posts and downloaded 061-dd-0.2-base.3.14.0.bpo-pae.squashfs. I see you added full build environment and separate DEVX is not needed anymore for DevilDog.
Unfortunately i don't have proper hardware to test it but if you like to make it smaller I suggest to test extracting the module (example in /live/image):
Code: Select all
unsquashfs -d /live/image/working-dir /path-to/061-dd-0.2-base.3.14.0.bpo-pae.squashfs
Remove /live/image/working-dir/lib/modules/3.2.0-4-486 (I think /lib/modules/3.2.0-4-486 it is the same as inside 01-filesystem.squashfs).
And repack it again (example for maximum xz compression - smallest size):
Code: Select all
mksquashfs /live/image/working-dir /path-to-new/061-dd-0.2-base.3.14.0.bpo-pae.squashfs -comp xz -b 1024k -Xbcj x86
I think you can use only vmlinuz6 and initrd63.xz from 026-kernel-3.14-Pae.tar.gz to boot.
When you are ready with final DevilDog version I can try to make more suggestions for slimming down the squashfs module size if you want.
Great job patching 3.14-Pae kernel ati driver!
: )
Hi Saintless!
Yeah you're right - the ati driver is the only item using the compiler at the moment.
DEVX / compiler could be alot slimmer and still set that up correctly.
ATI driver yeah ... solution on a mandriva site hoot hoot !!!
Needs to loose weight. When we get to v0.9 Ill start worrying about size.
V0.3 after the weekend!
PS. ty for including these below I would have suffered remembering how!
Hi Saintless!
Yeah you're right - the ati driver is the only item using the compiler at the moment.
DEVX / compiler could be alot slimmer and still set that up correctly.
ATI driver yeah ... solution on a mandriva site hoot hoot !!!
Needs to loose weight. When we get to v0.9 Ill start worrying about size.
V0.3 after the weekend!
PS. ty for including these below I would have suffered remembering how!
xxx.unsquashfs -d /live/image/working-dir /path-to/061-dd-0.2-base.3.14.0.bpo-pae.squashfs
and...
mksquashfs /live/image/working-dir /path-to-new/061-dd-0.2-base.3.14.0.bpo-pae.squashfs -comp xz -b 1024k -Xbcj x86
compiz screensaver replacement script
Code: Select all
aptitude install xdotool xprintidle
... or ...
apt-get install xdotool xprintidle
Code: Select all
#compiz screensaver replacement script
#hold down middle mouse...
#on my setup that's 'rotate cube'
xdotool mousedown 2
#get time since last user interaction
d=$(export DISPLAY=:0 && xprintidle)
y=$d
sleep 6
#get new time since last user interaction
d=$(export DISPLAY=:0 && xprintidle)
until (( d < y ))
do
#get new time since last user interaction
d=$(export DISPLAY=:0 && xprintidle)
#move mouse to right
xdotool mousemove_relative --sync 2 0
sleep 0.0666
#again
done
#release mouse button
xdotool mouseup 2
^^ scratch that ... the compiz script above is BETTER than the original because it allows me to orientate the screen before it starts rolling!Its a little twitchy - but basically works well enough.
: )
Nasty bug in Gnome Media Player...
Left click + hold the volume button... at the same time click the right mouse button... Broken sound system! Audio becomes mute across the entire audio platform.
: (
I realised earlier that our objectives are nearly met.
The ASUS X102B hardware platform is supported.
The beautiful compiz desktop is running.
WIndows is unharmed.
Everyone who sees DevilDog running is 'ooooh.... ahhhh....!!!'
And of course many souls have been harvested.
So that's a success, right?!
: )
DD 0.3 will be released before next weekend.
Again its a complete reroll featuring a DEVX development environment.
xxx.
: )
... Updated compiz - unsuported plugins
>>> DOWNLOAD LINK <<< 6.5mb Compiz Fusion Unsuported Extras SFS.
... Updated compiz - unsuported plugins
>>> DOWNLOAD LINK <<< 6.5mb Compiz Fusion Unsuported Extras SFS.
Noticed certain software seems to break OPENGL.
This package is a forced reinstallation of the FGLRX driver.
But, hey, it might work on other DEBIANDOG 314 installations with no ATI driver. 45mb in size.
: )
https://drive.google.com/file/d/0B1TgWj ... sp=sharing
This package is a forced reinstallation of the FGLRX driver.
But, hey, it might work on other DEBIANDOG 314 installations with no ATI driver. 45mb in size.
: )
https://drive.google.com/file/d/0B1TgWj ... sp=sharing
NVIDIA-Linux-96-43-23 drivers don't work on modern kernels
The NVIDIA-Linux-96-43-23 drivers don't work on modern kernels.
SEE:
https://devtalk.nvidia.com/default/topi ... 11-needed/
There is a patched runfile here:
https://docs.google.com/file/d/0B-eorm- ... edit?pli=1
I *should* check that runfile (mysterious anon source etc).
SEE:
https://devtalk.nvidia.com/default/topi ... 11-needed/
There is a patched runfile here:
https://docs.google.com/file/d/0B-eorm- ... edit?pli=1
I *should* check that runfile (mysterious anon source etc).
Cerberus Guards The Gate!
Hmmmm....
DD has run for over a year on various platforms. Its been my main OS all this time and has been ... magnificent.
I moved on to other stuff some time ago ... simply because the Debian base to this release has been so stable I haven't had to worry about it!
My next venture in OS is an exploration of high throughput computing, and an attempt to build a viable HTC from spare computing cycles gathered from the wilds of the internet. I can't wait!
x.
Cerberus Guards The Gate!
www.murga-linux.com/puppy/viewtopic.php?t=101291
ps. A Personal note to Liz Hurley.
OMG We think you are great. You should go ring on Hugh's doorbell RIGHT NOW ... call him a looser and ask him when he last kicked himself for being such a jerk!!! Err... and yes sorry about the ladyboy stuff - just kidding hehehe!
pps. Sorry Ted hehehe. Now my dogs dead too!
DD has run for over a year on various platforms. Its been my main OS all this time and has been ... magnificent.
I moved on to other stuff some time ago ... simply because the Debian base to this release has been so stable I haven't had to worry about it!
My next venture in OS is an exploration of high throughput computing, and an attempt to build a viable HTC from spare computing cycles gathered from the wilds of the internet. I can't wait!
x.
Cerberus Guards The Gate!
www.murga-linux.com/puppy/viewtopic.php?t=101291
ps. A Personal note to Liz Hurley.
OMG We think you are great. You should go ring on Hugh's doorbell RIGHT NOW ... call him a looser and ask him when he last kicked himself for being such a jerk!!! Err... and yes sorry about the ladyboy stuff - just kidding hehehe!
pps. Sorry Ted hehehe. Now my dogs dead too!
hehehe
Hi Ted! yeah .. I might behave for a while!