Kodi Community Forum
[LINUX] HOW-TO install XBMC for Linux on Ubuntu 8.04 (Hardy) and 8.10 (Intrepid) - 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 and Live support (https://forum.kodi.tv/forumdisplay.php?fid=52)
+---- Thread: [LINUX] HOW-TO install XBMC for Linux on Ubuntu 8.04 (Hardy) and 8.10 (Intrepid) (/showthread.php?tid=44019)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44


- SpaceMonkey - 2009-03-01

I'm not sure if i understand what the fix was at that case? He had been running XBMC as root, but now had to run it as a normal user? It's not that, i've tried running it both ways.


- olympia - 2009-03-02

danillll Wrote:So the main difference is that I had to recompile the splash and not use the one linked in the guide, which still wouldn't work

Thanks danillll! Nod
I precompiled those splash screens under Intrepid, so this is the problem then.
It seems I have to do a separate precompilation on Hardy as well.

Will do this, when I have some time.


Keyboard not working - Silvesti - 2009-03-02

I ran through the guide, which went pretty quick, however my keyboard doesn't seem to be working in XBMC. I have an RF Receiver which connects via USB. The keyboard works fine in the BIOS and seems to work until the NVIDIA Splash screen at which time it fails to respond. I've been testing it by simply turning on and off caps lock during boot. It's not until just before the NVIDIA Splash screen that it fails to recognize cap locks, as indicated by the LED Cap lock light on the RF Receiver. When it finally loads into XBMC my keyboard fails to work.

Any ideas?
Thanks!


- danillll - 2009-03-03

I need help with resume/suspend, I loaded the conf file according to the guide, I can suspend the box however when I resume it, nothing shows up on my screen, I can ssh to the box and see xbmc process running no errors and nothing suspicious, any idea how to fix this? btw, I am running HARDY.


- olympia - 2009-03-03

danillll Wrote:I need help with resume/suspend, I loaded the conf file according to the guide, I can suspend the box however when I resume it, nothing shows up on my screen, I can ssh to the box and see xbmc process running no errors and nothing suspicious, any idea how to fix this? btw, I am running HARDY.

There are various problems with suspend and especially with resume on Hardy.
I spent weeks of my life to solve these without bigger success and that's why I am not using Hardy.

However, try add:
Code:
option "NvAGP" "1"
to xorg.conf under screen section.


RE: Keyboard not working - Silvesti - 2009-03-03

Silvesti Wrote:I ran through the guide, which went pretty quick, however my keyboard doesn't seem to be working in XBMC. I have an RF Receiver which connects via USB. The keyboard works fine in the BIOS and seems to work until the NVIDIA Splash screen at which time it fails to respond. I've been testing it by simply turning on and off caps lock during boot. It's not until just before the NVIDIA Splash screen that it fails to recognize cap locks, as indicated by the LED Cap lock light on the RF Receiver. When it finally loads into XBMC my keyboard fails to work.

I believe I've found the problem in the /etc/X11/xorg.conf file that NVIDIA replaces when the NVIDIA driver is installed. The original xorg.conf has the following settings:

Code:
Section "InputDevice"
        Identifier      "Generic Keyboard"
        Driver          "kbd"
        Option          "XkbRules"      "xorg"
        Option          "XkbModel"      "pc105"
        Option          "XkbLayout"     "us"
        Option          "XkbVariant"    "intl"
        Option          "XkbOptions"    "lv3:ralt_switch"
EndSection

Section "InputDevice"
        Identifier      "Configured Mouse"
        Driver          "mouse"
        Option          "CorePointer"
EndSection


Whereas the NEW xorg.conf file that NVIDIA genertates looks like this:

Code:
Section "InputDevice"
    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection


I've tried putting the original xorg.conf keyboard and mouse code into the new NVIDIA generated xorg.conf, but the keyboard still fails to work, however I do have the mouse working now. BTW, I'm using Hardy. This is all very strange as it worked perfectly on the XBMC Live CD.

Any suggeestions?


- olympia - 2009-03-03

Silvesti Wrote:I believe I've found the problem in the /etc/X11/xorg.conf file that NVIDIA replaces when the NVIDIA driver is installed. The original xorg.conf has the following settings:

Any suggeestions?

How does your xorg.conf exactly looks now?


- Silvesti - 2009-03-03

olympia Wrote:How does your xorg.conf exactly looks now?


As of right now, here is how my xorg.conf looks. This is after I've modified the mouse and keyboard sections of the file from the original one created by NVIDIA.


Code:
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 1.0  ([email protected])  Sun Feb 22 21:02:18 PST 2009

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0"
    InputDevice    "Keyboard0"
    InputDevice    "Mouse0"
EndSection

Section "Files"
EndSection

Section "Module"
    Load           "dbe"
    Load           "extmod"
    Load           "type1"
    Load           "freetype"
    Load           "glx"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "CorePointer"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
    Option         "XkbRules"      "xorg"
    Option         "XkbModel"      "pc105"
    Option         "XkbLayout"     "us"
    Option         "XkbVariant"    "intl"
    Option         "XkbOptions"    "lv3:ralt_switch"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Unknown"
    HorizSync       28.0 - 33.0
    VertRefresh     43.0 - 72.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection



- Silvesti - 2009-03-03

Silvesti Wrote:As of right now, here is how my xorg.conf looks. This is after I've modified the mouse and keyboard sections of the file from the original one created by NVIDIA.

BTW, it looks like those edits I made are causing core dumps when rebooting.


- olympia - 2009-03-03

Silvesti Wrote:BTW, it looks like those edits I made are causing core dumps when rebooting.

Did you tried the one included in the guide?


- Silvesti - 2009-03-03

olympia Wrote:Did you tried the one included in the guide?

Yes, I did. In fact, I just re-downloaded it and rebooted the system just to make sure. Keyboard still does not work within XBMC, but does work at the BIOS level. Though the mouse seems to work.

Here is the current version of the xorg.conf file after re-applying the xorg.conf file from the guide. NOTE: I only included the relevant keyboard/mouse top portion of the file.


Code:
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 1.0  ([email protected])  Tue Nov  4 14:07:17 PST 2008


Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
EndSection

Section "InputDevice"

    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"

    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection



- olympia - 2009-03-03

Silvesti Wrote:Yes, I did. In fact, I just re-downloaded it and rebooted the system just to make sure. Keyboard still does not work within XBMC, but does work at the BIOS level. Though the mouse seems to work.

Here is the current version of the xorg.conf file after re-applying the xorg.conf file from the guide. NOTE: I only included the relevant keyboard/mouse top portion of the file.


Code:
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 1.0  ([email protected])  Tue Nov  4 14:07:17 PST 2008


Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
EndSection

Section "InputDevice"

    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"

    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Do you have the whole original xorg.conf before nvidia update?


- Silvesti - 2009-03-03

olympia Wrote:Do you have the whole original xorg.conf before nvidia update?

Yes I do, shall I try replacing the current one with the backup?


- slacker666 - 2009-03-03

toiva Wrote:Any suggestions to my problem? I know it's hardly an optimal way to simply copy&paste commands and have Linux installed that way but i'd like to atleast see how fast&well it works with that setup.
I can't even launch xclock so the problem obviously is with xorg, not XBMC.

dont run it from ssh and it should be fine.

edit: ah, i see, not xbmc that's the problem. well i got that when i ran it from console mode, maybe you can scratch that then.


- olympia - 2009-03-03

Silvesti Wrote:Yes I do, shall I try replacing the current one with the backup?

Please quote me the serverlayout section