LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-12-2004, 10:21 AM   #1
wingcom
Member
 
Registered: Feb 2003
Location: Belgium
Distribution: Mandrake
Posts: 38

Rep: Reputation: 15
em8300 green screen


Hi,

I've been trying to get my dxr3 and dvd playback up for days now. I got this far that overlay is working very well, but i'm having trouble with my tv-out. I fixed manny things reading on these forums like dvd support in xine, firewall support etc but i seem to get a little stuck on this one

Facts:
* I just upgraded from mdk9.0 to mdk10.1 and saw that my dxr3 device was available in mandrake control center (i had once been messing with it on mdk9 but eventually it didnt work straight away and since i still had my laptop i let it be and used that one) so now i wanted to setup dvd-playback

* my s-vhs entrance to my tv is broken so i connect to scart which has s-vhs entrance.

* i got two cables for that purpose: one is a one-piece-cable(svhs 2 scart) other is two pieces(one svhs-svhs one scart"head") If i use the one-piece-cable i got smooth playback on my tv but in black and white , when i use the second i have a green screen. Since my portable running windows also gets black-white image with the first cable i'm ditching it. The second cable however gives perfect playback in windows (using a different video card), in linux its all green (using dxr3)

* I tried all possible options for the configuration of the modules. I tried this like this:
modprobe adv717x pixelport_16bit=0 pixelport_other_pal=1 swap_redblue_pal=0
modprobe em8300 dicom_control=0 dicom_fix=0 dicom_other_pal=1
I change pixelport_16bit, pixelport_other_pal, dicom_control, dicom_fix and dicom_other_pal in various combinations: always a green screen and issuing em8300setup after each combination --> the tvscreen flickers and turns green again
-> is this good enough to test the different options? or do i need to try a movie each time?

There are also configuration options available for the device in mandrake control center maybe the overwrite the options i set with modprobe? I dont know how they work... i sincerly hope i dont need a reboot to test each option :s cus i'm not sure how they are used and when they are loaded.

I also changed my /etc/modules.conf but that does not seem do do any good either.

Please give me some hints on how to test this properly... or tell me what i'm doing wrong or should try, any help is grately appreciated!

kind regards

wingcom
 
Old 11-12-2004, 11:44 AM   #2
madluther
Member
 
Registered: Aug 2004
Distribution: LFS
Posts: 350

Rep: Reputation: 31
I have a dxr3 and it is a pain to get it setup correctly, Im currently a resident of the US so my config may not help you much as it is for NTSC encoded video, that being said, here's my config ..

dicom fix = 1
dicom control = 1
dicom other pal = 1

pixelport other pal = 1

all other parameters = 0


For testing, re-running em8300setup is not enough, you have to unload the kernel modules first, and then re-run em8300setup as these parameters are only set when the modules are loaded.

eg:

rmmod em8300
rmmod adv717x
em8300setup

HTH

Mad.
 
Old 11-12-2004, 12:05 PM   #3
wingcom
Member
 
Registered: Feb 2003
Location: Belgium
Distribution: Mandrake
Posts: 38

Original Poster
Rep: Reputation: 15
Hey thanx madluther!

You are so right... em8300setup is not enough, if i had known that it would have saved me alot of trouble! I did a reboot (before I read your post cus now i would know how to unload the modules with the new options -->
modprobe adv717x pixelport_16bit=0 pixelport_other_pal=1 swap_redblue_pal=0
modprobe em8300 dicom_control=1 dicom_fix=0 dicom_other_pal=1
those are my options now (all others have default values) and its working! WHOEHOE!

Finally... hehe

Do you know how to load it automaticly? (so i dont have to do modprobe every time?) I got the lines in /etc/modules.conf but it doesn't seem to do anything with them.

I'm liking my linux better every day, maybe someday i will be windows-free since i do most my stuff on linux now. Its a little hard to set up but once it works, it rocks!

greetz

wingcom
 
Old 11-12-2004, 12:35 PM   #4
madluther
Member
 
Registered: Aug 2004
Distribution: LFS
Posts: 350

Rep: Reputation: 31
Glad to hear you got it working

My modules.conf looked like this (I dont run a 2.4 kernel anymore, but this was a working config before I upgraded to 2.6)

alias char-major-121 em8300
pre-install em8300 modprobe adv717x
post-install em8300 em8300setup
options adv717x (put your options here)

Also, when running a player like xine with the dxr3, I had a problem where only root could auto load the modules. After some investigation I found that the modules loaded ok but em8300setup would not upload the microcode to the dxr3 card unless it was run by root. The fix was to set em8300setup suid root. You may not need or want this, but I thought I'd mention it anyway.

eg:

run the following as root

chmod 4755 /usr/bin/em8300setup

Mad.

Last edited by madluther; 11-12-2004 at 12:41 PM.
 
Old 11-12-2004, 12:56 PM   #5
wingcom
Member
 
Registered: Feb 2003
Location: Belgium
Distribution: Mandrake
Posts: 38

Original Poster
Rep: Reputation: 15
uhm, just to be sure:

You were saying:
Quote:
I dont run a 2.4 kernel anymore, but this was a working config before I upgraded to 2.6
Does this matter? because i am running a 2.6 kernel too in my new mdk10.1. Sorry if i ask stupid questions, i'm forced to work in windows alot at work :s So i don't keep up alot... when everything on my linux does what its has too i leave it like that (untill mdk10.1 this was mainly server (file server with samba, firewall, dns, dhcp etc but now i discovered kde - before i was using gnome - and its kewl transparent menu's etc which got me to finally making dvd, dxr3 etc work )

Anywayz, my modules.conf doesn't have modprobe in it, it looks like this:

# HOLLYWOOD+ SETTINGS
below em8300 adv717x
below adv717x sound-slot-0 sound-service-0-3
options adv717x pixelport_16bit=0 pixelport_other_pal=1
options em8300 dicom_fix=1 dicom_control=0 dicom_other_pal=1
post-install em8300 /usr/bin/em8300setup

so, i will place this in comment and try the modprobe thing you got there...

Thanx for all your help!
 
  


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
green screen supersucker Linux - Hardware 1 09-06-2005 06:53 AM
green screen on first boot after install samjt777 Linux - Laptop and Netbook 6 05-04-2005 05:16 AM
I got a blank green screen when I use v4l walkant Linux - Software 0 09-01-2004 01:00 PM
Inescapable green screen omgwtf Fedora - Installation 2 04-04-2004 10:34 PM
Green Screen Floppy Linux From Scratch 2 03-04-2002 05:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:02 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
Open Source Consulting | Domain Registration