Kodi Community Forum
Which version of Ubuntu to use for XBMC HTPC ? - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: Linux (https://forum.kodi.tv/forumdisplay.php?fid=52)
+---- Thread: Which version of Ubuntu to use for XBMC HTPC ? (/showthread.php?tid=151422)

Pages: 1 2 3 4 5 6


RE: Which version of Ubuntu to use for XBMC HTPC ? - wsnipex - 2013-04-22

good idea Wink


RE: Which version of Ubuntu to use for XBMC HTPC ? - cw-kid - 2013-04-22

I can't run aticonfig --initial in Putty it says X server is active.

I then on the HTPC went in to the Grub Menu - Advanced - Recovery Option - Root shell prompt etc and tried running the aticonfig --initial command directly on the HTPC.

On there it says:

aticonfig: writing to /etc/x11/xorg.conf failed Read-only file system.

I then tried putting sudo in front of the command and it says the same thing, read-only file sytem.

So not sure how to run this command, any ideas?

Many thanks


RE: Which version of Ubuntu to use for XBMC HTPC ? - cw-kid - 2013-04-22

This worked I now have a xorg.conf file

Code:
export DISPLAY=:0
xhost +
aticonfig --initial

I then ran

Code:
xbmc@xbmc03:~$ sudo aticonfig --set-pcs-val=MCIL,DigitalHDTVDefaultUnderscan,0
Set key MCIL,DigitalHDTVDefaultUnderscan

And rebooted but black borders are still showing.

xorg.conf file contains

Code:
Section "ServerLayout"
    Identifier     "aticonfig Layout"
    Screen      0  "aticonfig-Screen[0]-0" 0 0
EndSection

Section "Module"
EndSection

Section "Monitor"
    Identifier   "aticonfig-Monitor[0]-0"
    Option        "VendorName" "ATI Proprietary Driver"
    Option        "ModelName" "Generic Autodetecting Monitor"
    Option        "DPMS" "true"
EndSection

Section "Device"
    Identifier  "aticonfig-Device[0]-0"
    Driver      "fglrx"
    BusID       "PCI:1:5:0"
EndSection

Section "Screen"
    Identifier "aticonfig-Screen[0]-0"
    Device     "aticonfig-Device[0]-0"
    Monitor    "aticonfig-Monitor[0]-0"
    DefaultDepth     24
    SubSection "Display"
        Viewport   0 0
        Depth     24
    EndSubSection
EndSection



RE: Which version of Ubuntu to use for XBMC HTPC ? - cw-kid - 2013-04-22

Changing the HDTV Picture settings from Just Scan to 16:9 has made the black borders all the way around the XBMC UI smaller but they are still there. Changing the HDTV to Cinema1 Zoom setting and XBMC has now filled the screen but I was hoping the Underscan setting would fix it.

I need to take this HTPC upstairs now and connect it to the HDTV in the bedroom where this machine will live, see what it looks like on there?


RE: Which version of Ubuntu to use for XBMC HTPC ? - fritsch - 2013-04-22

Run the above aticonfig command without _any_ X running, it won't be saved otherwise. Just Scan is the correct mode, when you succsfully issued the command.


RE: Which version of Ubuntu to use for XBMC HTPC ? - un1versal - 2013-04-23

(2013-01-11, 13:12)wsnipex Wrote:
Code:
sudo service lightdm stop
sudo xbmc stop
sudo killall X
sudo amdconfig --set-pcs-val=MCIL,DigitalHDTVDefaultUnderscan,0
sudo reboot

the first 3 lines are to make sure X is stopped before the amdconfig command is run. if you still see any GUI or Xbmc running after them, something went wrong.

@ cw-kid

the solution has already been given to you, X cannot be running when you want to execute those commands, otherwise they do not get saved.

uNi


RE: Which version of Ubuntu to use for XBMC HTPC ? - cw-kid - 2013-04-23

(2013-04-23, 10:59)uNiversal Wrote:
(2013-01-11, 13:12)wsnipex Wrote:
Code:
sudo service lightdm stop
sudo xbmc stop
sudo killall X
sudo amdconfig --set-pcs-val=MCIL,DigitalHDTVDefaultUnderscan,0
sudo reboot

the first 3 lines are to make sure X is stopped before the amdconfig command is run. if you still see any GUI or Xbmc running after them, something went wrong.

@ cw-kid

the solution has already been given to you, X cannot be running when you want to execute those commands, otherwise they do not get saved.

uNi

Hi

Already tried that, when I run killall X it says no process found, I then run the command for the Underscan,0 and it appears to work? with no error but then when I reboot the black borders still remain.

Thanks

This is from Putty, I tried it from the local shell prompt as well, via the Grub Menu - Advanced options - Recovery Mode - Root Shell prompt

Code:
xbmc@xbmc03:~$ sudo service lightdm stop
lightdm: unrecognized service
xbmc@xbmc03:~$ sudo xbmc stop
Error: unable to open display
XBMC needs hardware accelerated OpenGL rendering.
Install an appropriate graphics driver.

Please consult XBMC Wiki for supported hardware
http://wiki.xbmc.org/?title=Supported_hardware
xbmc@xbmc03:~$ sudo killall X
X: no process found
xbmc@xbmc03:~$ sudo amdconfig --set-pcs-val=MCIL,DigitalHDTVDefaultUnderscan,0
Set key MCIL,DigitalHDTVDefaultUnderscan
xbmc@xbmc03:~$



RE: Which version of Ubuntu to use for XBMC HTPC ? - un1versal - 2013-04-23

Listen, you need to kill X, so the commands get saved (otherwise you will keep going round and round), the commands given are examples, however X must be killed prior and during command execution, whatever you need to do to make that happen is now down to only you.

Recovery mode? why? why? why? why?

uNi


RE: Which version of Ubuntu to use for XBMC HTPC ? - cw-kid - 2013-04-23

(2013-04-23, 11:50)uNiversal Wrote: Listen, you need to kill X, so the commands get saved (otherwise you will keep going round and round), the commands given are examples, however X must be killed prior and during command execution, whatever you need to do to make that happen is now down to only you.

Recovery mode? why? why? why? why?

uNi

OK will look in to how I kill X.

I wasn't sure how to get in to the terminal directly on the HTPC. Recovery mode seemed like a way to do it.

I normally just Putty in to the box from my Windows laptop.


RE: Which version of Ubuntu to use for XBMC HTPC ? - un1versal - 2013-04-23

To get into terminal. CTRL+ALT+F1 or F2 or F3 and F7=return to XBMC.

Unless you need to recover your installation, dont use recovery mode for other purposes.

Kill X via shortcuts alt gr + print screen + k

uNi


RE: Which version of Ubuntu to use for XBMC HTPC ? - cw-kid - 2013-04-23

(2013-04-23, 12:12)uNiversal Wrote: To get into terminal. CTRL+ALT+F1 or F2 or F3 and F7=return to XBMC.

Unless you need to recover your installation, dont use recovery mode for other purposes.

uNi

OK got it, don't use recovery mode!

Many thanks..


RE: Which version of Ubuntu to use for XBMC HTPC ? - un1versal - 2013-04-23

My last post has a easter egg, refresh and view.


RE: Which version of Ubuntu to use for XBMC HTPC ? - cw-kid - 2013-04-23

(2013-04-23, 12:26)uNiversal Wrote: My last post has a easter egg, refresh and view.

Oh great! will give a try in a bit, bacon sandwich calling me first.


RE: Which version of Ubuntu to use for XBMC HTPC ? - cw-kid - 2013-04-23

(2013-04-23, 12:12)uNiversal Wrote: Kill X via shortcuts alt gr + print screen + k

uNi

Ok Ctrl+Alt+F2 gets me in to terminal logged in Ok etc.

Alt Gr+Print screen+k it says:

[227.000312] SysRq : This sysrq operation is disabled.

Is that expected?

I then ran Underscan,0 command but still have black borders.

Thanks


RE: Which version of Ubuntu to use for XBMC HTPC ? - un1versal - 2013-04-23

Well it was worth a shot.

Code:
sudo stop xbmc
sudo pkill X
whatevcer the command was here.

uNi