[Hardy] How to make persistent changes to xorg.conf (after reboot) in Hardy?

Asked by toobuntu on 2008-03-19

[Hardy] How to make persistent changes to xorg.conf (after reboot) re: Intel graphics driver in Hardy?

Scrolling is too slow in fully updated Hardy as of 19-Mar-2008, and xaa needs to be set in xorg.conf to set things right. Problem is, xaa is no longer used in Hardy by default, and because X is autoconfigured now, changes to xorg.conf get written over upon rebooting. Machine is a Dell Optiplex (with Dell monitor) and integrated Intel graphics cards.

Q: How can a persistent change be made to xorg.conf in Hardy? Would /usr/share/xresprobe/xorg.conf be the way to go?

$ lspci -nn | grep VGA
00:02.0 VGA compatible controller [0300]: Intel Corporation 82915G/GV/910GL Integrated Graphics Controller [8086:2582] (rev 04)

$ sudo xresprobe intel
[sudo] password for ***:
id: DELL 1905FP
res: 1280x1024 1152x864 1024x768 800x600 720x400 640x480
freq: 30-81 56-76
disptype:

Desired persistent change follows:

Section "Device"
        Identifier "Configured Video Device"
        Driver "intel"
        Option "AccelMethod" "xaa"
EndSection

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
subliminalfix (na1tr2lp-deactivatedaccount) said :
#1

hardy is unsupported as of recall try searching fact

But being new to ubuntu, I am not sure you really want to do that. Hardy may be instable for you, and once installed, you are stuck with it. 2 days ago, an upgrade was pushed to the repos, and made the pc unbootable of those who installed the package (nothing irreversible). Just to tell you that it might not be painless.

Revision history for this message
toobuntu (toobuntu) said :
#2

R.JOEL-STAFFORD: Come again? Are you sure that your response was meant to be a reply to my question, or perhaps someone else's? I have been using Ubuntu since 2005 and am now testing Hardy in order to prepare for a corporate rollout after the final release.

I am not sure: 1) whether it makes any sense, or is even possible, to be investigating /usr/share/xresprobe/xorg.conf since xresprobe is being phased out and dexconf/debconf seems to be the way of the future, 2) EXA seems to also be the way of the future for Intel cards (upstream won't support XAA), but XAA works best right now because of the slow scrolling issue (see https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-intel/+bug/175774/comments/5).

Revision history for this message
subliminalfix (na1tr2lp-deactivatedaccount) said :
#3

sorry im a noob thats all i can offer

have you tried to add beryl otr other suppositories?

peace =]

Revision history for this message
Olivier (olivier-lacroix) said :
#4

@toobuntu : That's weird : I thought X generated automatically the MISSING information of the xorg.conf file... not overwriting it with its own decision.

@R.JOEL-STAFFORD : Are you serious ? you're saying some non-sense, and I feel that you are the one needing an extra "suppository" here :-) I guess you wanted to say "repository"...

Revision history for this message
toobuntu (toobuntu) said :
#5

@Olivier: I thought so, too. But my experience in Hardy is otherwise (see quoted text below).

Separately, sudo dpkg-reconfigure -phigh xserver-xorg is non-interactive for me in Hardy, i.e. I cannot select a particular resolution, driver, refresh rate, etc. It simply informs me that it overwrote xorg.conf and saved the old one as a backup. (Oh, and lest you ask the obvious...yes, my question about persistent changes to xorg.conf presupposes that one does _not_ screw things up by running sudo dpkg-reconfigure xserver-xorg.)

See https://wiki.ubuntu.com/X/AutodetectMonitorFrequency

from which I quote:

"Migration

For Gutsy, we did not forcibly regenerate xorg.conf in order to preserve user customizations. For Hardy, though, since we're eliminating so much of the xorg.conf's contents, we'll need to make a more strident effort to either regenerate or replace the xorg.conf's.

One approach would be to include regexp's in xserver-xorg.postinst.in to detect replaceable sections of xorg.conf. This is probably the safer solution.

Another approach would be to just regenerate the xorg.conf entirely. We should do this only as a last resort."

Revision history for this message
John B. (jbuncher) said :
#6

Just to be clear, you've tried adding that info directly into the xorg.conf and then rebooting?

Revision history for this message
toobuntu (toobuntu) said :
#7

yes

Revision history for this message
subliminalfix (na1tr2lp-deactivatedaccount) said :
#8

sudo /etc/init.d/gdm stop

sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf_backup

  sudo dpkg-reconfigure xserver-xorg

sudo /etc/init.d/gdm start

does this help or am i still thinking i need an enima??

peace =]

Revision history for this message
subliminalfix (na1tr2lp-deactivatedaccount) said :
#9

sorry i dont know more after 3 weeks in ubuntu

as youve stated youre proficiency is maxing 4 years

i know that i would try to help any one as you can guess by looking up my questions and answers info

peace=]

thanks for the encouragement i am also in hardy beta now

Can you help with this problem?

Provide an answer of your own, or ask toobuntu for more information if necessary.

To post a message you must log in.