Friday, May 3, 2024
 Popular · Latest · Hot · Upcoming
3
rated 0 times [  3] [ 0]  / answers: 1 / hits: 10777  / 2 Years ago, fri, february 4, 2022, 6:04:07

I am using Ubuntu 12.04 (precise) Kernel : 3.5.0-18-generic


I am encountering a strange problem, my whole desktop has shifted to right. This happened after I restored my system, I was getting a blank screen earlier.(something is better than nothing).


For some reason it also shows my display as laptop.enter image description here


Running xrandr



xrandr: Failed to get size of gamma for
output default Screen 0: minimum 640 x 480, current 1024 x 768,
maximum 1024 x 768 default connected 1024x768+0+0 0mm x 0mm

1024x768 0.0* 800x600 0.0 640x480 0.0



Running lspci



lspci -nn | grep VGA


00:02.0 VGA compatible controller [0300]: Intel Corporation 2nd
Generation Core Processor Family Integrated Graphics Controller
[8086:0102] (rev 09)
My Display on window supports maximum of 1366*768.
I do not want to reinstall everything please help.



It is cycled around as mentioned by Eliah Kagan
For correcting my blank screen issue I edited my grub file I edited this line and added nomodeset, without it screen gets all grained up.



GRUB_CMDLINE_LINUX_DEFAULT="quiet splash nomodeset "



When I boot from live CD also I get the same shifted screen


Update 2


Tried booting from live CD with 11.04 same issue


Update 3
.xsession-errors file : http://pastebin.com/uveSgNa8


Update 4



xrandr -q | grep -w connected


xrandr: Failed to get size of gamma for output default


default connected 1024x768+0+0 0mm x 0mm



More From » resolution

 Answers
7

The problem is resolved I was searching for why I was getting




Failed to get size of gamma for output default Screen




on running xrandr. I came across this post



http://ubuntuforums.org/showthread.php?t=1594308&page=2#16



and followed the steps mentioned there




The correct solution would be to set up an xorg.conf file with your
resolution;could be done by Xorg -configure (little pain,because it
includes the whole bunch of possible configuration options);so it
might be worth to try an existing xorg.conf file from the web. Found
this xorg.conf e.g. :




This was an interesting issue My desktop is normal now thanks to all who helped out.


[#29919] Sunday, February 6, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
allally

Total Points: 487
Total Questions: 106
Total Answers: 110

Location: Laos
Member since Sun, Jul 3, 2022
2 Years ago
;