Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
system state [solved]
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10589
Location: Somewhere over Atlanta, Georgia

PostPosted: Wed Nov 25, 2009 2:53 pm    Post subject: Reply with quote

Could you post the values of the INPUT_DEVICES and VIDEO_CARDS variables in /etc/make.conf, please? Also, the contents of /etc/X11/xorg.conf would be helpful.

- John
_________________
I can confirm that I have received between 0 and 499 National Security Letters.
Back to top
View user's profile Send private message
idella4
Retired Dev
Retired Dev


Joined: 09 Jun 2006
Posts: 1600
Location: Australia, Perth

PostPosted: Wed Nov 25, 2009 3:33 pm    Post subject: Reply with quote

john thanks. We're almost there. I was about to do part of what you requested. Now, at bootup I have /dev/input/mice and mouse 1 and mouse2 and a couple of others. We're on the same page. I've looked at xorg.conf. I know that genny has made all the devices including the mouse.
It's clearly an xorg issue to correctly configure X using the mouse. So, in /etc/make.conf, INPUT_DEVICES is blank. I suppose this must be a new setting since it used to work perfectly well without it. VIDEO_CARDS="fbdev i810 nv nvidia tdfx trident vesa vga". This is clearly the right path.
xorg.conf

Code:

Section "ServerLayout"

# "SendCoreEvents".
    Identifier     "Simple Layout"
    Screen         "Screen 1" 0 0
    InputDevice    "Mouse1" "CorePointer"
    InputDevice    "Keyboard1" "CoreKeyboard"
EndSection

    Identifier     "Mouse1"
    Driver         "mouse"
    Option         "Protocol" "Microsoft"       # Microsoft compatible (2-button protocol)
    Option         "Device" "/dev/input/mice"
# When using XQUEUE, comment out the above two lines, and uncomment
    Option         "ZAxisMapping" "4 5 6 7"
# Emulate3Buttons is an option for 2-button mice
    Option         "Emulate3Buttons"
#    Option "Emulate3Timeout"    "50"
# ChordMiddle is an option for some 3-button Logitech mice
    Option         "ChordMiddle"
EndSection


No need for the whole thing. Most lines start with # and this is the relevant part.
It looks like the answer lies in INPUT_DEVICES in make.conf being blank. gentoo is a moving target. This was all covered when I last used it. I may as well look at man make.conf
So I await the required entry with bated breath.
_________________
idella4@aus
Back to top
View user's profile Send private message
Mike Hunt
Watchman
Watchman


Joined: 19 Jul 2009
Posts: 5287

PostPosted: Wed Nov 25, 2009 4:01 pm    Post subject: Reply with quote

idella4 wrote:
No need for the whole thing. Most lines start with # and this is the relevant part.

Well, actually yes. It's important to be precise. Please post the output of
Code:
egrep -v '^(#|$)' /etc/X11/xorg.conf


If there are requests to post something big, please use http://pastebin.com and paste the URL here.

My make.conf contains exactly what I need according to the output of lspci.
Code:
VIDEO_CARDS="radeon"
INPUT_DEVICES="evdev"

Please set yours appropriately, and run
Code:
emerge -uDNav world


Whenever xorg-server is emerged or updated, you need then re-emerge your x11-drivers
Code:
emerge app-portage/portage-utils && emerge -1av $(qlist -IC x11-drivers)


Glad you're making good progress. :)
Back to top
View user's profile Send private message
idella4
Retired Dev
Retired Dev


Joined: 09 Jun 2006
Posts: 1600
Location: Australia, Perth

PostPosted: Wed Nov 25, 2009 4:39 pm    Post subject: Reply with quote

Mike, I found this http://en.gentoo-wiki.com/wiki/X.Org/Input_drivers#INPUT_DEVICES
Yes it cites evdev which I've never heard of. This site says to run
Code:

emerge -pv xorg-server

and then says
Quote:

and look at the the output following INPUT_DEVICES,

[ebuild N ] x11-base/xorg-server-...USE="..." INPUT_DEVICES="...." VIDEO_CARDS="..."


which it doesn't do.

Code:

Susie / # emerge -pv xorg-server

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] x11-base/xorg-server-1.6.3.901-r2  USE="ipv6 nptl sdl xorg -debug -dmx -hal -kdrive -minimal -tslib" 0 kB

Total: 1 package (1 reinstall), Size of downloads: 0 kB


So
Code:

Susie / # emerge --search evdev
Searching...
[ Results for search key : evdev ]
[ Applications found : 1 ]

*  x11-drivers/xf86-input-evdev
      Latest version available: 2.2.5
      Latest version installed: 2.2.5
      Size of files: 291 kB
      Homepage:      http://xorg.freedesktop.org/
      Description:   Generic Linux input driver
      License:       MIT

It's already in.

and

Code:

Susie / # egrep -v '^(#|$)' /etc/X11/xorg.conf
Section "ServerLayout"
    Identifier     "Simple Layout"
    Screen         "Screen 1" 0 0
    InputDevice    "Mouse1" "CorePointer"
    InputDevice    "Keyboard1" "CoreKeyboard"
EndSection
Section "Files"
    FontPath        "/usr/share/fonts/misc/"
    FontPath        "/usr/share/fonts/Type1/"
    FontPath        "/usr/share/fonts/100dpi/"
    FontPath        "/usr/share/fonts/75dpi/"
EndSection
Section "Module"
    Load           "dbe"        # Double buffer extension
    SubSection     "extmod"
        Option         "omit xfree86-dga"   # don't initialise the DGA extension
    EndSubSection
    Load           "freetype"
    Load           "glx"
EndSection
Section "InputDevice"
    Identifier     "Keyboard1"
    Driver         "kbd"
    Option         "AutoRepeat" "500 30"
    Option         "XkbRules" "xorg"
    Option         "XkbModel" "pc104"
    Option         "XkbLayout" "us"
EndSection
Section "InputDevice"
    Identifier     "Mouse1"
    Driver         "mouse"
    Option         "Protocol" "Microsoft"       # Microsoft compatible (2-button protocol)
    Option         "Device" "/dev/input/mice"
    Option         "ZAxisMapping" "4 5 6 7"
    Option         "Emulate3Buttons"
    Option         "ChordMiddle"
EndSection
Section "Monitor"
    Identifier     "screen1"
    HorizSync       31.5 - 64.3
    VertRefresh     40.0 - 150.0
EndSection
Section "Device"
    Identifier     "Standard VGA"
    Driver         "vga"
    VendorName     "Unknown"
    BoardName      "Unknown"
EndSection
Section "Device"
    #VideoRam    512
    # Insert Clocks lines here if appropriate
    Identifier     "nvidia"
    Driver         "nvidia"
EndSection
Section "Screen"
    Identifier     "Screen 1"
    Device         "nvidia"
    Monitor        "screen1"
    DefaultDepth    24
    SubSection     "Display"
        Viewport    0 0
        Depth       8
        Modes      "800x600" "640x480"
    EndSubSection
    SubSection     "Display"
        Viewport    0 0
        Depth       16
        Modes      "640x400"
    EndSubSection
    SubSection     "Display"
        Viewport    0 0
        Depth       24
        Modes      "1280x1024" "1024x768" "1600x1200"
    EndSubSection
EndSection


What on earth is http://pastebin.com/?? New to me.
INPUT_DEVICES="evdev" is going into make.conf. Now here you lose me. I've just done emerge --newuse --deep which I've described.

Code:

Susie / # emerge --search xorg-server
Searching...
[ Results for search key : xorg-server ]
[ Applications found : 1 ]

*  x11-base/xorg-server
      Latest version available: 1.6.3.901-r2
      Latest version installed: 1.6.3.901-r2
      Size of files: 4,568 kB
      Homepage:      http://xorg.freedesktop.org/
      Description:   X.Org X servers
      License:       MIT MIT


They are all in. Why do I need
emerge -uDNav world and emerge app-portage/portage-utils && emerge -1av $(qlist -IC x11-drivers)??? How many times do you have to do emerge rebuilds. I just don't get it. Lets try
Code:

emerge -uDNav --pretend world
Susie / # emerge -uDNav --pretend world
>>> --pretend disables --ask... removing --ask from options.

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     U ] net-misc/dhcpcd-4.0.15 [4.0.13] USE="compat zeroconf" 52 kB
[ebuild   R   ] net-libs/libvncserver-0.9.1  USE="jpeg zlib -no24bpp (-nobackchannel%)" 0 kB
[ebuild   R   ] sys-process/procps-3.2.8  USE="(-n32) -unicode%" 0 kB
[ebuild   R   ] x11-base/xorg-drivers-1.6  INPUT_DEVICES="evdev -acecad -aiptek -citron -elographics -fpit -hyperpen -joystick -keyboard* -mouse* -mutouch -penmount -synaptics -tslib -virtualbox -vmmouse -void -wacom" VIDEO_CARDS="fbdev nv nvidia tdfx trident vesa -apm -ark -ast -chips -cirrus -dummy -epson -fglrx -geode -glint -i128 -i740 (-impact) -intel -mach64 -mga -neomagic (-newport) -r128 -radeon -radeonhd -rendition -s3 -s3virge -savage -siliconmotion -sis -sisusb (-sunbw2) (-suncg14) (-suncg3) (-suncg6) (-sunffb) (-sunleo) (-suntcx) -tga -tseng -v4l -via -virtualbox-vmware (-voodoo) -xgi" 0 kB
[ebuild     U ] dev-libs/openssl-0.9.8l-r1 [0.9.8k-r1] USE="zlib -bindist -gmp -kerberos -sse2 -test" 4,082 kB
[ebuild     U ] net-print/cups-1.3.11-r1 [1.3.10-r2] USE="X acl dbus java jpeg ldap pam perl pngpython samba slp ssl -avahi -gnutls -kerberos -php -ppds -static -tiff -xinetd -zeroconf" LINGUAS="-de -en -es -et -fr -he -id -it -ja -pl -sv -zh_TW" 3,711 kB

Total:   (3 upgrades, 3 reinstalls), Size of downloads: 7,844 kB

 * IMPORTANT: 5 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.

ok 6 packages isn't so bad. I'll do it.That won't take long. The next should be quick too I think. Then I reboot and everything should be well and truly set.
:D

One minor thing. How do you setup kde to go in on bootup again. I've got xdm in rc bootup default, xdm.conf sayd DISPLAMANAGER='kdm" and
.xinitrc says startkde, I think that's right. what is missing? and I never did get a solution to chroot in gentoo. The mysteries of gentoo!
_________________
idella4@aus
Back to top
View user's profile Send private message
idella4
Retired Dev
Retired Dev


Joined: 09 Jun 2006
Posts: 1600
Location: Australia, Perth

PostPosted: Wed Nov 25, 2009 4:57 pm    Post subject: Reply with quote

UNBELIEVABLE UNBELIEVABLE UNBELIEVABLE.

iT MADE NO DIFFERENCE. all that updating and providing and it can't configure the mouse. Oh my.

WILL SOMEONE PLEASE FIND NEDDY
_________________
idella4@aus
Back to top
View user's profile Send private message
Mike Hunt
Watchman
Watchman


Joined: 19 Jul 2009
Posts: 5287

PostPosted: Wed Nov 25, 2009 4:59 pm    Post subject: Reply with quote

You still need to re-emerge x11-drivers after re-emerging xorg-server.

And also set your video device driver correctly in xorg.conf please.

Also post what video device you have, as there could be misconfigurations in kernel.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54234
Location: 56N 3W

PostPosted: Wed Nov 25, 2009 7:28 pm    Post subject: Reply with quote

idella4,

When you have input devices and video devices you need missing from Xorg, you may add them to your INPUT_DEVICES and VIDEO_DEVICES in make.conf
and use
Code:
emerge -1 xf86-input-... xf86-vides...
to build them straight away. The entries in INPUT_DEVICES and VIDEO_DEVICES will ensure they are maintained by portage.

As well as evdev for Xorg, you need evdev for your kernel. Check that you have files named like /dev/input/eventX where X in a number. If not, you need to fix yor kernel.
Auto configuration of of input devices relies on hald and dbus being running - they should both be in your defualt runlevel.
Look with
Code:
rc-update show
add them and start them if needed.

Lastly, Xorg has changed its ABI recently. That requires all the video and input drivers to be rebuilt to match the new ABI.
You will get ABI mismatch errors in /var/log/Xorg.0.log if thats an issue.

It would be good if you can post that file.
Code:
emerge wgetpaste
wgetpaste  /var/log/Xorg.0.log
then tell us the URL it gives you.
Thats your /var/log/Xorg.0.log file on the web for all to see.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
aguettinger
Tux's lil' helper
Tux's lil' helper


Joined: 26 Sep 2003
Posts: 84

PostPosted: Wed Nov 25, 2009 8:09 pm    Post subject: Reply with quote

As an addition to all the above, don't forget you always have to reinstall nvidia-drivers after upgrading a kernel.

emerge -av nvidia-drivers
_________________
regards
- andy
Back to top
View user's profile Send private message
idella4
Retired Dev
Retired Dev


Joined: 09 Jun 2006
Posts: 1600
Location: Australia, Perth

PostPosted: Thu Nov 26, 2009 2:43 am    Post subject: Reply with quote

duplication
_________________
idella4@aus


Last edited by idella4 on Thu Nov 26, 2009 7:41 am; edited 1 time in total
Back to top
View user's profile Send private message
idella4
Retired Dev
Retired Dev


Joined: 09 Jun 2006
Posts: 1600
Location: Australia, Perth

PostPosted: Thu Nov 26, 2009 2:44 am    Post subject: Reply with quote

neddy, I knew you could do it. thanks.
wgetpaste is a handy tool and new to me. I ran it and it indicates http://dpaste.com/125269/
I've added the missing hald and dbus. I have to reboot to see if it will work. According to Murph's law, I'll need to adjust the kernel for evdev which is new to me. I suppose that answers the question what is a pastebin. Not having come across it before I have no idea how to do that.
What is an ABI?
next a reboot.
_________________
idella4@aus
Back to top
View user's profile Send private message
aguettinger
Tux's lil' helper
Tux's lil' helper


Joined: 26 Sep 2003
Posts: 84

PostPosted: Thu Nov 26, 2009 2:57 am    Post subject: Reply with quote

The evdev is pretty important, because the new hal config works with evdev.

Make sure that you have this inside your kernel :


Code:
Device Drivers
       ->Input device support
               ->Event interface


That's all that is needed kernel-wise for evdev to work. If you don't have it, enable it and rebuild.
Also, from your Xorg.log is states GLX is not loaded. You need to re-emerge nvidia-drivers.
_________________
regards
- andy
Back to top
View user's profile Send private message
idella4
Retired Dev
Retired Dev


Joined: 09 Jun 2006
Posts: 1600
Location: Australia, Perth

PostPosted: Thu Nov 26, 2009 3:28 am    Post subject: Reply with quote

duplication
_________________
idella4@aus


Last edited by idella4 on Thu Nov 26, 2009 7:43 am; edited 2 times in total
Back to top
View user's profile Send private message
idella4
Retired Dev
Retired Dev


Joined: 09 Jun 2006
Posts: 1600
Location: Australia, Perth

PostPosted: Thu Nov 26, 2009 3:40 am    Post subject: Reply with quote

aguettinger yes ok thanks. You've looked at the log already. Like to look at the next one.
It still doesn't work after all that.
STUBBORN STUBBORN STUBBORN
tHE CHANGES HAVE FIXED SOMETHING. oN REBOOT THE SETTINGS ALREADY THERE GOT IT to boot into kdm which is a step. The mouse still doesn't work. From here it's clearly fixable, but how. There's now a new log to view http://dpaste.com/125275/
genny made all devices. In /dev/input there is mice amd mouse1 and mouse2 and event0 to 2 or three. There are some there so the kernel should be right

Code:

  │ │    < >   Joystick interface                                              │ │
  │ │    <*>   Event interface                                                 │ │
  │ │    < >   Event debugging


no problem there. the xorg log. That's where the deficit lies.

Quote:

(==) Not automatically adding devices
(==) Not automatically enabling devices


in early stage, is a worry

Quote:

(II) LoadModule: "freetype"
(WW) Warning, couldn't open module freetype
(II) UnloadModule: "freetype"
(EE) Failed to load module "freetype" (module does not exist, 0)
(II) LoadModule: "glx"
(II) Loading /usr/lib/xorg/modules/extensions//libglx.so
(II) Module glx: vendor="X.Org Foundation"
compiled for 1.6.3.901, module version = 1.0.0
ABI class: X.Org Server Extension, version 2.0
(==) AIGLX enabled



is not fatal. Is there a freetype package missing? This log says glx is loaded

Quote:

(II) LoadModule: "mouse"
(II) Loading /usr/lib/xorg/modules/input//mouse_drv.so


Quote:

(II) AIGLX: Screen 0 is not DRI2 capable
(II) AIGLX: Screen 0 is not DRI capable


not fatal but how can it be fixed?

Quote:

(II) XINPUT: Adding extended input device "Keyboard1" (type: KEYBOARD)
(II) UnloadModule: "mouse"
(II) UnloadModule: "kbd"
(WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
(II) No APM support in BIOS or kernel


is a worry. How can it be fixed? xorg is fairly complex, many modules. The mouse doesn't work, I think that's all but there may be more according to this, Does anyone know?
_________________
idella4@aus
Back to top
View user's profile Send private message
aguettinger
Tux's lil' helper
Tux's lil' helper


Joined: 26 Sep 2003
Posts: 84

PostPosted: Thu Nov 26, 2009 4:17 am    Post subject: Reply with quote

What is the output of eselect opengl list?

opengl should be set to nvidia to use the GLX from the nvidia-drivers.

eselect opengl set nvidia

Then restart X. Hope that solves the GLX errors.

Now to the keyboard mouse problems. There should be a message LoadModule "evdev" in you Xorg.0.log which is missing, so something with evdev/hal still is not working. Can you give the output of

rc-update show
_________________
regards
- andy
Back to top
View user's profile Send private message
idella4
Retired Dev
Retired Dev


Joined: 09 Jun 2006
Posts: 1600
Location: Australia, Perth

PostPosted: Thu Nov 26, 2009 4:34 am    Post subject: Reply with quote

andy, yes ok. I hope you can see this through, neddy would be impressed. We have

Susie linux # eselect opengl list
Available OpenGL implementations:
[1] nvidia
[2] xorg-x11 *

Quote:

opengl should be set to nvidia to use the GLX from the nvidia-drivers.


So how do I set it to nvidia?

Code:

Susie linux # rc-update show
            bootmisc | boot
             checkfs | boot
           checkroot | boot
               clock | boot
         consolefont | boot
                dbus |      default
                hald |      default
            hostname | boot
             keymaps | boot
               local |      default nonetwork
          localmount | boot
             modules | boot
            net.eth0 |      default
              net.lo | boot
            netmount |      default
           rmnologin | boot
           syslog-ng |      default
             urandom | boot
          vixie-cron |      default
                 xdm |      default


just like neddy suggested, hald and dbus are added
_________________
idella4@aus
Back to top
View user's profile Send private message
aguettinger
Tux's lil' helper
Tux's lil' helper


Joined: 26 Sep 2003
Posts: 84

PostPosted: Thu Nov 26, 2009 4:57 am    Post subject: Reply with quote

Ok, to switch to nvidia GLX do

eselect opengl set nvidia

Then I see hald is running, that's good. I saw in your make.conf from the last page you don't have the hal USE flag set, if not you should add it to your make.conf and do again.

emerge -uNDav world

EDIT: Especially double-check that your xorg-server is emerged with the 'hal' flag, else it's not gonna work.

We are getting closer. You updated over 2 major versions of Xorg so that's why some configurations changed. We all had to go trough that.

Next, make a file /etc/hal/fdi/policy/10-x11-input.fdi
with the following contents (that's where hal looks for the config for mouse and keyboard, they can be adjusted, let's try this for start)

Code:
<?xml version="1.0" encoding="UTF-8"?>
<deviceinfo version="0.2">
<device>
    <!-- Mouse configuration -->
    <match key="info.capabilities" contains="input.mouse">
      <merge key="input.x11_driver" type="string">evdev</merge>
    </match>

    <!-- Keyboard configuration -->
    <match key="info.capabilities" contains="input.keymap">
      <append key="info.callouts.add" type="strlist">hal-setup-keymap</append>
    </match>
    <match key="info.capabilities" contains="input.keys">
      <merge key="input.xkb.model" type="string">evdev</merge>
      <merge key="input.x11_driver" type="string">evdev</merge>
      <merge key="input.xkb.layout" type="string">us</merge>
      <merge key="input.xkb.variant" type="string"></merge>
      <append key="input.xkb.options" type="strlist"></append>
    </match>
  </device>
</deviceinfo>



If you need to make adjustments for mouse and keyboard layout later, you can get more info from the Xserver1.5 sticky thread.
Then make a backup copy of your /etc/X11/xorg.conf
I made some changes to your xorg.conf according to mine, so try this xorg.conf.

Code:
Section "ServerLayout"
    Identifier     "Layout0"
    Screen       0  "Screen0" 0 0
#    InputDevice    "Mouse1" "CorePointer"
#    InputDevice    "Keyboard1" "CoreKeyboard"
EndSection

Section "Files"
   ModulePath      "/usr/lib/xorg/modules"
    FontPath        "/usr/share/fonts/misc/"
    FontPath        "/usr/share/fonts/Type1/"
    FontPath        "/usr/share/fonts/100dpi/"
    FontPath        "/usr/share/fonts/75dpi/"
EndSection

Section "Module"
    Load           "dbe"        # Double buffer extension
    SubSection     "extmod"
        Option         "omit xfree86-dga"   # don't initialise the DGA extension
    EndSubSection
    Load           "freetype"
    Load           "glx"
EndSection
#Section "InputDevice"
#    Identifier     "Keyboard1"
#    Driver         "kbd"
#    Option         "AutoRepeat" "500 30"
#    Option         "XkbRules" "xorg"
#    Option         "XkbModel" "pc104"
#    Option         "XkbLayout" "us"
#EndSection
#Section "InputDevice"
#    Identifier     "Mouse1"
#    Driver         "mouse"
#    Option         "Protocol" "Microsoft"       # Microsoft compatible (2-button protocol)
#    Option         "Device" "/dev/input/mice"
#    Option         "ZAxisMapping" "4 5 6 7"
#    Option         "Emulate3Buttons"
#    Option         "ChordMiddle"
#EndSection
Section "Monitor"
    Identifier     "Monitor0"
    HorizSync       31.5 - 64.3
    VertRefresh     40.0 - 150.0
EndSection
Section "Device"
    Identifier     "Standard VGA"
    Driver         "vga"
    VendorName     "Unknown"
    BoardName      "Unknown"
EndSection
Section "Device"
    #VideoRam    512
    # Insert Clocks lines here if appropriate
    Identifier     "nvidia"
    Driver         "nvidia"
EndSection
Section "Screen"
    Identifier     "Screen0"
    Device         "nvidia"
    Monitor        "Monitor0"
    DefaultDepth    24
    SubSection     "Display"
        Viewport    0 0
        Depth       8
        Modes      "800x600" "640x480"
    EndSubSection
    SubSection     "Display"
        Viewport    0 0
        Depth       16
        Modes      "640x400"
    EndSubSection
    SubSection     "Display"
        Viewport    0 0
        Depth       24
        Modes      "1280x1024" "1024x768" "1600x1200"
    EndSubSection
EndSection


Then restart your X and pastebin the Xorg.0.log
_________________
regards
- andy
Back to top
View user's profile Send private message
idella4
Retired Dev
Retired Dev


Joined: 09 Jun 2006
Posts: 1600
Location: Australia, Perth

PostPosted: Thu Nov 26, 2009 5:51 am    Post subject: Reply with quote

andy, right, you seem to be on the right track. I wonder why neddy didn't mention this if it's required to work.
I found out how to set it by trying the correct entry, so that's done. I've made the new policy file. That's pretty intricate. How did you come to know about such a file? I'm running the emerge world, only six packages so that's good. This updating is so complex. I haven't done it for a while and I suppose I expected it to occur more easily. In gentoo it's very manual even with all the portage and other tools. It's so intricate.

A new xorg.conf. Hmmm, well I may as well try it. Just how do you restart X?? I've seen it suggested a couple of times and have tried it in the past by guessing so what is the required command? A reboot is next and I hope that this protracted fix will finally end.

One minor point I get

Code:

IMPORTANT: 1 config files in '/usr/share/config' need updating.

I've run etc-update. How do you check this file outside of /etc ?

Well I rebooted and get some errors of old, so rebooted again, and it went in. THE MOUSE WORKS
greetings from genny

congratulations andy.

There is a glitch. When you move the cursor to the far right and beyond, the desktop starts shifting left, leaving a region of black. The same with moving the cursor down and beyond. It's not set in position. Is this the screen settings in xorg.conf? So How do I restart X? Otherwise it works, and I've got nvidia full 3d acceleration for the first time unlike in the other 18 month old dentoo with kde3. It must be from setting opengl to nvidia. A great new setting

and andy, if you really want to impress, try this https://forums.gentoo.org/viewtopic-t-803188.html

Otherwise, it's time to close off this protracted thread and move to the next issue which actually uses a gentoo system to do something advanced. I'll wait until I get a reply
_________________
idella4@aus
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54234
Location: 56N 3W

PostPosted: Thu Nov 26, 2009 7:34 pm    Post subject: Reply with quote

idella4,

It seems you are well on the road to recovery.

I didn't mention all the things you need to migrate to Xorg 1.5.3 and later as I wanted to see your Xorg.0.log first.
It would save me a lot of extra typing.
The freetype, DRI and DRI2 warnings can be ignored.

freetype has been removed from gentoo - you can remove it from your xorg.conf to get rid of the warning.
nVidia does not use the Xorg DRI at all, it achieves the same thing its own way. Ignore those warnings.

Your xorg is running with a viewport into the desktop. The desktop is configured to be larger than the screen, so the screen shows a viewport onto the desktop. When you approach the edge of the screen, the viewport moves to show more of the desktop in the direction of mouse movement.

Post (or pastebin) your xorg.conf and the Xorg.0.log it produced. Then we can tell you how to fix that.

Oh, an ABI is an Application Binary Interface. Its the standard that an application uses to communicate between its various parts. All the parts normally have to use the same standard or they won't work together. When the standard is changed, you need to rebuild all of the application. Xorg does thell in its log if you have this issue - you don't
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
aguettinger
Tux's lil' helper
Tux's lil' helper


Joined: 26 Sep 2003
Posts: 84

PostPosted: Thu Nov 26, 2009 10:48 pm    Post subject: Reply with quote

Glad it worked.
As I mentioned in my last post, if you want to know more about how to configure mouse and keyboard via hal/evdev, then the sticky thread in the Desktop environment subforum is the best place to look at.

https://forums.gentoo.org/viewtopic-t-722498.html

I don't know about the chroot problem. I always used chroot from the install cd.
_________________
regards
- andy
Back to top
View user's profile Send private message
idella4
Retired Dev
Retired Dev


Joined: 09 Jun 2006
Posts: 1600
Location: Australia, Perth

PostPosted: Fri Nov 27, 2009 12:28 am    Post subject: Reply with quote

thanks neddy and andy. Read back at andy's entries and you'll see he took mine and modified it and pasted it. That's the xorg.conf, and an Xlog is http://dpaste.com/125275/ from yesterday just before the last fix, and the current http://dpaste.com/125677/
Strange, I was in suse for extraneous reasons, chroot into genny like I've been doing all week to work on her (remember gentoo has a broken chroot) and got no connectivity, just gone, which is what happened 18 months ago. Happily I booted in and she's healthy. The mysteries of suse, but that's another forum
_________________
idella4@aus
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54234
Location: 56N 3W

PostPosted: Fri Nov 27, 2009 2:57 pm    Post subject: Reply with quote

idella4,

I need a selfconsistent xorg.conf and Xorg.0.log as they are now, with no doubts and no chance of them not being a matching set.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
idella4
Retired Dev
Retired Dev


Joined: 09 Jun 2006
Posts: 1600
Location: Australia, Perth

PostPosted: Sat Nov 28, 2009 5:42 am    Post subject: Reply with quote

neddy, yes ok.

xorg.conf

Code:


    EndSubSection
    SubSection     "Display"
        Viewport    0 0
        Depth       16
        Modes      "640x400"
    EndSubSection
    SubSection     "Display"
        Viewport    0 0
        Depth       24
        Modes      "1280x1024" "1024x768" "1600x1200"
    EndSubSection
EndSection



and the xorg log @ http://dpaste.com/126129/

I had a quick look through, and I know it means more to you than I can decipher. It mentions flaws in dri and dri2 modules which can be ignored, that leaves ACPI. thanks for looking at it. I'm keen to tie this thread off, too long already. I've been looking closely at a virtual machine package and its methods and it cites completely alternative graphical support packages to xorg. It would be enough to get a handle on xorg. I'd like to try one out, but I think it's beyond the expected level of knowledge of users and helpers in the gentoo forum. What do you think?
_________________
idella4@aus
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54234
Location: 56N 3W

PostPosted: Sat Nov 28, 2009 2:21 pm    Post subject: Reply with quote

idella4,

Going through your Xorg.0.log line 89-90
Code:
(II) LoadModule: "freetype"
(WW) Warning, couldn't open module freetype

Xorg is automatically trying to load "freetype" but its obsolete and no longer in Gentoo. Ignore it.

Line 107
Code:
(II) LoadModule: "dri"
(WW) Warning, couldn't open module dri
(II) UnloadModule: "dri"
(EE) Failed to load module "dri" (module does not exist, 0)
(II) LoadModule: "dri2"
(WW) Warning, couldn't open module dri2
(II) UnloadModule: "dri2"
(EE) Failed to load module "dri2" (module does not exist, 0)

Xorg is automatically trying to load dri and dri2 but the nVidia driver does not provide them as it does not use them.
These errors can safely be ignored.

Line 161 - this has to do with your viewport issue.
Code:
(II) NVIDIA(0): Validated modes:
(II) NVIDIA(0):     "1280x1024"
(II) NVIDIA(0):     "1024x768"
(II) NVIDIA(0):     "1600x1200"
(II) NVIDIA(0): Virtual screen size determined to be 1600 x 1200

Xorg sets up to drive the screen in the modes listed there, so the desktop size will be 1600 x 1200.

In your xorg.conf you have
Code:
     SubSection     "Display"
        Viewport    0 0
        Depth       24
        Modes      "1280x1024" "1024x768" "1600x1200"
    EndSubSection
The order of the Modes is important. The first mode is what xorg will present you with when it starts, so you have a 1280x1024 viewport onto a 1600x1200 desktop.

Reorder your Modes to be
Code:
Modes    "1600x1200"  "1280x1024" "1024x768"
and Xorg will start with a 1600x1200 viewport on a 1600x1200 desktop, so it just fits. If you never want to use 1600x1200, remove it from the Modes line.

You have the defualt US keyboard layout, as the very last line of the log says
Code:
(**) Option "xkb_layout" "us"
thats ok if you actually have a US keyboard.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
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