Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sun 21 Jan 2018, 22:57
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Derivatives
DEVILDOG!!! A Linux for Satan!!!
Moderators: Flash, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 3 of 4 [46 Posts]   Goto page: Previous 1, 2, 3, 4 Next
Author Message
Devil.Dog


Joined: 07 Sep 2014
Posts: 40
Location: Deepest Pit of Hell

PostPosted: Wed 10 Sep 2014, 13:52    Post subject:  

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.
Back to top
View user's profile Send private message 
ICQ Number 
Devil.Dog


Joined: 07 Sep 2014
Posts: 40
Location: Deepest Pit of Hell

PostPosted: Wed 10 Sep 2014, 16:48    Post subject: FGLRX ATI Driver install on 3.14-0.bpo.1-686-pae
Subject description: No! No! No! ... Yes Yes YESSSSssss!
 

OK -

Code:
./amd-driver-installer-14.10.1006.1001-x86.x86_64.run


Problem: fglrx-install.log ...
Code:
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


Solution: ... http://devgurus.amd.com/thread/168727

Patch Content: ...
Code:
--- ./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:
    # cd /lib/modules/fglrx/build_mod/ 
    # patch -u < "PATH to firegl_public_c.patch" 


Finally, re-compile and install the kmod .
Code:

    # cd /lib/modules/fglrx/build_mod/ 
    # ./make.sh 
    # cd .. 
    # ./make_install.sh 


My Result varied slightly cos of a typo ...
Code:
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
firegl_public_c.patch.zip
Description  firegl_public.o patch
zip

 Download 
Filename  firegl_public_c.patch.zip 
Filesize  328 Bytes 
Downloaded  200 Time(s) 

_________________
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!!!!
Back to top
View user's profile Send private message 
ICQ Number 
Devil.Dog


Joined: 07 Sep 2014
Posts: 40
Location: Deepest Pit of Hell

PostPosted: Wed 10 Sep 2014, 23:48    Post subject:  

..... annnnnd.....

More Eyecandy!





^^ those are on a default 'clean boot' (no save!).

xxx.
Back to top
View user's profile Send private message 
ICQ Number 
saintless


Joined: 11 Jun 2011
Posts: 3882
Location: Bulgaria

PostPosted: Thu 11 Sep 2014, 02:46    Post subject:  

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/viewtopic.php?p=791519#791519

Toni

_________________
Farewell, Nooby, you will be missed...
Back to top
View user's profile Send private message MSN Messenger 
Devil.Dog


Joined: 07 Sep 2014
Posts: 40
Location: Deepest Pit of Hell

PostPosted: Thu 11 Sep 2014, 12:09    Post subject:  

saintless wrote:
Thank you very much, Devil.Dog!


No Tony ... thank YOU for sticking with the Debian core.

: )

xxx.
Back to top
View user's profile Send private message 
ICQ Number 
saintless


Joined: 11 Jun 2011
Posts: 3882
Location: Bulgaria

PostPosted: Fri 12 Sep 2014, 07:54    Post subject:  

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):
Code:
unsquashfs -d /live/image/working-dir /path-to/061-dd-0.2-base.3.14.0.bpo-pae.squashfs

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):
Code:
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 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!

_________________
Farewell, Nooby, you will be missed...
Back to top
View user's profile Send private message MSN Messenger 
Devil.Dog


Joined: 07 Sep 2014
Posts: 40
Location: Deepest Pit of Hell

PostPosted: Fri 12 Sep 2014, 08:26    Post subject:  

: )

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!
Quote:
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


xxx.
Back to top
View user's profile Send private message 
ICQ Number 
Devil.Dog


Joined: 07 Sep 2014
Posts: 40
Location: Deepest Pit of Hell

PostPosted: Sat 13 Sep 2014, 17:38    Post subject: compiz screensaver replacement script
Subject description: damn damn cant get compiz stuff to compile right so...
 

Code:
aptitude install xdotool xprintidle
... or ...
apt-get install xdotool xprintidle


and copy this script into somewhere u can make executable

Code:
#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

Its a little twitchy - but basically works well enough.
Back to top
View user's profile Send private message 
ICQ Number 
Devil.Dog


Joined: 07 Sep 2014
Posts: 40
Location: Deepest Pit of Hell

PostPosted: Sun 14 Sep 2014, 22:15    Post subject:  

Quote:
Its a little twitchy - but basically works well enough.

^^ scratch that ... the compiz script above is BETTER than the original because it allows me to orientate the screen before it starts rolling!

: )

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.
Back to top
View user's profile Send private message 
ICQ Number 
Devil.Dog


Joined: 07 Sep 2014
Posts: 40
Location: Deepest Pit of Hell

PostPosted: Mon 15 Sep 2014, 05:43    Post subject:  

: )

... Updated compiz - unsuported plugins
>>> DOWNLOAD LINK <<< 6.5mb Compiz Fusion Unsuported Extras SFS.


Back to top
View user's profile Send private message 
ICQ Number 
Devil.Dog


Joined: 07 Sep 2014
Posts: 40
Location: Deepest Pit of Hell

PostPosted: Mon 15 Sep 2014, 08:56    Post subject:  

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/0B1TgWjBFLkVJUmFrdVZGVzFvd0E/edit?usp=sharing
Back to top
View user's profile Send private message 
ICQ Number 
saintless


Joined: 11 Jun 2011
Posts: 3882
Location: Bulgaria

PostPosted: Mon 15 Sep 2014, 11:10    Post subject:  

Devil.Dog wrote:
But, hey, it might work on other DEBIANDOG 314 installations with no ATI driver. 45mb in size.

Thank you, Devil.Dog!
I will ask the next person looking for ATI driver for DebianDog to test it.
Back to top
View user's profile Send private message MSN Messenger 
Devil.Dog


Joined: 07 Sep 2014
Posts: 40
Location: Deepest Pit of Hell

PostPosted: Thu 18 Sep 2014, 06:14    Post subject: 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/topic/638107/patch-for-nvidia-96-43-23-and-linux-3-11-needed/

There is a patched runfile here:

https://docs.google.com/file/d/0B-eorm-ai4lyWTV0RGduQnQ3MWc/edit?pli=1

I *should* check that runfile (mysterious anon source etc).
Back to top
View user's profile Send private message 
ICQ Number 
Devil.Dog


Joined: 07 Sep 2014
Posts: 40
Location: Deepest Pit of Hell

PostPosted: Tue 13 Oct 2015, 17:36    Post subject:  Cerberus Guards The Gate!
Subject description: High Performance Computing Anyone?!?
 

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!
Back to top
View user's profile Send private message 
ICQ Number 
Ted Dog


Joined: 13 Sep 2005
Posts: 4013
Location: Heart of Texas

PostPosted: Tue 13 Oct 2015, 19:40    Post subject:  

Lol so you are not going to reuse my distro name again???? For satanic purposes Evil or Very Mad Thank G-d! Laughing
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 3 of 4 [46 Posts]   Goto page: Previous 1, 2, 3, 4 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Puppy Derivatives
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0875s ][ Queries: 13 (0.0284s) ][ GZIP on ]