Page 1 of 2 12 LastLast
Results 1 to 10 of 17

Thread: Xorg.conf breaks GUI

  1. #1
    Join Date
    Jan 2011
    Beans
    193

    Xorg.conf breaks GUI

    After upgrading Ubuntu 10.04 to 11.10 I had a problem my display was not reconized.Then tried to instal the Nvidia proprietry driver, but it failed.
    After a lot of try and error ( to much to tell ), removed all nvidia* and reinstalled Nouveau.
    But still having problems.

    When I create an xorg.conf, there are a lot of warnings about drivers missing,
    (==) Using config file: "/etc/X11/xorg.conf"
    (==) Using system config directory "/usr/share/X11/xorg.conf.d"
    WARNING: Error inserting wmi (/lib/modules/3.0.0-31-generic/kernel/drivers/platform/x86/wmi.ko): No such device
    WARNING: Error inserting mxm_wmi (/lib/modules/3.0.0-31-generic/kernel/drivers/platform/x86/mxm-wmi.ko): No such device
    WARNING: Error inserting i2c_algo_bit (/lib/modules/3.0.0-31-generic/kernel/drivers/i2c/algos/i2c-algo-bit.ko): No such device
    WARNING: Error inserting drm (/lib/modules/3.0.0-31-generic/kernel/drivers/gpu/drm/drm.ko): No such device
    WARNING: Error inserting drm_kms_helper (/lib/modules/3.0.0-31-generic/kernel/drivers/gpu/drm/drm_kms_helper.ko): No such device
    WARNING: Error inserting ttm (/lib/modules/3.0.0-31-generic/kernel/drivers/gpu/drm/ttm/ttm.ko): No such device
    FATAL: Error inserting nouveau (/lib/modules/3.0.0-31-generic/kernel/drivers/gpu/drm/nouveau/nouveau.ko): No such device
    (EE) [drm] failed to open device
    (EE) No devices detected.
    As soon I delete/move away the xorg.conf, I get the 1024/768 display back, which is too small and should be 1280/1024.

    I read a lot about xrandr and cvt, but can't get it to work.

    This is the xorg.conf that I use, but breaks the GUI.

    # nvidia-xconfig: X configuration file generated by nvidia-xconfig
    # nvidia-xconfig: version 280.13 (buildmeister@swio-display-x86-rhel47-05.nvidia.com) Wed Jul 27 17:18:55 PDT 2011

    Section "ServerLayout"
    Identifier "Layout0"
    Screen 0 "Screen0"
    InputDevice "Keyboard0" "CoreKeyboard"
    InputDevice "Mouse0" "CorePointer"
    EndSection

    Section "Files"
    EndSection

    Section "InputDevice"
    # generated from default
    Identifier "Mouse0"
    Driver "mouse"
    Option "Protocol" "auto"
    Option "Device" "/dev/psaux"
    Option "Emulate3Buttons" "no"
    Option "ZAxisMapping" "4 5"
    EndSection

    Section "InputDevice"
    # generated from default
    Identifier "Keyboard0"
    Driver "kbd"
    EndSection

    Section "Monitor"
    Identifier "Monitor0"
    VendorName "Samsung"
    ModelName "SyncMaster 910MP"
    HorizSync 30.0 - 81.0
    VertRefresh 43.0 - 75.0
    Option "DPMS"
    EndSection

    Section "Device"
    Identifier "Device0"
    Driver "nouveau"
    VendorName "NVIDIA Corporation"
    EndSection

    Section "Screen"
    Identifier "Screen0"
    Device "Device0"
    Monitor "Monitor0"
    DefaultDepth 24
    SubSection "Display"
    Depth 24
    EndSubSection
    EndSection
    It is an edited previously automatic generated xorg.conf.
    I am even not shure if it is used or just interferes with somthing else.

    Please , can someone point me to a solution.
    Last edited by kuifje09; February 18th, 2013 at 05:23 PM. Reason: Typo, Fater After

  2. #2
    Join Date
    Jan 2011
    Beans
    193

    Re: Xorg.conf breaks GUI

    Maby I should add this information.

    I tried the legacy driver from nvidia.com.
    The card I use is a "product: NV5M64 [RIVA TNT2 Model 64/Model 64 Pro]"

    Question , Which ubuntu tested nvidia driver would support this video card. besides the nouveau driver.

  3. #3
    dino99's Avatar
    dino99 is offline Ubuntu addict and loving it
    Join Date
    Jun 2006
    Location
    Nux Jam
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Xorg.conf breaks GUI

    since the 3 kernel family, X is now directly managed by the kernel: meaning xorg.conf is no more needed by default. And old xorg.conf often breaks the kernel video rules.

    so either erase or rename xorg.conf

  4. #4
    Join Date
    Jan 2011
    Beans
    193

    Re: Xorg.conf breaks GUI

    I wonder if thats realy true

    Quote Originally Posted by dino99 View Post
    since the 3 kernel family, X is now directly managed by the kernel: meaning xorg.conf is no more needed by default. And old xorg.conf often breaks the kernel video rules.

    so either erase or rename xorg.conf
    Because these messages in the xorg.*.log

    "(==) Using config file: "/etc/X11/xorg.conf"
    (==) Using system config directory "/usr/share/X11/xorg.conf.d"
    "

    Extra question, where gets xrandr it info about the max sizes of a screen?
    xrandr: screen cannot be larger than 1024x768 (desired size 1280x1024)
    Last edited by kuifje09; February 18th, 2013 at 06:47 PM.

  5. #5
    Join Date
    Jan 2011
    Beans
    193

    Re: Xorg.conf breaks GUI

    I could not wait, searched a litle further and found maybe the wrong video driver is loaded. Thats why I cannot get above the 1024/~768 pixels.

    This card needs the nouveau and rivafb driver ? right ?

    That I did
    lspci -k [ snipped ]
    01:00.0 VGA compatible controller: nVidia Corporation NV5M64 [RIVA TNT2 Model 64/Model 64 Pro] (rev 15)
    Kernel modules: nouveau, rivafb

    then
    lsmod | grep riva
    and
    lsmod | grep nouv

    Both the lsmod gave NOT the expected drivers. What is wrong ?

    However: "lsmod | grep vesa" also gave no answer....

    In the "system settings" I read for graphics : VESA: Riva TNT

    loading ( as root ) the nouveau driver with modprobe gives me :
    modprobe nouveau
    WARNING: Error inserting wmi (/lib/modules/3.0.0-31-generic/kernel/drivers/platform/x86/wmi.ko): No such device
    WARNING: Error inserting mxm_wmi (/lib/modules/3.0.0-31-generic/kernel/drivers/platform/x86/mxm-wmi.ko): No such device
    WARNING: Error inserting i2c_algo_bit (/lib/modules/3.0.0-31-generic/kernel/drivers/i2c/algos/i2c-algo-bit.ko): No such device
    WARNING: Error inserting drm (/lib/modules/3.0.0-31-generic/kernel/drivers/gpu/drm/drm.ko): No such device
    WARNING: Error inserting drm_kms_helper (/lib/modules/3.0.0-31-generic/kernel/drivers/gpu/drm/drm_kms_helper.ko): No such device
    WARNING: Error inserting ttm (/lib/modules/3.0.0-31-generic/kernel/drivers/gpu/drm/ttm/ttm.ko): No such device
    FATAL: Error inserting nouveau (/lib/modules/3.0.0-31-generic/kernel/drivers/gpu/drm/nouveau/nouveau.ko): No such device
    modprobe rivafb ; just flashes the screen, but nothing more than that
    Last edited by kuifje09; February 18th, 2013 at 11:24 PM. Reason: for clearity , getting late, making errors now.

  6. #6
    Join Date
    Jan 2011
    Beans
    193

    kernel / modules problem 3.0.0*

    Okay, found something now.
    After reinstall of Xorg, reboot to previous kernel and my screen went in 1280*1024 mode.
    Systemsettings however shows wrong detail about card and monitor, but display setting
    are almsot good. All usable modes can be choosen from.

    So now I (re) installed the latest kernel, but that did not help. I think there is a problem in my system after the upgrade. But when I booy in the 2.6.38-16-generic kernel, all looks good now.

    Question: How can I fix the system for the 3.0.0-31-generic kernel and modules ...

    The install of the kernel 3.0.0-31-generic did not help, but I think its not a complete install.
    Did it install also the /lib/modules/3.0.0-31-generic for example...

    How could I remove all things related to 3.0.0-31-generic and then reinstall/upgrade to 3.0.0-31-generic.

    Please any advise would help.

  7. #7
    dino99's Avatar
    dino99 is offline Ubuntu addict and loving it
    Join Date
    Jun 2006
    Location
    Nux Jam
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Xorg.conf breaks GUI

    are you sure to have "dkms" installed ?

    for the tnt2 card, you might need to install the nvidia-graphics-drivers-96; but "nouveau" should work well too.

    https://help.ubuntu.com/community/Bi...erHowto/Nvidia

  8. #8
    Join Date
    Jan 2011
    Beans
    193

    Re: Xorg.conf breaks GUI

    Thanks, I will have a look at dkms. But, it works in 2.6.38-16.
    It did not until I reinstalled Xorg...

    Xorg log shows trouble with some modules in 3.0.0-31, so I reinstalled 3.0.0-31
    mv /lib/modules/3.0.0.. to 3.0.0...bad
    apt-get install --force-reinstall true linux-image-3.0.0-31-generic

    New kernel is installed modules are back and so on.... even grub is checked automatic.

    But.... display is not known, and running in fallbackmode ( VESA ).

    I think there is a problem with the kernel version 3.0.0-31-generic

    As a last try, I can reinstall dkms.

    Till later...

  9. #9
    Join Date
    Jan 2011
    Beans
    193

    Re: Xorg.conf breaks GUI

    Even reinstall dkms did not help.

    with kernel 2.6.38-16-generic all looks okay.
    with kernel 3.0.0-31-generic display not detected/unknown and wrong resolution.

    I am not shure why after the upgrade the display was not detected correctly, untill I reinstalled Xorg, in version 2.6.38-16-generic.
    But thats the one I can/must work with now.....

    I wonder if 12.04 would solve this ugly problem.

  10. #10
    dino99's Avatar
    dino99 is offline Ubuntu addict and loving it
    Join Date
    Jun 2006
    Location
    Nux Jam
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Xorg.conf breaks GUI

    3.8 kernel is now out, and works way better than the earlier 3.0x one for sure.
    Maybe its time to move at least to LTS (precise)

Page 1 of 2 12 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •