LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices



Reply
 
Search this Thread
Old 11-15-2007, 10:51 AM   #1
fronty
LQ Newbie
 
Registered: Nov 2007
Posts: 5

Rep: Reputation: 0
xorg-x11 mouse problem on Gentoo [SOLVED]


Hi

I have installed X.org X11 version 7.2.0 and xfce4 desktop environment on my Gentoo vm. My problem is that X won't show cursors. I installed X via portage. After installing there wasn't any cursors installed, but I tried installing some cursor themes, but none of them works. There are index.theme-files in cursors directories. I've tried to create default/index.theme and write this in it:
Code:
[Icon Theme]
Inherits=gentoo
Mouse is working perfectly, I can press buttons, open menus, &c. so I don't think it's necessary to post my xorg.conf's mouse section.
Running vm on innotek VirtualBox.

Last edited by fronty; 11-19-2007 at 09:25 AM.
 
Old 11-16-2007, 06:45 AM   #2
hgsolari
LQ Newbie
 
Registered: Sep 2007
Distribution: debian
Posts: 25

Rep: Reputation: 17
Quote:
Originally Posted by fronty View Post
Hi

I have installed X.org X11 version 7.2.0 and xfce4 desktop environment on my Gentoo vm. My problem is that X won't show cursors. I installed X via portage. After installing there wasn't any cursors installed, but I tried installing some cursor themes, but none of them works. There are index.theme-files in cursors directories. I've tried to create default/index.theme and write this in it:
[code="index.theme"][Icon Theme]
Inherits=gentoo[/code]
Mouse is working perfectly, I can press buttons, open menus, &c. so I don't think it's necessary to post my xorg.conf's mouse section.
Running vm on innotek VirtualBox.
Try option
Option "SWCursor" "boolean"
or
Option "HWCursor" "boolean"

in your /etc/X11/xorg.conf Device section, the option should be supported by your
Driver module (see same section), it usually is.

(boolean means True or False)

Hernan
 
Old 11-16-2007, 08:51 AM   #3
fronty
LQ Newbie
 
Registered: Nov 2007
Posts: 5

Original Poster
Rep: Reputation: 0
Nope, doesn't work. Tried using both options with both bools, but doesn't work.
 
Old 11-17-2007, 05:47 AM   #4
hgsolari
LQ Newbie
 
Registered: Sep 2007
Distribution: debian
Posts: 25

Rep: Reputation: 17
Quote:
Originally Posted by fronty View Post
Nope, doesn't work. Tried using both options with both bools, but doesn't work.
mmmm I guess we are 100% sure that the driver in use is the correct driver, are we?
the best in case there are two available (a frequent problem with on board controllers). You can use discover to check, or better
X -configure that will produce the back-bone for a new xorg.conf file (outputs to /root/xorg.conf), X should be down to test.

Post the results and the lspci results so we know what is under the hood.

Hernan
 
Old 11-17-2007, 09:22 AM   #5
unobtanium
LQ Newbie
 
Registered: Nov 2007
Location: Harwich England
Distribution: Gentoo
Posts: 13

Rep: Reputation: 0
This may seem a daft question but do you have the following in make.conf?
Code:
INPUT_DEVICES="keyboard mouse"
I have found odd problems occurring when I have forgotten this in the past.
This may be of help to you

Mouse Wiki

Last edited by unobtanium; 11-17-2007 at 10:13 AM. Reason: Added link
 
Old 11-17-2007, 12:25 PM   #6
fronty
LQ Newbie
 
Registered: Nov 2007
Posts: 5

Original Poster
Rep: Reputation: 0
discover output:
Code:
unknown unknown
unknown unknown
Intel Corp. 440FX - 82441FX PMC [Natoma]
Intel Corp. 82371SB PIIX3 ISA [Natoma/Triton II]
Intel Corp. 82371SB PIIX3 IDE [Natoma/Triton II]
unknown unknown
Advanced Micro Devices [AMD] 79c970 [PCnet32 LANCE]
unknown unknown
Intel Corp. 82801AA AC'97 Audio
Intel Corp. 82371AB/EB/MB PIIX4 ACPI
/root/xorg.conf.new's mouse section:
Code:
Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option      "Protocol" "auto"
        Option      "Device" "/dev/input/mice"
        Opion       "ZAxisMapping" "4 5 6 7"
EndSection
Doesn't make any difference.

lspci output:
Code:
00:00.0 Host bridge: Intel Corporation 440FX - 82441FX PMC [Natoma] (rev 02)
00:01.0 ISA bridge: Intel Corporation 82371SB PIIX3 ISA [Natoma/Trion II]
00:01.1 IDE interface: Intel Corporation 82371SB PIIX3 IDE [Natoma/Triton II]
00:02.0 VGA compatible controller: Unknown device 80ee:beef
00:03.0 Ethernet controller: Advanced Micro Devices [AMD] 79c970 [PCnet32 LANCE] (rev 30)
00:04.0 System peripheral: Unknown devece 80ee:cafe
00:05.0 Multimedia audio controller: Intel Corporation 82801AA AC'97 Audio (rev 01)
00:07.0 Bridge: Inter Corporation 82371AB/EB/MB PIIX4 ACPI (rev 08)
 
Old 11-18-2007, 09:48 AM   #7
hgsolari
LQ Newbie
 
Registered: Sep 2007
Distribution: debian
Posts: 25

Rep: Reputation: 17
Quote:
Originally Posted by fronty View Post
discover output:
Code:
unknown unknown
unknown unknown
Intel Corp. 440FX - 82441FX PMC [Natoma]
Intel Corp. 82371SB PIIX3 ISA [Natoma/Triton II]
Intel Corp. 82371SB PIIX3 IDE [Natoma/Triton II]
unknown unknown
Advanced Micro Devices [AMD] 79c970 [PCnet32 LANCE]
unknown unknown
Intel Corp. 82801AA AC'97 Audio
Intel Corp. 82371AB/EB/MB PIIX4 ACPI
/root/xorg.conf.new's mouse section:
Code:
Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option      "Protocol" "auto"
        Option      "Device" "/dev/input/mice"
        Opion       "ZAxisMapping" "4 5 6 7"
EndSection
Doesn't make any difference.

00:02.0 VGA compatible controller: Unknown device 80ee:beef
00:03.0 Ethernet controller: Advanced Micro Devices [AMD] 79c970 [PCnet32 LANCE] (rev 30)
00:04.0 System peripheral: Unknown devece 80ee:cafe
[/code]

OK, my fault, I did not know your level of expertise and posted not-clear-enough
indications.
When I suffered the missing cursor sindrome, the problem was at the "Device" part not at the "ImputDevice" part. What we need to know is which is your video card.
In my not-too-old but not up-to-day pci-ids, there is no entry for 80ee:whatever
(no entry in yours either, you may want to try updating (utility update-pciids),
this means that your video card is made by a relatively new maker.
X -configure tests the modules and will tell you which modules work on your VIDEO-card. The sections needed are
Section "Module"
and
Section "Device"
as an example, mine says:
Section "Device"
Identifier "VIA Technologies, Inc. S3 Unichrome Pro VGA Adapter"
Driver "via"
BusID "PCI:1:0:0"
EndSection
Running on an xterm "xvinfo" would also give important information, it may show no-info if you do not have video extensions supported so far by the driver.

If the only driver that works is the "vesa" driver, you either have to search which is the present support status for your hardware, and upgade it to most recent developments. One of the standard solutions with X is to upgrade to most recent version, but you may have to go to a driver being developed.

The options "HWCursor" and "SWCursor" correspond to the Section "Device", and may or may not be supported by the Driver you are using. After altering /etc/X11/xorg.conf, you must restart X for changes to take effect. This sort is testing is best done in Single user mode (init 1), you just launch X as
X
and zap the driver after checking the effect of the change made (<ctl><alt><bkspace>) (check there is NO DontZap option in xorg.conf)


good luck
Hernan
 
Old 11-18-2007, 11:10 AM   #8
fronty
LQ Newbie
 
Registered: Nov 2007
Posts: 5

Original Poster
Rep: Reputation: 0
Sorry, my bad.

Tried applying HWcursor and SWcursor options in Device-section in the beginning, not in the InputDevice-section.

Device-section:
Code:
Section "Device"
        ### Four rows of comments about options
        Identifier  "Card0"
        Driver      "vboxvideo"
        VendorName  "Unknown Vendor"
        BoardName   "Unknown Board"
        BusID       "PCI:0:2:0"
I'm running this system in Innotek Virtualbox vm, that should explain that vboxvideo and unknown vendor and board. Maybe I should turn to the Virtualbox forum and ask which sort of videocard virtualbox card emulates and which drivers do I need - if available.

Module-section:
Code:
Section "Module"
        Load "glx"
        Load "extmod"
        Load "xtrap"
        Load "record"
        Load "GLcore"
        Load "dbe"
        Load "dri"
        Load "freetype"
        Load "type1"
xvinfo:
Code:
X-Video Extension version 2.2
screen #0
 no adaptors present

Last edited by fronty; 11-18-2007 at 11:39 AM.
 
Old 11-19-2007, 06:27 AM   #9
hgsolari
LQ Newbie
 
Registered: Sep 2007
Distribution: debian
Posts: 25

Rep: Reputation: 17
Smile

OK, this problem apperas to be specific of your box, take a look to:
http://www.virtualbox.org/ticket/558
to make it short, change

Driver "mouse"
to
Driver "vboxmouse"

Hernan
 
Old 11-19-2007, 09:23 AM   #10
fronty
LQ Newbie
 
Registered: Nov 2007
Posts: 5

Original Poster
Rep: Reputation: 0
Thanks, it worked! Good to say in this point, but I should've realized in the beginning to search for vbox-specific solution.

-
Joonas
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
xorg-x11-devel dependant on old version of xorg-x11-libs thetawaverider Linux - Software 1 11-09-2006 08:22 AM
Trouble when emerging xorg-x11 on Gentoo subsequent Linux - General 3 07-17-2006 01:08 AM
Gentoo emege xorg-x11 error Alinuxnoob Linux - General 11 09-22-2005 04:36 PM
Gentoo 2005.1: error emerging xorg-x11 student04 Linux - Distributions 2 09-16-2005 08:43 PM
xorg-x11-libs required by xorg-x11-devel darknails Fedora 1 01-13-2005 03:34 PM


All times are GMT -5. The time now is 08:08 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration