LinHES Forums
http://forum.linhes.org/

R6 LinHes video settings vs. nvidia-settings
http://forum.linhes.org/viewtopic.php?f=11&t=19902
Page 1 of 1

Author:  Das Hammer [ Wed May 27, 2009 8:51 am ]
Post subject:  R6 LinHes video settings vs. nvidia-settings

I'm a bit confused as to what I'm *supposed* to be doing.

I know I'm using the nvidia driver because the xorg.conf says so. Also, the nvidia-settings utility will run. It has been my prior experience that it will not run if you are not using the nvidia proprietary driver.

However, the LinHES settings also has a video section, but I don't have the nvidia driver specified there. I went to set it, but could not find an option for 1080p.

So, I'm running 1920x1080 @ 60Hz based on what the nvidia-settings utility says....so what does the LinHES video settings do?

I'm experiencing the "ridiculously slow guide during live tv" problem which didn't occur for me in R5.5. :evil:
Additionally, "X" is taking up a lot of CPU (about 80% when starting live TV, it eventually mellows out after).

Wondering if this is all related. :?:

Author:  nharris [ Wed May 27, 2009 12:53 pm ]
Post subject: 

I would recommend posting your xorg.conf and your video card model.

Author:  Das Hammer [ Wed May 27, 2009 5:44 pm ]
Post subject: 

nharris, thanks for the reply.

I'm using an nvidia 7600GS PCI-E.

Below is the xorg.conf file which shows it is using the "nvidia" driver.
I added the Option for UseEvents myself. That did help out a bit, but the unresponsive guide is still there....less so now though.

Code:
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 1.0  (buildmeister@builder3)  Tue Aug  1 21:11:12 PDT 2006
Section "ServerFlags"
        Option "AutoAddDevices" "False"
EndSection

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

Section "Files"
#    RgbPath         "/usr/X11R6/lib/X11/rgb"
EndSection

Section "Module"
    Load           "dbe"
    Load           "extmod"
    Load           "type1"
    Load           "freetype"
    Load           "glx"
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         "keyboard"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Unknown"
#    HorizSync       
#    VertRefresh   
    Option         "DPMS" "false"
#    DisplaySize  203 153
#INSERT MODELINE
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    Option "DPI" "100 x 100"
    Option "NoLogo" "1"   
   
#INSERT HERE

#END OPTIONS

#    Option "ConnectedMonitor" "DFP"
#    Option "FlatPanelProperties" "Scaling = centered, Dithering = enabled"
#    Option "DigitalVibrance" "0"
#    Option "TransparentIndex" "0"
#    Option  "CursorShadowAlpha" "64"
#    Option  "CursorShadowXOffset"  "4"
#    Option  "UseEdidFreqs" "True"
#    Option  "NvAGP" "1"
Option "UseEvents" "True"



EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Author:  Das Hammer [ Wed May 27, 2009 6:06 pm ]
Post subject: 

There is a correlation between the slowdown in the guide and X.
X just goes nuts (using 98% out of 200%). I'm suspecting something in the xorg.conf

Author:  tjc [ Thu May 28, 2009 11:50 pm ]
Post subject: 

I just pointed someone else to my post here: http://knoppmyth.net/phpBB2/viewtopic.php?t=19668

I saw some similar issues while switching over and had to make some tweaks to correct them.

Author:  Das Hammer [ Mon Jun 01, 2009 7:05 pm ]
Post subject: 

I'm not getting anywhere with this. No matter what I try, "X" will eventually go crazy and hit 100% CPU usage just watching live TV. Sometimes it is immediately after starting Live Tv, sometimes it takes 15 seconds or so.

I've tried setting the option for "RenderAccel" to "Off". I've tried using the nvidia-settings to modify the xorg.conf for me by setting the resolution to 1920x1080 and the refresh to 60Hz (native for my display). Same results. Tried turning the "Sync to Vblank" off, nothing.

tjc, I read your linked post above, and commented out the two sync lines you mentioned, nothing, same results.

The system itself is more than adequate. A dual core X2 Athlon running at over 2.8GHz. 4GB of RAM, nvidia 8400GS, Hardware RAID5, etc.

FWIW, I have the same problem with Mythbuntu, so it is something with my system and the config.

Author:  tjc [ Mon Jun 01, 2009 9:07 pm ]
Post subject: 

Well there's more to it than the sync stuff. I've seen the same behavior and you really need to do all the parts of the fix to cure it.

- Did you disable the composite extension as shown?

- Did you set XvmcUsesTextures to false?

- Did you add back the DRI section?

- Did you set NVAGP to 1?

- Did you enable XvMC?

I just posted my (previous) xorg.conf which shows all these things here: http://knoppmyth.net/phpBB2/viewtopic.php?t=19323

I may have also made a couple tweaks to the settings (e.g. UseOpenGLVSync in the settings table is 0).

Author:  Das Hammer [ Mon Jun 01, 2009 9:39 pm ]
Post subject: 

tjc wrote:
Well there's more to it than the sync stuff. I've seen the same behavior and you really need to do all the parts of the fix to cure it.

- Did you disable the composite extension as shown?

Yes.

Quote:
- Did you set XvmcUsesTextures to false?

Yes

Quote:
- Did you add back the DRI section?

Yes

Quote:
- Did you set NVAGP to 1?

No. My card is a PCI-E, and I wasn't sure about that one.

Quote:
- Did you enable XvMC?

Yes. I made it the only option.

After setting the above, the X server would not start. It just stayed there on tty1.

Quote:
I just posted my (previous) xorg.conf which shows all these things here: http://knoppmyth.net/phpBB2/viewtopic.php?t=19323

I may have also made a couple tweaks to the settings (e.g. UseOpenGLVSync in the settings table is 0).


I'm looking at that now. In order to appease those who will be watching Live TV tomorrow (wife) I put R5.5 back in. Guess what? Same trouble. Xorg goes to 100%. The guide slowdown is not as noticeable. Will try again another day.

Author:  tjc [ Mon Jun 01, 2009 10:21 pm ]
Post subject: 

The xorg.conf you posted doesn't have a number of those things in it, at least not where you'd expect to see them.

For example, you seem to be missing some things from your modules section (dri, and the exclusion for xfree86-dga which avoids some known problems). I also don't see the XvmcUsesTextures option in your video card device section, and the DPI setting is in the wrong place (it should be under the monitor section rather than the card section).

What does this show?
Code:
mythconverg -e 'select * from settings' | egrep -i 'sync|xvmc'

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/