Desmond Chapman | 25 May 16:14 2008
Picon

XF86Config not allowing max resolution and mouse wheel doesn't work

For the mouse wheel: I've added the "emulate three buttons" and "4 5" and
"ZAxisMapping." Nothing gives. Even switched between ws and PS/2 mouse
options.
Tried setting XF86Config to use max resolution. Still at 1024x768.  Monitor is
17"
I need a link to a howto for properly configuring each.
Also, will the boot ouput- dmesg- from FreeBSD or Debian be good to post
here?
Thanks in advance.

_________________________________________________________________
Give to a good cause with every e-mail. Join the iím Initiative from
Microsoft.
http://im.live.com/Messenger/IM/Join/Default.aspx?souce=EML_WL_ GoodCause

Jared D. McNeill | 25 May 17:59 2008
Picon

Re: XF86Config not allowing max resolution and mouse wheel doesn't work

Desmond Chapman wrote:
> For the mouse wheel: I've added the "emulate three buttons" and "4 5" and
> "ZAxisMapping." Nothing gives. Even switched between ws and PS/2 mouse
> options.
> Tried setting XF86Config to use max resolution. Still at 1024x768.  Monitor is
> 17"
> I need a link to a howto for properly configuring each.
> Also, will the boot ouput- dmesg- from FreeBSD or Debian be good to post
> here?
> Thanks in advance.

Hi Desmond --

Can you provide the XF86Config you are trying to use?

Cheers,
Jared

Jared D. McNeill | 25 May 23:32 2008
Picon

Re: XF86Config not allowing max resolution and mouse wheel doesn't work

Desmond Chapman wrote:
> Section "InputDevice"
> 	Identifier  "Mouse0"
> 	Driver      "mouse"
> 	Option	    "Protocol" "Auto"
> 	Option	    "Device" "/dev/wsmouse"
> EndSection

Please try the following:

Section "InputDevice"
         Identifier  "Mouse0"
         Driver      "mouse"
         Option      "Protocol" "wsmouse"
         Option      "Device" "/dev/wsmouse"
         Option      "ZAxisMapping" "4 5 6 7"
EndSection

Cheers,
Jared

Desmond Chapman | 25 May 23:26 2008
Picon

RE: XF86Config not allowing max resolution and mouse wheel doesn't work


Section "ServerLayout"
	Identifier     "XFree86 Configured"
	Screen      0  "Screen0" 0 0
	InputDevice    "Mouse0" "CorePointer"
	InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
	RgbPath      "/usr/X11R6/lib/X11/rgb"
	ModulePath   "/usr/X11R6/lib/modules"
	FontPath     "/usr/X11R6/lib/X11/fonts/misc/"
	FontPath     "/usr/X11R6/lib/X11/fonts/Speedo/"
	FontPath     "/usr/X11R6/lib/X11/fonts/Type1/"
	FontPath     "/usr/X11R6/lib/X11/fonts/CID/"
	FontPath     "/usr/X11R6/lib/X11/fonts/75dpi/"
	FontPath     "/usr/X11R6/lib/X11/fonts/100dpi/"
EndSection
Section "Module"
	Load  "extmod"
	Load  "glx"
	Load  "dbe"
	Load  "record"
	Load  "xtrap"
	Load  "type1"
	Load  "speedo"
EndSection
Section "InputDevice"
	Identifier  "Keyboard0"
	Driver      "keyboard"
(Continue reading)

Michael Lorenz | 26 May 01:20 2008
Picon

Re: XF86Config not allowing max resolution and mouse wheel doesn't work


Hello,

your XF86Config indicates that you rely on DDC2 to determine what  
video mode to use. What's in your XFree86.0.log? Any chance that your  
monitor reports 1024x768 as preferred mode? If it does then XFree86  
will use that mode no matter what else is available.

have fun
Michael
Jared D. McNeill | 26 May 01:23 2008
Picon

Re: XF86Config not allowing max resolution and mouse wheel doesn't work

Michael Lorenz wrote:
> your XF86Config indicates that you rely on DDC2 to determine what video 
> mode to use. What's in your XFree86.0.log? Any chance that your monitor 
> reports 1024x768 as preferred mode? If it does then XFree86 will use 
> that mode no matter what else is available.

Actually, it is a limitation of the VBE BIOS -- these typically don't 
list eg. widescreen modes, and Desmond is using the "vesa" driver, so 
the X server has no way to force a resolution other than what is listed 
in the firmware.

Best bet is to update to Xorg from pkgsrc and use the radeon driver or 
try XFree86 4.7.0.

Cheers,
Jared

Michael Lorenz | 26 May 01:28 2008
Picon

Re: XF86Config not allowing max resolution and mouse wheel doesn't work


Hello,

On May 25, 2008, at 19:23, Jared D. McNeill wrote:

> Michael Lorenz wrote:
>> your XF86Config indicates that you rely on DDC2 to determine what  
>> video mode to use. What's in your XFree86.0.log? Any chance that  
>> your monitor reports 1024x768 as preferred mode? If it does then  
>> XFree86 will use that mode no matter what else is available.
>
> Actually, it is a limitation of the VBE BIOS -- these typically  
> don't list eg. widescreen modes, and Desmond is using the "vesa"  
> driver, so the X server has no way to force a resolution other than  
> what is listed in the firmware.

Gah, I didn't look at the Device section ;)

> Best bet is to update to Xorg from pkgsrc and use the radeon driver  
> or try XFree86 4.7.0.

Indeed.

have fun
Michael

Desmond Chapman | 27 May 03:07 2008
Picon

RE: XF86Config not allowing max resolution and mouse wheel doesn't work


I'm a bit new at NetBSD- as you can tell. How do I upgrade to X11R7 from XFree86R4? Yes, I subscribed to the
NetBSD regular mailing list for amd64- should I reinstall using x86_64?- but it was bounced and rejected. 
Any and all help is appreciated. You can also send me personal emails for howto's if you want.
Thanks for the help so far.

----------------------------------------
> CC: que_deseja <at> hotmail.com; tech-x11 <at> netbsd.org
> From: macallan <at> netbsd.org
> Subject: Re: XF86Config not allowing max resolution and mouse wheel doesn't work
> Date: Sun, 25 May 2008 19:28:40 -0400
> To: jmcneill <at> invisible.ca
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Hello,
> 
> On May 25, 2008, at 19:23, Jared D. McNeill wrote:
> 
>> Michael Lorenz wrote:
>>> your XF86Config indicates that you rely on DDC2 to determine what  
>>> video mode to use. What's in your XFree86.0.log? Any chance that  
>>> your monitor reports 1024x768 as preferred mode? If it does then  
>>> XFree86 will use that mode no matter what else is available.
>>
>> Actually, it is a limitation of the VBE BIOS -- these typically  
>> don't list eg. widescreen modes, and Desmond is using the "vesa"  
>> driver, so the X server has no way to force a resolution other than  
>> what is listed in the firmware.
(Continue reading)

Jared D. McNeill | 27 May 13:06 2008
Picon

Re: XF86Config not allowing max resolution and mouse wheel doesn't work

Desmond Chapman wrote:
> I'm a bit new at NetBSD- as you can tell. How do I upgrade to X11R7 from XFree86R4? Yes, I subscribed to the
NetBSD regular mailing list for amd64- should I reinstall using x86_64?- but it was bounced and rejected. 
> Any and all help is appreciated. You can also send me personal emails for howto's if you want.
> Thanks for the help so far.

Hi Desmond --

Here are some simple steps to get you started:

1. Fetch pkgsrc:
    http://www.netbsd.org/docs/pkgsrc/getting.html#getting-via-cvs

2. Move XFree86 out of the way:
    # mv /usr/X11R6 /usr/X11R6.orig

3. Enable modular xorg support in pkgsrc:
    # echo 'X11_TYPE=modular' >>/etc/mk.conf

4. Install the modular xorg meta-pkgs:
    # cd /usr/pkgsrc/meta-pkgs/modular-xorg-apps && make install
    # cd /usr/pkgsrc/meta-pkgs/modular-xorg-drivers && make install
    # cd /usr/pkgsrc/meta-pkgs/modular-xorg-fonts && make install
    # cd /usr/pkgsrc/meta-pkgs/modular-xorg-libs && make install

Hope this helps!

Cheers,
Jared

(Continue reading)

Blair Sadewitz | 28 May 23:03 2008
Picon

[RFC] drm work-in-progress (patch attached)

Hello,

Attached is a patch reflecting some of the work I've done on the DRM
(the part that works, heh).  Some of the improvements:

- Use bus_dma(9) everywhere that's appropriate.
- Switch the dma_lock to a reader/writer lock.
- Fix out-of-order locking in drm_sg_free().

Please ensure that your CVS tree is up-to-date before attempting to
apply this patch, as it depends on some commits
I made yesterday.

Currently, memory for the _DRM_SHM map type is allocated with
bus_dma(9) (previously, the code used malloc(9)).
On linux, they just use 'vmalloc'--but this is not anything like
"shared memory".  I've tried using uao_create(), but thusfar have only
managed to produce page fault traps. ;)

Using the latest Mesa from pkgsrc and wip/modular-xorg-server, the
improvement by using this patch seems obvious to me: far fewer lockups
and a "snappier" feel.  If you're using wip- packages, I also
recommend using the latest radeon driver sources; I will commit a
package if there
is any demand.

Any feedback is welcome, as I'd like to know how this works with
various hardware configurations.  If you're using amd64 and you have a
non-AGP video card (especially those which use scatter/gather memory),
there is a good chance X will fail to initialize the DRM with either
(Continue reading)


Gmane