Raiwan |
10-31-2005 08:44 AM |
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 :confused: )
- 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 :confused: 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 :newbie:
:) Thanks
|