[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: random quirkyness



On 1/23/07, Andrew Sackville-West <andrew@farwestbilliards.com> wrote:
On Tue, Jan 23, 2007 at 02:41:40PM -0600, Mike Myers wrote:
> Hi all,
>
> I'm still trying to adjust from Gentoo's way of doing things (do it
> manually) to debian's (apt-something) way.  So far everything has been
> great, but i'm having trouble finding docs on a couple of issues I'm
> having.  Both of them seem related to modules.
>
> First one is with the nvidia driver.  It seems like everytime my debian box
> is rebooted, I have to re-apt-get nvidia-glx before I can use xorg.  Also,
> GDM doesn't seem to like my 1440x900 (widescreen) resolution and I can't
> seem to do anything about it other than just not use GDM (not that ditching
> it is a big deal).

I can't speak to the resolution issue, but the xorg issue should not
be happening. when you re-apt-get it, does it download it again and
appear to be actually reinstalling it? I wonder if your xorg.conf is
not getting updated correctly and you are correcting for it by
reinstalling each time. how about a copy of your xorg.conf for us to
look at as well as dpkg -l | grep nvidia

I'm pretty sure it's not related to xorg, since it works fine after running 'apt-get --reinstall install nvidia-glx', even with a widescreen.  It's only after a reboot that I must run that, as long as I want to use the nvidia driver.  If I use the 'nv' driver, then of course there's no issue there, but that driver sucks.  Just to oblige you, here's the contents: (hopefully it looks sane enough to read)


# /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/fonts/X11/misc"
        FontPath        "/usr/X11R6/lib/X11/fonts/misc"
        FontPath        "/usr/share/fonts/X11/cyrillic"
        FontPath        "/usr/X11R6/lib/X11/fonts/cyrillic"
        FontPath        "/usr/share/fonts/X11/100dpi/:unscaled"
        FontPath        "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
        FontPath        "/usr/share/fonts/X11/75dpi/:unscaled"
        FontPath        "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
        FontPath        "/usr/share/fonts/X11/Type1"
        FontPath        "/usr/X11R6/lib/X11/fonts/Type1"
        FontPath        "/usr/share/fonts/X11/100dpi"
        FontPath        "/usr/X11R6/lib/X11/fonts/100dpi"
        FontPath        "/usr/share/fonts/X11/75dpi"
        FontPath        "/usr/X11R6/lib/X11/fonts/75dpi"
        # path to defoma fonts
        FontPath        "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
        Load    "i2c"
        Load    "bitmap"
        Load    "ddc"
        Load    "dri"
        Load    "extmod"
        Load    "freetype"
        Load    "glx"
        Load    "int10"
        Load    "vbe"
EndSection

Section "InputDevice"
        Identifier      "Generic Keyboard"
        Driver          "kbd"
        Option          "CoreKeyboard"
        Option          "XkbRules"      "xorg"
        Option          "XkbModel"      "pc104"
        Option          "XkbLayout"     "us"
EndSection

Section "InputDevice"
        Identifier      "Configured Mouse"
        Driver          "mouse"
        Option          "CorePointer"
        Option          "Device"                "/dev/input/mice"
        Option          "Protocol"              "ImPS/2"
        Option          "Emulate3Buttons"       "true"
EndSection

Section "Device"
        Identifier      "nVidia Corporation NV43 [GeForce 6600]"
        Driver          "nvidia"
        BusID           "PCI:1:0:0"
EndSection

Section "Monitor"
        Identifier      "SyncMaster"
        Option          "DPMS"
EndSection

Section "Screen"
        Identifier      "Default Screen"
        Device          "nVidia Corporation NV43 [GeForce 6600]"
        Monitor         "SyncMaster"
        DefaultDepth    24
        SubSection "Display"
                Depth           1
                Modes           "1440x900" "1280x1024" "1280x960" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
        EndSubSection
        SubSection "Display"
                Depth           4
                Modes           "1440x900" "1280x1024" "1280x960" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
        EndSubSection
        SubSection "Display"
                Depth           8
                Modes           "1440x900" "1280x1024" "1280x960" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
        EndSubSection
        SubSection "Display"
                Depth           15
                Modes           "1440x900" "1280x1024" "1280x960" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
        EndSubSection
        SubSection "Display"
                Depth           16
                Modes           "1440x900" "1280x1024" "1280x960" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
        EndSubSection
        SubSection "Display"
                Depth           24
                Modes           "1440x900" "1280x1024" "1280x960" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
        EndSubSection
EndSection

Section "ServerLayout"
        Identifier      "Default Layout"
        Screen          "Default Screen"
        InputDevice     "Generic Keyboard"
        InputDevice     "Configured Mouse"
EndSection

Section "DRI"
        Mode    0666
EndSection

Section "Extensions"
        Option "Composite" "Enable"
EndSection

Here's the output of 'dpkg -l'.  Maybe you can explain what it means?

'debian:~# dpkg -l | grep nvidia
ii  nvidia-glx                        1.0.8776-4                      NVIDIA binary XFree86 4.x driver
rc  nvidia-glx-legacy                 1.0.7184-3                      NVIDIA binary Xorg driver (legacy version)
ii  nvidia-kernel-2.6-686             1.0.8776+5                      NVIDIA binary kernel module for 2.6 series c
ii  nvidia-kernel-2.6.18-3-686        1.0.8776+5                      NVIDIA binary kernel module for Linux 2.6.18
ii  nvidia-kernel-common              20051028+1                      NVIDIA binary kernel module common files
ii  nvidia-kernel-legacy-2.6.18-3-486 1.0.7184+5                      NVIDIA binary kernel module for Linux 2.6.18
'

>
> The other issue is that I have two soundcards.  That in itself isn't a
> problem, but the it is a problem with the way debian apparently handles
> them, which seems to be the most random thing I've ever seen.  When it boots
> up, it picks one or the other so sometimes it works and sometimes it
> doesn't.  I can run alsa-conf to get it to use the correct one, but it's
> annoying doing it every time, especially when having to apt-get nvidia-glx
> after rebooting also.

sounds like a udev problem. default udev rules are not necessarily
predictable in terms of how it assigns device nodes to hardware. you
may need to write some custom udev rules to get your soundcards
recognised properly. check the archives from about a month ago for a
couple threads on using multiple sound cards.

I'd prefer it to just not use one of the cards at all.  I would hope there would be an easier way to modify it's detection, I mean I don't need it to detect anything in the first place.  I'd rather just turn whatever is doing that off and have the module automatically loaded no matter what.  That's how I had it in Gentoo and I never had any issues.

A


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFFtnntaIeIEqwil4YRAtdlAJ0c3JXabTd7vcyv4+0bhWh+C+gEAACg3My9
039Bw09gD3IGBUKXFUHdWzw=
=NxYe
-----END PGP SIGNATURE-----




Reply to: