LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Red Hat 8.0 sound and video driver question (https://www.linuxquestions.org/questions/linux-general-1/red-hat-8-0-sound-and-video-driver-question-40040/)

Telbone 01-02-2003 01:04 AM

Red Hat 8.0 sound and video driver question
 
Heya guys,

Over the years I keep trying Linux, but I generally get frustrated and switch back to windows. I've decided to make a serious effort at switching to Linux this time. The installation went well, but for some reason I don't have any sound. I've checked the driver both intel and creative and they seem ok, but I don't get sound at all... nothing. When I try to the sound card configuration it pulls up my drivers as if they should work, but like I said nothing happens. Another problem I'm having is installing software. If anyone knows of a simple tutorial on the web to get me started, I'd really appreciate it if they posted it for me. Finally, does anyone know where to get nVidia drivers for linux. I've been to there web site and I found drivers for the athlon chip, but none that are specific for a pentium. Any help in this area would be appreciated as well. I'm really glad I found this forum 'cause I'm gonna make a serious try at the switch this time.

Thanks guys,
Mark

moeminhtun 01-02-2003 01:18 AM

For the nvidia drivers, go to www.nvidia.com

choose "download drivers"
then "linux IA32 display drivers".
There are already compiled drivers for the Readhat 8.0.
Follow the instruction exactly and choose the correct version of drivers, otherwise you will have a lot of problems.

illtbagu 01-02-2003 01:52 AM

http://www.linuxquestions.org/questi...threadid=40036

might help with the sound problem you didnt say what distro u have
AD

Telbone 01-02-2003 02:25 AM

I'm using Red Hat 8.0. Sorry I forgot to mention it.

Mark

Telbone 01-02-2003 02:56 AM

I downloaded the nVidia drivers and installed them. It said I installed them correctly, so I'm hoping that's done. I'm working on the sound now. I read the link posted above and tried everything it said. I've looked through everything that I can find that is sound related and it appears as if my linux system is recognizing the sound card, but I just don't get any sound. I didn't have sound when I use Windows XP either. It was 'cause my bios needed updating. I'm wondering if that could be the case with Linux as well.

Thanks for the help guys.
Mark

membrax 01-02-2003 04:54 AM

the COMPLETE & DETAILED procedure :

First, visit the Linux section of the nVidia driver download area and get the following two files:

NVIDIA_GLX-1.0-4191.src.rpm (at top of page)
NVIDIA_kernel-1.0-4191.src.rpm (at bottom of page)

Save these files to your machine. Now, open up a terminal (konsole, gnome-terminal) and become root (also called superuser). Change to the directory containing the packages and install them with:

cd /path/to/packages

rpm -i NVIDIA* (or rpm -ivh NVIDIA* for verbose output and to print hash marks [#] indicating installation progress)

Since these are only source packages, we haven't actually installed any drivers yet, we've just placed the necessary files onto the system to get us started. To verify that everything is where it should be, issue the command:

ls /usr/src/redhat/SPECS/

You should see two files listed: NVIDIA_GLX.spec and NVIDIA_kernel.spec These two files simply tell RPM how to create packages using the source files. These source files were installed into /usr/src/redhat/SOURCES. Once you're satisfied everything went according to plan:

cd /usr/src/redhat/SPECS

This is the directory the source packages were installed into. /usr/src also contains the source code for the Linux kernel itself (assuming it was selected when you installed Psyche). Once inside the /usr/src/redhat directory, you might want to take a look around and see if you can get a feel for what the various directories are for. If you aren't comfortable with that, don't worry, it's not necessary. Next, the hard part (if you've been exploring, before you proceed make sure your working directory is /usr/src/redhat/SPECS – you can use the pwd command to display this for you):

rpmbuild -bb NVIDIA* (“rpmbuild” should be self-explanatory, the bb means “build binary” -- man rpmbuild at the console or #rpmbuild into Konqueror's address bar or a command box for more information)

It should only take a few minutes for the two packages to be built. You'll see information scrolling by as your request is carried out. Don't worry if you don't know what any of it means, since not many people do. Once the build process finishes, you're almost there. Now, to install the packages we just built:

cd /usr/src/redhat/RPMS/i386/ (this is where rpmbuild puts the packages after they are ready)

rpm -Uvh NVIDIA*

RPM will process for a moment, indicating its progress with hash marks and by displaying a percentage. If all has gone well, you should see both packages install and then be returned to a command prompt. At this point, I would suggest you view the README located on nVidia's website, as it contains a great deal of information about using, troubleshooting and customizing the nVidia drivers. For the impatient, I'll include here the minimum changes you need to make to your system to get the drivers working.

At this point the drivers themselves are installed and ready to go. Now all we have to do is tell XFree86 we want to use them instead of its own drivers. Since this requires making changes to the (vitally important!) XFree86 configuration file, we'll make a backup copy of it before going any further. This is extremely important! Without a clean working copy of this file, you will not be able to access your desktop.

cp /etc/X11/XF86Config /etc/X11/XF86Config-original

Now if you manage to mangle XF86Config you can copy XF86Config-original to XF86Config and start over with a known-good configuration. For those of us who aren't vi or emacs aficionados, Red Hat has included an excellent screen-based text editor called pico. Considering the number of capable and friendly GUI-based editors included with modern Linux distributions, you might question the need for using or even being aware of console-based alternatives -- until, like now, you're doing something that has the potential to render your GUI unavailable. As a general rule, you should always have a familiar console-based editor available for just such times. There are few things more frustrating than needing to make a simple change to a configuration file and being stumped because you have no idea how to do so from the command line. That being said, still as root user, issue the command:

pico -w /etc/X11/XF86Config (always use the -w switch with configuration files, since it prevents pico from applying any line wrapping and thus mangling the file)

Locate the line containing Driver "nv" and replace it with Driver "nvidia". To search in pico you press CTRL+W and enter the search term (shortcuts are displayed at the bottom of the interface). Now, find the section called Module and make sure Load "glx" is one of the entries. If not, add it to the list. Also in the Module section, remove or comment out any lines that contain Load "dri" and Load "GLcore". (You comment out a line by prefacing it with a hash mark, as in #Load "GLcore".)

That's it! You should be ready to go. Save all your work, and press CTRL-ALT-BACKSPACE to restart the X server. If all went well, you should see the nVidia splash screen pop up briefly and then be presented with the standard GDM login screen. Once your desktop has loaded, press ALT+F2 to bring up a command box and type in tuxracer (this assumes TuxRacer is installed, of course) to test your new drivers. If something has gone wrong along the way, make sure the nVidia packages are installed correctly and that your changes to XF86Config are correct (now you'll see why I pointed out the need for a backup file and an easy-to-use editor!).

rpm -qa |grep NVIDIA will query the RPM database for any installed package with "NVIDIA" in its name (as always, case matters). If you don't see both packages listed, something has gone wrong. Back up to the section that explains building the packages and try again.


This should be quite helpful.

illtbagu 01-02-2003 01:05 PM

Telbone

what kind of sound do u have is it onboard or pci. give some details. how are u not getting sound. when you try and play what a cd mp3 file wav file. have u ever had sound? give some specifics.

AD

Telbone 01-02-2003 08:39 PM

Hmm, I thought I had answered this earlier, but I checked the site and it wasn't in the thread. Anyhow, my sound worked fine with Win98, but now that I've loaded linux it hasn't worked at all. Not a sound. I had tried WinXP Pro a few months back and I had problems with no sound, but I narrowed that down to the bios. I never did flash the bios as I went back to Win98 and everything was good. I'm wondering if the problem could be bios, or if that's even a factor in linux.

I'm about to go through Membrax's instructions so let's hope things go smooth for me. If I can get the video drivers working properly, then I can move on to sound next.

I also wanted to thank everyone for there prompt responses. I don't know if I'm gonna make it as a Linux user, but I feel as if I have a fighting chance now.

Mark

illtbagu 01-02-2003 08:56 PM

something very important with your sound problem. do u have onboard sound or a pci card. if its a pci card try moving your card to a slot closer to the midle of the board before you flash your bios. what kind of mother board do u have.

Telbone 01-02-2003 09:08 PM

I have a PCI slot sound card. It's an older gamer live card from creative. As far as the motherboard goes I have a VCII board.

Mark

moeminhtun 01-02-2003 11:05 PM

I have onboard sound. First time I installed the Redhat 8.0 and mandrake 8.2, I could get the sound. What I remember was, I installed a movie player and then I removed it. After that I couldn't get a sound. Maybe because if it or something else, I'm not sure.
Then after that, it happened to be re-installed my Redhat 8.0. It's clean installation. But I could never get my sound back. I don't know what is wrong.

You guys talking about flashing the bios. Can it be also apply to my problem? And how to flash the bios. I have no idea about it.


All times are GMT -5. The time now is 08:58 AM.