Announcement

Collapse
No announcement yet.

Extact resolution at startup

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    #16
    Re: Extact resolution at startup

    Ok. Thanks for the HowTo.
    I followed the instructions inside and have installed the openchrome driver.
    In xorg.conf I've changed driver from "vesa" to "openchrome".
    It works! I had 1024x768 @ 85 Hz (before I can't set a refresh higher than 60 Hz).

    But there are other problems.
    I'm writing from Windows, because, after a reboot, I can't access in Kubuntu.
    When Kubuntu starts I give my password, but it freezes and show me the log in window again.
    I'm sure that the driver works because on the log in I see that refersh is on 85 Hz, but there will be some mistakes in the options in xorg.conf which causes the freeze.

    I've also tried to change xorg.conf to the following:
    Code:
    Section "Device"
      Identifier  "Configured Video Device"
      Driver    "openchrome"
    # Option    "AccelMethod" "exa"  #under development, enable to test only
      Option    "ExaScratchSize" "8192"
      Option    "MaxDRIMem" "16384"
      Option    "MigrationHeuristic" "greedy"
    # Option    "EnableAGPDMA" "false" #enable if you get arifacts or redraw problems
    # Option    "XaaNoImageWriteRect" #enable if you gat a freeze on boot or login
    EndSection
    
    Section "Monitor"
      Identifier  "Configured Monitor"
    EndSection
    
    Section "Extensions"
      Option    "Composite" "Enable"
    EndSection
    
    Section "Screen"
      Identifier  "Default Screen"
      Monitor   "Configured Monitor"
      Device    "Configured Video Device"
      SubSection "Display"
       Viewport  0 0
       Depth   16
       Modes   "1024x768"
      EndSubSection
    EndSection
    But it's the same.
    I've tried also to enable Option "XaaNoImageWriteRect" #enable if you gat a freeze on boot or login, but it's the same again.
    How can I fix this problem?
    I'm an Italian user, sorry if my English is bad...

    Comment


      #17
      Re: Extact resolution at startup

      does CRTL-ALT-F1 still work?

      If it does, log in and do

      sudo service kdm restart

      then do CRTL-ALT-F1 again and see if there are any error messages.

      Please Read Me

      Comment


        #18
        Re: Extact resolution at startup

        Originally posted by oshunluvr
        does CRTL-ALT-F1 still work?
        Yes, it does.

        Originally posted by oshunluvr
        If it does, log in and do
        sudo service kdm restart
        then do CRTL-ALT-F1 again and see if there are any error messages.
        No errors. Only "kdm start/running, process 1500".

        But the image was strange. Near to mouse cursor, there were some black rectangles...
        Something is going wrong with the driver or the options in xorg.

        Have you any idea?
        I'm an Italian user, sorry if my English is bad...

        Comment


          #19
          Re: Extact resolution at startup

          Those black rectangles are usually called "artifacts" - do some web searching on your exact model/chipset of video card along with "xorg.conf" and you should find some Options that may help.

          As far as your logging in issue, next things to check are:

          CRTL-ALT-F1

          Read your log file /var/log/Xorg.0.log. It is quite large so use the "more" function like this:

          cat/var/log/Xorg.0.log |more

          This will allow you to read the file one page at a time. You are looking for lines that begin with (WW) which are Warnings and usually not fatal and (EE) which are errors and usually are fatal.

          Once you've read the file and noted warnings/errors do these commands"

          sudo service kdm stop
          X


          and report what happens. If it still crashes - add this section to your /etc/X11/xorg.conf file
          Code:
          Section "ServerFlags"
          Option "AIGLX" "off"
          EndSection

          Please Read Me

          Comment


            #20
            Re: Extact resolution at startup

            Originally posted by oshunluvr
            Those black rectangles are usually called "artifacts" - do some web searching on your exact model/chipset of video card along with "xorg.conf" and you should find some Options that may help.
            Ok, I'll do this when I've time.

            Originally posted by oshunluvr
            As far as your logging in issue, next things to check are:

            CRTL-ALT-F1

            Read your log file /var/log/Xorg.0.log. It is quite large so use the "more" function like this:

            cat/var/log/Xorg.0.log |more

            This will allow you to read the file one page at a time. You are looking for lines that begin with (WW) which are Warnings and usually not fatal and (EE) which are errors and usually are fatal.
            I've found only one warning:
            (WW) CHROME(0): option "migrationheuristic" is not used

            Originally posted by oshunluvr
            Once you've read the file and noted warnings/errors do these commands"

            sudo service kdm stop
            X


            and report what happens.
            After giving X, I leave text mode and the screen remains black. I've to enter CTRL+ALT+F1 to come back in text mode.
            At this time I can see the following warnings:
            Code:
            The XKEYBOARD keymap compiler (xkbcomp) reports
            >Warning  Type "one level" has 1 level, but <RALT> has 2 symbols
            >     Ignoring extra symbols
            
            Errors from xkbcomp are not fatal to x server:
            via_video.x : viasavevideo:
            Originally posted by oshunluvr
            If it still crashes - add this section to your /etc/X11/xorg.conf file
            Code:
            Section "ServerFlags"
            Option "AIGLX" "off"
            EndSection
            Done, but it's the same.
            I&#39;m an Italian user, sorry if my English is bad...

            Comment


              #21
              Re: Extact resolution at startup

              what's in the file ~/.xsession-errors

              Please Read Me

              Comment


                #22
                Re: Extact resolution at startup

                Sorry but I can't find the file you've asked.

                However, I'm going to be crazy with this problem.
                I've changed the xorg.conf with vesa configuration and it still doesn't work!

                Code:
                Section "Device"
                  Identifier  "Configured Video Device"
                  Driver    "vesa"
                EndSection
                
                Section "Monitor"
                  Identifier  "Configured Monitor"
                EndSection
                
                Section "Screen"
                  Identifier  "Default Screen"
                  Monitor   "Configured Monitor"
                  Device   "Configured Video Device"
                EndSection
                The difference is that with vesa it shows me resolution of 1024x768@60Hz now (1280x1024@60Hz before). But after login it still freezes and shows me log in window again.

                I don't know what to do...I can't use kubuntu anymore!
                I&#39;m an Italian user, sorry if my English is bad...

                Comment

                Working...
                X