LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 11-25-2005, 09:18 AM   #1
vidar_nelson
LQ Newbie
 
Registered: Oct 2005
Posts: 6

Rep: Reputation: 0
i386 programs on x86_64?


I posted this in the "software" forum but I got no replies so I'll post it here instead:

Why is it that I can run i386 binaries on my x86_64 fedora core 4 before I install the drivers (from nvidia.com) for my graphics card but not afterwards?
I can't run Open office, even!
I want to know if there's some way of getting past this problem. I want to have good performance AND be able to run programs.
I tried running a blender binary for i386 before installing the drivers and it worked fine, but now I get this error message:

Code:
Bidar70@localhost blender-2.40alpha2-linux-glibc232-py23-i386]$ ./blender 
Segmentation fault
Any help would be great.
 
Old 11-25-2005, 03:56 PM   #2
Que_273
Member
 
Registered: Nov 2005
Location: South coast
Distribution: Debian /AMD64
Posts: 48

Rep: Reputation: 15
I'm a Debian user so I'm sorry I can't give you an exact answer.
In Debian I have built a kernel module and then a "nvidia-glx" package which includes the 64bit libraries needed. This package redirects some of the exisiting libraries (libGL.so eg). To run 32 bit programs there is another package "nvidia-glx-ia32" which provides the 32bit equivalents. (The package management system makes sure they are separate) If I run ldd on a 32bit OpenGL app, the nvidia libs are shown.
As I said I don't know how to go about setting this up in FC4 but hopefully it can set you on the right track when searching for an answer
 
Old 11-25-2005, 08:27 PM   #3
jcliburn
Member
 
Registered: Dec 2003
Location: Mississippi, USA
Distribution: Fedora
Posts: 435

Rep: Reputation: 33
I have no problem at all running 32-bit apps on my x86_64 Fedora 4 system, and I use the Nvidia driver, too. I use the bin script from Nvidia, not the rpm from Livna. How did you go about installing the driver? Here's what works for me. I have to do it every time I upgrade my kernel, but it takes only about 5 minutes.

1. Upgrade the kernel using rpm, yum, up2date, whatever. Don't reboot until after step 2.

2. Edit inittab to default runlevel 3.
# gedit /etc/inittab
Change "id:5:initdefault:"
To "id:3:initdefault:"

3. Reboot. X won't start. Use the terminal command line.

4. Login as root, then run the driver install script as follows. (I store my Nvidia scripts in /opt/src/nvidia.) Follow the script's directions. Read the nvidia readme that comes with the driver package.
# cd /opt/src/nvidia
# ./NVIDIA-Linux-x86_64-1.0-7676-pkg2.run

5. Save a copy of /etc/X11/xorg.conf, then modify the original if this is the first time you're installing the Nvidia driver. You generally won't have to change xorg.conf for future driver releases.

6. Edit inittab to default runlevel 5.
# gedit /etc/inittab
Change "id:3:initdefault:"
To "id:5:initdefault:"

7. Reboot. X should start up. You're done.
 
Old 11-26-2005, 09:36 AM   #4
vidar_nelson
LQ Newbie
 
Registered: Oct 2005
Posts: 6

Original Poster
Rep: Reputation: 0
I tried the rpm from Livna, and it works now

Thanks guys!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
what is the difference between I386 and x86_64? aaronruss Linux - Newbie 22 10-25-2009 06:09 PM
x86_64 and i386 neouto SUSE / openSUSE 3 09-08-2005 05:15 AM
firefox i386 on x86_64 kpachopoulos Fedora 0 07-30-2005 04:41 AM
i386 & x86_64 jojojo Linux - Newbie 4 05-21-2005 10:53 AM
i386 or x86_64? rssguy Linux - Newbie 2 04-20-2005 07:42 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 12:39 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration