Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
disable underscan by default
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
selberbauer
Apprentice
Apprentice


Joined: 20 Dec 2010
Posts: 276

PostPosted: Sat Feb 05, 2011 5:55 pm    Post subject: disable underscan by default Reply with quote

Hi, i got an ATI Graphic card connected to a Monitor over a HDMI <-> DVI Cable

Because of the intelligent ATI driver i get after every boot a small picture with a large border around.

The solution is to type in "xrandr --output DVI-0 --set underscan off" this solves the problem but it sucks to type it every time in the console after reboot

Now i want to disable underscan by default.
How do i do this?

1.) should i write a script and add this script to runlevel default via rc-update?
(if yes how do i do this?)

2.) Put the xrandr command in a xorg config
(In which xorg config?)

Best Regards
Back to top
View user's profile Send private message
PraetorZero
Apprentice
Apprentice


Joined: 11 Dec 2004
Posts: 239
Location: /home

PostPosted: Sat Feb 05, 2011 7:34 pm    Post subject: Reply with quote

I've been meaning to look into this for my own setup.

This is where it was changed. You could try patching the kernel driver and see if that restores the original functionality.
_________________
What's the worst that can happen?
Back to top
View user's profile Send private message
selberbauer
Apprentice
Apprentice


Joined: 20 Dec 2010
Posts: 276

PostPosted: Sat Feb 05, 2011 8:00 pm    Post subject: Reply with quote

seems this is it.
A dump question how do i start the patch?
(copied already in a file but then?)

Cheers
Back to top
View user's profile Send private message
pingufunkybeat
l33t
l33t


Joined: 01 Dec 2004
Posts: 610

PostPosted: Sun Feb 06, 2011 12:04 am    Post subject: Reply with quote

If you use KDE, you can put the xrandr call in /usr/share/config/kdm/Xsetup.

Must be something equivalent for other environments.
Back to top
View user's profile Send private message
selberbauer
Apprentice
Apprentice


Joined: 20 Dec 2010
Posts: 276

PostPosted: Sun Feb 06, 2011 11:02 am    Post subject: Reply with quote

Hm i have and i whould like to have it more in the basic than in the desktop environment

The link from praetorzero has the write thing i look for i just dont know what i should do with the code

Cheers
Back to top
View user's profile Send private message
PraetorZero
Apprentice
Apprentice


Joined: 11 Dec 2004
Posts: 239
Location: /home

PostPosted: Sun Feb 06, 2011 5:07 pm    Post subject: Reply with quote

Now that I'm actually at home and remember that I wanted to look into this (I've spaced it off for a while now), I've found some good news.

This should be reverted sometime soon-ish upstream.

http://www.mail-archive.com/dri-devel@lists.freedesktop.org/msg06695.html
_________________
What's the worst that can happen?
Back to top
View user's profile Send private message
selberbauer
Apprentice
Apprentice


Joined: 20 Dec 2010
Posts: 276

PostPosted: Mon Feb 07, 2011 7:42 pm    Post subject: Reply with quote

hmm..

I got the code but i dont know which programming language it is ( i just no that its not BASH, PYTHON, HTML, JAVA...) so how do i install the patch?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum