Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
xbox - configuring X
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on Alternative Architectures
View previous topic :: View next topic  
Author Message
JonBoy3
n00b
n00b


Joined: 17 Sep 2005
Posts: 5
Location: Derby, England

PostPosted: Fri Sep 23, 2005 9:45 pm    Post subject: xbox - configuring X Reply with quote

I'm installing on an xbox and having great problems getting X up and running.

The howto says there is an example X config for the xbox but I can't find it anywhere.

Does anyone know where it is? Or have a working X config for the xbox they can share?

Thanks
Jon
Back to top
View user's profile Send private message
ben_dash
Apprentice
Apprentice


Joined: 12 Aug 2003
Posts: 239

PostPosted: Sun Oct 30, 2005 2:05 am    Post subject: Reply with quote

I had the same problem this morning. After searching for AGES I finally downloaded the one from xbox-linux CVS:

Code:
mythtv@xbox ~ $ cat /etc/X11/xorg.conf
Section "Files"
    RgbPath     "/usr/X11R6/lib/X11/rgb"
    FontPath    "/usr/share/fonts/local/"
    FontPath    "/usr/share/fonts/misc/"
    FontPath    "/usr/share/fonts/75dpi/:unscaled"
    FontPath    "/usr/share/fonts/100dpi/:unscaled"
    FontPath    "/usr/share/fonts/Type1/"
    FontPath    "/usr/share/fonts/TTF/"
    FontPath    "/usr/share/fonts/CID/"
    FontPath    "/usr/share/fonts/Speedo/"
    FontPath    "/usr/share/fonts/75dpi/"
    FontPath    "/usr/share/fonts/100dpi/"
EndSection

Section "Module"
    Load        "dbe"
    SubSection  "extmod"
        Option  "omit xfree86-dga"
    EndSubSection
    Load        "type1"
    Load        "freetype"
EndSection

Section "ServerFlags"
#    Option     "NoTrapSignals"
#    Option     "DontVTSwitch"
#    Option     "DontZap"
#    Option     "DontZoom"
#    Option     "DisableVidModeExtension"
#    Option     "AllowNonLocalXvidtune"
#    Option     "DisableModInDev"
#    Option     "AllowNonLocalModInDev"
    Option      "blank time"    "10"    # 10 minutes
    Option      "standby time"  "20"
    Option      "suspend time"  "30"
    Option      "off time"      "60"
# Option   "EstimateSizesAggresively" "0"
    Option "PciProbe1" "false"
    Option "PciProbe2" "false"
    Option "PciForceConfig1" "false"
    Option "PciForceConfig2" "false"
#    Option "PciForceNone" "true"
    Option "PciOsConfig" "true"
    Option "AllowMouseOpenFail" "true"
EndSection


Section "InputDevice"
        Identifier      "Generic Keyboard"
        Driver          "keyboard"
        Option          "CoreKeyboard"
        Option          "XkbRules"      "xfree86"
        Option          "XkbModel"      "pc104"
        Option          "XkbLayout"     "us"
EndSection

Section "InputDevice"
        Identifier      "Configured mouse"
        Driver          "mouse"
        #Option          "CorePointer"
        Option          "Device"                "/dev/input/mice"
        #Option         "Protocol"              "ImPS/2"
        Option          "Protocol"              "IMPS/2"
        Option          "Emulate3Buttons"       "off"
        Option          "Buttons"               "4"
        #Option         "ZAxisMapping"          "6 7"
EndSection

Section "InputDevice"
        Identifier  "LIRC-Mouse"
        Driver      "mouse"
        Option      "Device" "/dev/lircm"
        Option      "Protocol" "ImPS/2"
        Option      "SendCoreEvents"
        Option      "Buttons" "5"
        Option      "ZAxisMapping" "4 5"
EndSection

Section "Device"
        Identifier      "Framebuffer"
        Driver          "fbdev"
        Option          "fbdev" "/dev/fb/0"
        Option          "UseFBDev"
EndSection

Section "Device"
        Identifier      "Nv"
        Driver          "nvxbox"
        Option          "UseFBDev" "1"
        Option          "HWCursor" "0"
#       BusID           "PCI:0:01:0"
EndSection


Section "Monitor"
        Identifier      "Generic Monitor"
        HorizSync       30-55
        VertRefresh     45-65
        Option          "DPMS"
EndSection

Section "Screen"
        Identifier      "Default Screen"
        Device          "Nv"
        Monitor         "Generic Monitor"
        DefaultDepth    24
        SubSection "Display"
                Depth           1
                Modes           "640x480"
        EndSubSection
        SubSection "Display"
                Depth           4
                Modes           "640x480"
        EndSubSection
        SubSection "Display"
                Depth           8
                Modes           "640x480"
        EndSubSection
        SubSection "Display"
                Depth           15
                Modes           "640x480"
        EndSubSection
        SubSection "Display"
                Depth           16
                Modes           "640x480"
        EndSubSection
        SubSection "Display"
                Depth           24
                Modes           "640x480"
        EndSubSection
        SubSection "Display"
                Depth           32
                Modes           "640x480"
        EndSubSection
EndSection

Section "ServerLayout"
        Identifier      "Default Layout"
        Screen          "Default Screen"
        InputDevice     "Generic Keyboard"
        InputDevice     "Configured Mouse" "CorePointer"
        InputDevice     "LIRC-Mouse"
EndSection

Section "DRI"
        Mode    0666
EndSection


Note that I have been messing with the mouse settings, I have a Versapoint RF usb keyboard mouse combo and the mouse refuses to work on the xbox. The keyboard works fine on my 2.6 kernel PC but not on the 2.4 kernel xbox.

Good luck with your project,

Ben

PS: Since you're from the UK you probably need to change the resolution to 640x576 for your TV. I assume that you're building a mythTV frontend with your xBox, as everyone else is myself included. So out of curiosity, is there a mythbackend tuner which is digibox compatible?
_________________
Free Question Answerer
Back to top
View user's profile Send private message
AliasXZ
l33t
l33t


Joined: 08 Feb 2005
Posts: 847
Location: England, Wakefield

PostPosted: Thu Feb 09, 2006 10:50 am    Post subject: Reply with quote

thanks for this config, works fine :)
_________________
Main:
Kernel: 5.4.38 amd64
RAM: 4GB
Lappy:
Macbook Pro 10.14.6
------------------------------
Please add (solved) to your first post when your issue is resolved 8)
Back to top
View user's profile Send private message
FcukThisGame
l33t
l33t


Joined: 20 Apr 2005
Posts: 776
Location: /lost+found

PostPosted: Thu Feb 09, 2006 9:52 pm    Post subject: Reply with quote

I sure hate to play the noob here, but what's the point of putting mythtv on a 733mhz celeron/64mb ram xbox. Maybe I just don't understand mythtv...
_________________
Sysadmin by trade, geek by choice

DESKTOP:
i7-3770K|8800GTS-512|32GB|1x256GB SSD|4x1TB|HD/BDROM|1920x1200+1680x1050
Win8 Pro w/ Hyper-V|Server 2012 VM|Ubuntu VM|Gentoo VM

TABLET: Samsung Ativ 700t
i5-3317U|4GB|128GB SSD|1920x1080 Touch
Win8
Back to top
View user's profile Send private message
Hobbes-X
l33t
l33t


Joined: 04 Feb 2004
Posts: 823
Location: Seattle, WA

PostPosted: Fri Feb 10, 2006 4:39 am    Post subject: Reply with quote

FcukThisGame wrote:
I sure hate to play the noob here, but what's the point of putting mythtv on a 733mhz celeron/64mb ram xbox. Maybe I just don't understand mythtv...


From everything I've heard, it's really only useful as a remote frontend. Xboxes don't have enough USB throughput for video capture (or so I've heard a few times on the myth lists), but they can handle playback.
Back to top
View user's profile Send private message
Narusegawa
Apprentice
Apprentice


Joined: 29 Jun 2004
Posts: 210
Location: Bimringham, UK

PostPosted: Wed Jun 14, 2006 10:19 am    Post subject: Reply with quote

Code:
modprobe nvxbox
tells me the module can't be found. How do I emerge this module?
_________________
WARNING: It is a violation of federal law to use me in a way inconsistent with my labelling. I am dangerous to humans and domestic animals. Please avoid contact with your eyes and clothing. I should be stored out of the reach of children.
Back to top
View user's profile Send private message
Hobbes-X
l33t
l33t


Joined: 04 Feb 2004
Posts: 823
Location: Seattle, WA

PostPosted: Wed Jun 14, 2006 2:00 pm    Post subject: Reply with quote

Hi Naru,

I ran across this post when searching around:

Quote:
Chris Bainbridge wrote:
> Make sure its xorg-x11-6.8.0-r2. Earlier releases don't have the xbox patch.
>
[snip]
>
> On Sun, 07 Nov 2004 14:08:12 -0500, Sean Covel
<seanecovel@...> wrote:
>
>>Chris,
>>
>>Thanks for your help.
>>
>>Chris Bainbridge wrote:
>>
>>>Did it install the xbox driver (nvxbox)? You should see the xbox patch
>>>applied when xorg unpacks.
>>>
>>
>>Can't find nvxbox anywhere. There is an nv_driver and and nv_drv, but
>>no nvxbox.
>>


Which version of Xorg are you running? Looks like you might need 6.8.0-r2 or later. I'm assuming that you're looking for an Xbox tuned nVidia driver for X? I'm not familiar with nvxbox, and even Google seems short on information for it...

I also saw a post or two suggesting that you can use the standard nVidia driver for X as well, might be worth a try?
Back to top
View user's profile Send private message
Narusegawa
Apprentice
Apprentice


Joined: 29 Jun 2004
Posts: 210
Location: Bimringham, UK

PostPosted: Wed Jun 14, 2006 2:05 pm    Post subject: Reply with quote

I'll give these a try, but frankly I'm only installing X to get a server running. I won't actually be running X on the Xbox. but using X from my Win32/Gentoo64 install to connect to it. i.e. like a terminal server (kinda)
_________________
WARNING: It is a violation of federal law to use me in a way inconsistent with my labelling. I am dangerous to humans and domestic animals. Please avoid contact with your eyes and clothing. I should be stored out of the reach of children.
Back to top
View user's profile Send private message
Hobbes-X
l33t
l33t


Joined: 04 Feb 2004
Posts: 823
Location: Seattle, WA

PostPosted: Wed Jun 14, 2006 3:37 pm    Post subject: Reply with quote

In that case, I'm not sure that an accelerated driver does anything for you anyways- maybe not worth the compile time to switch since you'll be waiting for everything to come over the network anyways. Unless the load of rendering is enough that it will effect whatever the box will be doing?

I'd just try switching to the svga driver instead to see how it works out, you can always update Xorg later if it doesn't go well.
Back to top
View user's profile Send private message
Narusegawa
Apprentice
Apprentice


Joined: 29 Jun 2004
Posts: 210
Location: Bimringham, UK

PostPosted: Sun Jul 09, 2006 1:55 pm    Post subject: Reply with quote

Thanks. Mostly working except I can't use my keyboard :(
_________________
WARNING: It is a violation of federal law to use me in a way inconsistent with my labelling. I am dangerous to humans and domestic animals. Please avoid contact with your eyes and clothing. I should be stored out of the reach of children.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on Alternative Architectures All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum