Find the answer to your Linux question:
Results 1 to 9 of 9
I am using debian and have a headache problem to get a higher resolution for my new screen. The old resolution is 1024*768, now I want to get 1280*1024. I ...
  1. #1
    Just Joined!
    Join Date
    Aug 2008
    Posts
    8

    [SOLVED] Why I just can get higher resolution as rooter??

    I am using debian and have a headache problem to get a higher resolution for my new screen.
    The old resolution is 1024*768, now I want to get 1280*1024. I add mode line in xorg.conf file. It likes this:

    Section "Modes"
    Identifier "Modes[0]"
    Modeline "1280x1024" 108.88 1280 1360 1496 1712 1024 1025 1028 1060
    Modeline "1280x1024" 106.97 1280 1360 1496 1712 1024 1025 1028 1059
    Modeline "1280x1024" 105.15 1280 1360 1496 1712 1024 1025 1028 1059
    EndSection

    But when I restart x-server as a normal user, it get a fatal error information .

    (WW)The directory "/usr/share/fonts/X11/cyrillic" does not exist.
    Entry deleted from font path.
    (WW) The directory "/usr/X11R6/lib/X11/fonts/cyrillic" does not exist.
    Entry deleted from font path.
    (WW) The directory "/usr/X11R6/lib/X11/fonts/Type1" does not exist.
    Entry deleted from font path.


    (**) Option "AllowMouseOpenFail" "on"
    (**) Option "Xinerama" "off"
    (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)




    Could not init font path element /usr/X11R6/lib/X11/fonts/misc, removing from list! Could not init font path element /usr/X11R6/lib/X11/fonts/100dpi/:unscaled, removing from list! Could not init font path element /usr/X11R6/lib/X11/fonts/75dpi/:unscaled, removing from list! Could not init font path element /usr/X11R6/lib/X11/fonts/100dpi, removing from list! Could not init font path element /usr/X11R6/lib/X11/fonts/75dpi, removing from list!



    The interesting thing is I can get higher resolution when I startx as a root....
    I don't know what happen with my debian.. Any suggestion is appreciate..

  2. #2
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    Hi and Welcome !

    Post the contents of /etc/X11/xorg.conf file and output of this
    Code:
    su -
    lspci | grep -i vga
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  3. #3
    Just Joined!
    Join Date
    Aug 2008
    Posts
    8
    devils casper..Thanks for your reply..Here is the xorg.conf

    # /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 "ServerLayout"
    Identifier "Layout[a11]"
    Screen "Default Screen"
    InputDevice "Generic Keyboard" "CoreKeyboard"
    InputDevice "Mouse[1]" "CorePointer"
    Option "Clone" "off"
    Option "Xinerama" "off"
    EndSection

    Section "Files"
    InputDevices "/dev/ttyS0"
    InputDevices "/dev/ttyS1"
    InputDevices "/dev/ttyS2"
    InputDevices "/dev/ttyS3"
    InputDevices "/dev/psaux"
    InputDevices "/dev/logibm"
    InputDevices "/dev/sunmouse"
    InputDevices "/dev/atibm"
    InputDevices "/dev/amigamouse"
    InputDevices "/dev/atarimouse"
    InputDevices "/dev/importbm"
    InputDevices "/dev/gpmdata"
    InputDevices "/dev/mouse"
    InputDevices "/dev/usbmouse"
    InputDevices "/dev/adbmouse"
    InputDevices "/dev/input/mice"
    InputDevices "/dev/input/event0"
    InputDevices "/dev/pointer0"
    InputDevices "/dev/pointer1"
    InputDevices "/dev/pointer2"
    InputDevices "/dev/pointer3"
    InputDevices "/dev/comedi0"
    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 "bitmap"
    Load "dbe"
    Load "ddc"
    Load "dri"
    Load "extmod"
    Load "freetype"
    Load "glx"
    Load "int10"
    Load "record"
    Load "vbe"
    EndSection

    Section "ServerFlags"
    Option "AllowMouseOpenFail" "on"
    EndSection

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

    Section "InputDevice"
    Identifier "Mouse[1]"
    Driver "mouse"
    #Option "CorePointer"
    Option "Buttons" "7"
    Option "Device" "/dev/input/mice"
    Option "Name" "USB Mouse"
    Option "Protocol" "explorerps/2"
    Option "Vendor" "Sysp"
    Option "ZAxisMapping" "4 5"
    EndSection

    Section "Device"
    Identifier "Generic Video Card"
    Driver "vesa"
    Option "TexturedVideo" "on"
    Option "OpenGLOverlay" "off"
    Option "VideoOverlay" "off"
    BusID "PCI:1:0:0"
    EndSection

    Section "Monitor"
    DisplaySize 380 300
    HorizSync 31-64
    Identifier "Monitor[0]"
    ModelName "P19-1"
    Option "DPMS"
    VendorName "FUS"
    VertRefresh 59-76
    UseModes "Modes[0]"
    EndSection


    Section "Modes"
    Identifier "Modes[0]"
    Modeline "1280x1024" 108.88 1280 1360 1496 1712 1024 1025 1028 1060
    Modeline "1280x1024" 106.97 1280 1360 1496 1712 1024 1025 1028 1059
    Modeline "1280x1024" 105.15 1280 1360 1496 1712 1024 1025 1028 1059
    # Modeline "1280x960" 109.13 1280 1360 1496 1712 960 961 964 996
    # Modeline "1280x960" 107.32 1280 1360 1496 1712 960 961 964 995
    # Modeline "1280x960" 105.61 1280 1360 1496 1712 960 961 964 995
    # Modeline "1280x800" 105.78 1280 1360 1496 1712 800 801 804 835
    # Modeline "1280x800" 104.35 1280 1360 1496 1712 800 801 804 835
    # Modeline "1280x800" 102.80 1280 1360 1496 1712 800 801 804 834
    # Modeline "1152x864" 98.15 1152 1224 1344 1536 864 865 868 900
    # Modeline "1152x864" 96.77 1152 1224 1344 1536 864 865 868 900
    # Modeline "1152x864" 95.28 1152 1224 1344 1536 864 865 868 899
    # Modeline "1280x768" 101.60 1280 1360 1496 1712 768 769 772 802
    # Modeline "1280x768" 99.17 1280 1352 1488 1696 768 769 772 801
    # Modeline "1280x768" 97.81 1280 1352 1488 1696 768 769 772 801
    # Modeline "1024x768" 80.71 1024 1080 1192 1360 768 769 772 802
    # Modeline "1024x768" 79.52 1024 1080 1192 1360 768 769 772 801
    # Modeline "1024x768" 78.43 1024 1080 1192 1360 768 769 772 801
    # Modeline "1280x600" 77.82 1280 1344 1480 1680 600 601 604 626
    # Modeline "1280x600" 76.04 1280 1336 1472 1664 600 601 604 626
    # Modeline "1280x600" 75.00 1280 1336 1472 1664 600 601 604 626
    # Modeline "1024x600" 62.26 1024 1080 1184 1344 600 601 604 626
    # Modeline "1024x600" 61.42 1024 1080 1184 1344 600 601 604 626
    # Modeline "1024x600" 59.86 1024 1072 1176 1328 600 601 604 626
    # Modeline "800x600" 48.18 800 840 920 1040 600 601 604 626
    # Modeline "800x600" 47.53 800 840 920 1040 600 601 604 626
    # Modeline "800x600" 46.87 800 840 920 1040 600 601 604 626
    # Modeline "768x576" 44.83 768 808 888 1008 576 577 580 601
    # Modeline "768x576" 43.52 768 800 880 992 576 577 580 601
    # Modeline "768x576" 42.93 768 800 880 992 576 577 580 601
    # Modeline "640x480" 30.25 640 664 728 816 480 481 484 501
    # Modeline "640x480" 29.84 640 664 728 816 480 481 484 501
    # Modeline "640x480" 29.43 640 664 728 816 480 481 484 501
    EndSection

    #Section "Monitor"
    #Identifier "Generic Monitor"
    #Option "DPMS"
    #HorizSync 28-50
    #VertRefresh 43-75
    #EndSection

    Section "Screen"
    Identifier "Default Screen"
    Device "Generic Video Card"
    Monitor "Monitor[0]"
    # Monitor "Generic Monitor"
    DefaultDepth 16
    SubSection "Display"
    Depth 1
    Modes "1280x1024" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
    Depth 4
    Modes "1280x1024" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
    Depth 8
    Modes "1280x1024" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
    Depth 15
    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
    EndSection

    #Section "ServerLayout"
    # Identifier "Default Layout"
    # Screen "Default Screen"
    # InputDevice "Generic Keyboard"
    ## InputDevice "Configured Mouse"
    # InputDevice "Mouse[1]"

    #EndSection

    Section "DRI"
    Mode 0666
    EndSection



    And here is the result
    root:# lspci | grep -i vga
    01:00.0 VGA compatible controller: nVidia Corporation NV34 [GeForce FX 5200] (rev a1)

  4. #4
    Just Joined!
    Join Date
    Aug 2008
    Posts
    8
    As the log file is very long.. I take a part as follow:







    (II) Loading sub module "int10"
    (II) LoadModule: "int10"
    (II) Reloading /usr/lib/xorg/modules/libint10.so
    (II) VESA(0): initializing int10
    (II) VESA(0): Primary V_BIOS segment is: 0xc000
    (II) VESA(0): VESA BIOS detected
    (II) VESA(0): VESA VBE Version 3.0
    (II) VESA(0): VESA VBE Total Mem: 131072 kB
    (II) VESA(0): VESA VBE OEM: NVIDIA
    (II) VESA(0): VESA VBE OEM Software Rev: 4.52
    (II) VESA(0): VESA VBE OEM Vendor: NVIDIA Corporation
    (II) VESA(0): VESA VBE OEM Product: NV34 Board - p162-1n
    (II) VESA(0): VESA VBE OEM Product Rev: Chip Rev
    (==) VESA(0): Write-combining range (0xd0000000,0x8000000)
    (II) VESA(0): virtual address = 0x4049a000,
    physical address = 0xd0000000, size = 134217728
    (==) VESA(0): Default visual is TrueColor
    (==) VESA(0): Backing store disabled
    (**) Option "dpms"
    (**) VESA(0): DPMS enabled
    (WW) VESA(0): Option "TexturedVideo" is not used
    (WW) VESA(0): Option "OpenGLOverlay" is not used
    (WW) VESA(0): Option "VideoOverlay" is not used
    (==) RandR enabled
    (II) Setting vga for screen 0.
    (II) Initializing built-in extension MIT-SHM
    (II) Initializing built-in extension XInputExtension
    (II) Initializing built-in extension XTEST
    (II) Initializing built-in extension XKEYBOARD
    (II) Initializing built-in extension XC-APPGROUP
    (II) Initializing built-in extension SECURITY
    (II) Initializing built-in extension XINERAMA
    (II) Initializing built-in extension XFIXES
    (II) Initializing built-in extension XFree86-Bigfont
    (II) Initializing built-in extension RENDER
    (II) Initializing built-in extension RANDR
    (II) Initializing built-in extension COMPOSITE
    (II) Initializing built-in extension DAMAGE
    (II) Initializing built-in extension XEVIE
    (EE) AIGLX: Screen 0 is not DRI capable
    (II) Loading local sub module "GLcore"
    (II) LoadModule: "GLcore"
    (II) Loading /usr/lib/xorg/modules/extensions/libGLcore.so
    (II) Module GLcore: vendor="X.Org Foundation"
    compiled for 7.1.1, module version = 1.0.0
    ABI class: X.Org Server Extension, version 0.3
    (II) GLX: Initialized MESA-PROXY GL provider for screen 0
    (**) Option "CoreKeyboard"
    (**) Generic Keyboard: Core Keyboard
    (**) Option "Protocol" "standard"
    (**) Generic Keyboard: Protocol: standard
    (**) Option "AutoRepeat" "500 30"
    (**) Option "XkbRules" "xorg"
    (**) Generic Keyboard: XkbRules: "xorg"
    (**) Option "XkbModel" "pc104"
    (**) Generic Keyboard: XkbModel: "pc104"
    (**) Option "XkbLayout" "us"
    (**) Generic Keyboard: XkbLayout: "us"
    (**) Option "CustomKeycodes" "off"
    (**) Generic Keyboard: CustomKeycodes disabled
    (**) Option "Protocol" "explorerps/2"
    (**) Mouse[1]: Device: "/dev/input/mice"
    (**) Mouse[1]: Protocol: "explorerps/2"
    (**) Option "CorePointer"
    (**) Mouse[1]: Core Pointer
    (**) Option "Device" "/dev/input/mice"
    (**) Option "Buttons" "7"
    (==) Mouse[1]: Emulate3Buttons, Emulate3Timeout: 50
    (**) Option "ZAxisMapping" "4 5"
    (**) Mouse[1]: ZAxisMapping: buttons 4 and 5
    (**) Mouse[1]: Buttons: 11
    (II) XINPUT: Adding extended input device "Mouse[1]" (type: MOUSE)
    (II) XINPUT: Adding extended input device "Generic Keyboard" (type: KEYBOARD)
    xkb_keycodes { include "xfree86+aliases(qwerty)" };
    xkb_types { include "complete" };
    xkb_compatibility { include "complete" };
    xkb_symbols { include "pc(pc105)+us" };
    xkb_geometry { include "pc(pc104)" };
    (II) Mouse[1]: ps2EnableDataReporting: succeeded
    Could not init font path element /usr/X11R6/lib/X11/fonts/misc, removing from list!
    Could not init font path element /usr/X11R6/lib/X11/fonts/100dpi/:unscaled, removing from list!
    Could not init font path element /usr/X11R6/lib/X11/fonts/75dpi/:unscaled, removing from list!
    Could not init font path element /usr/X11R6/lib/X11/fonts/100dpi, removing from list!
    Could not init font path element /usr/X11R6/lib/X11/fonts/75dpi, removing from list!

    Backtrace:
    0: /usr/bin/X11/X(xf86SigHandler+0x84) [0x80c43e4]
    1: [0xffffe420]
    2: /usr/lib/xorg/modules/libfb.so(fbCopyNtoN+0x226) [0x4047e3e6]
    3: /usr/lib/xorg/modules/libfb.so(fbCopyRegion+0x8f) [0x4047d27f]
    4: /usr/lib/xorg/modules/libfb.so(fbDoCopy+0x49 [0x4047d8e8]
    5: /usr/lib/xorg/modules/libfb.so(fbCopyArea+0x7 [0x4047dab8]
    6: /usr/bin/X11/X [0x815694d]
    7: /usr/bin/X11/X [0x8108840]
    8: /usr/bin/X11/X [0x8119f62]
    9: /usr/bin/X11/X [0x81545ca]
    10: /usr/bin/X11/X [0x81549b3]
    11: /usr/bin/X11/X(miWindowExposures+0xf6) [0x810a336]
    12: /usr/bin/X11/X(miHandleValidateExposures+0x77) [0x8121bc7]
    13: /usr/bin/X11/X [0x80d1201]
    14: /usr/lib/xorg/modules/drivers/vesa_drv.so [0x403a3236]
    15: /usr/bin/X11/X [0x80cc9d3]
    16: /usr/bin/X11/X(xf86SwitchMode+0xd4) [0x80c1a94]
    17: /usr/bin/X11/X [0x80e4ec8]
    18: /usr/bin/X11/X [0x80e51b9]
    19: /usr/bin/X11/X [0x8151b21]
    20: /usr/bin/X11/X(Dispatch+0x19b) [0x8086ccb]
    21: /usr/bin/X11/X(main+0x489) [0x806e6b9]
    22: /lib/tls/libc.so.6(__libc_start_main+0xc [0x40113ea8]
    23: /usr/bin/X11/X(FontFileCompleteXLFD+0xa5) [0x806d9f1]

    Fatal server error:
    Caught signal 11. Server aborting

  5. #5
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    First of all, backup xorg.conf file and regenerate it.
    Code:
    su -
    cd /etc/X11
    cp xorg.conf xorg.conf.bak
    Regenerate xorg.conf and reconfigure display settings.
    Code:
    dpkg-reconfigure xserver-xorg
    You have Nvidia Card but you are using vesa driver. Have you ever tried "nv" driver instead of "vesa" or installed Nvidia Proprietary Driver?
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  6. #6
    Just Joined!
    Join Date
    Aug 2008
    Posts
    8
    Quote Originally Posted by devils casper View Post
    First of all, backup xorg.conf file and regenerate it.
    Code:
    su -
    cd /etc/X11
    cp xorg.conf xorg.conf.bak
    Regenerate xorg.conf and reconfigure display settings.
    Code:
    dpkg-reconfigure xserver-xorg
    You have Nvidia Card but you are using vesa driver. Have you ever tried "nv" driver instead of "vesa" or installed Nvidia Proprietary Driver?

    I have reconfigure the xorg.conf by
    dpkg-reconfigure xserver-xorg
    I can get the higher resolution but just for rooter and I can't use mouse anymore.

    I didn't try nv driver...Do you mean I should reinstall the driver?

  7. #7
    Just Joined!
    Join Date
    Aug 2008
    Posts
    8
    Quote Originally Posted by devils casper View Post
    First of all, backup xorg.conf file and regenerate it.
    Code:
    su -
    cd /etc/X11
    cp xorg.conf xorg.conf.bak
    Regenerate xorg.conf and reconfigure display settings.
    Code:
    dpkg-reconfigure xserver-xorg
    You have Nvidia Card but you are using vesa driver. Have you ever tried "nv" driver instead of "vesa" or installed Nvidia Proprietary Driver?


    I just tried install the nv driver..The version for FX5200 is NVIDIA-Linux-x86-173.14.12-pkg1.run..

    But it failed to compile the kernel interface...It's really bad...

  8. #8
    Just Joined!
    Join Date
    Aug 2008
    Posts
    8
    Quote Originally Posted by devils casper View Post
    First of all, backup xorg.conf file and regenerate it.
    Code:
    su -
    cd /etc/X11
    cp xorg.conf xorg.conf.bak
    Regenerate xorg.conf and reconfigure display settings.
    Code:
    dpkg-reconfigure xserver-xorg
    You have Nvidia Card but you are using vesa driver. Have you ever tried "nv" driver instead of "vesa" or installed Nvidia Proprietary Driver?

    Hello..

    Although I failed to install nv driver...I find it when I configure the xorg.conf file...So this time I choose it...After that,,I still have lower resolution and the mouse still can't move.

    But I find some interesting things in the log file..

    I find the driver for fx5200 and find the resolution for which is perfect for my computer .(108MHz maximum pixel counts)..So I change something about mouse setting..Now I log in and can see 1280*1024 in the "screen resolution "...Now I get it..


    Tks...very much!!

  9. #9
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    Well done and Glad to help you !
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

Posting Permissions

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