FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > 64 Studio > 64 Studio User

 
 
LinkBack Thread Tools
 
Old 03-31-2010, 11:36 PM
Ralf Mardorf
 
Default Xorg's GeForce driver causes more trouble than the Radeon driver does

Xorg's GeForce driver is nearly ok now, but when using the integrated
graphics there was less MIDI jitter than for the new PCI express. Until
now the integrated Radeon causes less trouble than the new PCI express
GeForce does.
Hopefully it will be better when using the proprietary GeForce driver.
For the Radeon the proprietary driver didn't work for Linux.

Cheers,
Ralf

The details:

After doing some hacks for Suse 11.2/.3 amd64 I could carry them over
to 64 Studio 3.0-beta3.
64 Studio's startup now is ok, but GDM has got a much to low resolution.
I need to log in, without any visual control.
The desktop nearly is perfect. The settings are the wanted 1152 x 864 @
90 KHz. Unfortunately the real frequency is 89.9, but perhaps it's a bad
vertical frequency, that is shifting the screen to the right. Anyway, I
could adjust this by the monitor.

For the Radeon I only needed to push sometimes Ctrl + Alt + Backspace to
be able to enter the GDM of 64 Studio, can't say if this changed for the
GeForce.
For Suse I never had to do this, but now I need to push always Ctrl +
Alt + Backspace to log in a working Desktop for Suse. I don't need to do
it for 64 Studio.

Btw. for Karmic 32-bit and Windows XP Pro 32-bit the frequency for the
monitor, when using the Radeon was 100 Hz, while for the 64-bit Suse and
64 Studio it was 90 KHz.

Before I try to fix the outstanding issues for 64 Studio, resp. to test
the proprietary driver I run Fons JACK MIDI jitter test.

###
spinymouse-sudo@64studio:~$ uname -r
2.6.31.12-rt20
spinymouse-sudo@64studio:~$ jackd -Rdalsa -dhw:0 -r96000 -p512 -n2 -Xseq
jackdmp 1.9.3
[snip]
###
spinymouse-sudo@64studio:~$ qjackctl
###
spinymouse-sudo@64studio:~$ /usr/src/jack_midi_test/jack_send
###
spinymouse-sudo@64studio:~$ /usr/src/jack_midi_test/jack_recv
###
spinymouse-sudo@64studio:~$ cpufreq-selector -g performance
###
Then I loop connected USB MIDI in to out and by QjackCtl:

jack_send out --> system midi_playback_3
system midi_capture_3 --> jack_recv in

The same test for the Radeon can be read at http://lalists.stanford.edu/lad/2010/03/0287.html.

The output for the frames was:
2399
2400
2404
2397
2400
2400
2400
2400
2401
2399
2402
2400
2400
2400
2400
2400
2401
2399
2400
2401
2400
2400
2400
2400
2400
2401
2399
2401
2400
2399
2401
2399
2401
2400
2400
2400
2400
2401
2401
2398
2400
2401
2400
2402
2398
2400
2401
2399
2402
2400
2399
2401
2400
2400
2400
2400
2400
2401
2400
2401
2400
2399
2401
2400
2400
2400
2400
2400
2400
2400
2400
2400
2400
2400
2402
2399
2400
2400
2400
2400
2401
2401
2399
2400
2400
2400
2400
2400
2400
2401
2400
2400
2402
2398
2400
2400
2401
2400
2400
2400
2401
2399
2400
2400
2402
2400
2400
2400
2399
2400
2400
2402
2399
2400
2400
2400
2401
2399
2400
2401
2400
2400
2401
2399
2400
2400
2401
2400
2400
2400
2400
2400
2401
2399
2401
2400
2400
2400
2401
2400
2402
2398
2400
2400
2400
2400
2401
2400
2399
2400
2401
2400
2400
2400
2400
2401
2400
2400
2400
2401
2399
2400
2400
2401
2400
2400
2400
2400
2400
2400
2401
2399
2401
2400
2400
2400
2400
2400
2400
2401
2400
2400
2400
2401
2399
2400
2401
2400
2400
2400
2400
2401
2400
2399
2401
2400
2401
2399
2402
2399
2401
2400
2400
2400
2400
2400
2400
2400
2400
2400
2401
2401
2399
2400
2399
2402
2398
2401
2401
2400
2400
2399
2400
2400
2400
2400
2400
2401
2400
2400
2399
2401
2400
2401
2401
2400
2400
2400
2401
2399
2402
2399
2400
2400
2400
2401
2400
2399
2401
2401
2400
2399
2400
2401
2400
2400
2400
2400
2402
2399
2399
2401
2399
2400
2401
2400
2308
2493
2399
2400
2397
2405
2400
2305
2494
2404
2396
2403
2303
2495
2305
2496
2306
2494
2402
2399
2397
2306
2497
2303
2497
2400
2399
2401
2305
2495
2304
2497
2401
2399
2400
2304
2400
2497
2304
2400
2399
2400
2400
2400
2401
2399
2401
2400
2400
2400
2399
2405
2397
2400
2400
2402
2398
2403
2399
2400
2401
2399
2401
2399
2400
2399
2401
2400
2400
2400
2400
2401
2399
2401
2400
2400
2400
2402
2398
2400
2401
2400
2399
2401
2400
2400
2400
2401
2399
2400
2400
2401
2400
2400
2400
2400
2401
2400
2400
2400
2400
2402
2398
2401
2400
2400
2400
2400
2400
2401
2400
2400
2400
2400
2400
2400
2400
2401
2400
2400
2400
2399
2401
2400
2400
2401
2399
2401
2400
2400
2400
2400
2400
2400
2401
2400
2400
2400
2400
2400
2400
2402
2399
2400
2400
2400
2399
2401
2401
2400
2400
2400
2400
2401
2400
2400
2400
2400
2399
2402
2400
2400
2400
2400
2400
2400
2400
2401
2399
2401
2400
2399
2401
2400
2401
2399
2400
2400
2400
2401
2400
2400
2400
2401
2399
2400
2401
2400
2400
2400
2399
2401
2403
2400
2400
2400
2400
2401
2399
2400
2401
2400
2400
2401
2399
2400
2400
2400
2401
2400
2400
2401
2399
2400
2401
2400
2400
2400
2400
2400
2400
2401
2400
2402
2399
2399
2400
2400
^C

Regular values for the Radeon were between 2395 and 2404 and for this GeForce test regular values were between 2396 and 2405.
For the Radeon there were 8 extreme deviating values and for the the GeForce there were 24 extreme deviating values.
For JACK MIDI the integrated graphics seems to cause less jitter than the PCI express graphics does.

spinymouse-sudo@64studio:~$ hwinfo | grep IRQ
<6>[ 2.395290] ohci_hcd 0000:00:13.3: PCI INT B -> GSI 17 (level, low) -> IRQ 17
<6>[ 2.451863] ohci_hcd 0000:00:13.4: PCI INT C -> GSI 18 (level, low) -> IRQ 18
<6>[ 12.859146] ICE1712 0000:03:06.0: PCI INT A -> GSI 21 (level, low) -> IRQ 21
IRQ: 0 (135 events)
IRQ: 7 (no events)
IRQ: 22 (26777 events)
IRQ: 21 (320951 events)
IRQ: 26 (3860 events)
IRQ: 5 (no events)
IRQ: 16 (1 event)
IRQ: 19 (2 events)
IRQ: 18 (2 events)
IRQ: 17 (98467 events)
IRQ: 18 (2 events)
IRQ: 17 (98467 events)
IRQ: 16 (1 event)
IRQ: 22 (26777 events)
IRQ: 25 (no events)
IRQ: 24 (no events)
IRQ: 14 (29808 events)
IRQ: 4 (3 events)
spinymouse-sudo@64studio:~$ hwinfo | grep irq
<6>[ 2.363171] ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
<6>[ 2.395695] ohci_hcd 0000:00:13.3: irq 17, io mem 0xfe02b000
<6>[ 2.452715] ohci_hcd 0000:00:13.4: irq 18, io mem 0xfe02a000
<6>[ 12.049847] parport0: PC-style at 0x378, irq 7 [PCSPP,TRISTATE,EPP]
>> misc.2.3: irq
irq = 22
irq = 21
irq = 26
irq = 5
irq = 0
irq = 0
irq = 0
irq = 0
irq = 0
irq = 0
irq = 16
irq = 0
irq = 19
irq = 18
irq = 17
irq = 18
irq = 17
irq = 16
irq = 22
irq = 25
irq = 24
irq = 0
class 0c, sub_class 00 prog_if 10, hdr 0, flags <>, irq 22
class 04, sub_class 01 prog_if 00, hdr 0, flags <>, irq 21
class 02, sub_class 00 prog_if 00, hdr 0, flags <>, irq 26
class 03, sub_class 00 prog_if 00, hdr 0, flags <>, irq 5
class 06, sub_class 00 prog_if 00, hdr 0, flags <>, irq 0
class 06, sub_class 00 prog_if 00, hdr 0, flags <>, irq 0
class 06, sub_class 00 prog_if 00, hdr 0, flags <>, irq 0
class 06, sub_class 00 prog_if 00, hdr 0, flags <>, irq 0
class 06, sub_class 04 prog_if 01, hdr 1, flags <>, irq 0
class 06, sub_class 01 prog_if 00, hdr 0, flags <>, irq 0
class 01, sub_class 01 prog_if 8a, hdr 0, flags <>, irq 16
class 0c, sub_class 05 prog_if 00, hdr 0, flags <>, irq 0
class 0c, sub_class 03 prog_if 20, hdr 0, flags <>, irq 19
class 0c, sub_class 03 prog_if 10, hdr 0, flags <>, irq 18
class 0c, sub_class 03 prog_if 10, hdr 0, flags <>, irq 17
class 0c, sub_class 03 prog_if 10, hdr 0, flags <>, irq 18
class 0c, sub_class 03 prog_if 10, hdr 0, flags <>, irq 17
class 0c, sub_class 03 prog_if 10, hdr 0, flags <>, irq 16
class 01, sub_class 06 prog_if 01, hdr 0, flags <>, irq 22
class 06, sub_class 04 prog_if 00, hdr 1, flags <>, irq 25
class 06, sub_class 04 prog_if 00, hdr 1, flags <>, irq 24
class 06, sub_class 00 prog_if 00, hdr 0, flags <>, irq 0
irq:1 0 ( 135) "timer"
irq:0 1 ( 9087) "i8042"
irq:1 4 ( 5) "serial"
irq:1 7 ( 0) "parport0"
irq:0 8 ( 1) "rtc0"
irq:0 9 ( 0) "acpi"
irq:0 12 ( 225838) "i8042"
irq:1 14 ( 29821) "ide0"
irq:0 16 ( 1) "ohci_hcd:usb1"
irq:0 17 ( 98467) "ohci_hcd:usb2" "ohci_hcd:usb5"
irq:0 18 ( 2) "ohci_hcd:usb4" "ohci_hcd:usb6"
irq:0 19 ( 2) "ehci_hcd:usb3"
irq:0 21 ( 320951) "ICE1712"
irq:0 22 ( 27032) "ahci" "firewire_ohci"
irq:0 26 ( 3876) "eth0"
used irqs: 0,1,4,5,7,8,9,12,14,16,17,18,19,21,22,24,25,26


The Suse hack and comparisons to 64 Studio:

Hm? When I used Suse's SaX2 the result was better than for 64 Studio. I
got the wanted resolution of 1152 x 864, but at 75 KHz instead of the
wanted 90 KHz. After startup GDM was ok, but the desktop was completely
unusable. I need to push several times Ctrl + Alt + Backspace to get
back to GDM, after this also the Desktop was ok. Because of this I
restored the original xorg.conf for the Radeon graphics and just changed
the following settings:

spinymouse11.2@suse11-2:/etc/X11> diff xorg.conf_radeon xorg.conf
148,149c148,151
< BoardName "Radeon X1200"
< Driver "radeonhd"
---
> #BoardName "Radeon X1200"
> #Driver "radeonhd"
> BoardName "GeForce 7300 SE"
> Driver "nv"
153c155,156
< VendorName "ATI"
---
> #VendorName "ATI"
> VendorName "NVidia"

Now I get the wanted resolution of 1152 x 864 at the wanted 90 KHz. GDM
still is ok, unfortunately the Desktop after startup is still completely
broken, it's ok after pushing several times Ctrl + Alt + Backspace to
enter GDM again and then also the desktop is ok. Suse's xorg driver is
detecting the GeForce 7200 GS as a GeForce 7300 SE too.

Unfortunately Suse's xorg.conf is completely different to 64 Studio's
one, while for 64 Studio I didn't change more than I did change for
Suse.

suse11-2:/media/studio3.0/etc/X11 # diff xorg.conf xorg.conf_radeon
21c21
< Driver "nv"
---
> Driver "radeon"
54,56c54,56
< #Load "glx"
< #Load "GLcore"
< #Load "v4l"
---
> Load "glx"
> Load "GLcore"
> Load "v4l"

For 64 Studio I do have the same issues with or without glx, GLcore and
v4l.

suse11-2:/etc/X11 # cat xorg.conf | grep glx
Load "glx"
suse11-2:/etc/X11 # cat xorg.conf | grep GLcore
suse11-2:/etc/X11 # cat xorg.conf | grep v4l

I did it that way for 64 Studio too, excepted of the busid.

spinymouse11.2@suse11-2:/etc/X11> cat xorg.conf | grep Busid

suse11-2:/media/studio3.0/etc/X11 # cat xorg.conf | grep Busid
Busid "PCI:1:5:0"

suse11-2:/media/studio3.0/etc/X11 # diff xorg.conf xorg.conf_radeon
19c19
< Boardname "GeForce 7300 SE"
---
> Boardname "VESA driver (generic)"
21c21
< Driver "nv"
---
> Driver "radeon"
55,56c55,56
< #Load "GLcore"
< #Load "v4l"
---
> Load "GLcore"
> Load "v4l"
suse11-2:/media/studio3.0/etc/X11 # cat xorg.conf | grep glx
Load "glx"

For Suse I currently get
suse11-2:/media/studio3.0/etc/X11 # hwinfo --gfxcard
27: PCI 100.0: 0300 VGA compatible controller (VGA)
[Created at pci.318]
UDI: /org/freedesktop/Hal/devices/pci_10de_1d3
Unique ID: VCu0.N4ziuOvi1EE
Parent ID: _Znp.o7NX_+MbKz8
SysFS ID: /devices/pci0000:00/0000:00:02.0/0000:01:00.0
SysFS BusID: 0000:01:00.0
Hardware Class: graphics card
Model: "nVidia GeForce 7300 SE"
Vendor: pci 0x10de "nVidia Corporation"
Device: pci 0x01d3 "GeForce 7300 SE"
SubVendor: pci 0x10b0 "CardExpert Technology"
SubDevice: pci 0x0401
Revision: 0xa1
Memory Range: 0xfa000000-0xfaffffff (rw,non-prefetchable)
Memory Range: 0xd0000000-0xdfffffff (rw,prefetchable)
Memory Range: 0xfb000000-0xfbffffff (rw,non-prefetchable)
Memory Range: 0xfcfe0000-0xfcffffff (ro,prefetchable,disabled)
IRQ: 5 (no events)
I/O Ports: 0x3c0-0x3df (rw)
Module Alias: "pci:v000010DEd000001D3sv000010B0sd00000401bc03sc0 0i00"
Driver Info #0:
XFree86 v4 Server Module: nv
Config Status: cfg=new, avail=yes, need=no, active=unknown
Attached to: #10 (PCI bridge)

Primary display adapter: #27

For 64 Studio I got
spinymouse-sudo at 64studio:~$ hwinfo --gfxcard
11: PCI 100.0: 0300 VGA compatible controller (VGA)
[Created at pci.296]
UDI: /org/freedesktop/Hal/devices/pci_10de_1d3
Unique ID: VCu0.N4ziuOvi1EE
Parent ID: _Znp.o7NX_+MbKz8
SysFS ID: /devices/pci0000:00/0000:00:02.0/0000:01:00.0
SysFS BusID: 0000:01:00.0
Hardware Class: graphics card
Model: "CardExpert GeForce 7300 SE"
Vendor: pci 0x10de "nVidia Corporation"
Device: pci 0x01d3 "GeForce 7300 SE"
SubVendor: pci 0x10b0 "CardExpert Technology"
SubDevice: pci 0x0401
Revision: 0xa1
Memory Range: 0xfa000000-0xfaffffff (rw,non-prefetchable)
Memory Range: 0xd0000000-0xdfffffff (rw,prefetchable)
Memory Range: 0xfb000000-0xfbffffff (rw,non-prefetchable)
Memory Range: 0xfcfe0000-0xfcffffff (ro,prefetchable,disabled)
IRQ: 5 (no events)
I/O Ports: 0x3c0-0x3df (rw)
Module Alias: "pci:v000010DEd000001D3sv000010B0sd00000401bc03sc0 0i00"
Driver Info #0:
XFree86 v4 Server Module: nv
Config Status: cfg=new, avail=yes, need=no, active=unknown
Attached to: #28 (PCI bridge)

Primary display adapter: #11

Before rebooting I decided to comment out the busid for 64 Studio too.

suse11-2:/media/studio3.0/etc/X11 # diff xorg.conf xorg.conf_radeon
19,21c19,21
< Boardname "GeForce 7300 SE"
< #Busid "PCI:1:5:0"
< Driver "nv"
---
> Boardname "VESA driver (generic)"
> Busid "PCI:1:5:0"
> Driver "radeon"
55,56c55,56
< #Load "GLcore"
< #Load "v4l"
---
> Load "GLcore"
> Load "v4l"

_______________________________________________
64studio-users mailing list
64studio-users@lists.64studio.com
http://lists.64studio.com/mailman/listinfo/64studio-users
 

Thread Tools




All times are GMT. The time now is 07:20 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org