Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
xorg-x11 7.0.0 modular on SPARC? --SOLVED--
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc
View previous topic :: View next topic  
Author Message
rsborn
Tux's lil' helper
Tux's lil' helper


Joined: 10 Feb 2004
Posts: 105
Location: Webster, NY

PostPosted: Fri Jun 02, 2006 7:43 pm    Post subject: xorg-x11 7.0.0 modular on SPARC? --SOLVED-- Reply with quote

Has anyone got this working, I followed the migration guide and the compile went fine but X won't start. The only Errors I get in the log are these
Code:

(EE) end of block range 0xc0000b < begin 0x2c00008
(EE) end of block range 0xc0001b < begin 0x2c00018
(EE) end of block range 0xc0000b < begin 0x2c00008
(EE) end of block range 0xc0001b < begin 0x2c00018


and this warning (which says it is not fatal but you never know)
Code:

The XKEYBOARD keymap compiler (xkbcomp) reports:
> Error:                         No Symbols named "sun5" in the include file "sun_vndr/us"
>                                Exiting
>                                Abandoning symbols file "default"
Errors from xkbcomp are not fatal to the X server


The Gui comes up long enough to display the mouse cursor before it shuts down

thanks for any help for this, I am sure it is something easy but I can't seem to fix it


Last edited by rsborn on Thu Jun 15, 2006 8:43 pm; edited 1 time in total
Back to top
View user's profile Send private message
Weeve
Retired Dev
Retired Dev


Joined: 30 Oct 2002
Posts: 641

PostPosted: Tue Jun 06, 2006 11:18 pm    Post subject: Reply with quote


  • What type of SPARC system are you using?
  • What kernel are you using?
  • What does the "Keyboard" section from your xorg.conf file look like?
Back to top
View user's profile Send private message
rsborn
Tux's lil' helper
Tux's lil' helper


Joined: 10 Feb 2004
Posts: 105
Location: Webster, NY

PostPosted: Wed Jun 07, 2006 3:08 pm    Post subject: Reply with quote

Sparc system is an Ultra10 Creator 3d. Kernel version is 2.4.30
Everything worked before the upgrade to modular x, I got this xorg from Ferris' website
Keyboard section is as follows:
Code:

Section "InputDevice"
  Identifier  "Keyboard0"
  ##
  # This must be the Deprecated keyboard driver with xorg-x11-6.8.0-rxx
  #
  Driver      "keyboard"
  Option      "Protocol"    "Standard"
  #Option      "XkbKeycodes" "sun(type5)"
  Option      "XkbModel"    "type5"

  Option      "XkbLayout"   "en_US"
  Option      "XkbTypes"     "types/complete"
  Option      "XkbCompat"   "compat/complete"
  Option      "XkbGeometry" "sun(type5unix)"
  Option      "XkbRules"    "sun"
  #Option      "XkbVariant"  "basic"
 
EndSection


On another note, I was going to go ahead and try to upgrade Gnome to see if it made a difference and seem to be hitting a problem with totem (there is someone else with a topic in this forum for the same thing), so I am a bit hosed now although the machine still works just fine (minus X apps of course)

thanks,
Rick
Back to top
View user's profile Send private message
Ferris
Retired Dev
Retired Dev


Joined: 13 Jan 2003
Posts: 426
Location: N. Virginia (USA)

PostPosted: Thu Jun 08, 2006 2:18 pm    Post subject: Reply with quote

This http://dev.gentoo.org/~fmccor/files/xorg.conf-2.4 is a running xorg.conf for a Creator U2 system running kernel 2.4.31-sparc-r2. Keyboard is a type-5 (clone). xorg version is: x11-base/xorg-x11-7.0-r1, x11-base/xorg-server-1.0.2-r4, x11-drivers/xf86-input-keyboard-1.0.1.3

Note differences between current keyboard layout and the one you are (and I was) using. The rules have changed, but changes are not documented anyplace obvious.
(Big one is that "en_US" is not allowed; use "us", and remove the XkbRules entry.)
Back to top
View user's profile Send private message
rsborn
Tux's lil' helper
Tux's lil' helper


Joined: 10 Feb 2004
Posts: 105
Location: Webster, NY

PostPosted: Tue Jun 13, 2006 1:49 pm    Post subject: Reply with quote

OK, I got past most of the other issues and got GDM to load but keyboard mapping is still off. I used the exact same xorg.conf as in your example but my keys seem to be off by 1 key (r is an e, t is an r, etc). Looking once again at the keyboard, it is a "Type 6" not a type 5 but as I remember they are functionally the same.

Any suggestions for the weird mappings?
Back to top
View user's profile Send private message
Ferris
Retired Dev
Retired Dev


Joined: 13 Jan 2003
Posts: 426
Location: N. Virginia (USA)

PostPosted: Tue Jun 13, 2006 7:21 pm    Post subject: Reply with quote

Not a suggestion, but a question. Is this with gnome? If so, what happens if you just start X (without gnome) so that all you get is an xterm? There is an old off-by-one problem in obsolete versions of xorg, but so far as I know, they are all solved in X-modular (xorg-x11-7).
Back to top
View user's profile Send private message
Weeve
Retired Dev
Retired Dev


Joined: 30 Oct 2002
Posts: 641

PostPosted: Tue Jun 13, 2006 8:06 pm    Post subject: Reply with quote

Gnome also has options to use keymaps different from X (and prompts you about this if the keymaps differ for at least the first time you launch it. Not sure about subsequent launches of Gnome as I don't use it much).
Back to top
View user's profile Send private message
gust4voz
Retired Dev
Retired Dev


Joined: 09 Sep 2003
Posts: 373
Location: Buenos Aires, Argentina

PostPosted: Wed Jun 14, 2006 1:01 am    Post subject: Reply with quote

Gnome will remember keymap settings on a per-user basis. On first launch it'll just inherit Xorg's setting if there's no user-specific one.
_________________
Gustavo Zacarias
Gentoo/SPARC monkey
Back to top
View user's profile Send private message
rsborn
Tux's lil' helper
Tux's lil' helper


Joined: 10 Feb 2004
Posts: 105
Location: Webster, NY

PostPosted: Wed Jun 14, 2006 6:08 pm    Post subject: Reply with quote

Yes this is with Gnome but can't get startx to load by itself, that is the original problem in this thread, it brings up x long enough to show the mouse cursor but then stops. This is where I get the XKEYBOARD errors mentioned above, I see by the xinitrc script that it loads twm, is there a way to start the X server with just an XTERM to troubleshoot?

a bit lost, sorry

Rick
Back to top
View user's profile Send private message
rsborn
Tux's lil' helper
Tux's lil' helper


Joined: 10 Feb 2004
Posts: 105
Location: Webster, NY

PostPosted: Wed Jun 14, 2006 6:16 pm    Post subject: Reply with quote

One other thing that may or may not be important. This keyboard mapping is wrong even when connecting to another linux machine via XDMCP. I assume it is because keybaord mapping is actually in the client component not the server component but am not sure.

Thanks for all of the help, I wouldn't be able to do this without you

Rick
Back to top
View user's profile Send private message
Ferris
Retired Dev
Retired Dev


Joined: 13 Jan 2003
Posts: 426
Location: N. Virginia (USA)

PostPosted: Thu Jun 15, 2006 11:49 am    Post subject: Reply with quote

If you are actually using that xorg.conf file, there should be no mention at all of sun5, nor should you be looking at sun_vndr/us: It does not seem to be a part of xorg-x11-7.xx at all. Please check the following:

  • Look carefully at the top of /var/log/Xorg.0.log and make sure that you are using the xorg.conf file you think you are;
  • If so, then 'emerge xkbdata' and make sure /usr/share/X11/xkb gets updated. Look at that directory to convince yourself there is no sun_vndr/us file in it. You should see keymap/sun/us and symbols/sun/us only.
  • Look at keymap/sun and symbols/sun. Make sure you are using an xorg.conf file which (1) specifies files in those directories, and (2) matches your actual keyboard. (E.g., if your keyboard is not a US keyboard, specify instead what it actually is).
  • If still no luck, post the entire /var/log/Xorg.0.log file from your session. The error you are posting shows a situation which should be impossible, because you are reading keyboard configuration files which should not exist.


Hope this is marginally useful, at least. :?
Back to top
View user's profile Send private message
rsborn
Tux's lil' helper
Tux's lil' helper


Joined: 10 Feb 2004
Posts: 105
Location: Webster, NY

PostPosted: Thu Jun 15, 2006 8:43 pm    Post subject: Solved Reply with quote

OK, I am such a moron..... I had a couple of issues here which I will try to explain here:

1. Error using startx, Ferris you called it perfectly, when I was running start x I was in my home directory and I had an old copy of xorg.conf sitting there so it was the first one it found, a rename of this got rid of all of those errors but keyboard mapping was still off, I guess since /etc/init.d/xdm start runs differently, it found the correct conf file

2. Keyboard mapping being one off. I had assumed (dangerous I know) that emerging the new modular x would take care of all of the necessary files but for some reason on mine xkbdata did not get emerged so I needed to emerge that which required teh unemerge of xkeyboard-config. After that was done, my keybaord mapping was now off by the other direction (r was a t). I put the Xkbrules entry back and now all is fine. Earlier in the thread you had mentioned to delete this entry but maybe I shouldn't have?

Either way I am happily modular and on gnome 2.14

thank you very much for all of your help

Rick

p.s. startx still doesn't work but I don't really care much, different errors but I'm too worn out to deal with them, I have xdm in the default run level anyway
Back to top
View user's profile Send private message
Ferris
Retired Dev
Retired Dev


Joined: 13 Jan 2003
Posts: 426
Location: N. Virginia (USA)

PostPosted: Sat Jun 17, 2006 3:51 pm    Post subject: Reply with quote

I don't know why I said "remove the Xkbrules entry"; that was just wrong. If you follow what I posted at http://dev.gentoo.org/~fmccor/files/xorg.conf-2.4 instead of my random thoughts, you should be OK. :wink:
Back to top
View user's profile Send private message
imotlaw
n00b
n00b


Joined: 25 May 2005
Posts: 38
Location: Washington DC Area

PostPosted: Sat Jul 01, 2006 5:12 pm    Post subject: Thanks, guys/gals/other Reply with quote

I was having exactly this problem with my Ultra 5 (with respect to the keyboard being off), and solved it using exactly the same methods above. Thanks, everyone!
Back to top
View user's profile Send private message
recupero
n00b
n00b


Joined: 25 Jun 2006
Posts: 26

PostPosted: Wed Aug 23, 2006 1:17 am    Post subject: Reply with quote

Yes, unmerging and reemerging works!
Still I have an error msg when starting gnome:

Quote:
Error activating XKB configuration.
It can happen under various circumstances:
- a bug in libxklavier library
- a bug in X server (xkbcomp, xmodmap utilities)
- X server with incompatible libxkbfile implementation

X server version data:
The X.Org Foundation
70101000

If you report this situation as a bug, please include:
- The result of xprop -root | grep XKB
- The result of gconftool-2 -R /desktop/gnome/peripherals/keyboard/kbd


xprop -root | grep XKB
_XKB_RULES_NAMES_BACKUP(STRING) = "sun", "type5", "us", "", ""
_XKB_RULES_NAMES(STRING) = "sun", "type5", "us", "", ""

gconftool-2 -R /desktop/gnome/peripherals/keyboard/kbd
layouts = []
model =
overrideSettings = true
options = []
Back to top
View user's profile Send private message
recupero
n00b
n00b


Joined: 25 Jun 2006
Posts: 26

PostPosted: Wed Aug 23, 2006 7:51 am    Post subject: Reply with quote

The XKB problem has gone away by itself.
Upon lauching startx however, I find this error in the shell;

(EE) AIGLX: Screen 0 is not DRI capable
xkb_keycodes { include "sun(type5)" }
xkb_types { include "types/complete" }
xkb_compatibility { include "compat/complet" }
xkb_symbols { include "sun/us(sun5)" }
xkb_geometry { include "sun(type5unix)" }
Back to top
View user's profile Send private message
Ferris
Retired Dev
Retired Dev


Joined: 13 Jan 2003
Posts: 426
Location: N. Virginia (USA)

PostPosted: Wed Aug 23, 2006 11:48 am    Post subject: Reply with quote

I don't know off hand what "AIGLX" is. But the error message is correct: with current kernels and xorg-x11, The Creator is indeed "Not DRI capable" because there is no support for it in the kernel, and the support in the (sunffb) driver is therefore disabled in favor of correct font rendering.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc 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