View previous topic :: View next topic |
Author |
Message |
Lori Guru
Joined: 30 Mar 2004 Posts: 338 Location: Barcelona, Spain
|
Posted: Tue Apr 13, 2004 5:32 pm Post subject: Userland - 32 or 64 bit? |
|
|
I read a post some time ago, I don't remember which, and somebody said that it's not possible to get any hardware 3D acceleration from our Creator3D card and except for the kernel, everything is compiled 32 bit.
I was a little sceptical about the 3D stuff, because I had DRI,GLX loading perfectly with X. But all OpenGL screensavers break so, I gave credit and gave up. Today I had an ideea: what if I add -m64 to CFLAGS!? Am I going to have 64 bit binaries or not? Is this going to give any perfomance boost? At least for some of the applications maybe... since more and more are getting developed and optimized for 64 bit, because of the popular amd64 platform...
It would be a shame using my dear UltraSparc only for 32 bit processing if 64 bit would be possible... Anyone tried? Will -m64 change anything? Or I shouldn't even try? _________________ "The hunt is sweeter then the kill."
Registered Linux User #176911 |
|
Back to top |
|
|
ciaranm Retired Dev
Joined: 19 Jul 2003 Posts: 1719 Location: In Hiding
|
Posted: Tue Apr 13, 2004 8:59 pm Post subject: |
|
|
It won't work, and if it did it would be slower. |
|
Back to top |
|
|
Lori Guru
Joined: 30 Mar 2004 Posts: 338 Location: Barcelona, Spain
|
Posted: Fri Apr 16, 2004 9:59 am Post subject: |
|
|
This is pretty sad... _________________ "The hunt is sweeter then the kill."
Registered Linux User #176911 |
|
Back to top |
|
|
ciaranm Retired Dev
Joined: 19 Jul 2003 Posts: 1719 Location: In Hiding
|
Posted: Fri Apr 16, 2004 3:17 pm Post subject: |
|
|
Send patches |
|
Back to top |
|
|
Lori Guru
Joined: 30 Mar 2004 Posts: 338 Location: Barcelona, Spain
|
Posted: Fri Apr 16, 2004 5:00 pm Post subject: |
|
|
I wish...
But what makes 64 bit userland possible the on FreeBSD? They use gcc. Indeed, they use BSD make instead of GNU make, but is that so important? An interesting article here. _________________ "The hunt is sweeter then the kill."
Registered Linux User #176911 |
|
Back to top |
|
|
ciaranm Retired Dev
Joined: 19 Jul 2003 Posts: 1719 Location: In Hiding
|
Posted: Fri Apr 16, 2004 5:05 pm Post subject: |
|
|
Well, we *could* do a pure 64bit userland... We'd need to do some pretty heavy glibc patching, because it's kinda b0rked, but it's not impossible... The aim is to eventually have dual 32/64, so those few apps that benefit from 64bit can be without slowing the rest of the system down... |
|
Back to top |
|
|
Lori Guru
Joined: 30 Mar 2004 Posts: 338 Location: Barcelona, Spain
|
Posted: Fri Apr 16, 2004 5:13 pm Post subject: |
|
|
OK, one last question, and i'll stop bugging you
Why would in current state applications compiled with -m64 (suppose it works) slow other applications down? If you have same good links about this, that would be great... _________________ "The hunt is sweeter then the kill."
Registered Linux User #176911 |
|
Back to top |
|
|
ciaranm Retired Dev
Joined: 19 Jul 2003 Posts: 1719 Location: In Hiding
|
Posted: Fri Apr 16, 2004 5:27 pm Post subject: |
|
|
Short answer: bigger code.
Long answer: this has been covered at length on the sparc-linux mailing list, I suggest you search the archives. |
|
Back to top |
|
|
Ferris Retired Dev
Joined: 13 Jan 2003 Posts: 426 Location: N. Virginia (USA)
|
Posted: Fri Apr 16, 2004 6:37 pm Post subject: |
|
|
Lori, concerning your screen savers:
OpenGL anything will break without a patch: See bug #19776. You can
apply them by hand like this (it's not pretty, but it works and isn't hard).
* emerge xfree
* wait for the source unpack to complete
* ^Z
* Follow the instructions in bug #19776, comment 50 (except instead of -r3,
you will be using -r5)
* fg
* wait a few hours
I'm going to try to get this into the ebuilds for -r[56], but it would be overoptimistic of you
to hold out for that. (We're talking a few days, not weeks: I have it in
my own x11-base/xfree and it all works, but the reverification is a bear.)
Hope this helps, so far as OpenGL goes.
Regards, |
|
Back to top |
|
|
Lori Guru
Joined: 30 Mar 2004 Posts: 338 Location: Barcelona, Spain
|
Posted: Tue Apr 20, 2004 5:42 pm Post subject: |
|
|
Well I did as you instructed me... now I don't get SIGSEGV anymore... but no GL screensavers either, meaning that if I press the Preview, I get a blank screen, nothing more. _________________ "The hunt is sweeter then the kill."
Registered Linux User #176911 |
|
Back to top |
|
|
Ferris Retired Dev
Joined: 13 Jan 2003 Posts: 426 Location: N. Virginia (USA)
|
Posted: Tue Apr 20, 2004 10:50 pm Post subject: |
|
|
Unfortunately, I don't know how to get you beyond the Seg fault. Maybe
someone else knows something about the screensavers? |
|
Back to top |
|
|
|