LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Resolution and alsamixer questions in slack 10 (https://www.linuxquestions.org/questions/slackware-14/resolution-and-alsamixer-questions-in-slack-10-a-208425/)

DesertWolf0132 07-22-2004 03:32 PM

Resolution and alsamixer questions in slack 10
 
First, main question, how do I change the resolution? I have tracked down the /etc/X11/xorg.conf file and have edited the pertinent sections(see below for a cut and paste of the sections). I have rebooted, ran startx and it comes up at 800x600, 24 bit color, 60 kHz horizontal, 75 Hz vertical. I like the color depth and refresh rate, but what am I missing to configure the resolution to 1280x1024?

Second question is much simpler. How do I get the system to save my alsamixer settings. Every time I start X, I have to go in and bring the volume back up from 0. Thanks ahead of time for your help.
__________________________________
# **********************************************************************
# Graphics device section
# **********************************************************************

# Any number of graphics device sections may be present

Section "Device"
Identifier "VESA Framebuffer"
Driver "vesa"
VideoRam 32768
# Insert Clocks lines here if appropriate
EndSection
# **********************************************************************
# Screen sections
# **********************************************************************

# Any number of screen sections may be present. Each describes
# the configuration of a single screen. A single specific screen section
# may be specified from the X server command line with the "-screen"
# option.
Section "Screen"
Identifier "Screen 1"
Device "VESA Framebuffer"
Monitor "My Monitor"

# If your card can handle it, a higher default color depth (like 24 or 32)
# is highly recommended.

# DefaultDepth 8
# DefaultDepth 16
DefaultDepth 24
# DefaultDepth 32

# "1024x768" is also a conservative usable default resolution. If you
# have a better monitor, feel free to try resolutions such as
# "1152x864", "1280x1024", "1600x1200", and "1800x1400" (or whatever your
# card/monitor can produce)

Subsection "Display"
Depth 8
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubsection
Subsection "Display"
Depth 16
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubsection
Subsection "Display"
Depth 24
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubsection
Subsection "Display"
Depth 24
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubsection

EndSection

shilo 07-22-2004 03:44 PM

Quote:

How do I get the system to save my alsamixer settings.
Code:

alsactl store
For the resolution, just get rid of all the modes that you don't use, e.g. this:
Quote:

Depth 24
Modes "1280x1024" "1024x768" "800x600" "640x480"
Becomes this:

Code:

Depth 24
Modes "1280x1024"

Hope that works for ya,

DesertWolf0132 07-22-2004 03:47 PM

Thanks for the quick reply. Testing now...will let you know how it turns out.

DesertWolf0132 07-22-2004 04:23 PM

Sad to say, no dice on either count...

On the alsa problem, the volume goes back to zero the moment I start X or reboot.

On the video problem I edited exactly as recommended, and still no change, even after a reboot. I am looking at the file right now and the edit I made is there in black and white but my res is still 800x600.

Any other suggestions?

keefaz 07-22-2004 04:28 PM

Post your video card model and manufacturer and if you have a laptop or not please.

shilo 07-22-2004 04:41 PM

Maybe you need to turn your volumes up in X, too.

DesertWolf0132 07-22-2004 04:42 PM

Desktop System

NVidia Riva TNT2 32 MB

shilo 07-22-2004 04:43 PM

Did you install the nvidia drivers?

DesertWolf0132 07-22-2004 04:44 PM

X Volume is fine. I just run the alsamixer in a terminal to turn it back up and the audio is great. I just don't like having to change the volume every time I start X.

DesertWolf0132 07-22-2004 04:47 PM

To be entirely honest, I am using whatever the default Slack driver is on a full install. I have a PIII 750 and 2 40 gig drives so I installed everything. How do I check which driver is being used? I know MDK detected the card with no prompting and figured Slack had too when it didn't ask.

shilo 07-22-2004 04:48 PM

Which Window Manager are you using? Try using the volume control supplied by that.

DesertWolf0132 07-22-2004 04:50 PM

KDE, and I tried that. The volume settings there are fine. It is the alsa control that keeps changing.

shilo 07-22-2004 04:51 PM

Make a copy of your current /etc/X11/xorg.conf. Run

Code:

xorgcfg
That may autodetect everything for you. Let me know.

keefaz 07-22-2004 04:53 PM

Go to the nvidia driver page
download driver, edit your xorg.conf and change :

Section "Device"
Identifier "VESA Framebuffer"
Driver "vesa"


to :

Section "Device"
Identifier "VESA Framebuffer"
Driver "nvidia"


exit X, install the driver as root and startx

DesertWolf0132 07-22-2004 05:44 PM

Good sweet Mary mother of Pete it worked. Now to get the stupid alsa settings to stick. Any ideas?


All times are GMT -5. The time now is 08:06 PM.