Re: VESA 1280x800

Previous thread: Specifying config file for rarpd by Lars Noodén on Sunday, October 12, 2008 - 4:34 am. (2 messages)

Next thread: POSTEITALIANE --- Premio di 250,00 euro --- by POSTE ITALIANE on Sunday, October 12, 2008 - 8:03 am. (1 message)
From: Jairo Souto
Subject: VESA 1280x800
Date: Sunday, October 12, 2008 - 6:30 am

It's possible for Xorg to run on VESA mode 1280x800?

Notebook Acer Aspire-4520:
OpenBSD 4.4 GENERIC.MP#0 amd64 AMD Turion(tm) 64 X2 Mobile Technology TL-58

It has a NVIDIA GeForce 7000M TurboCache that seems not supported by the 
nv driver. The VESA driver runs 1024x768.

How can I get to run 1280x800? Is it possible?

-- 
Jairo Souto (38)8814-4787
OpenBSD 4.4-current (GENERIC.MP) #0: Mon Sep 22 00:13:44 BRT 2008
    jsouto@jsouto.dlg:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 1864445952 (1778MB)
avail mem = 1809252352 (1725MB)
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xf0ba0 (19 entries)
bios0: vendor Acer version "v1.3626" date 01/25/2008
bios0: Acer, inc. Aspire 4520
acpi0 at bios0: rev 2
acpi0: tables DSDT FACP SRAT WDAT SSDT MCFG HPET APIC BOOT SLIC
acpi0: wakeup devices USB0(S3) USB2(S3) Z001(S3) Z000(S3) MAC0(S5) AZA0(S3) XVR0(S5) XVR1(S5)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpihpet0 at acpi0: 25000000 Hz
acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: AMD Turion(tm) 64 X2 Mobile Technology TL-58, 1900.51 MHz
cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,CX16,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW
cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB 64b/line 16-way L2 cache
cpu0: ITLB 32 4KB entries fully associative, 8 4MB entries fully associative
cpu0: DTLB 32 4KB entries fully associative, 8 4MB entries fully associative
cpu0: apic clock running at 200MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: AMD Turion(tm) 64 X2 Mobile Technology TL-58, 1900.18 MHz
cpu1: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,CX16,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW
cpu1: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB 64b/line 16-way L2 cache
cpu1: ITLB 32 4KB entries fully associative, 8 4MB entries fully associative
cpu1: DTLB 32 4KB ...
From: Jonathan Schleifer
Date: Sunday, October 12, 2008 - 6:42 am

As this is not a VESA resolution: No.

--
Jonathan

[demime 1.01d removed an attachment of type application/pgp-signature which had a name of PGP.sig]

From: Matthieu Herrb
Date: Sunday, October 12, 2008 - 10:41 pm

On Sun, Oct 12, 2008 at 3:42 PM, Jonathan Schleifer

That's true.

You could try to add the PCI id of this card to the list of G80 cards
in the nv driver and see if it runs on it, but I'm not sure if the
GeForce 7000M is using a G80 chipset or something newer not yet



-- 
Matthieu Herrb

From: Jairo Souto
Date: Tuesday, October 14, 2008 - 6:13 pm

Would you, please, tell me how to add the card PCI id in the nv driver?

-- 
Jairo Souto (38)8814-4787

Matthieu Herrb wrote:
 > On Sun, Oct 12, 2008 at 3:42 PM, Jonathan Schleifer
 > <js-openbsd-misc@webkeks.org> wrote:
 >> Am 12.10.2008 um 15:30 schrieb Jairo Souto:
 >>
 >>> It's possible for Xorg to run on VESA mode 1280x800?
 >> As this is not a VESA resolution: No.
 >>
 >
 > That's true.
 >
 > You could try to add the PCI id of this card to the list of G80 cards
 > in the nv driver and see if it runs on it, but I'm not sure if the
 > GeForce 7000M is using a G80 chipset or something newer not yet
 > supported by the nv driver.
 >
 >> --
 >> Jonathan
 >>
 >> [demime 1.01d removed an attachment of type 
application/pgp-signature which had a name of PGP.sig]

From: Jairo Souto
Date: Wednesday, October 15, 2008 - 5:30 pm

Would you, please, tell me how to add the card PCI id in the nv driver?

--
Jairo Souto (38)8814-4787



-- 
Jairo Souto (38)8814-4787

From: Matthieu Herrb
Date: Thursday, October 16, 2008 - 7:29 am

Add:

   { 0x10DE0533, "GeForce 7000M" },

in xenocara/driver/xf86-video-nv/src/nv_driver.c, after line 391.
(Sorry I can't generate a patch right now.

Then cd xenocara/driver/xf86-video-nv and run  make -f Makefile.bsd-wrapper.
-- 
Matthieu Herrb

From: Jairo Souto
Date: Saturday, October 18, 2008 - 7:30 pm

I updated xenocara from cvs, added the line you sugested in
nv_driver.c and rebuilt xenocara. Then I tried to run Xorg
without any xorg.conf and it did not run any more. Xorg.0.log is
attached.

--Jairo Souto (38)8814-4787

(--) checkDevMem: using aperture driver /dev/xf86
(--) Using wscons driver on /dev/ttyC4 in pcvt compatibility mode (version 3.32)

X.Org X Server 1.4.2
Release Date: 11 June 2008
X Protocol Version 11, Revision 0
Build Operating System: OpenBSD 4.4 amd64 
Current Operating System: OpenBSD jsouto.dlg 4.4 GENERIC.MP#1 amd64
Build Date: 18 October 2008  07:37:17PM
 
	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Sat Oct 18 22:29:07 2008
(EE) Unable to locate/open config file
(II) Loader magic: 0x783aa0
(II) Module ABI versions:
	X.Org ANSI C Emulation: 0.3
	X.Org Video Driver: 2.0
	X.Org XInput driver : 2.0
	X.Org Server Extension : 0.3
	X.Org Font Renderer : 0.5
(II) Loader running on openbsd
(II) LoadModule: "pcidata"
(II) Loading /usr/X11R6/lib/modules//libpcidata.so
(II) Module pcidata: vendor="X.Org Foundation"
	compiled for 1.4.2, module version = 1.0.0
	ABI class: X.Org Video Driver, version 2.0
(II) PCI: Probing config type using method 1
(II) PCI: Config type is 1
(II) PCI: stages = 0x03, oldVal1 = 0x00000000, mode1Res1 = 0x80000000
(WW) OS did not count PCI devices, guessing wildly
(II) PCI: PCI scan (all values are in hex)
(II) PCI: 00:00:0: chip 10de,0547 card 1025,0127 rev a2 class 05,00,00 hdr 00
(II) PCI: 00:01:0: chip 10de,0548 card 1025,0127 rev a2 class 06,01,00 hdr 80
(II) PCI: 00:01:1: chip 10de,0542 card 1025,0127 rev a2 class 0c,05,00 hdr 80
(II) PCI: 00:01:2: chip 10de,0541 card 10de,cb84 rev a2 class 05,00,00 hdr 80
(II) ...
Previous thread: Specifying config file for rarpd by Lars Noodén on Sunday, October 12, 2008 - 4:34 am. (2 messages)

Next thread: POSTEITALIANE --- Premio di 250,00 euro --- by POSTE ITALIANE on Sunday, October 12, 2008 - 8:03 am. (1 message)