Re: [ubuntu-uk] native resolutions
On 2013-04-21 09:01, pete smout wrote: Thanks for the info, it raises a question where's xorg.conf these days? It no longer appears in /etc/X11. If it is not there if I were to create 1 would it be 'called' by X on start-up? If not how would I get X to read / call xorg.conf on start-up? (this is what got me thinking of a script in the first place) Yes, and yes. If it doesn't exist, X auto-detects everything. If it does, it uses what's in the file and auto-detects anything not defined there. Regards, Tyler -- Humanity is disappointing, but it's nothing personal. -- Jayme Wilmore -- ubuntu-uk@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk https://wiki.ubuntu.com/UKTeam/
Re: [ubuntu-uk] native resolutions
On 2013-04-24 09:11, pete smout wrote: Thanks to Tyler for pointing me in the right direction, SOLVED it Thanks again (and sorry for replying to you direct Tyler, my messages dont always reach ubuntu users for some reason) I'm glad I could help, Pete. Could you tell us how you solved it, for the benefit of others? Regards, Tyler -- Never attribute to malice that which can be adequately explained by stupidity. -- Hanlon's Razor -- ubuntu-uk@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk https://wiki.ubuntu.com/UKTeam/
Re: [ubuntu-uk] native resolutions
On 24/04/13 10:19, Tyler J. Wagner wrote: On 2013-04-24 09:11, pete smout wrote: Thanks to Tyler for pointing me in the right direction, SOLVED it Thanks again (and sorry for replying to you direct Tyler, my messages dont always reach ubuntu users for some reason) I'm glad I could help, Pete. Could you tell us how you solved it, for the benefit of others? Regards, Tyler Hi, Gladly.. following the link Tyler gave me http://www.tolaris.com/2009/04/14/enabling-1080p-video-on-the-shuttle-x27d-htpc/ I first using the 'gtf' command found the modelines for my desired resoultion (1366x768) (copied pasted into text doc for later ref.).Then I added my xrog.conf from my Lucid disc with the added line virtual 1366x768 as shown in the link. Then using xrandr I added newmode (xrandr --newmode Modeline) then assigned it to VGA1 the output I am using, using xrandr again (xrandr --addmode VGA1 resolutionrefresh from modeline, then I was able to switch to the correct resolution from the 'Displays' menu in the top right of the screen. I then tried to make the changes permanent and failed dismally completely screwed up and lost 'lightdm' (how I don't know but it happened), recovered this unfortunate situation from the shell (couldn't login graphically!) by sudo apt-get install gdm, set gdm as default display manager when prompted. This gave me access to my GUI and I then googled the problem with lightdm and came accross this command sudo apt-get install --reinstall fmu lightdm this sorted the login issue (back with lightdm). Then having completely had enough I decided to put the 2 lines of script in a text file (xrandr --addmode MODELINE)(xrandr --newmode resolution_refreshrate) and make this file executable via the properties menu in nautilus. You can view this at https://dl.dropboxusercontent.com/u/80216532/TVBashScript (DISCLAIMER although I posted this to help point anyone in the right direction the settings are for my system, and unlikely to work on someone elses) Now whenever I plug the laptop into the TV I have to run that script / text file (sat on my desktop) and then select the resolution via the displays menu (top right). When I am in a better frame of mind I will look at editing xorg.conf and making the changes automatic but for now I am just happy to be able to watch my favourite TV series' with no ads in them! Please note this is my experience and the lightdm issue may well have been a coincidence (I cannot see how editing xorg.conf would bork lightdm) but it was the only change made when rebooting the machine! Hope this helps someone in the future, Thanks again to Tyler for his post. Regards Pete -- ubuntu-uk@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk https://wiki.ubuntu.com/UKTeam/
Re: [ubuntu-uk] native resolutions
On 2013-04-24 10:58, pete smout wrote: Then having completely had enough I decided to put the 2 lines of script in a text file (xrandr --addmode MODELINE)(xrandr --newmode resolution_refreshrate) and make this file executable via the properties menu in nautilus. You can view this at https://dl.dropboxusercontent.com/u/80216532/TVBashScript (DISCLAIMER although I posted this to help point anyone in the right direction the settings are for my system, and unlikely to work on someone elses) Consider calling that script from ~/.xsessionrc, and you'll have it every time you login. Please note this is my experience and the lightdm issue may well have been a coincidence (I cannot see how editing xorg.conf would bork lightdm) but it was the only change made when rebooting the machine! Changes in xorg.conf are applied BEFORE lightdm starts. Changes you run with xrandr in a desktop are applied AFTER you've logged in. That's how it can bork it. But it was odd. Regards, Tyler -- Any advert in a public space that gives you no choice whether you see it or not is yours. It’s yours to take, re-arrange and re-use. You can do whatever you like with it. Asking for permission is like asking to keep a rock someone just threw at your head. You owe the companies nothing. -- Banksy on Advertising -- ubuntu-uk@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk https://wiki.ubuntu.com/UKTeam/
Re: [ubuntu-uk] native resolutions
On 24/04/13 11:02, Tyler J. Wagner wrote: On 2013-04-24 10:58, pete smout wrote: Then having completely had enough I decided to put the 2 lines of script in a text file (xrandr --addmode MODELINE)(xrandr --newmode resolution_refreshrate) and make this file executable via the properties menu in nautilus. You can view this at https://dl.dropboxusercontent.com/u/80216532/TVBashScript (DISCLAIMER although I posted this to help point anyone in the right direction the settings are for my system, and unlikely to work on someone elses) Consider calling that script from ~/.xsessionrc, and you'll have it every time you login. Thanks for the idea hadn't thought of that will try it later! Please note this is my experience and the lightdm issue may well have been a coincidence (I cannot see how editing xorg.conf would bork lightdm) but it was the only change made when rebooting the machine! Changes in xorg.conf are applied BEFORE lightdm starts. Changes you run with xrandr in a desktop are applied AFTER you've logged in. That's how it can bork it. But it was odd. Arrrgh That explains it, thanks for info will bear it in mind for future reference. Regards, Tyler Pete -- ubuntu-uk@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk https://wiki.ubuntu.com/UKTeam/
Re: [ubuntu-uk] native resolutions
On 21/04/13 00:46, Tyler J. Wagner wrote: Sounds similar to a problem I had with my TV. It's EDID incorrectly lists only one mode (1280x720 50 Hz), but it supports up to 1920x1080 at a variety of refresh rates. I verified this by dumping the EDID and checking it. I wrote up my experience here: http://www.tolaris.com/2009/04/14/enabling-1080p-video-on-the-shuttle-x27d-htpc/ However, this may not be your problem. For one, I no longer have this issue on precise or quantal. The display defaulted to 1280x720 but I was able to use the Displays application to set it to the higher resolution by selecting it from the pull-down menu. If it does apply to you, I hope the post helps. You can at least check your EDID data or force a mode in various ways. Regards, Tyler On 2013-04-20 17:34, pete smout wrote: Hi, I have been trying without success to get my ubuntu precise (upgraded from oneric) to accept the same resolution on my tv as 10.04 (Lucid) did. (I still have lucid on a spare hdd so I can check settings). The Problem: TV (when connected via VGA (Out on laptop)- VGA (PC input)on TV) On Lucid resolution was 1360 x 768 (16:9) 60hz. which worked perfectly well (with virtually zero input from me). On Precise i get 1024 x 768 (6:9) 60hz. Which means that I have an ugly 2inch gap down the left of the screen, and the bottom couple of inches below the edge of the physical screen. (I hope this makes sense) This confusing problem led me on a google-thon and I have got this far. The Output from xandr in terminal with TV connected: pete@petes-lappy:~$ xrandr Screen 0: minimum 320 x 200, current 1024 x 768, maximum 8192 x 8192 LVDS1 connected (normal left inverted right x axis y axis) 1280x800 60.0 + 1024x768 60.0 800x60060.3 56.2 640x48059.9 VGA1 connected 1024x768+0+0 (normal left inverted right x axis y axis) 0mm x 0mm 1024x768 60.0* 800x60060.3 56.2 848x48060.0 640x48059.9 TV1 disconnected (normal left inverted right x axis y axis) As you can see 1360 x 768 (or anything close is *not* an option) so I am left trying to devise a way of getting it! i have run gtf in terminal and get the following: pete@petes-lappy:~$ gtf 1360 768 60 # 1360x768 @ 60.00 Hz (GTF) hsync: 47.70 kHz; pclk: 84.72 MHz Modeline 1360x768_60.00 84.72 1360 1424 1568 1776 768 769 772 795 -HSync +Vsync Which gave me the idea of constructing a script to create the modeline (which if necessary I can run every time I plug the TV in) The script I devised: #This line adds modeline from output of gtf command # 1368x768 @ 60.00 Hz (GTF) hsync: 47.70 kHz; pclk: 85.86 MHz xrandr --VGA1 1368x768_60.00 85.86 1368 1440 1584 1800 768 769 772 795 -HSync +Vsync #This line adds the mode as it is not default xrandr --addmode VGA1 1368x768_60 #This line sets resolution on VGA1 xrandr --output VGA1 --mode 1368x768_60 Returns the following error: pete@petes-lappy:~$ /home/pete/Desktop/tv.bash Snip Hi, After more research I have stumbled across this command sudo lshw -C display; lsb_release -a; uname -a which gives me the make and model of the Graphics Card (controller). pete@petes-lappy:~$ sudo lshw -C display; lsb_release -a; uname -a [sudo] password for pete: *-display:0 description: VGA compatible controller product: Mobile GM965/GL960 Integrated Graphics Controller (primary) vendor: Intel Corporation physical id: 2 bus info: pci@:00:02.0 version: 03 width: 64 bits clock: 33MHz capabilities: msi pm vga_controller bus_master cap_list rom configuration: driver=i915 latency=0 resources: irq:45 memory:d400-d40f memory:c000-cfff ioport:5110(size=8) *-display:1 UNCLAIMED description: Display controller product: Mobile GM965/GL960 Integrated Graphics Controller (secondary) vendor: Intel Corporation physical id: 2.1 bus info: pci@:00:02.1 version: 03 width: 64 bits clock: 33MHz capabilities: pm cap_list configuration: latency=0 resources: memory:d850-d85f LSB Version: core-2.0-ia32:core-2.0-noarch:core-3.0-ia32:core-3.0-noarch:core-3.1-ia32:core-3.1-noarch:core-3.2-ia32:core-3.2-noarch:core-4.0-ia32:core-4.0-noarch Distributor ID: Ubuntu Description:Ubuntu 12.04.2 LTS Release:12.04 Codename: precise Linux petes-lappy 3.2.0-41-generic #65-Ubuntu SMP Wed Apr 10 18:23:37 UTC 2013 i686 i686 i386 GNU/Linux pete@petes-lappy:~$ I dont know if this throws any light on the problem for anyone else? It doesn't help me as I know that Lucid recognized the correct resolution and aspect ratio after booting the laptop with the TV connected ONCE and it remembered forever! So to my (admittedly ignorant) mind 12.04 *should* do the same. It cannot be the graphics card or the TV as they are the same as I was using on
Re: [ubuntu-uk] native resolutions
On 20/04/13 17:34, pete smout wrote: Hi, I have been trying without success to get my ubuntu precise (upgraded from oneric) to accept the same resolution on my tv as 10.04 (Lucid) did. (I still have lucid on a spare hdd so I can check settings). The Problem: TV (when connected via VGA (Out on laptop)- VGA (PC input)on TV) On Lucid resolution was 1360 x 768 (16:9) 60hz. which worked perfectly well (with virtually zero input from me). On Precise i get 1024 x 768 (6:9) 60hz. Which means that I have an ugly 2inch gap down the left of the screen, and the bottom couple of inches below the edge of the physical screen. (I hope this makes sense) This confusing problem led me on a google-thon and I have got this far. The Output from xandr in terminal with TV connected: pete@petes-lappy:~$ xrandr Screen 0: minimum 320 x 200, current 1024 x 768, maximum 8192 x 8192 LVDS1 connected (normal left inverted right x axis y axis) 1280x800 60.0 + 1024x768 60.0 800x60060.3 56.2 640x48059.9 VGA1 connected 1024x768+0+0 (normal left inverted right x axis y axis) 0mm x 0mm 1024x768 60.0* 800x60060.3 56.2 848x48060.0 640x48059.9 TV1 disconnected (normal left inverted right x axis y axis) As you can see 1360 x 768 (or anything close is *not* an option) so I am left trying to devise a way of getting it! i have run gtf in terminal and get the following: pete@petes-lappy:~$ gtf 1360 768 60 # 1360x768 @ 60.00 Hz (GTF) hsync: 47.70 kHz; pclk: 84.72 MHz Modeline 1360x768_60.00 84.72 1360 1424 1568 1776 768 769 772 795 -HSync +Vsync Which gave me the idea of constructing a script to create the modeline (which if necessary I can run every time I plug the TV in) The script I devised: #This line adds modeline from output of gtf command # 1368x768 @ 60.00 Hz (GTF) hsync: 47.70 kHz; pclk: 85.86 MHz xrandr --VGA1 1368x768_60.00 85.86 1368 1440 1584 1800 768 769 772 795 -HSync +Vsync #This line adds the mode as it is not default xrandr --addmode VGA1 1368x768_60 #This line sets resolution on VGA1 xrandr --output VGA1 --mode 1368x768_60 Returns the following error: pete@petes-lappy:~$ /home/pete/Desktop/tv.bash usage: xrandr [options] where options are: -display display or -d display -help -o normal,inverted,left,right,0,1,2,3 or --orientation normal,inverted,left,right,0,1,2,3 -qor --query -s size/widthxheight or --size size/widthxheight -r rate or --rate rate or --refresh rate -vor --version -x(reflect in x) -y(reflect in y) --screen screen --verbose --current --dryrun --nograb --prop or --properties --fb widthxheight --fbmm widthxheight --dpi dpi/output --output output --auto --mode mode --preferred --pos xxy --rate rate or --refresh rate --reflect normal,x,y,xy --rotate normal,inverted,left,right --left-of output --right-of output --above output --below output --same-as output --set property value --scale xxy --transform a,b,c,d,e,f,g,h,i --off --crtc crtc --panning wxh[+x+y[/track:wxh+x+y[/border:l/t/r/b]]] --gamma r:g:b --primary --noprimary --newmode name clock MHz hdisp hsync-start hsync-end htotal vdisp vsync-start vsync-end vtotal [+HSync] [-HSync] [+VSync] [-VSync] --rmmode name --addmode output name --delmode output name xrandr: cannot find mode 1360x768_60 xrandr: cannot find mode 1360x768_60 If any one can tell me where I am going wrong (or an easier way of going about it) please let me know!! Regards Pete Smout Hi, More info if it helps Laptop Acer Aspire 5720 3GB RAM TV Panasonic Viera TX-L26X10 26in LCD TV -- ubuntu-uk@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk https://wiki.ubuntu.com/UKTeam/
Re: [ubuntu-uk] native resolutions
Hi, if you have not got it, try installing arandr[1] and see if that helps you. It is a GUI for xrandr and may help you out, rather than manually editing the file. Regards, Phill. 1. http://www.ubuntugeek.com/arandr-a-simple-visual-front-end-for-xrandr.html On 20 April 2013 18:06, pete smout psmo...@live.com wrote: On 20/04/13 17:34, pete smout wrote: Hi, I have been trying without success to get my ubuntu precise (upgraded from oneric) to accept the same resolution on my tv as 10.04 (Lucid) did. (I still have lucid on a spare hdd so I can check settings). The Problem: TV (when connected via VGA (Out on laptop)- VGA (PC input)on TV) On Lucid resolution was 1360 x 768 (16:9) 60hz. which worked perfectly well (with virtually zero input from me). On Precise i get 1024 x 768 (6:9) 60hz. Which means that I have an ugly 2inch gap down the left of the screen, and the bottom couple of inches below the edge of the physical screen. (I hope this makes sense) This confusing problem led me on a google-thon and I have got this far. The Output from xandr in terminal with TV connected: pete@petes-lappy:~$ xrandr Screen 0: minimum 320 x 200, current 1024 x 768, maximum 8192 x 8192 LVDS1 connected (normal left inverted right x axis y axis) 1280x800 60.0 + 1024x768 60.0 800x60060.3 56.2 640x48059.9 VGA1 connected 1024x768+0+0 (normal left inverted right x axis y axis) 0mm x 0mm 1024x768 60.0* 800x60060.3 56.2 848x48060.0 640x48059.9 TV1 disconnected (normal left inverted right x axis y axis) As you can see 1360 x 768 (or anything close is *not* an option) so I am left trying to devise a way of getting it! i have run gtf in terminal and get the following: pete@petes-lappy:~$ gtf 1360 768 60 # 1360x768 @ 60.00 Hz (GTF) hsync: 47.70 kHz; pclk: 84.72 MHz Modeline 1360x768_60.00 84.72 1360 1424 1568 1776 768 769 772 795 -HSync +Vsync Which gave me the idea of constructing a script to create the modeline (which if necessary I can run every time I plug the TV in) The script I devised: #This line adds modeline from output of gtf command # 1368x768 @ 60.00 Hz (GTF) hsync: 47.70 kHz; pclk: 85.86 MHz xrandr --VGA1 1368x768_60.00 85.86 1368 1440 1584 1800 768 769 772 795 -HSync +Vsync #This line adds the mode as it is not default xrandr --addmode VGA1 1368x768_60 #This line sets resolution on VGA1 xrandr --output VGA1 --mode 1368x768_60 Returns the following error: pete@petes-lappy:~$ /home/pete/Desktop/tv.bash usage: xrandr [options] where options are: -display display or -d display -help -o normal,inverted,left,right,0,**1,2,3 or --orientation normal,inverted,left,right,0,**1,2,3 -qor --query -s size/widthxheight or --size size/widthxheight -r rate or --rate rate or --refresh rate -vor --version -x(reflect in x) -y(reflect in y) --screen screen --verbose --current --dryrun --nograb --prop or --properties --fb widthxheight --fbmm widthxheight --dpi dpi/output --output output --auto --mode mode --preferred --pos xxy --rate rate or --refresh rate --reflect normal,x,y,xy --rotate normal,inverted,left,right --left-of output --right-of output --above output --below output --same-as output --set property value --scale xxy --transform a,b,c,d,e,f,g,**h,i --off --crtc crtc --panning wxh[+x+y[/track:wx**h+x+y[/border:l/t/r**/b]]] --gamma r:g:b --primary --noprimary --newmode name clock MHz hdisp hsync-start hsync-end htotal vdisp vsync-start vsync-end vtotal [+HSync] [-HSync] [+VSync] [-VSync] --rmmode name --addmode output name --delmode output name xrandr: cannot find mode 1360x768_60 xrandr: cannot find mode 1360x768_60 If any one can tell me where I am going wrong (or an easier way of going about it) please let me know!! Regards Pete Smout Hi, More info if it helps Laptop Acer Aspire 5720 3GB RAM TV Panasonic Viera TX-L26X10 26in LCD TV -- ubuntu-uk@lists.ubuntu.com https://lists.ubuntu.com/**mailman/listinfo/ubuntu-ukhttps://lists.ubuntu.com/mailman/listinfo/ubuntu-uk https://wiki.ubuntu.com/**UKTeam/ -- https://wiki.ubuntu.com/UKTeam/https://wiki.ubuntu.com/phillw -- ubuntu-uk@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk https://wiki.ubuntu.com/UKTeam/
Re: [ubuntu-uk] native resolutions
Sounds similar to a problem I had with my TV. It's EDID incorrectly lists only one mode (1280x720 50 Hz), but it supports up to 1920x1080 at a variety of refresh rates. I verified this by dumping the EDID and checking it. I wrote up my experience here: http://www.tolaris.com/2009/04/14/enabling-1080p-video-on-the-shuttle-x27d-htpc/ However, this may not be your problem. For one, I no longer have this issue on precise or quantal. The display defaulted to 1280x720 but I was able to use the Displays application to set it to the higher resolution by selecting it from the pull-down menu. If it does apply to you, I hope the post helps. You can at least check your EDID data or force a mode in various ways. Regards, Tyler On 2013-04-20 17:34, pete smout wrote: Hi, I have been trying without success to get my ubuntu precise (upgraded from oneric) to accept the same resolution on my tv as 10.04 (Lucid) did. (I still have lucid on a spare hdd so I can check settings). The Problem: TV (when connected via VGA (Out on laptop)- VGA (PC input)on TV) On Lucid resolution was 1360 x 768 (16:9) 60hz. which worked perfectly well (with virtually zero input from me). On Precise i get 1024 x 768 (6:9) 60hz. Which means that I have an ugly 2inch gap down the left of the screen, and the bottom couple of inches below the edge of the physical screen. (I hope this makes sense) This confusing problem led me on a google-thon and I have got this far. The Output from xandr in terminal with TV connected: pete@petes-lappy:~$ xrandr Screen 0: minimum 320 x 200, current 1024 x 768, maximum 8192 x 8192 LVDS1 connected (normal left inverted right x axis y axis) 1280x800 60.0 + 1024x768 60.0 800x60060.3 56.2 640x48059.9 VGA1 connected 1024x768+0+0 (normal left inverted right x axis y axis) 0mm x 0mm 1024x768 60.0* 800x60060.3 56.2 848x48060.0 640x48059.9 TV1 disconnected (normal left inverted right x axis y axis) As you can see 1360 x 768 (or anything close is *not* an option) so I am left trying to devise a way of getting it! i have run gtf in terminal and get the following: pete@petes-lappy:~$ gtf 1360 768 60 # 1360x768 @ 60.00 Hz (GTF) hsync: 47.70 kHz; pclk: 84.72 MHz Modeline 1360x768_60.00 84.72 1360 1424 1568 1776 768 769 772 795 -HSync +Vsync Which gave me the idea of constructing a script to create the modeline (which if necessary I can run every time I plug the TV in) The script I devised: #This line adds modeline from output of gtf command # 1368x768 @ 60.00 Hz (GTF) hsync: 47.70 kHz; pclk: 85.86 MHz xrandr --VGA1 1368x768_60.00 85.86 1368 1440 1584 1800 768 769 772 795 -HSync +Vsync #This line adds the mode as it is not default xrandr --addmode VGA1 1368x768_60 #This line sets resolution on VGA1 xrandr --output VGA1 --mode 1368x768_60 Returns the following error: pete@petes-lappy:~$ /home/pete/Desktop/tv.bash usage: xrandr [options] where options are: -display display or -d display -help -o normal,inverted,left,right,0,1,2,3 or --orientation normal,inverted,left,right,0,1,2,3 -qor --query -s size/widthxheight or --size size/widthxheight -r rate or --rate rate or --refresh rate -vor --version -x(reflect in x) -y(reflect in y) --screen screen --verbose --current --dryrun --nograb --prop or --properties --fb widthxheight --fbmm widthxheight --dpi dpi/output --output output --auto --mode mode --preferred --pos xxy --rate rate or --refresh rate --reflect normal,x,y,xy --rotate normal,inverted,left,right --left-of output --right-of output --above output --below output --same-as output --set property value --scale xxy --transform a,b,c,d,e,f,g,h,i --off --crtc crtc --panning wxh[+x+y[/track:wxh+x+y[/border:l/t/r/b]]] --gamma r:g:b --primary --noprimary --newmode name clock MHz hdisp hsync-start hsync-end htotal vdisp vsync-start vsync-end vtotal [+HSync] [-HSync] [+VSync] [-VSync] --rmmode name --addmode output name --delmode output name xrandr: cannot find mode 1360x768_60 xrandr: cannot find mode 1360x768_60 If any one can tell me where I am going wrong (or an easier way of going about it) please let me know!! Regards Pete Smout -- When a claim is falsified in science [...], it is discarded. It is put in the trashbin of bad ideas. When a claim of religion is falsified, it becomes a metaphor. -- Jerry Coyne -- ubuntu-uk@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk