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

Thread: uninstall randr

  1. #1

    Default uninstall randr

    Like so many before me, I can't get my monitor to work at the right resolution because in the Control Centre I get the message "Your X server is using the RandR extension at version 1.2 or greater which doesn't have any configuration yet". Krandrtray only gives one resolution that fits my 16:10 monitor (Sony GDM-FW900), namely 1600x1024, which is just what I want, but annoyingly, that is the only one that does not work and gives me a black screen or bad flicker.

    However, I don't need a dynamic resolution, just 1600x1024. So can't I just uninstall randr, so that I can set it in the Control Centre?

    Thanks

  2. #2

    Default Re: uninstall randr

    Update (didn't know I could only edit my post for 10 minutes).

    This happened with a Suse 11.0 installation. Note that I had no problems with Suse 10.3, an installation I fortunately kept, so I can check there or even completely revert to it. I restarted it and now see that I had randr installed there, too. There, I use that 1600x1024 resolution at 90 Hz. However, with Suse 11.0 in the console, 'xrandr' gives only 60 Hz for that resolution. Might that point to the problem?

  3. #3

    Default Re: uninstall randr

    Another update. I just checked with my Suse 10.3 installation, and it turns out I get the same message there in the Control Centre. However, I didn't take notice then, because I had no problems. The only difference I can find is that in 10.3, I had 24 bit specified in Sax2. So I tried that with 11.0 too, but that just gives a garbled image, so I set it back to 16 bit.

    And another thing. When I specify a resolution in Sax2 (in 11.0), I get a different one. For example:
    1600x1000 gives 1280x960
    1900x1200 gives 1600x1200
    2560x1600 gives 2048x1536
    3200x1200 gives 2048x1536
    I am now using the second one, which is doable, except that the geometry is all wrong, which rather matters for me, with the amount of graphical work I do.

  4. #4
    Join Date
    Jun 2008
    Location
    Skogås Sweden
    Posts
    638

    Default Re: uninstall randr

    I suspect it's sax that causes this. I just checked with a
    sax generated xorg.conf on my system and could only get xrandr
    to report 60Hz as max refresh rate. After commenting out the
    only modeline in my xorg.conf xrandr reports correct results.
    And Xorg.0.log reports 4 extra modelines. Maybe try that.

  5. #5

    Default Re: uninstall randr

    I'm sorry, I'm not that familiar with this stuff. I suppose you mean /etc/X11/xorg.conf. There, I don't find the word 'randr'. Nor 'Hz'. Anyway, I commented out the only line in the section 'modes', thus:
    # Identifier "Modes[0]"
    Next, I tried 'xrandr' in the root console, but that gives the same results as before, with only 60Hz for 1600x1024. Then I tried 1600x1024 in KRandRTray and then Suse crashed on me (Linux crashed!! - that's new) and went into text mode, from where I didn't know how to restart the gui (that's X, right?). I could only restart normally after booting in safe mode and restoring my edit in xorg.config. Note that before crashing, the change with krandrtray gave me a black screen. This time I waited a bit longer than previously before hitting Control-Alt-Backspace.

    I'm going to bed now (it's night now in the Netherlands), but first I'll give you the relevant sections in my xorg.conf.

    Thanks for the help so far.

    Section "Monitor"
    DisplaySize 305 230
    HorizSync 30-121
    Identifier "Monitor[0]"
    ModelName "GDM-FW900"
    Option "DPMS"
    Option "PreferredMode" "1900x1200"
    VendorName "SONY"
    VertRefresh 50-160
    UseModes "Modes[0]"
    EndSection


    Section "Modes"
    Identifier "Modes[0]"
    EndSection


    Section "Screen"
    DefaultDepth 16
    SubSection "Display"
    Depth 15
    Modes "1900x1200" "1600x1200" "1680x1050" "1600x1024" "1600x1000" "1400x1050" "1280x1024" "1440x900" "1280x960" "1366x768" "1280x800" "1152x864" "1280x768" "1280x720" "1024x768" "1280x600" "1024x600" "800x600" "768x576" "640x480"
    EndSubSection
    SubSection "Display"
    Depth 16
    Modes "1900x1200" "1600x1200" "1680x1050" "1600x1024" "1600x1000" "1400x1050" "1280x1024" "1440x900" "1280x960" "1366x768" "1280x800" "1152x864" "1280x768" "1280x720" "1024x768" "1280x600" "1024x600" "800x600" "768x576" "640x480"
    EndSubSection
    SubSection "Display"
    Depth 24
    Modes "1900x1200" "1600x1200" "1680x1050" "1600x1024" "1600x1000" "1400x1050" "1280x1024" "1440x900" "1280x960" "1366x768" "1280x800" "1152x864" "1280x768" "1280x720" "1024x768" "1280x600" "1024x600" "800x600" "768x576" "640x480"
    EndSubSection
    SubSection "Display"
    Depth 8
    Modes "1900x1200" "1600x1200" "1680x1050" "1600x1024" "1600x1000" "1400x1050" "1280x1024" "1440x900" "1280x960" "1366x768" "1280x800" "1152x864" "1280x768" "1280x720" "1024x768" "1280x600" "1024x600" "800x600" "768x576" "640x480"
    EndSubSection
    Device "Device[0]"
    Identifier "Screen[0]"
    Monitor "Monitor[0]"
    EndSection


    Section "Device"
    BoardName "MGA G400 AGP"
    BusID "1:0:0"
    Driver "mga"
    Identifier "Device[0]"
    Screen 0
    VendorName "Matrox"
    EndSection

  6. #6
    Join Date
    Jun 2008
    Location
    Skogås Sweden
    Posts
    638

    Default Re: uninstall randr

    No I was suggesting something like this:
    Section "Modes"
    Identifier "Modes[0]"
    # Modeline "1280x1024" 108.00 1280 1328 1440 1688 1024 1025 1028 1066
    EndSection
    I'm a little puzzled by this section:
    Section "Device"
    BoardName "MGA G400 AGP"
    BusID "1:0:0"
    Driver "mga"
    Identifier "Device[0]"
    Screen 0
    VendorName "Matrox"
    EndSection
    The Screen option should be in the ServerLayout section and
    the identifier should be "Screen[0]", like this:
    Section "ServerLayout"
    Identifier "Layout[all]"
    InputDevice "Keyboard[0]" "CoreKeyboard"
    InputDevice "Mouse[1]" "CorePointer"
    InputDevice "Mouse[3]" "SendCoreEvents"
    Option "Clone" "off"
    Option "Xinerama" "off"
    Screen "Screen[0]"
    EndSection
    Maybe try rerun sax.

  7. #7

    Default Re: uninstall randr

    I have rerun Sax many many times now, trying different resolutions.
    I do have that line in the serverlayout section. Actually, to be sure, I'll just give you all that's in my xorg.conf file. First the bits before the above and then the ones after it.
    Btw, how do you make those frames in your posts?

    # /.../
    # SaX generated X11 config file
    # Created on: 2008-07-13T20:22:03+0200.
    #
    # Version: 8.1
    # Contact: Marcus Schaefer <sax@suse.de>, 2005
    # Contact: SaX-User list <https://lists.berlios.de/mailman/listinfo/sax-users>
    #
    # Automatically generated by [ISaX] (8.1)
    # PLEASE DO NOT EDIT THIS FILE!
    #

    Section "Files"
    FontPath "/usr/share/fonts/misc:unscaled"
    FontPath "/usr/share/fonts/local"
    FontPath "/usr/share/fonts/75dpi:unscaled"
    FontPath "/usr/share/fonts/100dpi:unscaled"
    FontPath "/usr/share/fonts/Type1"
    FontPath "/usr/share/fonts/URW"
    FontPath "/usr/share/fonts/Speedo"
    FontPath "/usr/share/fonts/PEX"
    FontPath "/usr/share/fonts/cyrillic"
    FontPath "/usr/share/fonts/latin2/misc:unscaled"
    FontPath "/usr/share/fonts/latin2/75dpi:unscaled"
    FontPath "/usr/share/fonts/latin2/100dpi:unscaled"
    FontPath "/usr/share/fonts/latin2/Type1"
    FontPath "/usr/share/fonts/latin7/75dpi:unscaled"
    FontPath "/usr/share/fonts/baekmuk:unscaled"
    FontPath "/usr/share/fonts/japanese:unscaled"
    FontPath "/usr/share/fonts/kwintv"
    FontPath "/usr/share/fonts/truetype"
    FontPath "/usr/share/fonts/uni:unscaled"
    FontPath "/usr/share/fonts/CID"
    FontPath "/usr/share/fonts/ucs/misc:unscaled"
    FontPath "/usr/share/fonts/ucs/75dpi:unscaled"
    FontPath "/usr/share/fonts/ucs/100dpi:unscaled"
    FontPath "/usr/share/fonts/hellas/misc:unscaled"
    FontPath "/usr/share/fonts/hellas/75dpi:unscaled"
    FontPath "/usr/share/fonts/hellas/100dpi:unscaled"
    FontPath "/usr/share/fonts/hellas/Type1"
    FontPath "/usr/share/fonts/misc/sgi:unscaled"
    FontPath "/usr/share/fonts/xtest"
    FontPath "/opt/kde3/share/fonts"
    InputDevices "/dev/gpmdata"
    InputDevices "/dev/input/mice"
    EndSection

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

    Section "Module"
    Load "dbe"
    Load "type1"
    Load "freetype"
    Load "extmod"
    Load "glx"
    EndSection

    Section "InputDevice"
    Driver "kbd"
    Identifier "Keyboard[0]"
    Option "Protocol" "Standard"
    Option "XkbLayout" "us"
    Option "XkbModel" "microsoftpro"
    Option "XkbRules" "xfree86"
    EndSection


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

    ----------------------------------------------------

    Section "ServerLayout"
    Identifier "Layout[all]"
    InputDevice "Keyboard[0]" "CoreKeyboard"
    InputDevice "Mouse[1]" "CorePointer"
    Option "Clone" "off"
    Option "Xinerama" "off"
    Screen "Screen[0]"
    EndSection


    Section "DRI"
    Group "video"
    Mode 0660
    EndSection

    Section "Extensions"
    EndSection

  8. #8

    Default Re: uninstall randr

    I just had the brilliant idea of comparing the xorg.conf files of the present Suse 11.0 installation and my previous Suse 10.3. The section "Device" has the same 'screen 0' line, so that wasn't a problem there, it seems. But some other things are very different:

    Section "Modes": 10.3 has a whole bunch of modelines (about 100!), whereas 11.0 has none. For example:
    Modeline "1600x1024" 212.67 1600 1720 1896 2192 1024 1025 1028 1078

    Section "Monitor": first, 11.0 has a line that 10.3 hasn't:
    Option "PreferredMode" "1900x1200"
    And several differences in other lines (first 10.3, then 11.0 added between brackets for quick reference):
    DisplaySize 452 283 (305 230)
    HorizSync 29-121 (30-121)
    VertRefresh 48-160 (50-160)

    Btw, did you mean uninstall sax with yast and then reinstall it? Can I safely do that, without ending up in text mode (which I'm not too familiar with)?

  9. #9
    Join Date
    Jun 2008
    Location
    Skogås Sweden
    Posts
    638

    Default Re: uninstall randr

    No reinstalling sax wouldn't make a difference. What you might try is to
    simply copy the xorg.conf file from 10.3 to 11.0 and see what happens. Just
    make a backup copy of your current 11.0 xorg.conf first. And remember
    that running sax after this will take you back to your old xorg.conf.

  10. #10

    Default Re: uninstall randr

    Just had another brilliant idea. I copied the setup of the 10.3 xorg.conf (of course I made a backup first):
    - Monitor section: completely copied the 10.3 version
    - Modes section: added the abovementioned modeline
    - Screen section: moved all the 1600x1024's to the front of the lines.

    The result is better, but not quite good yet and a little weird. I have what appears to be a 'virtual monitor', or what is that called? I've seen this before. Parts of the 'screen-image' are hidden at the bottom or top, beyond the size of the physical screen. By moving the mouse pointer up or down I can make those visible. That's about 90 pixels too much, so about 9% of the height. A 500 x 500 square is 14.5 x 15 cm, so also too high, except that that is about 4% too high. Hmmm.

    DisplaySize 452 283 is the right ratio (16:10), so that's not it.

    Krandrtray still shows 1600x1200 (except at 90Hz in stead of the previous 85Hz). So I tried changing that to 1600x1024 again. Which it accepted instantly (at first I thought nothing had happened). So ....

    SOLVED !!

    Well, not really, I suppose. This feels more like a workaround. And I suppose I should never run Sax again, because that would overwrite xorg.conf. But I'm happy for now.

Page 1 of 2 12 LastLast

Posting Permissions

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