LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   SLackware with TV (https://www.linuxquestions.org/questions/slackware-14/slackware-with-tv-604117/)

zux 12-03-2007 07:42 AM

SLackware with TV
 
I have a TV connected to my NVIDIA card. it worked well on slackware 11, but after i installed slackware 12 somthing is broken. the screen looks normal on the tv. but when i watch a movie in fullscreen it somehow streches the part of the picture to the right side of the screen and bottom, so i can't see a part (~20%) of the picture.
tried differetn versions of NVIDIA drivers but with no luck. i even changed mt video card to a newer one but still no good.
is that an xorg problem? how can i upgrade xorg if there is no other way?

dive 12-03-2007 08:44 AM

You may have to play with the resolutions for monitor and tv. I have to change both to 1024*768 or I get the problem you describe. It does mean that the monitor is not very usable while watching movies. But it was like this in every version of slack/xorg I have used as far as I can remember.

zux 12-03-2007 10:04 AM

i'm sure that it worked for me on slack 11, i have not shanged anything in xorg.conf.
gonna try changing the resolution.

zux 12-03-2007 10:15 AM

I tried to change the resulotion to 1152x864 like my monitor has, the tv doesn't support it, but it worked, only in Xorg.0.log i found that it loaded mode "nvidia-auto-select".
the problem is solved with that. i will change the xorg.conf resolution for the tv to "nvidia-auto-select". i had no idea there was such an option

zux 12-03-2007 10:55 AM

hmm actually you were right i still have the problem, only it's smaller :) didn't notice at first. but i still don't get it who is guilty for this? xorg or nvidia driver

dive 12-03-2007 10:55 AM

Usually you need change monitor resolution to match the tv, but I will try doing the opposite like you and see if it works for me. Nice find if it does :)

*Edit: We posted same time. Ok the problem is caused because the TV-out (maybe tv too) can't handle as high a resolution as a monitor. Or at least thats the way its been. But I have to say that over the years the resolution handled by the nvidia drivers has changed a bit so maybe one day soon it will be possible.

dive 12-03-2007 11:17 AM

Actually it should be up to mplayer/gxine to discover the size of display :0.1 and render the fullscreen appropriately.

Because they dont, I use a script that uses xrandr to change resolutions, play the movie, then change back.

zux 12-03-2007 11:50 AM

can you show me that script? but it still changes the resolution on my monitor? maybe it's possible to somehow make mplayer get the correct resolution?

dive 12-03-2007 12:17 PM

This is for playing DVDs but the xrandr bits are the ones you need.

Code:

xrandr -s 1024x768
mplayer -aid 128 -softvol -dr -alang en -dvd-device /dev/hdc -fs -display :0.1 -ao alsa:device=hw=1,0 dvd://1-99
xrandr -s 0

I've asked on the mplayer mailing list about this. I will let you know here if I find anything.

H_TeXMeX_H 12-03-2007 01:03 PM

Try using 'nvidia-settings' it may help configure it properly (has many autodetection features you may find useful).

dive 12-03-2007 02:22 PM

There soesn't seem to be anything in there to adjust resolution, just info. I actually stopped using twinview in favour of xinerama. It may be worth trying it out again to see if there is a difference.

H_TeXMeX_H 12-03-2007 03:06 PM

There should be "X Server Display Configuration".

dive 12-03-2007 04:21 PM

Ah yes, well there would be but I turned off dynamictwinviewinfo. Will turn it on and see...

zux 12-04-2007 01:59 AM

hmm, hinerama helped with the cut off picture problem, but now when i watch movies the sound goes faster than the picture. + some applications open on my monitor and some open on the tv.
i think i'll stick to missing 5% of the picture for now :)

H_TeXMeX_H 12-04-2007 02:46 AM

You can try to renice the process with a higher priority.

Code:

renice -20 -p pid_of_precess_you_want_to_renice


All times are GMT -5. The time now is 01:20 PM.