Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
10-31-2005, 09:44 AM
|
#1
|
LQ Newbie
Registered: Oct 2005
Posts: 5
Rep:
|
Resolution -> Xorg.conf & Sound
Hey, I've just installed Linux Kubuntu on my computer and it's working OK, except for two things:[list][*]Even though I have a 17" screen (which, in Windows at least, let's me have a 1280x1024 screen resolution), the max. resolution I can get is 1024x786, and it's pretty annoying. I've been told that it could be due to a badly configured Xorg.conf file, so I ran the "sudo dpkg-reconfigure xserver-xorg" command, and a wizard popped up.
As you may have already guessed, I'm a total Linux Newbie (although willing to learn :P) and I don't understand exactly what I have to type in each time it asks me for info. I'll post exactly what I typed in, to see if I'm doing anything wrong (I'm obviously doing something wrong, because I can't get 1280x1024 resolution): - I let it auto-detect my video card.
- I select "nv" when it asks me to select the "desired X server driver" (I'm assuming "nv" = nVidia; I have an nVidia 6600GT)
- I leave the identifier for my video card the way it is (it automatically says "NVIDIA Corporation NV43 [GeForce 6600/GeForce 6600 Ultra]")
- When it asks for my Video Card's bus identifier, I have no idea what to write, so I leave it as it is (PCI:1:0:0 - Maybe this is incorrect, because my video card is AGP )
- When it asks for the ammount of memory my card has, I type in 131072 (it's a 128MB video card, and it wants it in KB --> 1024 * 128 = 131072).
- User kernel framebuffer device interface? -> Yes
- (Some stuff about the keyboard, which I understand)
- I write "xorg" as the XKB rule, as it says "If you don't know what rule set to use, enter "Xorg""
- I type 'pc104' as my keyboard model.
- I have no idea what to type in when it asks for a "Keyboard variant", so I leave it blank.
- Again, I have no idea what "Keyboard Options" to type in, so I leave it blank.
- (Some stuff about the mouse, which I understand)
- It then asks me which modules I want Xorg to load up by default. All of the modules are selected, except for "dbe", "record", and "v4l", and since I don't know what this does, I leave it as it is.
- I say "yes" when it asks me if I want it to... "Write default Files section to configuration file?", because before, it says "In most cases, you should enable it."
- Same as before, but with the "DRI Section"...
- When it asks for my monitor's name, I just leave it at "Generic Monitor", because I'm not sure exactly what model I have.
- When it asks for which Video Modes I want it to use, I select 1280x1024 and everything below it.
- I then choose "1280x1024 @ 60Hz" as my default Video Mode, and a color depth of 24 bits.[/list=1]
After doing all of that, and restarting the X server (control + alt + backspace), it freezes at "Checking battery..." I'm not using a laptop, so I have no idea why it's even checking something it doesn't have I have to load up the recovery console and replace Xorg.conf with the backup I made before modfiying it.
- The other problem is that I can't hear anything: no music, videos, or even system sounds. If I click on System > KInfoCenter > Sound, I get
Code:
Sound Driver: 3.8.1a-980706 (ALSA v1.0.9 emulation code)
Kernel: Linux kubuntu 2.6.12-9.686 # Mon Oct 10 13:25:32 BST 2005 i686
Config Options: 0
Installed drivers:
Type 10: ALSA emulation
Card config:
Intel ICH5 with AD1980 at 0xfebffa00, irq17
Audio devices:
0: Intel ICH5 (DUPLEX)
Synth devices: NOT ENABLED IN CONFIG
Midi devices: NOT ENABLED IN CONFIG
Timers:
7: system timer
Mixers:
0: Analog Devices AD1980
BTW, here's the content of my xorg.conf, if it's of any help:
Code:
# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg
Section "Files"
FontPath "/usr/share/X11/fonts/misc"
FontPath "/usr/share/X11/fonts/cyrillic"
FontPath "/usr/share/X11/fonts/100dpi/:unscaled"
FontPath "/usr/share/X11/fonts/75dpi/:unscaled"
FontPath "/usr/share/X11/fonts/Type1"
FontPath "/usr/share/X11/fonts/CID"
FontPath "/usr/share/X11/fonts/100dpi"
FontPath "/usr/share/X11/fonts/75dpi"
# paths to defoma fonts
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID"
EndSection
Section "Module"
Load "GLcore"
Load "i2c"
Load "bitmap"
Load "ddc"
Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "type1"
Load "vbe"
EndSection
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "es"
EndSection
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "Emulate3Buttons" "true"
Option "ZAxisMapping" "4 5"
EndSection
Section "Device"
Identifier "NVIDIA Corporation NV43 [GeForce 6600/GeForce 6600 Ultra]"
Driver "nvidia"
BusID "PCI:1:0:0"
Option "RenderAccel" "true"
Option "NvAGP" "1"
EndSection
Section "Monitor"
Identifier "Generic Monitor"
Option "DPMS"
HorizSync 28-51
VertRefresh 43-60
EndSection
Section "Screen"
Identifier "Default Screen"
Device "NVIDIA Corporation NV43 [GeForce 6600/GeForce 6600 Ultra]"
Monitor "Generic Monitor"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480"
EndSubSection
EndSection
Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
EndSection
Section "DRI"
Mode 0666
EndSection
Hope this thread isn't too long, and I hope someone can help this
Thanks
|
|
|
10-31-2005, 03:12 PM
|
#2
|
Senior Member
Registered: Jun 2004
Posts: 2,553
Rep:
|
you installed nvidia driver from nvidia website ? or trying to use just what came with ?
|
|
|
10-31-2005, 03:29 PM
|
#3
|
LQ Newbie
Registered: Oct 2005
Posts: 5
Original Poster
Rep:
|
Quote:
Originally posted by foo_bar_foo
you installed nvidia driver from nvidia website ? or trying to use just what came with ?
|
I downloaded the nVidia drivers using the Unofficial Ubuntu Guide ( http://www.ubuntuguide.org/). I finally managed to fix it... doing what this website said.
Although I've still got the sound problem
|
|
|
10-31-2005, 09:40 PM
|
#4
|
LQ Guru
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Rep:
|
Make a backup of your xorg.conf file, then edit the original.
in the "Display" section add the resolution you want.. you can also remove the ones you will never use (like 640x480 for instance...)
Quote:
SubSection "Display"
Depth 16
Modes "1280x1024" "1024x768" "800x600"
EndSubSection
SubSection "Display"
Depth 24
Modes "1280x1024" "1024x768" "800x600"
EndSubSection
|
also look up the specs of your monitor and verify the horizontal and vertical range settings are correct...
I'm guessing you have a LCD Display from the small ranges listed here, but since you didn't specify type manuafacturer or model I can only guess..
Quote:
Section "Monitor"
Identifier "Generic Monitor"
Option "DPMS"
HorizSync 28-51
VertRefresh 43-60
EndSection
|
as for sound check to make sure the output is not muted in the mixer.. seems to be a common problem for people. everythig actually works but the volume control is muted..
check for a mixer application, or open a shell and type alsamixer after verifying the settings you can run speaker-test which will play what sounds like static .. Ctrl-c to stop the test.
http://www.alsa-project.org/~valenty...i-HOWTO-6.html
Last edited by farslayer; 10-31-2005 at 09:48 PM.
|
|
|
All times are GMT -5. The time now is 04:16 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|