Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Modular X server bugs, annoyances and solutions (Part 1)
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

Goto page Previous  1, 2, 3 ... 35, 36, 37  
This topic is locked: you cannot edit posts or make replies.    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
ticapix
Tux's lil' helper
Tux's lil' helper


Joined: 18 Dec 2003
Posts: 138
Location: France, Paris

PostPosted: Tue Feb 28, 2006 6:01 am    Post subject: Re: Xv Reply with quote

ticapix wrote:
Eckzow wrote:
I'm stumped. I got modular installed and running well enough, but there's two problems.

I should start off by saying I'm using 2.6.15-gentoo-r4 on ~amd64 with ati-drivers 8.21.7.

Problem #1, and most importantly: XVideo appears to be broken?

Code:
$ xvinfo
X-Video Extension version 2.2
screen #0
 no adaptors present


[...]

Hi

I'm nearly in the same situation:
- using ati-drivers-8.22.5
- kernel-2.6.15-gentoo-r1
- xorg-x11-7.0-r1

and xvinfo gives me:
Code:
X-Video Extension version 2.2
screen #0
 no adaptors present


I don't have media-plugins/gst-plugins-xvideo installed.
Code:
~\:0>glxinfo | grep render
direct rendering: Yes
    GLX_ATI_render_texture
OpenGL renderer string: MOBILITY FIREGL T2 Pentium 4 (SSE2) (FireGL) (GNU_ICD)
~\:0>


Code:
~\:0>cat /var/log/Xorg.0.log | grep -i -A 1 Xv
(II) Loading extension XVideo
(II) Loading extension XVideo-MotionCompensation
(II) Loading extension X-Resource
~\:0>


Do you know how to get xvinfo back ?

Pierre



*Solved* for me !

I added:
Option "VideoOverlay" "on"

Code:
Section "Device"
#       Option      "OpenGLOverlay" "off"
        Option      "VideoOverlay" "on"
        Identifier  "ATI Graphics Adapter 0"
        Driver      "fglrx"
        Option      "DesktopSetup" "horizontal"
#       Option      "DesktopSetup" "Clone"
        Option      "PowerState" "1"
        Option      "UseInternalAGPGART" "off"
        BusID       "PCI:1:0:0"
EndSection


Pierre
Back to top
View user's profile Send private message
hammy
Tux's lil' helper
Tux's lil' helper


Joined: 26 Nov 2004
Posts: 91
Location: Sacramento, CA

PostPosted: Tue Feb 28, 2006 12:08 pm    Post subject: Reply with quote

thomaschik wrote:
I have installed XOrg 7, but the scroll lock doesn't work. When I turn off the num lock or caps lock the scroll lock LED lights up, and it doesn't respond to the scroll lock button. There is no problem in the console terminal environment. Anyone has any idea to fix this?


I'm experiencing the exact same behavior. I have a MS Natural keyboard (101 keys) and I'm using the following section in xorg.conf:
Code:
# **********************************************************************
# Core keyboard's InputDevice section
# **********************************************************************

Section "InputDevice"

    Identifier  "Keyboard0"
    Driver      "kbd"
    Option     "XkbModel"      "pc101"
    Option     "XkbLayout"     "us"
    Option     "XkbVariant"    ""
    Option     "XkbOptions"    ""

EndSection


Which ought to give me the barebones default US English layout.

Instead it gives me that strange numlock vs scroll lock dance, and CTRL+ALT+F# won't work.

Putting the following into xorg.conf fixes the issue, but causes GNOME to kick out errors about xklavier and xkbd:
Code:
Section "ServerFlags"

    Option "XkbDisable"

EndSection

_________________
arbiter_dev @ irc.freenode.net

Silent PC Review - It doesn't have to be loud
Back to top
View user's profile Send private message
RaZoR1394
Guru
Guru


Joined: 09 Jan 2005
Posts: 356

PostPosted: Tue Feb 28, 2006 3:52 pm    Post subject: Black screen Reply with quote

I just emerged the new X.org by following the guide over at gentoo-wiki.com. Unfortunately the computer locks up (screen blacks out, still ssh:able) and I'm unable to restart X (/etc/init.d/xdm restart). I've tried several combinations of X.org options.

First some info:

kernel: 2.6.16-rc3-nitro1 (also tried the latest gentoo and the previous nitro)
graphics: Ati Radeon X850XT

What I've tried:

* Switching between evdev and keyboard+mouse
* Switched graphics driver between vesa, ati, radeon and fglrx.
* Creating config from scratch with xorgconfig and /opt/ati/bin/aticonfig --initial --input=/etc/X11/xorg.conf
* Using some old config files from Xorg 6.8.2.

Relevant part of log (fglrx):

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)


Code:

(II) Loading sub module "drm"
(II) LoadModule: "drm"
(WW) Warning, couldn't open module drm
(II) UnloadModule: "drm"
(EE) fglrx: Failed to load module "drm" (module does not exist, 0)


Code:

(II) fglrx(0): driver needs X.org 6.8.x.y with x.y >= 99.8
(II) fglrx(0): detected X.org 7.0.0.0
(WW) fglrx(0): ***********************************************
(WW) fglrx(0): * DRI initialization failed!                  *
(WW) fglrx(0): * (maybe driver kernel module missing or bad) *
(WW) fglrx(0): * 2D acceleraton available (MMIO)             *
(WW) fglrx(0): * no 3D acceleration available                *
(WW) fglrx(0): ********************************************* *


Relevant part of log (vesa):

Code:

(II) VESA(0): VBESetVBEMode failed
(EE) VESA(0): Set VBE Mode failed!

Fatal server error:
AddScreen/ScreenInit failed for driver 0


Files:

Xorg log -> http://www.razoreye.org/files/xorg/Xorg.0.log.fglrx_config_from_scratch.txt
xorg config -> http://www.razoreye.org/files/xorg/xorg.conf.fglrx_kbd_mouse-from_scratch.txt

Thoughts:

I've already added the dri useflag to INPUT_DEVICES so I don't know what it is complaining about.

***EDIT***

I got into KDM and later into KDE with one of my old configs and the radeon driver. Resolution is horrible (640*480) and my keys don't work properly.
_________________
http://en.wikipedia.org/wiki/Cell_(microprocessor)


Last edited by RaZoR1394 on Wed Mar 01, 2006 12:36 pm; edited 2 times in total
Back to top
View user's profile Send private message
taipan67
l33t
l33t


Joined: 04 Dec 2004
Posts: 866
Location: England (i'm told...)

PostPosted: Tue Feb 28, 2006 4:15 pm    Post subject: Re: Black screen Reply with quote

hammy wrote:
I have a MS Natural keyboard (101 keys)...

Maybe, in your case, try :-
Code:
Option     "XkbModel"      "microsoft"

...Just a guess - i'm still struggling with my 'pc105' British layout... :roll:

RaZoR1394 wrote:
...I've already added the dri useflag to INPUT_DEVICES so I don't know what it is complaining about.

Did you also add the 'dri' USE-flag to 'xorg-server'? :?
_________________
"Anyone who goes to see a psychiatrist should have their head examined!"
Back to top
View user's profile Send private message
RaZoR1394
Guru
Guru


Joined: 09 Jan 2005
Posts: 356

PostPosted: Tue Feb 28, 2006 6:34 pm    Post subject: Re: Black screen Reply with quote

taipan67 wrote:

RaZoR1394 wrote:
...I've already added the dri useflag to INPUT_DEVICES so I don't know what it is complaining about.

Did you also add the 'dri' USE-flag to 'xorg-server'? :?


Thanks, didn't see anything about that in the wiki guide. Altough dri and drm gets loaded radeon is the only driver that works together with 640*480. With ati and vesa it jumps back to the console and with fglrx the screen locks up.

I've tried setting the opengl library as ati again:

Code:
#eselect opengl set ati


I also found that this option could be of help for those with "black screens":

xorg.conf wrote:

Option "ForceMonitors" "notv"


None of them helped though.

edit:

Fixed the resolution problem! fglrx still locks up though. I changed

Code:

 Option "MonitorLayout"              "AUTO, AUTO"


to

Code:

 Option "MonitorLayout"              "TMDS, NONE"


Now I just need to get fglrx and XGL working.

edit:

Just tried different kernels and noticed that I'm getting:

Quote:

FATAL: Error inserting fglrx (/lib/modules/2.6.15-gentoo-r1/video/fglrx.ko): Unknown symbol in module, or unknown parameter (see dmesg)


dmesg wrote:

fglrx: Unknown symbol verify_area
fglrx: Unknown symbol register_ioctl32_conversion
fglrx: Unknown symbol unregister_ioctl32_conversion


on some of them. On 2.6.16-rc3-nitro1 it even tries to load the 2.6.16-rc2-nitro module. I've removed the module and reemerged it without any luck. I did also try the previous driver. And yes the symlinks and .config files are correct.
_________________
http://en.wikipedia.org/wiki/Cell_(microprocessor)


Last edited by RaZoR1394 on Tue Feb 28, 2006 10:18 pm; edited 1 time in total
Back to top
View user's profile Send private message
taipan67
l33t
l33t


Joined: 04 Dec 2004
Posts: 866
Location: England (i'm told...)

PostPosted: Tue Feb 28, 2006 8:44 pm    Post subject: Reply with quote

RaZoR1394, for the 'fglrx' module to work, 'ati-drivers' must be emerged on a system where the /usr/src/linux symlink points to the source-tree of the kernel it is to work with, & also that the '.config' file in that source-tree also matches said kernel.

One habit i've maintained for a long time is to always use a different 'Local version' whenever i build a kernel. This is an option in the 'General settings' section of 'menuconfig', & it ensures that all kernel-modules are installed in a uniquely-named sub-directory of /lib/modules - it avoids things like conflicting modules being found in the same directory, or externally-built modules (like 'fglrx') being installed in another kernel's search-path. :wink:
_________________
"Anyone who goes to see a psychiatrist should have their head examined!"
Back to top
View user's profile Send private message
Anthony55789
Tux's lil' helper
Tux's lil' helper


Joined: 18 Jan 2005
Posts: 126

PostPosted: Wed Mar 01, 2006 11:42 am    Post subject: Reply with quote

Hello,
why after installed xorg 7.0 it's not boot up and xorg log says:
Code:
(**) Keyboard1: XkbLayout: "it"
(WW) Option "XkbVariant" requires an string value
(WW) Option "XkbOptions" requires an string value
(**) Option "CustomKeycodes" "off"
(**) Keyboard1: CustomKeycodes disabled
(II) XINPUT: Adding extended input device "Keyboard1" (type: KEYBOARD)
(II) XINPUT: Adding extended input device "Mouse1" (type: MOUSE)
(II) Mouse1: ps2EnableDataReporting: succeeded

Fatal server error:
could not open default font 'fixed'

This is my /usr/share/fonts path with list of default dir:
Code:
localhost fonts # dir
100dpi  Speedo  Type1      cyrillic  encodings      freefont  misc        ttf-bitstream-vera  util
75dpi   TTF     corefonts  default   fonts.cache-1  local     sharefonts  ukr
localhost default # dir
fonts.cache-1  ghostscript

Can we help me?
Back to top
View user's profile Send private message
RaZoR1394
Guru
Guru


Joined: 09 Jan 2005
Posts: 356

PostPosted: Wed Mar 01, 2006 11:52 am    Post subject: Reply with quote

taipan67 wrote:
RaZoR1394, for the 'fglrx' module to work, 'ati-drivers' must be emerged on a system where the /usr/src/linux symlink points to the source-tree of the kernel it is to work with, & also that the '.config' file in that source-tree also matches said kernel.

One habit i've maintained for a long time is to always use a different 'Local version' whenever i build a kernel. This is an option in the 'General settings' section of 'menuconfig', & it ensures that all kernel-modules are installed in a uniquely-named sub-directory of /lib/modules - it avoids things like conflicting modules being found in the same directory, or externally-built modules (like 'fglrx') being installed in another kernel's search-path. :wink:


Yeah I know lol. Something else is wrong. But it doesn't matter as I've reverted back to a kernel that works (2.6.15-gentoo-r5) where fglrx loads fine.

As you see the fglrx dri works fine but the screen turns black. According to that FBADPhys message I've tried booting without framebuffer without any difference.

Quote:

(II) fglrx(0): [drm] register handle = 0xfd7f0000
(II) fglrx(0): [pcie] 65536 kB allocated with handle 0xdeadbeef
(II) fglrx(0): [drm] ringbuffer size = 0x00100000 bytes
(II) fglrx(0): [drm] DRM buffer queue setup: nbufs = 100 bufsize = 65536
(II) fglrx(0): [drm] texture shared area handle = 0x10ad4000
(II) fglrx(0): shared FSAAScale=1
(II) fglrx(0): DRI initialization successfull!
(II) fglrx(0): FBADPhys: 0xd0000000 FBMappedSize: 0x00701000


edit: Bah, wrong module loading was actually just a wrong entry in grub. It booted rc2 while I though it booted rc3 :).
_________________
http://en.wikipedia.org/wiki/Cell_(microprocessor)


Last edited by RaZoR1394 on Wed Mar 01, 2006 12:57 pm; edited 2 times in total
Back to top
View user's profile Send private message
PaulBredbury
Watchman
Watchman


Joined: 14 Jul 2005
Posts: 7310

PostPosted: Wed Mar 01, 2006 12:14 pm    Post subject: Reply with quote

Anthony55789 wrote:
could not open default font 'fixed'

See the wiki.
Back to top
View user's profile Send private message
data
n00b
n00b


Joined: 15 Jan 2004
Posts: 17
Location: France

PostPosted: Thu Mar 02, 2006 3:16 pm    Post subject: deadkeys and xkeyboard-config vs xkbdata Reply with quote

Hi everyone,

Since I moved to modular xorg, I cannot use deadkeys anymore (with us-dvorak for instance). They are still included in the layout files but have no effect.

Also I understand that xkeyboard-config is to be used rather than xkbdata. However after having installed xkeyboard-config I can't seem to change layouts by pressing on both shift keys (grp:shifts_toggle option) and the caps lock key hasn't become a control key.

No errors in the logs except this one possibly suspicious line.
Code:
(==) Keyboard: CustomKeycode disabled


I can't find anything about this in the forum but sorry if I've missed something. Any ideas ?

This is my keyboard config.
Code:

Section "InputDevice"
        Identifier  "Keyboard"
        Driver      "keyboard"
        Option      "AutoRepeat" "500 30"
        Option      "XkbRules" "xorg"
        Option      "XkbModel" "pc105"
        Option      "XkbLayout" "us,fr,fr"
        Option      "XkbVariant" "dvorak,latin9,dvorak"
        Option      "XkbOptions" "ctrl:nocaps,eurosign:e,grp:shifts_toggle"
EndSection
Back to top
View user's profile Send private message
data
n00b
n00b


Joined: 15 Jan 2004
Posts: 17
Location: France

PostPosted: Thu Mar 02, 2006 10:48 pm    Post subject: Re: deadkeys and xkeyboard-config vs xkbdata Reply with quote

data wrote:

Also I understand that xkeyboard-config is to be used rather than xkbdata. However after having installed xkeyboard-config I can't seem to change layouts by pressing on both shift keys (grp:shifts_toggle option) and the caps lock key hasn't become a control key.

It seems that since I installed xkeyboard-config instead of xkbdata, xorg has been using the console layout (the one that you set with loadkeys) and ignoring the keyboard lines from xorg.conf. That explains why I can't use deadkeys and why group switching with the shift buttons doesn't work.

I've tried commenting out all the XkbOptions and Variants and Rules but nothing changes. When I try to setxkbmap I get an Error loading new keyboard description and the following line in the logs.
Code:
(EE) Error loading keymap /var/tmp/server-0.xkm


Could this be a bug in xkeyboard-config or in the Gentoo ebuild ? There doesn't seem to be much difference between the xkeyboard-config files and the xkbdata files. Maybe something hasn't been compiled properly.
Back to top
View user's profile Send private message
Kaste
Guru
Guru


Joined: 21 Dec 2005
Posts: 546
Location: /home Sweet /home

PostPosted: Thu Mar 02, 2006 11:48 pm    Post subject: Reply with quote

Did anyone else have this Problem:
Code:
(EE) ioctl EVIOCGBIT failed: Inappropriate ioctl for device
(EE) PreInit failed for input device "Mouse[2]"


After this message the screen gets totally borked and ctrl alt f* as well as ctrl bkspc won't work so all i have left is the ctrl alt del.

I found a proposed solution for a logitech mouse in this thread earlier on but i couldn't get it to work with my Intellimouse Explorer.
relevant section from my xorg.conf
Code:

Section "InputDevice"
  Identifier      "Mouse[2]"
  Driver        "evdev"
  Option        "Device"        "/dev/input/IMEXP"
 # Option "Buttons"    "9"
  #Option "ZAxisMapping"   "6 7 8 9"
  #Option "Dev Phys"  "usb-0000:00:1d.1-2/input0"
  #Option "Dev Name"  "Microsoft Microsoft IntelliMouse® Explorer"
EndSection
...
InputDevice  "Mouse[1]" "CorePointer"
InputDevice  "Mouse[2]" "SendCoreEvents"

where
the commented out bits are part of the solution. I also tried to change the mouse to corepointer but the result was the same.
The udev rule works fine, /dev/input/IMEXP exists and cat shows me activitiy if i move the mouse.
Anyone else had this before and preferably solved it?

PS: Can someone PLEASE divide this thread. Searching 40 pages for some occurence of something is next to impossible.
Back to top
View user's profile Send private message
_kal_
l33t
l33t


Joined: 04 Mar 2005
Posts: 602
Location: Paris

PostPosted: Fri Mar 03, 2006 12:39 am    Post subject: Reply with quote

Hello,

I have a problem when I want to compil xorg 7.0. Indeed, i have to unmerge old xorg beforce, and it removes a lot of files in /usr/include/X11. Then, lib package such as libXi or libXxf86vm don't find headers file while compiling and crash...

How can i solve that?

Thank ;)
Back to top
View user's profile Send private message
ticapix
Tux's lil' helper
Tux's lil' helper


Joined: 18 Dec 2003
Posts: 138
Location: France, Paris

PostPosted: Fri Mar 03, 2006 1:55 am    Post subject: Reply with quote

PaulBredbury wrote:
Anthony55789 wrote:
could not open default font 'fixed'

See the wiki.


I have emerge a lot of fonts, still I have error with root-tail for exemple:
Code:
Missing charsets in String to FontSet conversion (ISO8859-15)
unable to create fontset for font 'fixed', exiting.

or emacs that don't load the font fixed by default (need to do Shift+Left_clic: Font menu -> misc -> fixed)

Fonts that I have emerged:
Code:
emerge -va  media-libs/freetype media-fonts/corefonts media-fonts/freefonts
emerge --newuse --noreplace freetype corefonts freefonts artwiz-fonts sharefonts         terminus-font ttf-bitstream-vera unifont dejavu xorg-x11 -va
emerge -av font-adobe-100dpi font-adobe-75dpi font-adobe-utopia-100dpi font-adobe-utopia-75dpi font-bh-100dpi font-bh-75dpi font-bh-type1 font-bh-lucidatypewriter-100dpi font-bh-lucidatypewriter-75dpi font-bitstream-100dpi font-bitstream-75dpi ttf-bitstream-vera
Back to top
View user's profile Send private message
nesl247
Veteran
Veteran


Joined: 15 Jun 2004
Posts: 1614
Location: Florida

PostPosted: Fri Mar 03, 2006 4:31 am    Post subject: Reply with quote

For some reason, anytime I close X (last few days I think. Possible since the last mouse driver (xf86-input-mouse-1.0.4)).

Xorg.conf:
Code:
# **********************************************************************
# Module section -- this  section  is used to specify
# which dynamically loadable modules to load.
# **********************************************************************
#
Section "Module"

# This loads the DBE extension module.

    Load        "dbe"     # Double buffer extension

# This loads the miscellaneous extensions module, and disables
# initialisation of the XFree86-DGA extension within that module.
    SubSection  "extmod"
      Option    "omit xfree86-dga"   # don't initialise the DGA extension
    EndSubSection

# This loads the font modules
#    Load        "type1"
#    Load        "speedo"
    Load        "freetype"
#    Load        "xtt"

# This loads the GLX module
    Load       "glx"
#    Load   "dri"
EndSection

# **********************************************************************
# Files section.  This allows default font and rgb paths to be set
# **********************************************************************

Section "Files"

# The location of the RGB database.  Note, this is the name of the
# file minus the extension (like ".txt" or ".db").  There is normally
# no need to change the default.

    RgbPath   "/usr/share/X11/rgb"

# Multiple FontPath entries are allowed (which are concatenated together),
# as well as specifying multiple comma-separated entries in one FontPath
# command (or a combination of both methods)
#
#

    FontPath    "/usr/share/fonts/local"
    FontPath    "/usr/share/fonts/misc:unscaled"
    FontPath    "/usr/share/fonts/Type1"
    FontPath    "/usr/share/fonts/TTF"
    FontPath    "/usr/share/fonts/corefonts"
    FontPath    "/usr/share/fonts/sharefonts"
    FontPath    "/usr/share/fonts/terminus"
    FontPath    "/usr/share/fonts/ttf-bitstream-vera"
    FontPath    "/usr/share/fonts/unifont"
    FontPath    "/usr/share/fonts/75dpi:unscaled"
    FontPath    "/usr/share/fonts/100dpi:unscaled"
    FontPath    "/usr/share/fonts/artwiz"
    FontPath    "/usr/local/share/fonts"

# The module search path.  The default path is shown here.

#    ModulePath "/usr/lib/modules"

EndSection

# **********************************************************************
# Server flags section.
# **********************************************************************

Section "ServerFlags"

# Uncomment this to cause a core dump at the spot where a signal is
# received.  This may leave the console in an unusable state, but may
# provide a better stack trace in the core dump to aid in debugging

#    Option "NoTrapSignals"

# Uncomment this to disable the <Ctrl><Alt><Fn> VT switch sequence
# (where n is 1 through 12).  This allows clients to receive these key
# events.

#    Option "DontVTSwitch"

# Uncomment this to disable the <Ctrl><Alt><BS> server abort sequence
# This allows clients to receive this key event.

#    Option "DontZap"

# Uncomment this to disable the <Ctrl><Alt><KP_+>/<KP_-> mode switching
# sequences.  This allows clients to receive these key events.

#    Option "Dont Zoom"

# Uncomment this to disable tuning with the xvidtune client. With
# it the client can still run and fetch card and monitor attributes,
# but it will not be allowed to change them. If it tries it will
# receive a protocol error.

#    Option "DisableVidModeExtension"

# Uncomment this to enable the use of a non-local xvidtune client.

#    Option "AllowNonLocalXvidtune"

# Uncomment this to disable dynamically modifying the input device
# (mouse and keyboard) settings.

#    Option "DisableModInDev"

# Uncomment this to enable the use of a non-local client to
# change the keyboard or mouse settings (currently only xset).

#    Option "AllowNonLocalModInDev"

EndSection

# **********************************************************************
# Core keyboard's InputDevice section
# **********************************************************************

Section "InputDevice"

    Identifier   "Keyboard1"
    Driver   "kbd"
    Option "AutoRepeat" "500 30"
    Option "XkbRules"   "xorg"
    Option "XkbModel"   "pc104"
    Option "XkbLayout"   "us"

EndSection


# **********************************************************************
# Core Pointer's InputDevice section
# **********************************************************************

Section "InputDevice"

# Identifier and driver
    Identifier   "Mouse1"
    Driver   "mouse"
    Option "Protocol"    "IMPS/2"   # IntelliMouse PS/2
    Option "Device"      "/dev/psaux"
    Option "ZAxisMapping"   "4 5"
    Option "Buttons"     "5"
EndSection

Section "InputDevice"
   Identifier   "Mouse2"
   Driver      "evdev"
   Option      "Device" "/dev/input/mx1000"
EndSection


# **********************************************************************
# Monitor section
# **********************************************************************

# Any number of monitor sections may be present

Section "Monitor"

    Identifier  "Samsung"
    HorizSync   31.5 - 79.0
    VertRefresh 50-90

EndSection


# **********************************************************************
# Graphics device section
# **********************************************************************

Section "Device"
    Identifier  "Nvidia"
    Driver      "nvidia"
    Option   "NoLogo" "true"
    Option   "RenderAccel" "True"
    Option      "backingstore" "true"
    Option      "AllowGLXWithComposite" "true"
EndSection


# **********************************************************************
# Screen sections
# **********************************************************************

# Any number of screen sections may be present.  Each describes
# the configuration of a single screen.  A single specific screen section
# may be specified from the X server command line with the "-screen"
# option.
Section "Screen"
    Identifier  "Screen 1"
    Device      "Nvidia"
    Monitor     "Samsung"
    DefaultDepth 24

    Subsection "Display"
        Depth       8
        Modes       "800x600"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       16
        Modes       "1024x768"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       24
        Modes       "1280x1024"
        ViewPort    0 0
    EndSubsection
EndSection

Section "ServerLayout"
    Identifier  "Simple Layout"
    Screen "Screen 1"
#    InputDevice "Mouse1" "CorePointer"
#    InputDevice "Mouse1" "SendCoreEvents"
    InputDevice "Mouse2" "CorePointer"
    InputDevice "Keyboard1" "CoreKeyboard"
EndSection
Back to top
View user's profile Send private message
MorLipf
Apprentice
Apprentice


Joined: 09 Nov 2004
Posts: 226
Location: Solingen, Germany

PostPosted: Fri Mar 03, 2006 12:14 pm    Post subject: Reply with quote

I updated to Xorg-x11-7.0.0-r1 and removed all old config files. After recreating them and trying to start with "kdm" I get a wrong resolution.
It looks very strange, my TFT says it is the resolution 1278x1022. How can I fix this?

I'm using the regular "radeon" driver without dri.
Back to top
View user's profile Send private message
PaveQ
Apprentice
Apprentice


Joined: 11 Feb 2005
Posts: 225
Location: Finland

PostPosted: Fri Mar 03, 2006 1:22 pm    Post subject: Reply with quote

Error when updating mouse drivers:
Code:
mouse.c:3085: error: (near initialization for `softProtocolList[2]')
mouse.c:3086: error: initializer element is not constant
mouse.c:3086: error: (near initialization for `softProtocolList[3]')
mouse.c:3086: error: initializer element is not constant
mouse.c:3086: error: (near initialization for `softProtocolList[4]')
mouse.c:3087: error: initializer element is not constant
mouse.c:3087: error: (near initialization for `softProtocolList[5]')
mouse.c:3087: error: initializer element is not constant
mouse.c:3087: error: (near initialization for `softProtocolList[6]')
mouse.c:3088: error: initializer element is not constant
mouse.c:3088: error: (near initialization for `softProtocolList[7]')
mouse.c:3088: error: initializer element is not constant
mouse.c:3088: error: (near initialization for `softProtocolList[8]')
mouse.c:3089: error: initializer element is not constant
mouse.c:3089: error: (near initialization for `softProtocolList[9]')
mouse.c:3089: error: initializer element is not constant
mouse.c:3089: error: (near initialization for `softProtocolList[10]')
mouse.c:3090: error: initializer element is not constant
mouse.c:3090: error: (near initialization for `softProtocolList[11]')
mouse.c:3091: error: initializer element is not constant
mouse.c:3091: error: (near initialization for `softProtocolList[12]')
mouse.c:3091: error: initializer element is not constant
mouse.c:3091: error: (near initialization for `softProtocolList[13]')
mouse.c:3092: error: initializer element is not constant
mouse.c:3092: error: (near initialization for `softProtocolList[14]')
mouse.c:3093: error: initializer element is not constant
mouse.c:3093: error: (near initialization for `softProtocolList[15]')
mouse.c:3095: error: initializer element is not constant
mouse.c:3095: error: (near initialization for `softProtocolList[16]')
mouse.c:3095: warning: data definition has no type or storage class
mouse.c:3098: error: parse error before "pInfo"
mouse.c: In function `autoOSProtocol':
mouse.c:3100: error: `MouseDevPtr' undeclared (first use in this function)
mouse.c:3100: error: parse error before "pMse"
mouse.c:3102: error: `MouseProtocolID' undeclared (first use in this function)
mouse.c:3102: error: parse error before "protocolID"
mouse.c:3105: error: invalid type argument of `->'
mouse.c:3106: error: invalid type argument of `->'
mouse.c:3106: error: `pInfo' undeclared (first use in this function)
mouse.c:3106: error: `protoPara' undeclared (first use in this function)
mouse.c:3112: error: invalid type argument of `->'
mouse.c:3112: error: invalid type argument of `->'
mouse.c:3121: error: `PROT_UNSUP' undeclared (first use in this function)
mouse.c:3134: error: `X_PROBED' undeclared (first use in this function)
mouse.c:3138: error: `HAVE_GUESS_PROTOCOL' undeclared (first use in this function)
mouse.c:3138: error: invalid type argument of `->'
mouse.c:3139: error: invalid type argument of `->'
mouse.c:3145: error: `pMse' undeclared (first use in this function)
mouse.c: At top level:
mouse.c:3156: error: parse error before "pMse"
mouse.c: In function `createProtoList':
mouse.c:3159: error: `MouseProtocolID' undeclared (first use in this function)
mouse.c:3159: error: parse error before "prot"
mouse.c:3161: error: parse error before "mPriv"
mouse.c:3162: error: `tmplist' undeclared (first use in this function)
mouse.c:3166: error: `mPriv' undeclared (first use in this function)
mouse.c:3182: error: `prot' undeclared (first use in this function)
mouse.c:3184: error: `Bool' undeclared (first use in this function)
mouse.c:3184: error: parse error before "bad"
mouse.c:3237: error: `bad' undeclared (first use in this function)
mouse.c:3237: error: `FALSE' undeclared (first use in this function)
mouse.c:3241: error: `TRUE' undeclared (first use in this function)
mouse.c: In function `createSerialDefaultsList':
mouse.c:3299: warning: cast to pointer from integer of different size
mouse.c:3302: error: request for member `name' in something not a structure or union
mouse.c:3303: error: request for member `defaults' in something not a structure or union
mouse.c:3306: error: request for member `defaults' in something not a structure or union
mouse.c:3310: warning: cast to pointer from integer of different size
mouse.c:3311: error: request for member `defaults' in something not a structure or union
mouse.c: At top level:
mouse.c:3329: error: parse error before "mPriv"
mouse.c: In function `validCount':
mouse.c:3331: error: `inSync' undeclared (first use in this function)
mouse.c:3332: error: `mPriv' undeclared (first use in this function)
mouse.c:3346: error: `lostSync' undeclared (first use in this function)
mouse.c: At top level:
mouse.c:3367: error: parse error before "pInfo"
mouse.c: In function `autoProbeMouse':
mouse.c:3369: error: `MouseDevPtr' undeclared (first use in this function)
mouse.c:3369: error: parse error before "pMse"
mouse.c:3372: error: `MouseProtocolID' undeclared (first use in this function)
mouse.c:3372: error: `protocolList' undeclared (first use in this function)
mouse.c:3375: error: `mPriv' undeclared (first use in this function)
mouse.c:3377: error: `inSync' undeclared (first use in this function)
mouse.c:3397: error: `pMse' undeclared (first use in this function)
mouse.c:3401: error: `pInfo' undeclared (first use in this function)
mouse.c:3412: error: `lostSync' undeclared (first use in this function)
mouse.c:3417: error: `X_INFO' undeclared (first use in this function)
mouse.c:3516: error: `pointer' undeclared (first use in this function)
mouse.c:3516: error: parse error before "serialDefaults"
mouse.c:3523: error: `serialDefaults' undeclared (first use in this function)
mouse.c:3527: error: parse error before "tmp"
mouse.c:3528: error: `tmp' undeclared (first use in this function)
mouse.c:3537: error: parse error before "proto"
mouse.c:3543: error: invalid type argument of `->'
mouse.c: At top level:
mouse.c:3564: error: parse error before "autoGood"
mouse.c:3564: error: parse error before "pMse"
mouse.c: In function `autoGood':
mouse.c:3566: error: parse error before "mPriv"
mouse.c:3568: error: `pMse' undeclared (first use in this function)
mouse.c:3569: error: `TRUE' undeclared (first use in this function)
mouse.c:3571: error: `mPriv' undeclared (first use in this function)
mouse.c:3582: error: `FALSE' undeclared (first use in this function)
mouse.c: At top level:
mouse.c:3594: error: parse error before "pInfo"
mouse.c: In function `checkForErraticMovements':
mouse.c:3596: error: `MouseDevPtr' undeclared (first use in this function)
mouse.c:3596: error: parse error before "pMse"
mouse.c:3599: error: `mPriv' undeclared (first use in this function)
mouse.c:3607: error: `dx' undeclared (first use in this function)
mouse.c:3621: error: `dy' undeclared (first use in this function)
mouse.c:3643: error: `pInfo' undeclared (first use in this function)
mouse.c:3643: error: `FALSE' undeclared (first use in this function)
mouse.c:3643: error: `TRUE' undeclared (first use in this function)
mouse.c: At top level:
mouse.c:3648: error: parse error before "pMse"
mouse.c: In function `SetMouseProto':
mouse.c:3650: error: `pMse' undeclared (first use in this function)
mouse.c:3658: error: `TRUE' undeclared (first use in this function)
mouse.c: At top level:
mouse.c:3665: error: parse error before "collectData"
mouse.c:3665: error: parse error before "pMse"
mouse.c: In function `collectData':
mouse.c:3667: error: parse error before "mPriv"
mouse.c:3668: error: `mPriv' undeclared (first use in this function)
mouse.c:3669: error: `u' undeclared (first use in this function)
mouse.c:3671: error: `TRUE' undeclared (first use in this function)
mouse.c:3674: error: `FALSE' undeclared (first use in this function)
mouse.c: At top level:
mouse.c:2413: error: storage size of `proto' isn't known
make[2]: *** [mouse.lo] Error 1
make[2]: Leaving directory `/var/tmp/portage/xf86-input-mouse-1.0.4/work/xf86-input-mouse-1.0.4/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/xf86-input-mouse-1.0.4/work/xf86-input-mouse-1.0.4'
make: *** [all] Error 2

!!! ERROR: x11-drivers/xf86-input-mouse-1.0.4 failed.
Call stack:
  ebuild.sh, line 1933:   Called dyn_compile
  ebuild.sh, line 971:   Called src_compile
  ebuild.sh, line 1648:   Called x-modular_src_compile
  x-modular.eclass, line 304:   Called x-modular_src_make

!!! emake failed
!!! If you need support, post the topmost build error, and the call stack if relevant.


What I'm missing?
Back to top
View user's profile Send private message
ikshaar
Veteran
Veteran


Joined: 23 Jul 2002
Posts: 1339
Location: Baltimore, MD

PostPosted: Fri Mar 03, 2006 4:06 pm    Post subject: Reply with quote

Kaste wrote:

Code:

Section "InputDevice"
  Identifier      "Mouse[2]"
  Driver        "evdev"
  Option        "Device"        "/dev/input/IMEXP"
 # Option "Buttons"    "9"
  #Option "ZAxisMapping"   "6 7 8 9"
  #Option "Dev Phys"  "usb-0000:00:1d.1-2/input0"
  #Option "Dev Name"  "Microsoft Microsoft IntelliMouse® Explorer"
EndSection
...
InputDevice  "Mouse[1]" "CorePointer"
InputDevice  "Mouse[2]" "SendCoreEvents"


When you use evdev, device must be event type... check evdev setup for more details :
https://forums.gentoo.org/viewtopic.php?t=198534

Code:
Option "Device" "/dev/input/event1"

_________________
"May God stands between you and harm in all the empty places where you must walk" - Babylon 5
Back to top
View user's profile Send private message
Kaste
Guru
Guru


Joined: 21 Dec 2005
Posts: 546
Location: /home Sweet /home

PostPosted: Fri Mar 03, 2006 4:34 pm    Post subject: Reply with quote

Thanks but those devices seem to be empty though. When i do a cat /dev/input/event? i don't get anything for any of the four.
As far as i understood it the udev rule just maps the input of the mouse into the device node and those should then be equivalent.
The name doesn't matter i think, or does it? Does the driver try to classify the input type by the name of the node?

It seems to work here
Maybe i just malformed something, because i get the same error when the node doesn't exist. But then the node works so it would have to be in the xorg.conf. I don't get it :(

Quote:

For some reason, anytime I close X (last few days I think.


I think theres something missing in this sentence. Could you please clarify nesl247
Back to top
View user's profile Send private message
ikshaar
Veteran
Veteran


Joined: 23 Jul 2002
Posts: 1339
Location: Baltimore, MD

PostPosted: Fri Mar 03, 2006 6:03 pm    Post subject: Reply with quote

well are you sure you compiled it in your kernel ?
_________________
"May God stands between you and harm in all the empty places where you must walk" - Babylon 5
Back to top
View user's profile Send private message
nesl247
Veteran
Veteran


Joined: 15 Jun 2004
Posts: 1614
Location: Florida

PostPosted: Fri Mar 03, 2006 6:47 pm    Post subject: Reply with quote

Meant to say "Anytime I close X, I get a hardlock".
Back to top
View user's profile Send private message
MorLipf
Apprentice
Apprentice


Joined: 09 Nov 2004
Posts: 226
Location: Solingen, Germany

PostPosted: Sat Mar 04, 2006 8:35 am    Post subject: Reply with quote

I checked my configs a second time and started KDE with the "radeon" driver which I want to use.
In the KDE control panel it says that the resolution is only 640x480 but in the xorg.conf I there is 1280x1024 available.
Recreate the xorg.conf does not help.

Can someone help me to fix this?
Back to top
View user's profile Send private message
Maedhros
Bodhisattva
Bodhisattva


Joined: 14 Apr 2004
Posts: 5511
Location: Durham, UK

PostPosted: Sat Mar 04, 2006 1:26 pm    Post subject: Reply with quote

Please follow up to Modular X server bugs, annoyances and solutions (Part 2)
_________________
No-one's more important than the earthworm.
Back to top
View user's profile Send private message
Display posts from previous:   
This topic is locked: you cannot edit posts or make replies.    Gentoo Forums Forum Index Desktop Environments All times are GMT
Goto page Previous  1, 2, 3 ... 35, 36, 37
Page 37 of 37

 
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