<div dir="ltr">Hi all,<div><br></div><div>Thanks for the input!! It seems I have the GRUB question answered, and you seem to be saying that it might not be to to with the xorg.conf file, which seems to make sense given what you said, so I'd like to see if we can figure out what's actually going on before I go addressing why I can't create xorg.conf as that may not be the solution.</div><div><br></div><div>So, additional info:</div><div><br></div><div>The desktop environment is Cinnamon</div><div>There is indeed a display settings dialog box which does change the settings (but sometimes causes a freeze) but the settings are not preserved, which is the only reason I looked into xrandr in the first place.</div><div>The screen resolutions I am trying to hit are either 1280x720 or 1360x768, which are both listed in xrandr</div><div><span style="font-size:12.8px">The lspci output is here: <a href="http://pastebin.com/zdSDfPt6">http://pastebin.com/zdSDfPt6</a> though I suspect the line you're after is:</span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">00:02.0 VGA compatible controller: Intel Corporation Broadwell-U Integrated Graphics (rev 09)</span><br></div><div><span style="font-size:12.8px"><br></span></div><div>The contents of<span style="font-size:12.8px"> </span><span style="font-size:12.8px">/var/log/Xorg.0.log</span><span style="font-size:12.8px"> are here: <a href="http://pastebin.com/uAgNNAxz">http://pastebin.com/uAgNNAxz</a> - but a lot of the log is from me calling xrandr way after boot (I presume). </span></div><div><span style="font-size:12.8px">On line 181 it says "....switch to mode 1920x1080@60.0..." still as part of boot (I presume) but I don't know why it picks that. </span></div><div><span style="font-size:12.8px">Other than that, I'm not sure what I'm looking for.</span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">Regards,</span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">Andrew.</span></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Nov 11, 2016 at 8:32 PM, Edinburgh Linux Users Group <span dir="ltr"><<a href="mailto:edlug@lists.edlug.org.uk" target="_blank">edlug@lists.edlug.org.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 2016.11.10 23:03, Edinburgh Linux Users Group wrote:<br>
<br>
Andrew,<br>
<br>
I'm a Gentoo guy, not Mint but since help seems thin on the ground,<br>
some of this may be useful.<br>
<span class=""><br>
> Hi,<br>
><br>
> I'm running Linux Mint 18 Cinnamon on a Dell laptop, and have trouble<br>
> with<br>
> my (intel) graphics card. I want my screen resolution to be different<br>
> to<br>
> the default, but any changes I make (with xrandr for example) get<br>
> reset<br>
> after a restart or even a screen lock.<br>
<br>
</span>This indicates that its probably not an xorg.conf issue. xorg.conf<br>
is read once when Xorg starts.  These days most users have<br>
xorg.conf file fragments in xorg.conf.d if they do anything at all<br>
to the defaults.<br>
<br>
What desktop are you using?<br>
Both GNOME and KDE provide screen resolution settings controls.<br>
I'm an Xfce4 user, so all I can suggest is that its buried in a<br>
settings menu somewhere.<br>
<span class=""><br>
><br>
> So I made a script to set the resolution I want using xrandr and run<br>
> it on<br>
> startup, but have to run it again after a screen lock.<br>
><br>
> Also, sometimes the screen is split into 4 after I unlock (like a<br>
> partially<br>
> zoomed out view of 4 desktops) and everything is unresponsive and I<br>
> have to<br>
> reboot with the power button, which has caused me to lose work.<br>
> Fiddling about with the screen resolution or plugging into external<br>
> outputs<br>
> can also cause the thing to freeze.<br>
><br>
> I filed a bug for Linux Mint, and also asked on the Mint forums, but<br>
> didn't<br>
> get very far.<br>
><br>
> Then I tried creating an xorg.conf file using X -configure in recovery<br>
> mode, but get an error:<br>
<br>
</span>I thought X -configure hand been abandoned years ago.<br>
<span class=""><br>
><br>
> "Number of created screens does not match number of detected devices."<br>
><br>
</span>Intel chip sets support multiple screens and  X -configure is very basic.<br>
It can detect that two screens are supported by your hardware so it<br>
wants you two define two.<br>
<br>
>From memory X -configure, never delivered a correct working xorg.conf,<br>
it always needed some edits to make it do what you really wanted.<br>
<span class=""><br>
> And can't seem to find my way past that, really not finding much on<br>
> google,<br>
> as it all seems to be people setting up second monitors, or who<br>
> already<br>
> have an xorg.conf file.<br>
<br>
</span>No xorg.conf is needed for a single display with automagic settings.<br>
As soon as you want something out of the ordinary, you begin to<br>
need a stub xorg.conf, just with the sections of interest.<br>
<span class=""><br>
><br>
> I also tried to set GRUB_GFXMODE in the grub, but this seems to have<br>
> no<br>
> effect (should it even?)<br>
<br>
</span>The pixel buffers used by Grub, the kernel framebuffer and the Intel<br>
Xorg drivers can all be in different regions of RAM. Its unlikely this<br>
would have any effect.<br>
<span class=""><br>
><br>
> So, what I'm wondering is.. Should I be creating an xorg.conf in the<br>
> first<br>
> place? If so, how can I do that given that I can't run X -configure?<br>
> If<br>
> not, what should I do? I can't have a system that forces me to reboot<br>
> every<br>
> 5 times I unlock the screen (gross guesstimate)<br>
<br>
</span>You will have a file called /var/log/Xorg.0.log sight of that will tell<br>
what Xorg is doing when it starts.  Put that file on a pastebin site<br>
and tell us the link.  There are lots of sites that offer this service.<br>
<a href="http://pastebin.com/" rel="noreferrer" target="_blank">http://pastebin.com/</a> is probably the oldest.<br>
Don't paste it in an email to the list as its a fairly big file.<br>
<br>
Knowing your hardware may help too. Make another pastebin<br>
with the output of lspci.<br>
<br>
What desktop do you use?<br>
<br>
What screen resolution do you want to use?<br>
<span class=""><br>
><br>
> I'm new to Linux btw. Any pointers or suggestions most welcome!<br>
><br>
> Many thanks,<br>
><br>
> Andrew<br>
><br>
<br>
</span>Being old fashioned, my Xorg still has a complete xorg.conf. Its<br>
at <a href="https://paste.pound-python.org/show/9E1LD75UAz4NhFy49LsS/" rel="noreferrer" target="_blank">https://paste.pound-python.<wbr>org/show/9E1LD75UAz4NhFy49LsS/</a><br>
<br>
You may just need a suitable<br>
Section "Screen"<br>
Mine is not it. Its full of clutter that has accumulated for a long time.<br>
<br>
<br>
------quoted attachment------<br>
<span class="">> ______________________________<wbr>_________________<br>
> EdLUG mailing list<br>
> <a href="mailto:EdLUG@lists.edlug.org.uk">EdLUG@lists.edlug.org.uk</a><br>
> <a href="https://lists.edlug.org.uk/mailman/listinfo/edlug" rel="noreferrer" target="_blank">https://lists.edlug.org.uk/<wbr>mailman/listinfo/edlug</a><br>
><br>
<br>
</span>Regards,<br>
<br>
Roy Bamford<br>
<div class="HOEnZb"><div class="h5">______________________________<wbr>_________________<br>
EdLUG mailing list<br>
<a href="mailto:EdLUG@lists.edlug.org.uk">EdLUG@lists.edlug.org.uk</a><br>
<a href="https://lists.edlug.org.uk/mailman/listinfo/edlug" rel="noreferrer" target="_blank">https://lists.edlug.org.uk/<wbr>mailman/listinfo/edlug</a><br>
</div></div></blockquote></div><br></div>