9.04 UNR xorg.conf strangely empty/ slow video playback

Discussion in 'Linux' started by DavidJames, May 3, 2009.

  1. DavidJames

    DavidJames

    Joined:
    May 3, 2009
    Messages:
    1
    Likes Received:
    0
    Hello everyone,

    I'm having some problems with video playback with 9.04 UNR - it's quite jerky, and I found some links that give advice on how to deal with this:

    https://help.ubuntu.com/community/AA1/Using

    It says to tweak xorg.conf, however when I open the file it is completely empty and an 'ls -l' proves it to be 0kb. So, I'm a bit stumped as to

    - Why nothing is there
    - What should be there

    I have the 110-ab model (16Gb SSD) and I was using sudo to run the editor. I wondered, could someone with the same model and UNR 9.04 release post their xorg.conf? That is, if you don't have a ghost one too.. ;)
     
    DavidJames, May 3, 2009
    #1
  2. DavidJames

    adjektiivi

    Joined:
    Mar 22, 2009
    Messages:
    43
    Likes Received:
    0
    Location:
    Finland
    empty? how you open it?
    try
    Code:
    sudo gedit /etc/X11/xorg.conf
     
    adjektiivi, May 3, 2009
    #2
  3. DavidJames

    markh

    Joined:
    Oct 6, 2008
    Messages:
    299
    Likes Received:
    0
    Code:
    # xorg.conf (X.Org 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 xorg.conf manual page.
    # (Type "man 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.
    #
    # Note that some configuration settings that could be done previously
    # in this file, now are automatically configured by the server and settings
    # here are ignored.
    #
    # 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 "Monitor"
    	Identifier	"Configured Monitor"
    EndSection
    
    Section "Screen"
    	Identifier	"Default Screen"
    	Monitor		"Configured Monitor"
    	Device		"Configured Video Device"
    	SubSection "Display"
    		Virtual	2048 768
    	EndSubSection
    EndSection
    
    Section "Device"
    	Identifier	"Configured Video Device"
    EndSection
     
    markh, May 3, 2009
    #3
  4. DavidJames

    madeyemoody

    Joined:
    Aug 21, 2008
    Messages:
    18
    Likes Received:
    0
    If you add the options below to your xorg.conf video (youtube etc) will be ok also for fullscreen. CPU is still a bit high, but to improve things you will need the more recent kernels.
    Code:
    Section "Device"
    	Identifier	"Configured Video Device"
    	Option		"EXAOptimizeMigration"		"true"
    	Option		"MigrationHeuristic"		"greedy"
    EndSection
    
     
    madeyemoody, May 3, 2009
    #4
  5. DavidJames

    markh

    Joined:
    Oct 6, 2008
    Messages:
    299
    Likes Received:
    0
    Can't say I noticed an obvious jump in performance there. What does that actually do?
     
    markh, May 3, 2009
    #5
  6. DavidJames

    madeyemoody

    Joined:
    Aug 21, 2008
    Messages:
    18
    Likes Received:
    0
    Honestly, I dont know the details of these options. You may check the corresponding threads in the ubuntu forums to learn more. Nevertheless these settings made a big difference for me. WIthout them, video in full screen was more like a slideshow :oops: . Now video playback is good. Also average cpu load doing non video things seems to be lower.
     
    madeyemoody, May 3, 2009
    #6
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.