LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Sound problems with VIA VT1708S after installing NVIDIA drivers (https://www.linuxquestions.org/questions/slackware-14/sound-problems-with-via-vt1708s-after-installing-nvidia-drivers-4175467225/)

Brosch91 06-25-2013 03:40 PM

I FIXED IT! here's what turns out to be the problem:
I changed /etc/inittab to make it so I can boot right into the graphical interface. Only problem is that if I change id:3:initdefault: to id:4:initdefault, it makes the sound not work for whatever reason. What I did was just change it back to id:3, and now the sound works again. Sure I have to start up the graphical interface manually, but at least the sound works. But thanks for helping me anyways, I appreciate it!

EDIT: I just tried something else from doing research into this inittab thing. All I had to do was add my username to /etc/group under the audio group and BOOM! everything works under runlevel 4! Yes, my problem was as simple as that. So if anyone happens to have this same problem when trying to run at level 4, don't over complicate it, the solution may be as simple as this =)

T3slider 06-25-2013 05:05 PM

For the record, this is because in runlevel 3 the user is implicitly added to the audio group through /etc/logins.defs, which is inherited when you startx. In runlevel 4, login.defs doesn't apply (since you login through a GUI display manager) and your user is not a member of the audio group in X. When you create a user using `adduser`, it asks you which groups you want your user to be in, and suggests pressing the up arrow to list the standard groups.

If your user was not a member of the audio group it is likely that it is not a member of some other important groups, so you may wish to add the user to the other standard groups as well to prevent other issues.

Code:

# usermod -a -G audio,cdrom,floppy,plugdev,video,power,netdev,lp,scanner username
replacing username with your username, obviously.

Brosch91 06-25-2013 08:38 PM

Quote:

Originally Posted by T3slider (Post 4978602)
For the record, this is because in runlevel 3 the user is implicitly added to the audio group through /etc/logins.defs, which is inherited when you startx. In runlevel 4, login.defs doesn't apply (since you login through a GUI display manager) and your user is not a member of the audio group in X. When you create a user using `adduser`, it asks you which groups you want your user to be in, and suggests pressing the up arrow to list the standard groups.

If your user was not a member of the audio group it is likely that it is not a member of some other important groups, so you may wish to add the user to the other standard groups as well to prevent other issues.

Code:

# usermod -a -G audio,cdrom,floppy,plugdev,video,power,netdev,lp,scanner username
replacing username with your username, obviously.

Thanks T3slider, good to know!


All times are GMT -5. The time now is 10:52 AM.